Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 200089 - [4.1/4.2/ICE] when building mandel with -O1
Summary: [4.1/4.2/ICE] when building mandel with -O1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL: http://gcc.gnu.org/PR35227
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-23 16:12 UTC by Maros Zatko
Modified: 2009-04-20 17:29 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Original source file that produces the error. (mandel.c,1.42 KB, text/x-c)
2007-11-23 16:19 UTC, Maros Zatko
Details
Preprocessed source output from gcc. (ccAjeqR9.out,86.41 KB, text/plain)
2007-11-23 16:21 UTC, Maros Zatko
Details
emerge --info (em.info,2.98 KB, text/plain)
2007-11-23 16:25 UTC, Maros Zatko
Details
mandel.i (mandel.i,97 bytes, text/plain)
2007-11-29 05:47 UTC, SpanKY
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Maros Zatko 2007-11-23 16:12:54 UTC
gcc (GCC) 4.1.2 crashed when I enabled optimization i.e. gcc -O2 mandel.c .
This bug is reproducible on x64_64 platform too.

Reproducible: Always

Steps to Reproduce:
Compilation of my source file with enabled optimizations.
gcc -O2 mandel.c
Actual Results:  
mandel.c: In function 'mandel':
mandel.c:23: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.
Preprocessed source stored into /tmp/ccAjeqR9.out file, please attach this to your bugreport.

Expected Results:  
Gcc should compile this file normally.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-11-23 16:18:40 UTC
Reopen once you've attached the sample code to reproduce this, the preprocessed source and emerge --info output.
Comment 2 Maros Zatko 2007-11-23 16:19:38 UTC
Created attachment 136778 [details]
Original source file that produces the error.
Comment 3 Maros Zatko 2007-11-23 16:21:18 UTC
Created attachment 136780 [details]
Preprocessed source output from gcc.
Comment 4 Maros Zatko 2007-11-23 16:25:58 UTC
Created attachment 136782 [details]
emerge --info
Comment 5 Maros Zatko 2007-11-23 16:58:15 UTC
Attached source, preprocessed source and emerge --info
Comment 6 SpanKY gentoo-dev 2007-11-29 05:47:02 UTC
Created attachment 137295 [details]
mandel.i

reduced test case
Comment 7 Mark Loeser (RETIRED) gentoo-dev 2009-04-20 17:29:58 UTC
Fixed in gcc-4.3.