Bug 455812 - gcc internal error (4.3.1 20080507 prerelease)
Summary: gcc internal error (4.3.1 20080507 prerelease)
Status: RESOLVED DUPLICATE of bug 423594
Alias: None
Product: openSUSE 11.0
Classification: openSUSE
Component: Development (show other bugs)
Version: Final
Hardware: x86-64 openSUSE 11.0
: P5 - None : Minor (vote)
Target Milestone: ---
Assignee: Michael Matz
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-02 23:04 UTC by Alexandr Malusek
Modified: 2008-12-03 10:09 UTC (History)
0 users

See Also:
Found By: Community User
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
preprocessed source file (via gcc -E) (682.71 KB, text/plain)
2008-12-02 23:04 UTC, Alexandr Malusek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandr Malusek 2008-12-02 23:04:52 UTC
Created attachment 257521 [details]
preprocessed source file (via gcc -E)

gcc fails to compile ROOT 5.21/06, http://root.cern.ch/root/Version521.html.  Namely the file XrdSecProtocolpwd.cc.  To reproduce the problem, run:

g++ -c -fPIC -rdynamic -Wall -Wno-deprecated -O2 XrdSecProtocolpwd_preprocessed.cc
XrdSecProtocolpwd.cc: In member function ‘virtual XrdSecCredentials* XrdSecProtocolpwd::getCredentials(XrdSecParameters*, XrdOucErrInfo*)’:
XrdSecProtocolpwd.cc:853: internal compiler error: in copy_reference_ops_from_ref, at tree-ssa-sccvn.c:588
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugs.opensuse.org/> for instructions.

The XrdSecProtocolpwd_preprocessed.cc file is attached.  It was generated as

g++ -E -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 \
-D_ALL_SOURCE -D_REENTRANT -D_GNU_SOURCE -fPIC -rdynamic -Wall \
-Wno-deprecated -D__linux__  -O2 -DXrdDEBUG=0   -DR__SHADOWPW \
  -I. -I.. XrdSecProtocolpwd.cc > XrdSecProtocolpwd_preprocessed.cc

Notes:
- gcc doesn't fail when the option -O is used.
- I'm not familiar with gcc internal errors so this problem may have already been reported

Versions:
$ uname -a
Linux bamse 2.6.25.18-0.2-default #1 SMP 2008-10-21 16:30:26 +0200 x86_64 x86_64 x86_64 GNU/Linux
$ gcc --version
gcc (SUSE Linux) 4.3.1 20080507 (prerelease) [gcc-4_3-branch revision 135036]
Comment 1 Richard Biener 2008-12-03 10:09:58 UTC

*** This bug has been marked as a duplicate of bug 423594 ***