This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [C PATCH] Warn for _Alignas + main (PR c/61077)
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: Marek Polacek <polacek at redhat dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Thu, 8 May 2014 17:27:35 +0000
- Subject: Re: [C PATCH] Warn for _Alignas + main (PR c/61077)
- Authentication-results: sourceware.org; auth=none
- References: <20140508160631 dot GB11802 at redhat dot com>
On Thu, 8 May 2014, Marek Polacek wrote:
> Joseph pointed out that we don't warn when the return type of
> main or the parameter type of main have the _Atomic qualifier.
> This patch adds such warning.
>
> Regtested/bootstrapped on x86_64-linux, ok for trunk?
OK.
--
Joseph S. Myers
joseph@codesourcery.com