Red Hat Bugzilla – Bug 164759
internal compiler error: Segmentation fault
Last modified: 2007-11-30 17:11:11 EST
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):
Steps to Reproduce:
1.just compile it, you'll get the error.
Created attachment 117332 [details]
preprocessed c ++ source code causing internal error
This is ICE on invalid source, simplified testcase is:
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.