[Bug middle-end/39757] inconsistency in array bounds checking with -O3

2012-02-02 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39757 --- Comment #5 from Andrew Pinski 2012-02-02 20:41:15 UTC --- We have: short last[3] = { 16,16,16 }, mul[3], buf[3][3][386]; for (i=0; i < sizeof(buf)/sizeof(short); i++) buf[0][0][i] = 2048; Obviously this where one of the warning happe

[Bug middle-end/39757] inconsistency in array bounds checking with -O3

2009-08-12 Thread petteri dot kettunen at nokia dot com
--- Comment #4 from petteri dot kettunen at nokia dot com 2009-08-13 01:15 --- This is a bit odd but the bug was not reproducible when I tried to compile a minimal example in a file containing that function only. I shall investigate a bit more. -- http://gcc.gnu.org/bugzilla/show_b

[Bug middle-end/39757] inconsistency in array bounds checking with -O3

2009-08-05 Thread manu at gcc dot gnu dot org
--- Comment #3 from manu at gcc dot gnu dot org 2009-08-05 10:01 --- By the way, we would prefer a preprocessed testcase, as minimal as possible. See http://gcc.gnu.org/bugs.html#report Thanks. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39757

[Bug middle-end/39757] inconsistency in array bounds checking with -O3

2009-04-20 Thread manu at gcc dot gnu dot org
--- Comment #2 from manu at gcc dot gnu dot org 2009-04-20 22:56 --- (In reply to comment #1) > -O3 has extra inlining. > ~/trunk/146344/build/gcc/cc1 -DNO_LCMS -Wall -Werror -O3 dcraw.i -fno-inline-functions -fno-inline Still the same warnings. So, it seems to be some other reason.

[Bug middle-end/39757] inconsistency in array bounds checking with -O3

2009-04-13 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2009-04-14 03:00 --- -O3 has extra inlining. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added Co