------- Comment #7 from zsojka at seznam dot cz  2010-09-09 23:44 -------
Created an attachment (id=21758)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21758&action=view)
reduced testcase, in C

This testcase is C-ified scalarize.f90 and then reduced.
It fails with -Os -ftree-loop-linear (r164128, x86_64-linux):
(even the original testcase now fails only with -Os)

$ gcc pr29832.c -Os -ftree-loop-linear -Wall
pr29832.c: In function 'testarray':
pr29832.c:2:1: warning: 'lnivtmp.8' is used uninitialized in this function
[-Wuninitialized]
$ ./a.out 
Aborted

The warning is about internal variable, not used in the source.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29832

Reply via email to