------- Comment #6 from hubicka at gcc dot gnu dot org  2006-07-21 20:36 -------
cgraph_analyze_function is reentrant for non-unit-at-a-time support.  However
with unit-at-a-time, the analysis happens only after unit has been finalized
and at that time frontend is not supposed to come up with new functions
anymore.  It would be a lot better to make C++ frontend to handle this case
early (probably diagnose the invalid code?), but I don't quite understand this
area of compiler, so if someone C++ aware would tell me it is dificult, we can
do it as workaround.

Honza


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28058

Reply via email to