This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: [Bug target/29967] wrong code generated with -O2 on sh4-linux
- From: Andrew Pinski <pinskia at gmail dot com>
- To: gcc-bugzilla at gcc dot gnu dot org
- Cc: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 23 Nov 2006 22:30:06 -0800
- Subject: Re: [Bug target/29967] wrong code generated with -O2 on sh4-linux
- References: <bug-29967-8402@http.gcc.gnu.org/bugzilla/> <20061124062025.17092.qmail@sourceware.org>
On Fri, 2006-11-24 at 06:20 +0000, sugioka at itonet dot co dot jp
wrote:
>
> ------- Comment #2 from sugioka at itonet dot co dot jp 2006-11-24 06:20 -------
> This code is reduced from gcc/java/expr.c(add_type_assertion).
> jc1 is really miscompiled on sh4-linux, so bootstrapping
> libgcj fails with segmentation fault in jc1.
>
> Should gcc/java/expr.c be fixed ?
Yes it should.
A warning is hard here unless we change the warning to be based on the
flow.
Thanks,
Andrew Pinski