PATCH: silence warning in tree-cfg.c
Kaveh R. Ghazi
ghazi@caipclassic.rutgers.edu
Tue Jul 12 12:38:00 GMT 2005
> This one has been irking me for ages. Conveniently, fmt_str_2 was
> available for use.
> Okay for mainline, pending a successful bootstrap?
>
> 2005-07-12 Ben Elliston <bje@au.ibm.com>
>
> * tree-cfg.c (dump_cfg_stats): Add a new fmt_str_2 format
> string and use it when printing num_edges.
True the warning is irksome, however what bothers me more is why isn't
this caught by -Werror in stage2/3 ?
I can only trigger it using gcc-3.4 with optimization turned on. So
it's not shown during stage1 in a 3-stage bootstrap. It only appears
for me using plain "make" using 3.4.
Would you please consider filing a PR about the failure on mainline
(and maybe 4.0?) to emit a diagnostic for this case? It seems to be a
regression.
Thanks,
--Kaveh
--
Kaveh R. Ghazi ghazi@caip.rutgers.edu
More information about the Gcc-patches
mailing list