Bug 10382 - GCC 3.2.1: internal error
Summary: GCC 3.2.1: internal error
Status: RESOLVED WORKSFORME
Alias: None
Product: gcc
Classification: Unclassified
Component: c (show other bugs)
Version: 3.2.1
: P2 critical
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords: ice-on-valid-code
Depends on:
Blocks:
 
Reported: 2003-04-11 21:26 UTC by bonnegent
Modified: 2003-07-25 10:00 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed:


Attachments
regex.c (1.07 KB, text/plain)
2003-05-21 15:17 UTC, bonnegent
Details

Note You need to log in before you can comment on or make changes to this bug.
Description bonnegent 2003-04-11 21:26:00 UTC
while compiling sed-4.0.6:
--------------------------
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../intl -I..    -march=k6-2 -O3 -pipe -MT regex.o -MD -MP -MF ".deps/regex.Tpo" \
  -c -o regex.o `test -f 'regex.c' || echo './'`regex.c; \
then mv ".deps/regex.Tpo" ".deps/regex.Po"; \
else rm -f ".deps/regex.Tpo"; exit 1; \
fi
In file included from regex.c:52:
regexec.c: In function `re_search_internal':
regexec.c:812: internal error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
make[2]: *** [regex.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/sed-4.0.6/work/sed-4.0.6/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/sed-4.0.6/work/sed-4.0.6'
make: *** [all] Error 2

Release:
unknown

Environment:
Gentoo 1.4rc2
Comment 1 Wolfgang Bangerth 2003-04-11 22:32:51 UTC
State-Changed-From-To: open->feedback
State-Changed-Why: In order to reproduce this, we need the _preprocessed_ sources.
    Please review
      http://gcc.gnu.org/bugs.html
    to see what we need.
    
    Thanks
      Wolfgang
Comment 2 Andrew Pinski 2003-07-14 23:16:49 UTC
You only provided the source code, not the *pre*processed source.  Read <http://
gcc.gnu.org/bugs.html> and provide the preprocessed source as we cannot reproduce it 
without it.
Comment 3 Steven Bosscher 2003-07-25 10:00:27 UTC
This is reported against an old compiler.  For 3.3, many K6 bugs have been
fixed.  Unfortunately we cannot test to see if this bug has been fixed as well,
since the provided test case is not self-contained.  Three months ago we asked
for a preprocessed, self-contained test case, and this request was re-iterated
last week, but there has been no response so far.

This bug has been in WAITING status for three months now.  It is GCC policy to
close bug reports in this state when after three months the reporter (or someone
else) still hasn't reacted to feedback requests.  Therefore I will close this
bug now.

If the problem still happens for you with GCC 3.3 or later, please add
additional comments to the audit trail for this bug: http://gcc.gnu.org/PR10382.

Thank you.