This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: optimization/9301: [regression] [mips-linux] gcc 3.2.1 SEGVin try_forward_edges
- From: cgd at broadcom dot com
- To: rsandifo at sources dot redhat dot com
- Cc: gcc-bugs at gcc dot gnu dot org,gcc-prs at gcc dot gnu dot org,nobody at gcc dot gnu dot org,gcc-gnats at gcc dot gnu dot org,rsandifo at sources dot redhat dot com
- Date: 31 Mar 2003 12:07:23 -0800
- Subject: Re: optimization/9301: [regression] [mips-linux] gcc 3.2.1 SEGVin try_forward_edges
- References: <20030331191826.28094.qmail@sources.redhat.com>
At 31 Mar 2003 19:18:26 -0000, rsandifo at sources dot redhat dot com wrote:
> Do you know if this is still a problem?
>
> I can't reproduce it with the head of gcc-3_2-branch using
> an i686-pc-linux-gnu cross mipsel-linux-gnu compiler (tried
> -EB -O2 as well as -O2). I can't reproduce with gcc 3.3
> or trunk either.
>
> I'll try a native compiler as well as a pristine 3.2.1 build.
I just tried 3.2.2 (plus local mods) and it seems to work fine.
the patch:
> 2003-02-03 Eric Botcazou <ebotcazou at libertysurf dot fr>
>
> PR ice-on-legal-code/9493
> * cfgcleanup.c (try_forward_edges): Check for null insn.
might have done it; i dunno i didn't analyze it further.
i looked at a .o that resulted from compiling the file, it looked OK
(as far as I could tell, on a quick read).
Now that it works, IMO this test should be thrown into the testsuite
as a compilation test.
chris