This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/38587] psim miscompiled #2 [regression]



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]