[Bug c/63880] GCC overoptimization on local arrays of size 1

2014-11-14 Thread petzke at teltarif dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63880 --- Comment #1 from Kai Petzke --- Created attachment 33980 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33980&action=edit A file with small modifications from overoptimized.c, that compiles correctly.

[Bug c/63880] New: GCC overoptimization on local arrays of size 1

2014-11-14 Thread petzke at teltarif dot de
Assignee: unassigned at gcc dot gnu.org Reporter: petzke at teltarif dot de Created attachment 33979 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33979&action=edit Overoptimized C code: The loop is unrolled to a single iteration, which the compiler should not rely