Bug 164759

Summary: internal compiler error: Segmentation fault
Product: [Fedora] Fedora Reporter: HT Chang <htchang77>
Component: gcc4Assignee: Jakub Jelinek <jakub>
Status: CLOSED UPSTREAM QA Contact:
Severity: high Docs Contact:
Priority: medium    
Version: 4   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-08-06 09:15:23 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
preprocessed c ++ source code causing internal error none

Description HT Chang 2005-08-01 01:47:50 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.10) Gecko/20050720 Fedora/1.0.6-1.1.fc4 Firefox/1.0.6

Description of problem:
compiler stops with an internal error and asked to file a bug along with dumped source code at /tmp


Version-Release number of selected component (if applicable):
gcc-c++-4.0.1-4.fc4

How reproducible:
Always

Steps to Reproduce:
1.just compile it, you'll get the error.
2.
3.
  

Additional info:

Comment 1 HT Chang 2005-08-01 01:50:26 UTC
Created attachment 117332 [details]
preprocessed c ++ source code causing internal error

Comment 2 Jakub Jelinek 2005-08-06 09:15:23 UTC
This is ICE on invalid source, simplified testcase is:
int foo[16];
int *bar = &foo[-1];
You can't do this, as &foo[-1] does not point either inside of the foo array
nor past the last element in it.