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

            Bug ID: 118077
           Summary: ICE when building openimageio-2.5.13:
                    oiioversion.h:127:28: internal compiler error: in
                    single_succ_edge, at basic-block.h:332
           Product: gcc
           Version: 15.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: ipa
          Assignee: unassigned at gcc dot gnu.org
          Reporter: ted.d.rodgers at gmail dot com
  Target Milestone: ---

Created attachment 59886
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59886&action=edit
gzip'd original jpeginput.cpp.ii

g++ -march=sapphirerapids -mrtm -mshstk -O3 -flto=56 -pipe -std=c++17 
-fno-math-errno -c thing.ii
during GIMPLE pass: local-fnsummary
/var/tmp/portage/media-libs/openimageio-2.5.13.1/work/OpenImageIO-2.5.13.1/src/jpeg.imageio/jpeginput.cpp:
In member function ‘OpenImageIO_v2_5::JpgInput::read_native_scanline(int, int,
int, int, void*)’:
/var/tmp/portage/media-libs/openimageio-2.5.13.1/work/OpenImageIO-2.5.13.1/src/jpeg.imageio/jpeginput.cpp:532:1:
internal compiler error: in single_succ_edge, at basic-block.h:332
  532 | OIIO_PLUGIN_NAMESPACE_END
      | ^
0x558bfed3171b internal_error(char const*, ...)
       
/usr/src/debug/sys-devel/gcc-15.0.0_pre20241215/gcc-15-20241215/gcc/diagnostic-global-context.cc:517
0x558bfc6a7b67 fancy_abort(char const*, int, char const*)
       
/usr/src/debug/sys-devel/gcc-15.0.0_pre20241215/gcc-15-20241215/gcc/diagnostic.cc:1704
0x558bfc6d84d9 single_succ_edge(basic_block_def const*)
       
/usr/src/debug/sys-devel/gcc-15.0.0_pre20241215/gcc-15-20241215/gcc/basic-block.h:332
0x558bfc6d84d9 builtin_unreachable_bb_p
       
/usr/src/debug/sys-devel/gcc-15.0.0_pre20241215/gcc-15-20241215/gcc/ipa-fnsummary.cc:2708
0x558bfc6d84d9 guards_builtin_unreachable
       
/usr/src/debug/sys-devel/gcc-15.0.0_pre20241215/gcc-15-20241215/gcc/ipa-fnsummary.cc:2730
0x558bfc6d84d9 find_necessary_statements(cgraph_node*) [clone .isra.0]
       
/usr/src/debug/sys-devel/gcc-15.0.0_pre20241215/gcc-15-20241215/gcc/ipa-fnsummary.cc:2805
0x558bfcea6690 analyze_function_body
       
/usr/src/debug/sys-devel/gcc-15.0.0_pre20241215/gcc-15-20241215/gcc/ipa-fnsummary.cc:2931
0x558bfcea9704 compute_fn_summary(cgraph_node*, bool)
       
/usr/src/debug/sys-devel/gcc-15.0.0_pre20241215/gcc-15-20241215/gcc/ipa-fnsummary.cc:3473
0x558bfceaa7c1 compute_fn_summary_for_current
       
/usr/src/debug/sys-devel/gcc-15.0.0_pre20241215/gcc-15-20241215/gcc/ipa-fnsummary.cc:3503
0x558bfceaa7c1 execute
       
/usr/src/debug/sys-devel/gcc-15.0.0_pre20241215/gcc-15-20241215/gcc/ipa-fnsummary.cc:5158
Please submit a full bug report, with preprocessed source (by using
-freport-bug).
Please include the complete backtrace with any bug report.
See <https://bugs.gentoo.org/> for instructions.

Reply via email to