Bug 134676 - internal compiler error
Summary: internal compiler error
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: gcc
Version: 3
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jakub Jelinek
QA Contact:
URL:
Whiteboard:
: 134675 134812 134857 134892 134908 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-10-05 15:37 UTC by Harald Hoyer
Modified: 2007-11-30 22:10 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2004-10-05 21:38:19 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Preprocessed source (248.15 KB, application/octet-stream)
2004-10-05 15:38 UTC, Harald Hoyer
no flags Details

Description Harald Hoyer 2004-10-05 15:37:22 UTC
$ rpm -qf /usr/libexec/gcc/i386-redhat-linux/3.4.2/cc1plus
gcc-c++-3.4.2-4

/usr/include/kde/ksycocaentry.h: In constructor
`KSycocaEntry::KSycocaEntry(QDataStream&, int)':
/usr/include/kde/ksycocaentry.h:66: internal compiler error:
Segmentation fault

Comment 1 Harald Hoyer 2004-10-05 15:38:24 UTC
Created attachment 104784 [details]
Preprocessed source

Comment 2 Benjamin Kosnik 2004-10-05 16:01:43 UTC
Compiles for me without error w/ FSF gcc-3.4.2, with and without -O2, -g. 

Also works on FC2 gcc-3.3.x compilers.

This does ICE mainline g++ however, with the same flags.

-benjamin

Comment 3 Jakub Jelinek 2004-10-05 16:36:45 UTC
Simplified testcase:
extern "C" long foo (int);

struct A
{
  int i;
};

struct B
{
  static void foo (A &);
  B (int x) : c (x) { foo (d); }
  int c;
  A d;
};

Comment 4 Jakub Jelinek 2004-10-05 16:47:11 UTC
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17846

Comment 5 Jakub Jelinek 2004-10-05 16:57:08 UTC
*** Bug 134675 has been marked as a duplicate of this bug. ***

Comment 6 Richard Henderson 2004-10-05 21:38:19 UTC
Upstream PR created.  Looks like it might be fixed in cvs too.

Comment 7 Bill Nottingham 2004-10-06 17:10:17 UTC
*** Bug 134812 has been marked as a duplicate of this bug. ***

Comment 8 Jakub Jelinek 2004-10-06 22:07:35 UTC
*** Bug 134857 has been marked as a duplicate of this bug. ***

Comment 9 Jakub Jelinek 2004-10-07 13:14:39 UTC
Should be fixed in gcc-3.4.2-5.

Comment 10 Neal Becker 2004-10-07 13:20:29 UTC
Is there any way to get gcc-3.4.2-5 other than waiting for it to show 
up in rawhide? 

Comment 11 Jakub Jelinek 2004-10-07 14:25:52 UTC
*** Bug 134892 has been marked as a duplicate of this bug. ***

Comment 12 Jakub Jelinek 2004-10-07 14:26:45 UTC
*** Bug 134908 has been marked as a duplicate of this bug. ***


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