[Bug 1069670] New: gcc -O2 produces endless loop.
http://bugzilla.suse.com/show_bug.cgi?id=1069670
Bug ID: 1069670
Summary: gcc -O2 produces endless loop.
Classification: openSUSE
Product: openSUSE Tumbleweed
Version: Current
Hardware: x86-64
OS: Linux
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Development
Assignee: bnc-team-screening@forge.provo.novell.com
Reporter: ohering@suse.com
QA Contact: qa-bugs@suse.de
Found By: ---
Blocker: ---
Created attachment 749970
--> http://bugzilla.suse.com/attachment.cgi?id=749970&action=edit
memdirty.c
It is not clear why an endless loop is generated:
mem = calloc(pages, 4096);
perror("calloc");
if (mem == NULL)
exit(1);
gcc version 7.2.1 20171020 [gcc-7-branch revision 253932] (SUSE Linux)
gcc memdirty.c -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2
-fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -Wall -Wextra
-o memdirty
...
0x00000000004007ca <+186>: callq 0x4006b0
http://bugzilla.suse.com/show_bug.cgi?id=1069670
http://bugzilla.suse.com/show_bug.cgi?id=1069670#c1
Marcus Meissner
http://bugzilla.suse.com/show_bug.cgi?id=1069670
http://bugzilla.suse.com/show_bug.cgi?id=1069670#c2
--- Comment #2 from Olaf Hering
http://bugzilla.suse.com/show_bug.cgi?id=1069670
http://bugzilla.suse.com/show_bug.cgi?id=1069670#c3
Richard Biener
participants (1)
-
bugzilla_noreply@novell.com