gc.dg/warn-1.c failure
Geoff Keating
geoffk@geoffk.org
Wed Apr 16 20:43:00 GMT 2003
Joern Rennecke <joern.rennecke@superh.com> writes:
> This test fails because the functions are no longer compiled
> at -O3. If you remove the 'static' from the function declaration
> you get the warning back.
> Now, should we 'fix' the compiler to always do enough compilation
> to emit warnings about conversions due to argument passing?
> Or should we change the testcase so that the compiler has to compile
> the functions?
I think the testcase should be changed. IMO, there's no point making
a special effort to warn about conversions that don't actually ever
happen.
--
- Geoffrey Keating <geoffk@geoffk.org>
More information about the Gcc
mailing list