c/7622: tree inliner fallout (regression relative to 2.95)
hubicka@kampanus.ms.mff.cuni.cz
hubicka@kampanus.ms.mff.cuni.cz
Sat Aug 17 05:36:00 GMT 2002
>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:
More information about the Gcc-bugs
mailing list