[Bug c/38590] New: ice: verify_gimple failed

regehr at cs dot utah dot edu gcc-bugzilla@gcc.gnu.org
Sun Dec 21 02:10:00 GMT 2008


regehr@john-home:~/volatile/tmp83$ current-gcc -c -O2 -Wall small.c
small.c: In function ‘func_75’:
small.c:3: warning: statement with no effect
small.c:1: error: type mismatch in binary expression
int

int

unsigned int

D.1235 = -1 / p_76.1;

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

regehr@john-home:~/volatile/tmp83$ cat small.c

void func_75 (int p_76) 
{
  (1 / (int) -(unsigned int)p_76) < -1 ? 1 : p_76;
}

regehr@john-home:~/volatile/tmp83$ current-gcc -v

Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: ../configure --program-prefix=current-
--enable-languages=c,c++ --prefix=/home/regehr : (reconfigured) ../configure
--program-prefix=current- --enable-languages=c,c++ --prefix=/home/regehr :
(reconfigured) ../configure --program-prefix=current- --enable-languages=c,c++
--prefix=/home/regehr : (reconfigured) ../configure --program-prefix=current-
--prefix=/home/regehr --enable-languages=c,c++ --no-create --no-recursion :
(reconfigured) ../configure --program-prefix=current- --prefix=/home/regehr
--enable-languages=c,c++ --no-create --no-recursion : (reconfigured)
../configure --program-prefix=current- --prefix=/home/regehr
--enable-languages=c,c++ --no-create --no-recursion
Thread model: posix
gcc version 4.4.0 20081220 (experimental) (GCC)


-- 
           Summary: ice: verify_gimple failed
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: regehr at cs dot utah dot edu
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38590



More information about the Gcc-bugs mailing list