This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Fix build failure with old Sun compiler
- From: Andrew Pinski <pinskia at physics dot uc dot edu>
- To: ebotcazou at libertysurf dot fr (Eric Botcazou)
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Tue, 7 Feb 2006 13:09:08 -0500 (EST)
- Subject: Re: Fix build failure with old Sun compiler
>
> --Boundary-00=_IGO6DzPbfP//Lpl
> Content-Type: text/plain;
> charset="us-ascii"
> Content-Transfer-Encoding: 7bit
> Content-Disposition: inline
>
> The Sun C 5.0 compiler chockes on
>
> static const struct c_test insn_conditions[] = {};
This is invalid C and the reason why we don't catch normally
is because insn_conditions is defined for GNU C.
Good catches.
Thanks,
Andrew Pinski