------- Comment #2 from joel at gcc dot gnu dot org 2008-12-21 02:15 ------- (In reply to comment #1) > This sounds more likely an overflow issue. Does -fno-strict-overflow make > this > work? >
No. "-O2 -fno-strict-overflow" did not work. I also tried with -O1 and it did not work. With -O0, it worked. If I recompile idecode.c with -O2 and relink psim, then the failure returns. So the problem is with the generation of that single file. What can I do to help more? -- joel at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Component|middle-end |c http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38587