This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Need help understanding decl_handle_format_arg_attribute
* Joseph S. Myers (jsm28@cam.ac.uk) [20010809 17:18]:
> Bootstrapped without regressions on what system?
Sorry, I had intended to add "if bootstrap succeeds".
> > + error ("operand numbers used as arguments of format must be integer constant expressions");
>
> This message isn't technically correct for the TREE_INT_CST_HIGH case
> (constants that are negative or too large).
So what would you propose instead? Back to
"invalid operand numbers used as arguments of format" ?
BTW, shouldn't extend.texi also document the restrictions?
Philipp
--
Philipp Thomas <pthomas@suse.de>
Development, SuSE GmbH, Deutscherrnstr. 15-19, D-90429 Nuremberg, Germany
Penguins shall save the dinosaurs
-- Handelsblatt about Linux on S/390