Bug 767531 - GCC Segfault
Summary: GCC Segfault
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Fedora
Classification: Fedora
Component: gcc4
Version: 16
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jakub Jelinek
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-12-14 10:11 UTC by Anthony
Modified: 2011-12-14 11:51 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-12-14 10:23:56 UTC
Type: ---


Attachments (Terms of Use)

Description Anthony 2011-12-14 10:11:12 UTC
Description of problem:
GCC Segfault on compiling trivial file

Version-Release number of selected component (if applicable):
gcc-4.6.2-1.fc16.i686

How reproducible:
Just compile with optimization
gcc -O2 -g -march=i386 -mtune=i686 test.c

int
 main ()
 {

   ;
   return 0;
 }


  
Actual results:
test.c: In function 'main':
test.c:2:2: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugzilla.redhat.com/bugzilla> for instructions.



Expected results:


Additional info:

Comment 1 Jakub Jelinek 2011-12-14 10:23:56 UTC
In that case something is wrong on your side, works just fine here and obviously we wouldn't release gcc if it didn't compile such trivial programs.
So, just check 
rpm -V gcc cpp
to see if you don't have disk corruption, or check your memory with memtest86, verify your cooling is ok etc.  And see if it is reproduceable for you.

Comment 2 Anthony 2011-12-14 11:51:22 UTC
Sorry, reboot fixes this probleem for me.


Note You need to log in before you can comment on or make changes to this bug.