This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] Fix third part of PR c++/27601: ICE using offsetof with pseudo-destructor
Volker Reichelt wrote:
> Unfortuantely I found another case (as in PR 27601) of a C++-construct
> used in __builtin_offsetof that crashes the compiler:
>
> typedef int I;
> int i = __builtin_offsetof(I, ~I);
Lovely.
> 2006-06-12 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
>
> PR c++/27601
> * semantics.c (finish_offsetof): Handle pseudo-destructors.
OK, thanks.
--
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713