This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug optimization/14863] [3.4 regression] unit-at-a-time causes miscompilation
- From: "rguenth at tat dot physik dot uni-tuebingen dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 7 Apr 2004 07:59:51 -0000
- Subject: [Bug optimization/14863] [3.4 regression] unit-at-a-time causes miscompilation
- References: <20040406114325.14863.rguenth@tat.physik.uni-tuebingen.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From rguenth at tat dot physik dot uni-tuebingen dot de 2004-04-07 07:59 -------
Subject: Re: [3.4 regression] unit-at-a-time causes
miscompilation
On Wed, 6 Apr 2004, 1319 at bot dot ru wrote:
>
> ------- Additional Comments From 1319 at bot dot ru 2004-04-06 23:48 -------
> I tried gcc-3_4-branch from 20040320 to branchpoint (20040116) with 1/2 month
> interval and HEAD-20040403 -- no one compiles this testcase correctly (it hangs
> if compiled with -O1 -funit-at-a-time), though tree-ssa is OK.
Did it work with just -O1?
> Are you sure that gcc 3.4.0 ever compiled properly the testcase?
Yes, I specifically checked 20040405, 20040331 and 20040319 which don't
work and 20040302, 20040301, 20040212, 20040107 and 20031117 which all
work.
This is on ia32-linux.
But it's certainly interesting that it hangs, as this is the symptom I'm
seeing in my main application.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14863