[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Bug c++/11295] [3.4/3.5 regression] ICE in cp_expr_size, at cp/cp-lang.c:314 when using a non-trivial object in a compound statement expression



------- Additional Comments From mark at codesourcery dot com  2004-02-07 20:55 -------
Subject: Re:  [3.4/3.5 regression] ICE in cp_expr_size, at
 cp/cp-lang.c:314 when using a non-trivial object in a compound statement
 expression

wilson at specifixinc dot com wrote:

>------- Additional Comments From wilson at specifixinc dot com  2004-02-07 09:17 -------
>Subject: Re:  [3.4/3.5 regression] ICE in cp_expr_size, at
> cp/cp-lang.c:314 when using a non-trivial object in a compound statement
> expression
>
>schwab at suse dot de wrote:
>  
>
>>testsuite/g++.dg/ext/stmtexpr1.C 
>>    
>>
>
>Sorry.  I misread one of your earlier emails, and was confused about 
>what the actual testcase was here.  Explicitly mentioning the testcase 
>name helped.
>
>The following patch seems to work, and also seems to make sense.  I have 
>only tested this with a cross compiler build, and only against the given 
>testcase.
>
>This testcase is apparently IA-64 specific only because IA-64 does not 
>have REG+OFFSET memory addresses, and hence the !rtx_equal_p(temp, 
>target) test in store_expr fails much more often for IA-64 than other 
>targets.
>2004-02-07  James E Wilson  <wilson@specifixinc.com>
>
>	* c-common.c (c_expand_expr, case STMT_EXPR): Change expand_expr call
>	to expand_expr_real call, and pass in alt_rtl as last argument.
>
>  
>
I was actually just testing the exact same fix. 

Thanks for fixing this, even thought it was assigned to me!

Please check that in, if you would.



-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11295

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.



Reply to: