Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 79427 - internal compiler error in print_rtl_and_abort, gcc3
internal compiler error in print_rtl_and_abort, gcc3
Product: Red Hat Linux
Classification: Retired
Component: gcc3 (Show other bugs)
i686 Linux
medium Severity medium
: ---
: ---
Assigned To: Jakub Jelinek
Depends On:
  Show dependency treegraph
Reported: 2002-12-11 11:44 EST by Dean Bandes
Modified: 2008-05-01 11:38 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2002-12-15 21:26:12 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
problem description, command line, and preprocesser output (39.53 KB, text/plain)
2002-12-11 11:54 EST, Dean Bandes
no flags Details

  None (edit)
Description Dean Bandes 2002-12-11 11:44:56 EST
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)

Description of problem:
I get a compiler internal error in attempting to compile a file of which the 
preprocessed form will be attached. Please refer to the attachment for compiler 
command line, error message, and input.

Error is reported as

Internal compiler error in print_rtl_and_abort

Error depends on the program having declared a function which
returns a function with a variable argument list:

void (*(myFct(const char* name, int line)))(const char* format, ...);

but there seems to be some complex interactions involved

I'm running gcc3 3.0.4 on RedHat Linux 7.2

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

How reproducible:

Steps to Reproduce:
1. Clip source file from attachment and save
2. g++3 -c -x c++ -fPIC -O3 -o foo.o <source file>

Actual Results:  "Internal compiler error" message detailed above

Expected Results:  Compiler should have given me a ton of error messages, most 
likely :-(

Additional info:
Comment 1 Dean Bandes 2002-12-11 11:54:06 EST
Created attachment 88424 [details]
problem description, command line, and preprocesser output
Comment 2 Alan Cox 2002-12-15 21:26:12 EST
Works ok with g++ 3.2 in 8.0

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