This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/16780] [3.4 regression] ICE with -finstrument-functions -funit-at-a-time -finline -finline-functions
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 27 Jul 2004 15:44:08 -0000
- Subject: [Bug c/16780] [3.4 regression] ICE with -finstrument-functions -funit-at-a-time -finline -finline-functions
- References: <20040727091024.16780.dok@directfb.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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