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]

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


On Tue, 26 Jul 2016, Prathamesh Kulkarni wrote:

> 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 ?

Can't find this testcase.

> 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.

Looks like dead calls in the above but libffi is maintained upstream
and just copied to GCC.  Please raise the issue upstream.

Richard.

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

-- 
Richard Biener <rguenther@suse.de>
SUSE LINUX GmbH, GF: Felix Imendoerffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nuernberg)


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