[PATCH] Fix PR c++/30582: Trouble with __builtin_offsetof and volatile

Nathan Sidwell nathan@codesourcery.com
Wed Mar 7 18:56:00 GMT 2007


Volker Reichelt wrote:
> The following code snippet triggers an ICE since GCC 4.0.0:

> Bootstrapped and regtested on i686-pc-linux-gnu.
> Ok for mainline, 4.2 branch, and 4.1 branch?
> 

> 2007-03-04  Volker Reichelt  <reichelt@netcologne.de>
> 
> 	PR c++/30852
> 	* c-common.c (fold_offsetof_1): Handle COMPOUND_EXPR.

ok

-- 
Nathan Sidwell    ::   http://www.codesourcery.com   ::         CodeSourcery
nathan@codesourcery.com    ::     http://www.planetfall.pwp.blueyonder.co.uk



More information about the Gcc-patches mailing list