This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/41817] elfutils triggers bogus "may be uninitialized" with -O3 -mtune=k8



------- Comment #3 from marti at juffo dot org  2009-10-26 03:26 -------
Created an attachment (id=18893)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18893&action=view)
test-resizing.i

Another instance of the same bug. This time from GNOME mutter 2.28.0

http://ftp.gnome.org/pub/gnome/sources/mutter/2.28/

gcc -save-temps -DHAVE_CONFIG_H -I. -I../.. -DORBIT2=1 -pthread
-I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0
-I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2
-I/usr/include/libpng12 -I/usr/include/gconf/2 -I/usr/include/orbit-2.0
-I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include
-I/usr/include/startup-notification-1.0 -I/usr/include/clutter-1.0
-I/usr/include/drm -I/usr/include/gobject-introspection-1.0     
-march=amdfam10 -fstack-protector -O3 -pipe -Wall -Wchar-subscripts
-Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith
-Wcast-align -Wsign-compare -Wall -Werror -ansi -MT test-resizing.o -MD -MP -MF
.deps/test-resizing.Tpo -c -o test-resizing.o test-resizing.c                   
gcc: warning: -pipe ignored because -save-temps specified
cc1: warnings being treated as errors
test-resizing.c: In function ?main?:
test-resizing.c:82: error: ?height? is used uninitialized in this function
test-resizing.c:94: note: ?height? was declared here


-- 


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]