public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/106491] New: ICE when compiling ArmSVE intrinsics in PCH
@ 2022-07-31  9:09 denis.yaroshevskij at gmail dot com
  2022-07-31  9:15 ` [Bug target/106491] " pinskia at gcc dot gnu.org
                   ` (12 more replies)
  0 siblings, 13 replies; 14+ messages in thread
From: denis.yaroshevskij at gmail dot com @ 2022-07-31  9:09 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 106491
           Summary: ICE when compiling ArmSVE intrinsics in PCH
           Product: gcc
           Version: 11.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: denis.yaroshevskij at gmail dot com
  Target Milestone: ---

Created attachment 53391
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53391&action=edit
verbose outputs and .ii files

A stack trace:

```
0xd609b3 crash_signal
        ../../src/gcc/toplev.c:327
0x7faec4b3951f ???
        ./signal/../sysdeps/unix/sysv/linux/x86_64/libc_sigaction.c:0
0x10d8340 TYPE_VECTOR_SUBPARTS(tree_node const*)
        ../../src/gcc/tree.h:3911
0x10d8340 aarch64_sve::gimple_folder::convert_pred(gimple*&, tree_node*,
unsigned int)
        ../../src/gcc/config/aarch64/aarch64-sve-builtins.cc:2566
0x10e49df fold
        ../../src/gcc/config/aarch64/aarch64-sve-builtins-base.cc:1096
0x10dae1c aarch64_sve::gimple_folder::fold()
        ../../src/gcc/config/aarch64/aarch64-sve-builtins.cc:2680
0x10dae1c aarch64_sve::gimple_folder::fold()
        ../../src/gcc/config/aarch64/aarch64-sve-builtins.cc:2667
0x10dae1c aarch64_sve::gimple_fold_builtin(unsigned int, gimple_stmt_iterator*,
gcall*)
        ../../src/gcc/config/aarch64/aarch64-sve-builtins.cc:3610
0x104f8f2 aarch64_gimple_fold_builtin
        ../../src/gcc/config/aarch64/aarch64.c:14096
0xacd886 gimple_fold_call
        ../../src/gcc/gimple-fold.c:5400
0xacd886 fold_stmt_1
        ../../src/gcc/gimple-fold.c:6098
0x16d108f lower_stmt
        ../../src/gcc/gimple-low.c:388
0x16d1a2c lower_sequence
        ../../src/gcc/gimple-low.c:217
0x16d1a2c lower_gimple_bind
        ../../src/gcc/gimple-low.c:473
0x16d1f16 lower_function_body
        ../../src/gcc/gimple-low.c:110
0x16d1f16 execute
        ../../src/gcc/gimple-low.c:195
```


Reporting this one was tricky, please let me know if you need some more
information

With "-v" I successfully reproduce the crash
"-v -save-temps" causes "-Werror=invalid-pch" to fire

```
cc1plus: error:
/home/dyarosh/space/eve/build_sve512/CMakeFiles/test_pch.dir/cmake_pch.hxx.gch:
not used because `__AARCH64EL__' is defined [-Werror=invalid-pch]
```

If I remove "-Werror" - passes with no crash (maybe it dropped the pch?)

Attaching "-v" output, "-v -save-temps" output and all .*ii files I could find.
Let me know if you need some more information to help reproduce this.

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

end of thread, other threads:[~2022-09-21 13:19 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-31  9:09 [Bug c++/106491] New: ICE when compiling ArmSVE intrinsics in PCH denis.yaroshevskij at gmail dot com
2022-07-31  9:15 ` [Bug target/106491] " pinskia at gcc dot gnu.org
2022-07-31 19:26 ` pinskia at gcc dot gnu.org
2022-07-31 19:33 ` pinskia at gcc dot gnu.org
2022-08-01 10:19 ` denis.yaroshevskij at gmail dot com
2022-08-01 22:29 ` denis.yaroshevskij at gmail dot com
2022-09-15 15:15 ` rsandifo at gcc dot gnu.org
2022-09-20 14:28 ` cvs-commit at gcc dot gnu.org
2022-09-20 14:30 ` rsandifo at gcc dot gnu.org
2022-09-21  8:30 ` cvs-commit at gcc dot gnu.org
2022-09-21  8:44 ` denis.yaroshevskij at gmail dot com
2022-09-21 13:17 ` cvs-commit at gcc dot gnu.org
2022-09-21 13:17 ` cvs-commit at gcc dot gnu.org
2022-09-21 13:19 ` 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).