[Bug c/16780] [3.4 regression] ICE with -finstrument-functions -funit-at-a-time -finline -finline-functions
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Tue Jul 27 15:44:00 GMT 2004
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-07-27 15:44 -------
Note that -finstrument-functions uses the RTL inliner.
gcc pr16780.c -finstrument-functions -funit-at-a-time -finline -finline-functions is enough to show
the bug.
531 /* Generate RTL for the body of DECL. Nested functions are expanded
532 via lang_expand_decl_stmt. */
533 (*lang_hooks.callgraph.expand_function) (decl);
534 if (DECL_DEFER_OUTPUT (decl))
535 abort ();
The reason why this is fixed on the mainline is because -finstrument-functions is done on the tree
level.
--
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |minor
Keywords|rejects-valid |ice-on-valid-code
Summary|[3.4 regression] ICE with - |[3.4 regression] ICE with -
|finstrument-functions |finstrument-functions -
| |funit-at-a-time -finline -
| |finline-functions
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16780
More information about the Gcc-bugs
mailing list