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

            Bug ID: 122394
           Summary: [15 regression] ICE when building webkit-gtk-2.50.1
                    with -ggdb (expand_debug_locations, at
                    cfgexpand.cc:6042)
           Product: gcc
           Version: 16.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: debug
          Assignee: unassigned at gcc dot gnu.org
          Reporter: sjames at gcc dot gnu.org
  Target Milestone: ---

This seems to work on trunk.

```
# g++-15 -c ccAhS3Wb.ii  -std=c++23 -ggdb -O1
during RTL pass: expand
ccAhS3Wb.ii: In function ‘void ScrollAnimationMomentumserviceAnimation()’:
ccAhS3Wb.ii:39:6: internal compiler error: in expand_debug_locations, at
cfgexpand.cc:6042
   39 | void ScrollAnimationMomentumserviceAnimation() {
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
0x562157ee966e internal_error(char const*, ...)
       
/usr/src/debug/sys-devel/gcc-15.2.0/gcc-15.2.0/gcc/diagnostic-global-context.cc:517
0x562157ee9811 fancy_abort(char const*, int, char const*)
        /usr/src/debug/sys-devel/gcc-15.2.0/gcc-15.2.0/gcc/diagnostic.cc:1749
0x562156ce1347 expand_debug_locations
        /usr/src/debug/sys-devel/gcc-15.2.0/gcc-15.2.0/gcc/cfgexpand.cc:6042
0x5621583b16fe execute
        /usr/src/debug/sys-devel/gcc-15.2.0/gcc-15.2.0/gcc/cfgexpand.cc:7235
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