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]

c/7622: tree inliner fallout (regression relative to 2.95)


>Number:         7622
>Category:       c
>Synopsis:       tree inliner fallout (regression relative to 2.95)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          ice-on-legal-code
>Submitter-Id:   net
>Arrival-Date:   Sat Aug 17 05:36:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     hubicka@kampanus.ms.mff.cuni.cz
>Release:        3.1.x,3.2.x,3.3 prereleases
>Organization:
>Environment:
i386-unkonwn-linux
>Description:
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.
>How-To-Repeat:

>Fix:
don't use weird extensions :)
>Release-Note:
>Audit-Trail:
>Unformatted:


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