This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/60115] [4.9 Regression] wrong code at -O3 on x86_64-linux-gnu
- From: "su at cs dot ucdavis.edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 08 Feb 2014 16:14:17 +0000
- Subject: [Bug tree-optimization/60115] [4.9 Regression] wrong code at -O3 on x86_64-linux-gnu
- Auto-submitted: auto-generated
- References: <bug-60115-4 at http dot gcc dot gnu dot org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60115
--- Comment #4 from Zhendong Su <su at cs dot ucdavis.edu> ---
(In reply to Jakub Jelinek from comment #2)
> I have to use something like:
> int a, b[1];
>
> int
> main ()
> {
> lbl:
> for (; a; a--)
> if (b[10000000])
> goto lbl;
>
> return 0;
> }
>
> to actually successfully reproduce it. Anyway, started with r204458.
Should I report the out-out-bound array access warning issue as a separate
report? Thanks.