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

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).