This is the mail archive of the gcc-bugs@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]

[Bug c++/28058] [4.1/4.2 regression] ICE in inline_forbidden_p



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


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