public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/37539]  New: Hang for -O3
@ 2008-09-16  8:19 dcb314 at hotmail dot com
  2008-09-16  8:20 ` [Bug c++/37539] " dcb314 at hotmail dot com
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: dcb314 at hotmail dot com @ 2008-09-16  8:19 UTC (permalink / raw)
  To: gcc-bugs

I just tried to compile the Suse Linux package liboil-0.3.14-17
with the most recent snapshot of gcc version 4.4, dated 20080912.

The compiler said

 gcc -DHAVE_CONFIG_H -I. -I../.. -Wall -D_BSD_SOURCE -D_GNU_SOURCE -I../..
-DOIL_ENABLE_UNSTABLE_API -O3 -g -fmessage-length=0 -D_FORTIFY_SOURCE=2 -MT
libref_la-yuv.lo -MD -MP -MF .deps/libref_la-yuv.Tpo -c yuv.c  -fPIC -DPIC -o
.libs/libref_la-yuv.o
yuv.c:145: warning: missing initializer
yuv.c:145: warning: (near initialization for
'_oil_function_impl_yuyv2ayuv_ref.profile_ave')
yuv.c:161: warning: missing initializer
yuv.c:161: warning: (near initialization for
'_oil_function_impl_yvyu2ayuv_ref.profile_ave')
yuv.c:177: warning: missing initializer
yuv.c:177: warning: (near initialization for
'_oil_function_impl_uyvy2ayuv_ref.profile_ave')
yuv.c:200: warning: missing initializer
yuv.c:200: warning: (near initialization for
'_oil_function_impl_ayuv2yuyv_ref.profile_ave')
yuv.c:221: warning: missing initializer
yuv.c:221: warning: (near initialization for
'_oil_function_impl_ayuv2yvyu_ref.profile_ave')
yuv.c:242: warning: missing initializer
yuv.c:242: warning: (near initialization for
'_oil_function_impl_ayuv2uyvy_ref.profile_ave')
yuv.c:257: warning: missing initializer
yuv.c:257: warning: (near initialization for
'_oil_function_impl_packyuyv_ref.profile_ave')
yuv.c:272: warning: missing initializer
yuv.c:272: warning: (near initialization for
'_oil_function_impl_unpackyuyv_ref.profile_ave')

and proceeded to hang an otherwise idle machine for half an hour.

Preprocessed source code attached. Flag -O3 required to cause the hang.
Changing the -O3 flag to -O2 caused the file to compile in half a second.


-- 
           Summary: Hang for -O3
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: dcb314 at hotmail dot com
  GCC host triplet: suse-linux-x86_64


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


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2008-09-24  3:25 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-09-16  8:19 [Bug c++/37539] New: Hang for -O3 dcb314 at hotmail dot com
2008-09-16  8:20 ` [Bug c++/37539] " dcb314 at hotmail dot com
2008-09-16 13:16 ` rguenth at gcc dot gnu dot org
2008-09-16 16:37 ` [Bug tree-optimization/37539] " pinskia at gcc dot gnu dot org
2008-09-18  7:27 ` irar at il dot ibm dot com
2008-09-18  8:44 ` irar at il dot ibm dot com
2008-09-20  3:13 ` [Bug tree-optimization/37539] [4.4 Regression] " pinskia at gcc dot gnu dot org
2008-09-21  8:38 ` irar at gcc dot gnu dot org
2008-09-21  8:53 ` irar at gcc dot gnu dot org
2008-09-24  3:25 ` jakub at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).