Description of problem: The attached file doesn't compile with "gcc -O", when it should Version-Release number of selected component (if applicable): gcc-4.1.1-7 How reproducible: Dunno. Steps to Reproduce: 1. Compile attached file with "gcc -O" 2. 3. Actual results:/tmp/tst.c: In function âmainâ: /tmp/tst.c:9: error: initializer element is not constant /tmp/tst.c:9: error: (near initialization for âa[0]â) Expected results: Initializer is constant zero, so... Additional info:
Created attachment 132406 [details] Test file
http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=114358 http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=114359 Backport seems to work, will include in gcc-4.1.1-9.
Should be fixed in gcc-4.1.1-9 in rawhide.