This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/38587] psim miscompiled #2 [regression]
- From: "joel at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 21 Dec 2008 02:15:42 -0000
- Subject: [Bug c/38587] psim miscompiled #2 [regression]
- References: <bug-38587-296@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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