This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/34856] [4.3 Regression] ICE with some constant vectors
- From: "rguenther at suse dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 23 Jan 2008 09:21:42 -0000
- Subject: [Bug middle-end/34856] [4.3 Regression] ICE with some constant vectors
- References: <bug-34856-6528@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #10 from rguenther at suse dot de 2008-01-23 09:21 -------
Subject: Re: [4.3 Regression] ICE with some
constant vectors
On Tue, 22 Jan 2008, dominiq at lps dot ens dot fr wrote:
> ------- Comment #8 from dominiq at lps dot ens dot fr 2008-01-22 23:50 -------
> On i686-apple-darwin9, testsuite/gcc.c-torture/compile/pr34856.c gives an ICE
> at -O3 with trunk rev.131745:
>
> [ibook-dhum] f90/bug% /opt/gcc/w1-gcc4.3w/bin/gcc -O3
> /opt/gcc/_gcc_clean/gcc/testsuite/gcc.c-torture/compile/pr34856.c
> /opt/gcc/_gcc_clean/gcc/testsuite/gcc.c-torture/compile/pr34856.c: In function
> 'f1':
> /opt/gcc/_gcc_clean/gcc/testsuite/gcc.c-torture/compile/pr34856.c:16: error:
> invalid reference prefix
> {(unsigned int) &g[16]}
>
> /opt/gcc/_gcc_clean/gcc/testsuite/gcc.c-torture/compile/pr34856.c:16: internal
> compiler error: verify_stmts failed
Works for me. The tree-cfg.c hunk was supposed to fix this. Instead
it should ICE in
internal compiler error: in simplify_immed_subreg, at simplify-rtx.c:4761
Richard.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34856