[Bug c/58101] New: Wrong out-of-bounds warning under -Os

2013-08-07 Thread llozano at google dot com
Assignee: unassigned at gcc dot gnu.org Reporter: llozano at google dot com The following test case generates a wrong "out-of-bounds" warning. This problem only happens under -Os gcc test.i -c -Os -Werror -Wall In function ‘rcu_init_lal’: /home/llozano/trash/min_rcutr

[Bug middle-end/58101] Wrong out-of-bounds warning under -Os

2013-08-07 Thread llozano at google dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58101 Luis A Lozano changed: What|Removed |Added Severity|normal |major --- Comment #1 from Luis A Lozano

[Bug middle-end/58101] Wrong out-of-bounds warning under -Os

2013-08-08 Thread llozano at google dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58101 --- Comment #3 from Luis A Lozano --- (In reply to Marek Polacek from comment #2) > Perhaps a dup of PR41847. Fails even with -O2, -O3, -Ofast, no only -Os. > -fno-tree-vrp makes it go away... I dont think it is a duplicate of this issue. This