[Bug rtl-optimization/26587] [4.1 Regression] strict aliasing incorrectly pre-loads an array element with loops

2006-03-07 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2006-03-07 10:02 --- Reduced testcase: extern int printf(const char *format, ...); typedef unsigned int BF_word; typedef BF_word BF_key[16 + 2]; static struct { BF_key P; } BF_current; int main(void) { BF_word L, R; BF_word

[Bug rtl-optimization/26587] [4.1 Regression] strict aliasing incorrectly pre-loads an array element with loops

2006-03-07 Thread rguenth at gcc dot gnu dot org
--- Comment #5 from rguenth at gcc dot gnu dot org 2006-03-07 10:12 --- Umm, that has uninitialized vars. The following is ok wrt -Wall -Werror: extern int printf(const char *, ...); typedef unsigned int BF_word; typedef BF_word BF_key[16 + 2]; static struct { BF_key P; }

[Bug rtl-optimization/26587] [4.1 Regression] strict aliasing incorrectly pre-loads an array element with loops

2006-03-06 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2006-03-07 02:08 --- This is interesting because the mainline works with or without -fno-strict-aliasing. Confirmed a regression, hopefully someone will reduce the testcase further. -- pinskia at gcc dot gnu dot org changed: