Bug 767531

Summary: GCC Segfault
Product: [Fedora] Fedora Reporter: Anthony <anthony.bloodoff>
Component: gcc4Assignee: Jakub Jelinek <jakub>
Status: CLOSED WORKSFORME QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 16   
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-12-14 10:23:56 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

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.