public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/110411] New: ICE on simple memcpy test case when allowing generation of vector pair load/store insns
@ 2023-06-26 14:54 bergner at gcc dot gnu.org
  2023-06-26 14:58 ` [Bug target/110411] " bergner at gcc dot gnu.org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: bergner at gcc dot gnu.org @ 2023-06-26 14:54 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 110411
           Summary: ICE on simple memcpy test case when allowing
                    generation of vector pair load/store insns
           Product: gcc
           Version: 14.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: ---

bergner@ltcden2-lp1:~$ cat bug.c
#include <string.h>

struct s {
  long a;
  long b;
  long c;
  long d: 1;
};
unsigned long ptr;

void
bug (struct s *dst)
{
  struct s *src = (struct s *)(ptr & ~0xFUL);
  memcpy (dst, src, sizeof(struct s));
}

bergner@ltcden2-lp1:~$ gcc -S -O2 -mcpu=power10 -mblock-ops-vector-pair bug.c
during RTL pass: final
bug.c: In function 'bug':
bug.c:16:1: internal compiler error: output_operand: invalid expression as
operand
   16 | }
      | ^
0x10dea57b output_operand_lossage(char const*, ...)
        /home/bergner/gcc/gcc-fsf-mainline-base/gcc/final.cc:3190
0x10dee2bb output_addr_const(_IO_FILE*, rtx_def*)
        /home/bergner/gcc/gcc-fsf-mainline-base/gcc/final.cc:3787
...

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

end of thread, other threads:[~2024-02-27 15:29 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-26 14:54 [Bug target/110411] New: ICE on simple memcpy test case when allowing generation of vector pair load/store insns bergner at gcc dot gnu.org
2023-06-26 14:58 ` [Bug target/110411] " bergner at gcc dot gnu.org
2023-06-26 15:05 ` bergner at gcc dot gnu.org
2023-06-26 16:29 ` bergner at gcc dot gnu.org
2023-08-31 10:49 ` cvs-commit at gcc dot gnu.org
2023-11-14 13:37 ` cvs-commit at gcc dot gnu.org
2024-02-27  7:03 ` cvs-commit at gcc dot gnu.org
2024-02-27  8:51 ` cvs-commit at gcc dot gnu.org
2024-02-27 15:29 ` jeevitha 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).