This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

warn for dead function calls [3/4] testsuite fallout


Hi,
The following test-cases broke due to the warning.
I think however the warning is right for all the cases:

a) g++.dg/tree-ssa/invalid-dom.C:
I believe the call from main() to E::bar() is dead call ?

b) libffi/testsuite/libffi.call/float.c:
Call from main() to floating() is dead call.

c) libffi/testsuite/libffi.call/float3.c:
Calls from main() to floating_1() and floating_2() are dead calls.

d) libffi/testsuite/libffi.call/negint.c:
Call from main() to checking () is dead call.

Should I update the test-cases to pass -Wno-unsued-value,
or remove the calls ?

Thanks,
Prathamesh


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]