public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/99882] New: [11 Regression] ICE in bswap_view_convert, at gimple-ssa-store-merging.c:988 since r11-7946-g5b9a65ecbeb22ef6
@ 2021-04-02 12:06 marxin at gcc dot gnu.org
  2021-04-02 12:06 ` [Bug tree-optimization/99882] " marxin at gcc dot gnu.org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: marxin at gcc dot gnu.org @ 2021-04-02 12:06 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 99882
           Summary: [11 Regression] ICE in bswap_view_convert, at
                    gimple-ssa-store-merging.c:988 since
                    r11-7946-g5b9a65ecbeb22ef6
           Product: gcc
           Version: 11.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: marxin at gcc dot gnu.org
                CC: jakub at gcc dot gnu.org
  Target Milestone: ---

The following is reduced from valgrind package:

$ cat libvex.i
void patchProfInc_AMD64(long *location_of_counter) {
  char *p;
  long imm64 = (long)location_of_counter;
  p[2] = (long)location_of_counter;
  imm64 >>= 8;
  p[3] = imm64;
  imm64 >>= 8;
  p[4] = imm64;
  imm64 >>= 8;
  p[5] = imm64;
  imm64 >>= 8;
  p[6] = imm64;
  imm64 >>= 8;
  p[7] = imm64;
  imm64 >>= 8;
  p[8] = imm64;
  imm64 >>= 8;
  p[9] = imm64;
}

$ gcc libvex.i -c -O3
during GIMPLE pass: store-merging
libvex.i: In function ‘patchProfInc_AMD64’:
libvex.i:1:6: internal compiler error: in bswap_view_convert, at
gimple-ssa-store-merging.c:988
    1 | void patchProfInc_AMD64(long *location_of_counter) {
      |      ^~~~~~~~~~~~~~~~~~
0x81c13b bswap_view_convert
        /home/marxin/Programming/gcc/gcc/gimple-ssa-store-merging.c:988
0x18a7cdb bswap_replace
        /home/marxin/Programming/gcc/gcc/gimple-ssa-store-merging.c:1166
0x18b259f maybe_optimize_vector_constructor
        /home/marxin/Programming/gcc/gcc/gimple-ssa-store-merging.c:1344
0x18b259f execute
        /home/marxin/Programming/gcc/gcc/gimple-ssa-store-merging.c:5368
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.

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

end of thread, other threads:[~2021-04-03  8:17 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-02 12:06 [Bug tree-optimization/99882] New: [11 Regression] ICE in bswap_view_convert, at gimple-ssa-store-merging.c:988 since r11-7946-g5b9a65ecbeb22ef6 marxin at gcc dot gnu.org
2021-04-02 12:06 ` [Bug tree-optimization/99882] " marxin at gcc dot gnu.org
2021-04-02 14:55 ` jakub at gcc dot gnu.org
2021-04-03  8:08 ` cvs-commit at gcc dot gnu.org
2021-04-03  8:17 ` jakub 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).