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/16780] [3.4 regression] ICE with -finstrument-functions -funit-at-a-time -finline -finline-functions


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


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