Bug 443774 - gcc compiler error
Summary: gcc compiler error
Status: RESOLVED DUPLICATE of bug 423594
Alias: None
Product: openSUSE 11.0
Classification: openSUSE
Component: Development (show other bugs)
Version: Final
Hardware: i586 openSUSE 11.0
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Richard Biener
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-11 14:53 UTC by Stefan Roth
Modified: 2008-11-11 16:02 UTC (History)
1 user (show)

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


Attachments
source code to be compiled (681.83 KB, application/octet-stream)
2008-11-11 14:53 UTC, Stefan Roth
Details

Note You need to log in before you can comment on or make changes to this bug.
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 ***