public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/108603] New: [11/12 Regression] ICE in output_operand_lossage with SVE and ilp32
@ 2023-01-30 18:12 acoplan at gcc dot gnu.org
  2023-01-31  8:46 ` [Bug target/108603] [12/13 " rguenth at gcc dot gnu.org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: acoplan at gcc dot gnu.org @ 2023-01-30 18:12 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 108603
           Summary: [11/12 Regression] ICE in output_operand_lossage with
                    SVE and ilp32
           Product: gcc
           Version: 13.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: acoplan at gcc dot gnu.org
  Target Milestone: ---

The following fails:

$ gcc/xgcc -B gcc -v
Reading specs from gcc/specs
COLLECT_GCC=gcc/xgcc
COLLECT_LTO_WRAPPER=gcc/lto-wrapper
Target: aarch64-none-elf
Configured with: /home/alecop01/toolchain/src/gcc/configure
--prefix=/data_sdb/toolchain/cc1s/aarch64 --enable-langauges=c,c++
--disable-bootstrap --target=aarch64-none-elf
Thread model: single
Supported LTO compression algorithms: zlib
gcc version 13.0.1 20230130 (experimental) (GCC)
$ cat t.c
int a[128];
long long *p;
void f() {
  for (long i = 0; i < sizeof(long); i++)
    p[i] = a[i];
}
$ gcc/xgcc -B gcc -c t.c -O2 -march=armv8.2-a+sve -mabi=ilp32 -fdata-sections
t.c:6:1: internal compiler error: output_operand: invalid expression as operand
    6 | }
      | ^
0xa99b40 output_operand_lossage(char const*, ...)
        /home/alecop01/toolchain/src/gcc/gcc/final.cc:3190
0xa9a3dd output_addr_const(_IO_FILE*, rtx_def*)
        /home/alecop01/toolchain/src/gcc/gcc/final.cc:3787
0xa9a163 output_addr_const(_IO_FILE*, rtx_def*)
        /home/alecop01/toolchain/src/gcc/gcc/final.cc:3767
0x12c647e assemble_integer_with_op(char const*, rtx_def*)
        /home/alecop01/toolchain/src/gcc/gcc/varasm.cc:2845
0x12c64d2 default_assemble_integer(rtx_def*, unsigned int, int)
        /home/alecop01/toolchain/src/gcc/gcc/varasm.cc:2861
0x12c652c assemble_integer(rtx_def*, unsigned int, unsigned int, int)
        /home/alecop01/toolchain/src/gcc/gcc/varasm.cc:2877
0x12c6d56 output_constant_pool_1
        /home/alecop01/toolchain/src/gcc/gcc/varasm.cc:4170
0x12dc5c6 output_constant_pool_contents
        /home/alecop01/toolchain/src/gcc/gcc/varasm.cc:4327
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.

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

end of thread, other threads:[~2023-04-03  9:02 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-30 18:12 [Bug target/108603] New: [11/12 Regression] ICE in output_operand_lossage with SVE and ilp32 acoplan at gcc dot gnu.org
2023-01-31  8:46 ` [Bug target/108603] [12/13 " rguenth at gcc dot gnu.org
2023-02-06 14:23 ` marxin at gcc dot gnu.org
2023-02-09 10:34 ` rsandifo at gcc dot gnu.org
2023-02-21 12:51 ` rguenth at gcc dot gnu.org
2023-03-02 10:30 ` cvs-commit at gcc dot gnu.org
2023-04-03  8:57 ` [Bug target/108603] [12 " cvs-commit at gcc dot gnu.org
2023-04-03  9:02 ` rsandifo 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).