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

            Bug ID: 112343
           Summary: [14 regression] ICE during GIMPLE pass: dse
           Product: gcc
           Version: 14.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: debug
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gerald at pfeifer dot com
  Target Milestone: ---

Created attachment 56486
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=56486&action=edit
Preprocessed C source

This started in the last 48 hours.

/home/gerald/gcc-ref12-amd64/bin/gcc> jcparam.i -O2 -g
during GIMPLE pass: dse
jcparam.c: In function ‘jpeg_simple_progression’:
jcparam.c:514:1: internal compiler error: Segmentation fault
  514 | jpeg_simple_progression (j_compress_ptr cinfo)
      | ^~~~~~~~~~~~~~~~~~~~~~~
0x829785baf handle_signal
        /usr/src/lib/libthr/thread/thr_sig.c:248
0x82978516e thr_sighandler
        /usr/src/lib/libthr/thread/thr_sig.c:191

If I use -O1 instead of -O2 or omit -g the ICE goes away.

Reply via email to