[Bug 756235] New: gcc hangs
https://bugzilla.novell.com/show_bug.cgi?id=756235
https://bugzilla.novell.com/show_bug.cgi?id=756235#c0
Summary: gcc hangs
Classification: openSUSE
Product: openSUSE 12.1
Version: Final
Platform: x86-64
OS/Version: openSUSE 12.1
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Development
AssignedTo: bnc-team-screening@forge.provo.novell.com
ReportedBy: bart@bartvanassche.be
QAContact: qa-bugs@suse.de
Found By: ---
Blocker: ---
Created an attachment (id=485279)
--> (http://bugzilla.novell.com/attachment.cgi?id=485279)
Test input t.c
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:11.0) Gecko/20100101
Firefox/11.0
gcc never finishes for certain input.
Reproducible: Always
Steps to Reproduce:
1. Make sure that the RPM gcc-4.6-15.1.3.x86_64 is installed.
2. Start gcc as follows:
gcc -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing
-fno-common -Werror-implicit-function-declaration -Wno-format-security
-fno-delete-null-pointer-checks -O2 -m64 -march=core2 -mno-red-zone
-mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -Wno-sign-compare
-fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow
-Wframe-larger-than=1024 -fno-stack-protector -Wno-unused-but-set-variable
-fno-omit-frame-pointer -fno-optimize-sibling-calls -g
-femit-struct-debug-baseonly -pg -Wdeclaration-after-statement
-Wno-pointer-sign -fno-strict-overflow -fconserve-stack -fno-inline
-fno-inline-functions -S t.c
Actual Results:
gcc hangs: compilation never finishes and CPU usage is 100%. According to gdb,
gcc hangs in the following code:
(gdb) bt
#0 canonicalize_values_star (slot=0x19118d0, data=0x180f088) at
../../gcc/var-tracking.c:3144
#1 0x0000000000af84e8 in htab_traverse_noresize (htab=<optimized out>,
callback=0x7ccb50
https://bugzilla.novell.com/show_bug.cgi?id=756235
https://bugzilla.novell.com/show_bug.cgi?id=756235#c1
--- Comment #1 from Bart Van Assche
https://bugzilla.novell.com/show_bug.cgi?id=756235
https://bugzilla.novell.com/show_bug.cgi?id=756235#c
Marcus Meissner
https://bugzilla.novell.com/show_bug.cgi?id=756235
https://bugzilla.novell.com/show_bug.cgi?id=756235#c2
Richard Guenther
https://bugzilla.novell.com/show_bug.cgi?id=756235
https://bugzilla.novell.com/show_bug.cgi?id=756235#c3
Richard Guenther
https://bugzilla.novell.com/show_bug.cgi?id=756235
https://bugzilla.novell.com/show_bug.cgi?id=756235#c4
--- Comment #4 from Bart Van Assche
https://bugzilla.novell.com/show_bug.cgi?id=756235
https://bugzilla.novell.com/show_bug.cgi?id=756235#c5
--- Comment #5 from Richard Guenther
participants (1)
-
bugzilla_noreply@novell.com