Regressions on mainline\
Andrew Pinski
pinskia@physics.uc.edu
Mon Jun 21 23:01:00 GMT 2004
>
> On Mon, 2004-06-21 at 18:44, Mark Mitchell wrote:
>
> > >warn7.C looks to be a problem when to warn about a problem when a function is
> > >cloned, I do not know when this started happen.
> > >
> > >
> > Does anyone have a regression tracker that can pinpoint this one?
> >
> According to my daily runs, warn7.C started failing 2004-04-30 on
> x86-linux. I've got the .diff file if you're interested (though it
> seems rather large).
This was almost likely caused by:
2004-04-28 Jan Hubicka <jh@suse.cz>
PR c/15004
* function.c (do_warn_unused_parameter): Break out form ...
(expand_function_end): ... here; warn only when not using cgraphunit.
* function.h (do_warn_unused_parameter): Declare.
* cgraphunit.c: Include function.h.
(cgraph_finalize_function): Do unused parameter warning.
* Makefile.in (cgraphunit.o): Depend on function.h
But I think it is a C++ front-end bug which deals with cloning as it is not warning about
an unused parameter in a constructor.
Andrew
More information about the Gcc
mailing list