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 lto/58084] [4.9 Regression] FAIL: gcc.dg/torture/pr8081.c -O2 -flto -fno-use-linker-plugin -flto-partition=none (internal compiler error)


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58084

--- Comment #8 from Richard Biener <rguenth at gcc dot gnu.org> ---
If a type is refered to by two functions it is by definition not local.  But
as it references a local entity it is local.

Note that you seem to have put the type local for RESULT_DECL but still
have the global type used for the function type that hangs off the
function decl.  That type also refers to the PARM_DECLs which are local, too
, now AFAIK.

So, you cannot really make PARM_DECLs or RESULT_DECL local.


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