Bug 112568

Summary: ICE on valid code
Product: [Fedora] Fedora Reporter: Bernie Innocenti <bernie+fedora>
Component: gccAssignee: Jason Merrill <jason>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: medium    
Version: 1   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-02-02 17:36:55 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:

Description Bernie Innocenti 2003-12-23 01:26:28 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6b)
Gecko/20031210

Description of problem:
The following reduced test case causes an ICE:

class QString
{
public:
	QString( const char *str );
	~QString();
};
const QString operator+( const QString &s1, const QString &s2 );
void foo()
{
	QString dirs[] = { QString("libdir") + QString(".libs") };
}


Version-Release number of selected component (if applicable):
gcc-c++-ssa-3.5ssa-0.20031211.106

How reproducible:
Always

Steps to Reproduce:
1. g++-ssa ssabug.cpp

    

Actual Results:  /ssabug.cpp: In function `void foo()':
/ssabug.cpp:11: internal compiler error: in gimplify_expr, at
gimplify.c:3210
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugzilla.redhat.com/bugzilla/> for instructions.


Additional info:

NOTE: this bug is already fixed in GCC's tree-ssa branch.

Comment 1 Diego Novillo 2004-02-02 17:36:55 UTC
Should be fixed in 20040120.110