public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/100767] New: arm: ice when inlining at -flto with different cpu and arch settings
@ 2021-05-26 11:34 rearnsha at gcc dot gnu.org
  2021-05-26 11:35 ` [Bug target/100767] " rearnsha at gcc dot gnu.org
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: rearnsha at gcc dot gnu.org @ 2021-05-26 11:34 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 100767
           Summary: arm: ice when inlining at -flto with different cpu and
                    arch settings
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: rearnsha at gcc dot gnu.org
  Target Milestone: ---

reproducer:

gcc -O -c -march=armv8-a+simd -flto t1.c
gcc -O -c -mcpu=native -flto main.c
gcc -flto -o main main.o t1.o

Where t1.c is

int f() { return 1;}

and main.c is

int f(void);
int main() { return f(); }

Results in calling strcmp with a NULL argument.  The problem starts in
arm_can_inline_p.

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

end of thread, other threads:[~2021-08-19 17:20 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-26 11:34 [Bug target/100767] New: arm: ice when inlining at -flto with different cpu and arch settings rearnsha at gcc dot gnu.org
2021-05-26 11:35 ` [Bug target/100767] " rearnsha at gcc dot gnu.org
2021-05-26 11:54 ` rearnsha at gcc dot gnu.org
2021-05-27  9:58 ` cvs-commit at gcc dot gnu.org
2021-05-27 10:04 ` rearnsha at gcc dot gnu.org
2021-05-27 13:29 ` cvs-commit at gcc dot gnu.org
2021-05-27 13:30 ` rearnsha at gcc dot gnu.org
2021-05-27 18:11 ` gabemarcano at yahoo dot com
2021-08-19 16:44 ` cvs-commit at gcc dot gnu.org
2021-08-19 16:44 ` cvs-commit at gcc dot gnu.org
2021-08-19 17:20 ` rearnsha 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).