PR 30551 -pedantic does not include -Wmain, but -pedantic-errors does make -Wmain cause error messages
Andrew Pinski
pinskia@gmail.com
Fri Aug 15 13:00:00 GMT 2008
On Fri, Aug 15, 2008 at 2:59 AM, Manuel López-Ibáñez
<lopezibanez@gmail.com> wrote:
> Forgot the patch.
>> Could you test and commit the following patch?
>>
>> Thanks,
>>
>> Manuel.
>>
>> 2008-08-15 Manuel Lopez-Ibanez <manu@gcc.gnu.org<
>>
>> * gcc.dg/pr30551-6.c: Skip in SPU.
>> * gcc.dg/pr30551-3.c: Likewise.
>> * gcc.dg/pr30551.c: Likewise.
>> * g++.dg/warn/pr30551-2.C: Likewise.
>> * g++.dg/warn/pr30551.C: Likewise.
This will work, the only change I would make, is change the changelog
so it says "Skip for SPU".
And change the skip comment to "-Wmain not enabled with -pedantic on SPU".
Thanks,
Andrew Pinski
More information about the Gcc-patches
mailing list