This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH: Turn on -Wpsabi only for the C languages
- From: Jakub Jelinek <jakub at redhat dot com>
- To: "H.J. Lu" <hjl dot tools at gmail dot com>
- Cc: gcc-patches at gcc dot gnu dot org, ubizjak at gmail dot com
- Date: Wed, 18 Feb 2009 16:13:39 +0100
- Subject: Re: PATCH: Turn on -Wpsabi only for the C languages
- References: <20090218150851.GB10495@lucon.org>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
On Wed, Feb 18, 2009 at 07:08:51AM -0800, H.J. Lu wrote:
> We want to turn on -Wpsabi for the C languages. This patch does it.
> OK for trunk?
This looks wrong for me. Either Fortran, Java, Ada etc. don't pass
union arguments containing long double, then obviously the warning will
never be emitted for them, or they do and in that case there is an ABI
change that the people would be better informed about.
Jakub