public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug c++/99110] New: ICE in function_and_variable_visibility, at ipa-visibility.c:716 @ 2021-02-15 17:55 gscfq@t-online.de 2021-02-16 9:18 ` [Bug ipa/99110] " marxin at gcc dot gnu.org 2021-02-16 9:46 ` marxin at gcc dot gnu.org 0 siblings, 2 replies; 3+ messages in thread From: gscfq@t-online.de @ 2021-02-15 17:55 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99110 Bug ID: 99110 Summary: ICE in function_and_variable_visibility, at ipa-visibility.c:716 Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: gscfq@t-online.de Target Milestone: --- Testsuite file gcov-14.c or following slightly reduced variant affects g++ versions down to at least r5 with -fno-weak : $ cat z1.cc extern int __attribute__ ((weak)) Foo (); extern __inline int Foo () { return 0; } int (* __attribute__ ((noinline)) Bar ()) () { return Foo; } $ g++-11-20210214 -c z1.cc -fno-weak during IPA pass: visibility z1.cc:9:1: internal compiler error: in function_and_variable_visibility, at ipa-visibility.c:716 9 | } | ^ 0x1604946 function_and_variable_visibility ../../gcc/ipa-visibility.c:712 ^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug ipa/99110] ICE in function_and_variable_visibility, at ipa-visibility.c:716 2021-02-15 17:55 [Bug c++/99110] New: ICE in function_and_variable_visibility, at ipa-visibility.c:716 gscfq@t-online.de @ 2021-02-16 9:18 ` marxin at gcc dot gnu.org 2021-02-16 9:46 ` marxin at gcc dot gnu.org 1 sibling, 0 replies; 3+ messages in thread From: marxin at gcc dot gnu.org @ 2021-02-16 9:18 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99110 Martin Liška <marxin at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed| |2021-02-16 Assignee|unassigned at gcc dot gnu.org |marxin at gcc dot gnu.org Status|UNCONFIRMED |ASSIGNED Ever confirmed|0 |1 --- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> --- I'll handle this one. ^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug ipa/99110] ICE in function_and_variable_visibility, at ipa-visibility.c:716 2021-02-15 17:55 [Bug c++/99110] New: ICE in function_and_variable_visibility, at ipa-visibility.c:716 gscfq@t-online.de 2021-02-16 9:18 ` [Bug ipa/99110] " marxin at gcc dot gnu.org @ 2021-02-16 9:46 ` marxin at gcc dot gnu.org 1 sibling, 0 replies; 3+ messages in thread From: marxin at gcc dot gnu.org @ 2021-02-16 9:46 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99110 Martin Liška <marxin at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|marxin at gcc dot gnu.org |unassigned at gcc dot gnu.org Status|ASSIGNED |NEW --- Comment #2 from Martin Liška <marxin at gcc dot gnu.org> --- Hm, this one is a very old issue, at least as GCC 4.8.0. About -fno-weak: ... This option exists only for testing, and should not be used by end-users; it results in inferior code and has no benefits. Doctor it hurts. Then don't do it. ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-02-16 9:46 UTC | newest] Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2021-02-15 17:55 [Bug c++/99110] New: ICE in function_and_variable_visibility, at ipa-visibility.c:716 gscfq@t-online.de 2021-02-16 9:18 ` [Bug ipa/99110] " marxin at gcc dot gnu.org 2021-02-16 9:46 ` marxin at gcc dot gnu.org
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).