Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 136884 - gcc segfaults due to ICE
gcc segfaults due to ICE
Product: Fedora
Classification: Fedora
Component: gcc (Show other bugs)
x86_64 Linux
medium Severity high
: ---
: ---
Assigned To: Jakub Jelinek
Depends On:
Blocks: 116244
  Show dependency treegraph
Reported: 2004-10-22 16:31 EDT by Eido Inoue
Modified: 2007-11-30 17:10 EST (History)
0 users

See Also:
Fixed In Version: 3.4.2-6.fc3
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2004-10-26 13:29:29 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
C preprocessor output (110.44 KB, text/plain)
2004-10-22 16:41 EDT, Eido Inoue
no flags Details

  None (edit)
Description Eido Inoue 2004-10-22 16:31:19 EDT
Description of problem:
gcc segfaults internally while compiling C file braille.c in

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. bhc dist-fc3-HEAD devserv:~havill/brltty-3.2-5.src.rpm

Actual results:
make[2]: Entering directory
x86_64-redhat-linux-gcc -O2 -g -pipe -m64 -Wall -I. -I../../ -I.
'-DBRLHELP="/etc/brltty/brltty-lt.hlp"' -c ./braille.c
./braille.c: In function `sendData':
./braille.c:216: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugzilla.redhat.com/bugzilla> for instructions.
Preprocessed source stored into /tmp/ccRJJ5YP.out file, please attach
this to your bugreport.

Additional info:
Not encountering problems on other archs
Comment 1 Eido Inoue 2004-10-22 16:41:23 EDT
Created attachment 105674 [details]
C preprocessor output
Comment 2 Jakub Jelinek 2004-10-23 13:09:01 EDT
Simplified testcase:
/* { dg-do compile } */
/* { dg-options "-O2 -g" } */

static void
foo (unsigned char x)
  unsigned char a[5 + x];

bar (void)
  foo (80);

Works with both gcc 3.3.4 and 4.0.0.
Comment 3 Jakub Jelinek 2004-10-23 17:58:02 EDT

Not sure how often it triggers though.  It has been introduced on
2004-10-13 in CVS (i.e. only in gcc-3.4.2-6 built on Oct, 18th),
so we probably haven't built enough code to see whether this is
something exceptional or happens more often (in which case we should
put it into FC3).
Comment 4 Jakub Jelinek 2004-10-26 13:29:29 EDT
Should be fixed in gcc-3.4.2-6.fc3.

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