This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Change handling of common attributes
- To: jsm28 at cam dot ac dot uk
- Subject: Re: Change handling of common attributes
- From: kenner at vlsi1 dot ultra dot nyu dot edu (Richard Kenner)
- Date: Sat, 22 Sep 01 11:47:38 EDT
- Cc: gcc-patches at gcc dot gnu dot org
What does "too large" mean here? This check is to warn about attempts
to use TImode types on systems (such as those with GNU libc, on all
architectures) where the de facto ABI defines intmax_t to be DImode
but TImode is at least somewhat supported and therefore looks to
programs somewhat like a C99 extended integer type, but mustn't be
allowed to be one. The appropriate handling would be either to make
intmax_t and uintmax_t available to all front ends or to define a
function such as lang_mode_too_wide_warning to handle the
language-dependency.
Well, it was a warning and only on -pedantic. That seems odd in the first
place since it's already a GNU extension.
I agree it's possible to do things to put the warning back, but is it really
worth it?