public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/96506] New: ICE when using an MMA type as a function param
@ 2020-08-06 16:15 bergner at gcc dot gnu.org
  2020-08-06 16:17 ` [Bug target/96506] " bergner at gcc dot gnu.org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: bergner at gcc dot gnu.org @ 2020-08-06 16:15 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 96506
           Summary: ICE when using an MMA type as a function param
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: bergner at gcc dot gnu.org
  Target Milestone: ---

We ICE on the following invalid code.  It's invalid because we do not support
passing __vector_quad or __vector_pair as function arguments or as function
return values.

void
foo (void)
{
  __vector_quad v;
  bar (v);
}

bergner@pike:~/gcc/BUGS$ gcc -S -O2 -mcpu=power10 test.c
test.c: In function ‘foo’:
test.c:5:3: warning: implicit declaration of function ‘bar’
[-Wimplicit-function-declaration]
    5 |   bar (v);
      |   ^~~
during RTL pass: reload
test.c:6:1: internal compiler error: maximum number of generated reload insns
per insn achieved (90)
    6 | }
      | ^
0x108ce483 lra_constraints(bool)
        /home/bergner/gcc/gcc-fsf-mainline-base/gcc/lra-constraints.c:4954
0x108aed5f lra(_IO_FILE*)
        /home/bergner/gcc/gcc-fsf-mainline-base/gcc/lra.c:2415
0x1083d49b do_reload
        /home/bergner/gcc/gcc-fsf-mainline-base/gcc/ira.c:5525
0x1083d49b execute
        /home/bergner/gcc/gcc-fsf-mainline-base/gcc/ira.c:5711
Please submit a full bug report,

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

end of thread, other threads:[~2020-08-19  2:55 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-06 16:15 [Bug target/96506] New: ICE when using an MMA type as a function param bergner at gcc dot gnu.org
2020-08-06 16:17 ` [Bug target/96506] " bergner at gcc dot gnu.org
2020-08-13 18:43 ` cvs-commit at gcc dot gnu.org
2020-08-19  2:42 ` cvs-commit at gcc dot gnu.org
2020-08-19  2:55 ` bergner 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).