This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PR 30551 -pedantic does not include -Wmain, but -pedantic-errors does make -Wmain cause error messages


2008/8/15 Andrew Pinski <pinskia@gmail.com>:
> 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".
>

OK. Committed as obvious as rev 139126.

Manuel.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]