public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/106943] New: GCC building clang/llvm with LTO flags causes ICE in clang
@ 2022-09-14 17:39 immoloism at googlemail dot com
  2022-09-14 17:39 ` [Bug c++/106943] " immoloism at googlemail dot com
                   ` (32 more replies)
  0 siblings, 33 replies; 35+ messages in thread
From: immoloism at googlemail dot com @ 2022-09-14 17:39 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 106943
           Summary: GCC building clang/llvm with LTO flags causes ICE in
                    clang
           Product: gcc
           Version: 12.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: immoloism at googlemail dot com
  Target Milestone: ---

Created attachment 53574
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53574&action=edit
ICE error

I've found an interesting ICE which only occurs when LTO flags are turned on in
GCC while building clang and llvm while compiling compiler-rt-sanitizers. If I
rebuild clang/llvm without the flto cflags then the bug does not appear.

CFLAGS used to build clang/llvm "-march=native -O2 -pipe -fgraphite-identity
-floop-nest-optimize -flto=8 -fuse-linker-plugin -falign-functions=32"

This is the first time I've run into anything like this so please ask if any
other files or tests will help you identify the cause and I'd be happy to
oblige.

I have reported this to the LLVM team and they believe this could be an issue
your end so hopefully you have some ideas to add.

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

end of thread, other threads:[~2023-05-13 20:06 UTC | newest]

Thread overview: 35+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-14 17:39 [Bug c++/106943] New: GCC building clang/llvm with LTO flags causes ICE in clang immoloism at googlemail dot com
2022-09-14 17:39 ` [Bug c++/106943] " immoloism at googlemail dot com
2022-09-14 17:50 ` pinskia at gcc dot gnu.org
2022-09-14 19:49 ` immoloism at googlemail dot com
2022-09-15  7:17 ` rguenth at gcc dot gnu.org
2022-09-19 14:12 ` immoloism at googlemail dot com
2023-05-11 12:49 ` amonakov at gcc dot gnu.org
2023-05-11 19:39 ` amonakov at gcc dot gnu.org
2023-05-11 20:29 ` amonakov at gcc dot gnu.org
2023-05-12 13:14 ` xry111 at gcc dot gnu.org
2023-05-12 13:27 ` amonakov at gcc dot gnu.org
2023-05-12 13:32 ` xry111 at gcc dot gnu.org
2023-05-12 14:00 ` amonakov at gcc dot gnu.org
2023-05-12 14:09 ` hubicka at gcc dot gnu.org
2023-05-12 14:23 ` amonakov at gcc dot gnu.org
2023-05-12 14:29   ` Jan Hubicka
2023-05-12 14:29 ` hubicka at ucw dot cz
2023-05-12 14:41 ` xry111 at gcc dot gnu.org
2023-05-12 14:57 ` amonakov at gcc dot gnu.org
2023-05-12 15:16 ` xry111 at gcc dot gnu.org
2023-05-12 15:29 ` hubicka at ucw dot cz
2023-05-12 15:45 ` xry111 at gcc dot gnu.org
2023-05-12 15:48 ` amonakov at gcc dot gnu.org
2023-05-12 15:55 ` amonakov at gcc dot gnu.org
2023-05-12 16:56 ` pinskia at gcc dot gnu.org
2023-05-12 19:10 ` amonakov at gcc dot gnu.org
2023-05-12 19:19 ` pinskia at gcc dot gnu.org
2023-05-12 19:27 ` amonakov at gcc dot gnu.org
2023-05-12 19:30 ` pinskia at gcc dot gnu.org
2023-05-13  3:18 ` xry111 at gcc dot gnu.org
2023-05-13  3:19 ` xry111 at gcc dot gnu.org
2023-05-13  5:29 ` xry111 at gcc dot gnu.org
2023-05-13  6:30 ` amonakov at gcc dot gnu.org
2023-05-13  7:58 ` amonakov at gcc dot gnu.org
2023-05-13 20:06 ` xry111 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).