[Bug c/69084] New: lra-remat.c:165: dead function ?
dcb314 at hotmail dot com
gcc-bugzilla@gcc.gnu.org
Wed Dec 30 12:11:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69084
Bug ID: 69084
Summary: lra-remat.c:165: dead function ?
Product: gcc
Version: 6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: dcb314 at hotmail dot com
Target Milestone: ---
From a trial build of gcc with clang++
../../src/trunk/gcc/lra-remat.c:165:1: warning: function 'rtx_hash' is not
needed and will not be emitted [-Wunneeded-internal-declaration]
It seems that rtx_hash is recursive and so gcc doesn't notice it
is only called by itself.
Suggest delete unused function.
More information about the Gcc-bugs
mailing list