public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/98850] New: ICE in expand_debug_locations, at cfgexpand.c:5458
@ 2021-01-27 10:41 marxin at gcc dot gnu.org
  2023-03-23 12:59 ` [Bug target/98850] " marxin at gcc dot gnu.org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: marxin at gcc dot gnu.org @ 2021-01-27 10:41 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 98850
           Summary: ICE in expand_debug_locations, at cfgexpand.c:5458
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: marxin at gcc dot gnu.org
  Target Milestone: ---
              Host: armv7hl-suse-linux-gnueabi

Happens for gcc version 10.2.1 20201202 [revision
e563687cf9d3d1278f45aaebd03e0f66531076c9] (SUSE Linux) 

on the ARM target:

$ cat x.i
typedef __simd64_uint8_t uint8x8_t;
uint8x8_t remap_arrange_ch4_float32ne_neon_m_0_1;

void remap_arrange_ch4_float32ne_neon() {
  uint8x8_t t1 = remap_arrange_ch4_float32ne_neon_m_0_1;
}

$ gcc x.i -O2 -flto -c -mfpu=neon -g && gcc -shared -fPIC x.o
during RTL pass: expand
x.i: In function 'remap_arrange_ch4_float32ne_neon':
x.i:4:6: internal compiler error: in expand_debug_locations, at
cfgexpand.c:5458
    4 | void remap_arrange_ch4_float32ne_neon() {
      |      ^
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://bugs.opensuse.org/> for instructions.
lto-wrapper: fatal error: gcc returned 1 exit status
compilation terminated.
/usr/lib/gcc/armv7hl-suse-linux-gnueabi/10/../../../../armv7hl-suse-linux-gnueabi/bin/ld:
error: lto-wrapper failed
collect2: error: ld returned 1 exit status

It is maybe similar to PR94172.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug target/98850] ICE in expand_debug_locations, at cfgexpand.c:5458
  2021-01-27 10:41 [Bug target/98850] New: ICE in expand_debug_locations, at cfgexpand.c:5458 marxin at gcc dot gnu.org
@ 2023-03-23 12:59 ` marxin at gcc dot gnu.org
  2023-03-23 13:08 ` avieira at gcc dot gnu.org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: marxin at gcc dot gnu.org @ 2023-03-23 12:59 UTC (permalink / raw)
  To: gcc-bugs

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

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2023-03-23
     Ever confirmed|0                           |1
                 CC|                            |avieira at gcc dot gnu.org,
                   |                            |ktkachov at gcc dot gnu.org,
                   |                            |tnfchris at gcc dot gnu.org

--- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> ---
ARM folks: can you please test if the issue is still valid or not?

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug target/98850] ICE in expand_debug_locations, at cfgexpand.c:5458
  2021-01-27 10:41 [Bug target/98850] New: ICE in expand_debug_locations, at cfgexpand.c:5458 marxin at gcc dot gnu.org
  2023-03-23 12:59 ` [Bug target/98850] " marxin at gcc dot gnu.org
@ 2023-03-23 13:08 ` avieira at gcc dot gnu.org
  2023-03-23 13:10 ` marxin at gcc dot gnu.org
  2023-03-23 14:58 ` marxin at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: avieira at gcc dot gnu.org @ 2023-03-23 13:08 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from avieira at gcc dot gnu.org ---
I failed to reproduce it with a trunk build of arm-none-linux-gnueabihf.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug target/98850] ICE in expand_debug_locations, at cfgexpand.c:5458
  2021-01-27 10:41 [Bug target/98850] New: ICE in expand_debug_locations, at cfgexpand.c:5458 marxin at gcc dot gnu.org
  2023-03-23 12:59 ` [Bug target/98850] " marxin at gcc dot gnu.org
  2023-03-23 13:08 ` avieira at gcc dot gnu.org
@ 2023-03-23 13:10 ` marxin at gcc dot gnu.org
  2023-03-23 14:58 ` marxin at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: marxin at gcc dot gnu.org @ 2023-03-23 13:10 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from Martin Liška <marxin at gcc dot gnu.org> ---
Great, what about gcc-12 release? Please close it if it's also fine.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug target/98850] ICE in expand_debug_locations, at cfgexpand.c:5458
  2021-01-27 10:41 [Bug target/98850] New: ICE in expand_debug_locations, at cfgexpand.c:5458 marxin at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2023-03-23 13:10 ` marxin at gcc dot gnu.org
@ 2023-03-23 14:58 ` marxin at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: marxin at gcc dot gnu.org @ 2023-03-23 14:58 UTC (permalink / raw)
  To: gcc-bugs

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

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|---                         |FIXED

--- Comment #4 from Martin Liška <marxin at gcc dot gnu.org> ---
I can confirm the package builds now with LTO enabled for gcc-13.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-03-23 14:58 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-27 10:41 [Bug target/98850] New: ICE in expand_debug_locations, at cfgexpand.c:5458 marxin at gcc dot gnu.org
2023-03-23 12:59 ` [Bug target/98850] " marxin at gcc dot gnu.org
2023-03-23 13:08 ` avieira at gcc dot gnu.org
2023-03-23 13:10 ` marxin at gcc dot gnu.org
2023-03-23 14:58 ` 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).