🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gmane.comp.gcc.bugs
Article #298154

[Bug tree-optimization/46215] New: ICE: verify_stmts failed: type mismatch in comparison expression with -fstrict-overflow -fno-tree-ch -ftree-loop-linear

#298154
From: "zsojka at sezna
Date: Thu, 28 Oct 2010 19:28
48 lines
1459 bytes
http://gcc.gnu.org/bugzilla/show_bug.cgi?idF215

           Summary: ICE: verify_stmts failed: type mismatch in comparison
                    expression with -fstrict-overflow -fno-tree-ch
                    -ftree-loop-linear
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: zsojka@seznam.cz


Created attachment 22194
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id"194
reduced testcase

Compiler output (trunk, 4.5):
$ gcc -O -fstrict-overflow -fno-tree-ch -ftree-loop-linear pr46215.c
pr46215.c: In function 'foo':
pr46215.c:3:1: error: type mismatch in comparison expression
_Bool
long int
int
if (uboundvar.2_6 >= perfectiv.1_10)

pr46215.c:3:1: internal compiler error: verify_stmts failed
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

Compiler output (4.4):
$ gcc -O -fstrict-overflow -fno-tree-ch -ftree-loop-linear pr46215.c
pr46215.c: In function 'foo':
pr46215.c:3: internal compiler error: in copy_to_mode_reg, at explow.c:623
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

Tested revisions:
r166029 - crash
r153685 - crash
4.5 r165781 - crash
4.4 r165754 - crash
4.4 r149995 - crash

Message-ID: <bug-46215-4@http.gcc.gnu.org/bugzilla/>
Path: gmane.pugleaf.net!archive.newsdeef.eu!mbox2nntp-gmane.comp.gcc.bugs.20140308.mbox.gz!border1.nntp.ams3.giganews.com!border2.nntp.ams3.giganews.com!border2.nntp.ams2.giganews.com!border4.nntp.ams.giganews.com!border2.nntp.ams.giganews.com!nntp.giganews.com!feeder3.cambriumusenet.nl!feeder2.cambriumusenet.nl!feed.tweaknews.nl!193.141.40.65.MISMATCH!npeer.de.kpn-eurorings.net!npeer-ng0.de.kpn-eurorings.net!fu-berlin.de!nntp.club.cc.cmu.edu!news.mccarragher.com!news.mccarragher.com!news.gmane.org!not-for-mail