Bug 443774

Summary: gcc compiler error
Product: [openSUSE] openSUSE 11.0 Reporter: Stefan Roth <roth>
Component: DevelopmentAssignee: Richard Biener <rguenther>
Status: RESOLVED DUPLICATE QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: pth
Version: Final   
Target Milestone: ---   
Hardware: i586   
OS: openSUSE 11.0   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: source code to be compiled

Description Stefan Roth 2008-11-11 14:53:06 UTC
Created attachment 251348 [details]
source code to be compiled

When compiling source.ii (see attachment) with

g++ -c -O2 source.ii

I get a compiler error

XrdSecProtocolpwd.cc: In member function ‘virtual int XrdSecProtocolpwd::Authenticate(XrdSecCredentials*, XrdSecParameters**, XrdOucErrInfo*)’:
XrdSecProtocolpwd.cc:1137: internal compiler error: in copy_reference_ops_from_ref, at tree-ssa-sccvn.c:588

I am using

gcc version 4.3.1 20080507 (prerelease) [gcc-4_3-branch revision 135036] (SUSE Linux)

Regards, Stefan
Comment 1 Richard Biener 2008-11-11 16:02:10 UTC
This is fixed for openSUSE 11.1.  You can use -fno-tree-sra to work around the
issue or update GCC from devel:tools:gcc.

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