I get the following ICE on ia64 with gcc 4.2.  Only happens at -O2, and doesn't
happen with gcc 4.0 or 4.1.

[EMAIL PROTECTED]:~/delta/bin$ /usr/lib/gcc-snapshot/bin/gcc -c -O2 mini.c
mini.c: In function 'PL_next_solution':
mini.c:101: warning: cast to pointer from integer of different size
mini.c:119: warning: cast to pointer from integer of different size
mini.c:187: warning: assignment makes pointer from integer without a cast
mini.c:216: internal compiler error: in move_insn, at haifa-sched.c:1968
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
For Debian GNU/Linux specific bug reporting instructions,
see <URL:file:///usr/share/doc/gcc-4.1/README.Bugs>.
[EMAIL PROTECTED]:~/delta/bin$ /usr/lib/gcc-snapshot/bin/gcc -c -O1 mini.c
mini.c: In function 'PL_next_solution':
mini.c:101: warning: cast to pointer from integer of different size
mini.c:119: warning: cast to pointer from integer of different size
mini.c:187: warning: assignment makes pointer from integer without a cast
[EMAIL PROTECTED]:~/delta/bin$ gcc-4.1 -c -O2 mini.c
mini.c: In function 'PL_next_solution':
mini.c:101: warning: cast to pointer from integer of different size
mini.c:119: warning: cast to pointer from integer of different size
mini.c:187: warning: assignment makes pointer from integer without a cast
[EMAIL PROTECTED]:~/delta/bin$ gcc-4.0 -c -O2 mini.c
mini.c: In function 'PL_next_solution':
mini.c:101: warning: cast to pointer from integer of different size
mini.c:119: warning: cast to pointer from integer of different size
mini.c:187: warning: assignment makes pointer from integer without a cast
[EMAIL PROTECTED]:~/delta/bin$


-- 
           Summary: [4.2 regression] ICE in move_insn, at haifa-sched.c:1968
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: tbm at cyrius dot com
GCC target triplet: ia64-linux-gnu


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

Reply via email to