[Bug middle-end/54477] New: Inlining summary generation should not change the current function
jamborm at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Sep 4 11:55:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54477
Bug #: 54477
Summary: Inlining summary generation should not change the
current function
Classification: Unclassified
Product: gcc
Version: 4.8.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: middle-end
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: jamborm@gcc.gnu.org
Currently (rev. 190872), we sometimes change the function body when
generating inlining summaries, specifically at some point in
loop_optimizer_init, which is called to get BB loop depths and loop
bounds predicates.
This happens for example when compiling function MAIN__ of
testsuite/gfortran.dg/bound_7.f90.
Summary generations of IPA passes should not modify function bodies,
pass manager should do all such body changing analyses instead.
More information in
http://gcc.gnu.org/ml/gcc-patches/2012-09/msg00148.html and other
messages in that thread.
More information about the Gcc-bugs
mailing list