This is GCC Bugzilla
This is GCC Bugzilla Version 2.20+
View Bug Activity | Format For Printing | Clone This Bug
taking address of inline function forces it to be output even when it has been deferred for inlining. In case we are speaking about nested function of extern inline function like in the testcase: extern inline t() { int q() {} return q; } the compiler dies as no RTL is generated for them. I guess the function should not be output but I am not quite sure how to check this. Release: 3.0.x, 3.1.x, 3.2.x, 3.3 prereleases Environment: i386-unkonwn-linux
Fix: don't use weird extensions :)
State-Changed-From-To: open->analyzed State-Changed-Why: Confirmed. Regression from 2.95.3.
Responsible-Changed-From-To: unassigned->ebotcazou Responsible-Changed-Why: Investigating.
State-Changed-From-To: analyzed->closed State-Changed-Why: Fixed.
From: ebotcazou@gcc.gnu.org To: gcc-gnats@gcc.gnu.org Cc: Subject: c/7622 Date: 4 Dec 2002 14:58:21 -0000 CVSROOT: /cvs/gcc Module name: gcc Changes by: ebotcazou@gcc.gnu.org 2002-12-04 06:58:21 Modified files: gcc : ChangeLog c-semantics.c Log message: PR c/7622 * c-semantics (genrtl_scope_stmt): Do not output inlined nested functions that contain no code. Patches: http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=1.16051&r2=1.16052 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/c-semantics.c.diff?cvsroot=gcc&r1=1.47&r2=1.48
From: ebotcazou@gcc.gnu.org To: gcc-gnats@gcc.gnu.org Cc: Subject: c/7622 Date: 4 Dec 2002 20:28:35 -0000 CVSROOT: /cvs/gcc Module name: gcc Branch: gcc-3_2-branch Changes by: ebotcazou@gcc.gnu.org 2002-12-04 12:28:35 Modified files: gcc : ChangeLog c-semantics.c Log message: PR c/7622 * c-semantics (genrtl_scope_stmt): Do not output inlined nested functions that contain no code. Patches: http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_2-branch&r1=1.13152.2.657.2.155&r2=1.13152.2.657.2.156 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/c-semantics.c.diff?cvsroot=gcc&only_with_tag=gcc-3_2-branch&r1=1.40.2.2&r2=1.40.2.2.4.1