------- Comment #8 from dave at hiauly1 dot hia dot nrc dot ca  2006-02-13 
19:23 -------
Subject: Re:  [3.4/4.0/4.1/4.2 Regression] ICE: cp_expr_size, at
cp/cp-lang.c:308

> (In reply to comment #2)
> > I believe that this error occurs because vax.h defines
> > PCC_STATIC_STRUCT_RETURN.
> > Removing this define allows the complilation of this file to complete.
> 
> FWIW that means that some m68k targets might be affected too.
> But according to grep, vax.h and m68k.h are the only files defining this.

Sometime ago I tested removing this define on vax-ultrix and had a
successful build.  While it's the default, I think it was a bad idea
and should be removed.  There's still -fpcc-struct-return that can be
used when needed.

Dave


-- 


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

Reply via email to