https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119093

            Bug ID: 119093
           Summary: ICE: in function_and_variable_visibility, at
                    ipa-visibility.cc:715
           Product: gcc
           Version: 15.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: ipa
          Assignee: unassigned at gcc dot gnu.org
          Reporter: bic60176 at gmail dot com
  Target Milestone: ---

Created attachment 60642
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60642&action=edit
testcase

Compiler Explorer: https://godbolt.org/z/91f6WGh8M

Console:
during IPA pass: whole-program
<source>:10:1: internal compiler error: in function_and_variable_visibility, at
ipa-visibility.cc:715
   10 | }
      | ^
0x25f6035 diagnostic_context::diagnostic_impl(rich_location*,
diagnostic_metadata const*, diagnostic_option_id, char const*, __va_list_tag
(*) [1], diagnostic_t)
        ???:0
0x260d006 internal_error(char const*, ...)
        ???:0
0x9ea806 fancy_abort(char const*, int, char const*)
        ???:0
Please submit a full bug report, with preprocessed source (by using
-freport-bug).
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.
Compiler returned: 1

Reply via email to