Bug 164759 - internal compiler error: Segmentation fault
Summary: internal compiler error: Segmentation fault
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: gcc4
Version: 4
Hardware: i386
OS: Linux
medium
high
Target Milestone: ---
Assignee: Jakub Jelinek
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2005-08-01 01:47 UTC by HT Chang
Modified: 2007-11-30 22:11 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2005-08-06 09:15:23 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
preprocessed c ++ source code causing internal error (226.88 KB, text/plain)
2005-08-01 01:50 UTC, HT Chang
no flags Details


Links
System ID Private Priority Status Summary Last Updated
GNU Compiler Collection 23260 0 None None None Never

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.


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