Bug 50555
Summary: | G++ throws Internal Compiler Error when compiling the latest TAO ORB distro. | ||||||
---|---|---|---|---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Parag Warudkar <parag.lkml> | ||||
Component: | gcc | Assignee: | Jakub Jelinek <jakub> | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | David Lawrence <dkl> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 7.1 | ||||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | i686 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2001-09-06 17:38:02 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Parag Warudkar
2001-08-01 05:09:10 UTC
Created attachment 25712 [details]
CPP Source file that causes the error : Watch line 893
g++ -v : Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.96/specs gcc version 2.96 20000731 (Red Hat Linux 7.1 2.96-94) This macro is the cause of the problem : (If I define ACE_UNUSED_ARG to empty, g++ compiles fine) #if defined (ghs) || defined (__GNUC__) || defined (__hpux) || defined (__sgi) || defined (__DECCXX) || defined (__KCC) || defined (__rational__) || defined (__USLC__) || defined (ACE_RM544) // Some compilers complain about "statement with no effect" with (a). // This eliminates the warnings, and no code is generated for the null // conditional statement. NOTE: that may only be true if -O is enabled, // such as with GreenHills (ghs) 1.8.8. # define ACE_UNUSED_ARG(a) do {/* null */} while (&a == 0) #else /* ghs || __GNUC__ || ..... */ # define ACE_UNUSED_ARG(a) (a) #endif /* ghs || __GNUC__ || ..... */ Is anything happening with this bug? Please provide preprocessed testcase (e.g. using -save-temps option). Here is a new source file and its preprocessed testcase The error :ImplRepoS.cpp: In function `void POA_ImplementationRepository::Administration::server_is_running_skel (TAO_ServerRequest &, void *, void *, Environment &)': ImplRepoS.cpp:3526: Internal compiler error in scan_region, at except.c :2809 As the preprocessed testcase is missing, I cannot tell for sure, but I guess this is a dupe of #48835 fixed in gcc-c++-2.96-97. Yep. fixed in 2.96-97. Parag |