public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/104666] New: [12 Regression] ICE in related_vector_mode, at stor-layout.c:537
@ 2022-02-23 17:57 gscfq@t-online.de
  2022-02-24  1:29 ` [Bug target/104666] " crazylht at gmail dot com
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: gscfq@t-online.de @ 2022-02-23 17:57 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 104666
           Summary: [12 Regression] ICE in related_vector_mode, at
                    stor-layout.c:537
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gscfq@t-online.de
  Target Milestone: ---

Started between 20210627 and 20210704 :


$ cat z1.c
typedef double __m128d __attribute__((__vector_size__(16), __may_alias__));
__m128d sse4_1_blendvpd (__m128d a, __m128d b, __m128d c)
__attribute__((__target__("sse4.1")));

__m128d
generic_blendvpd (__m128d a, __m128d b, __m128d c)
{
  return __builtin_ia32_blendvpd (a, b, c);
}


$ gcc-12-20220220 -c z1.c -mno-sse
z1.c: In function 'generic_blendvpd':
z1.c:5:1: error: SSE register return with SSE disabled
    5 | generic_blendvpd (__m128d a, __m128d b, __m128d c)
      | ^~~~~~~~~~~~~~~~
during GIMPLE pass: lower
z1.c:5:1: internal compiler error: in related_vector_mode, at stor-layout.c:537
0xdb93ce related_vector_mode(machine_mode, scalar_mode, poly_int<1u, unsigned
long>)
        ../../gcc/stor-layout.c:537
0x1077b42 get_related_vectype_for_scalar_type(machine_mode, tree_node*,
poly_int<1u, unsigned long>)
        ../../gcc/tree-vect-stmts.c:11138
0x11e0cba ix86_gimple_fold_builtin(gimple_stmt_iterator*)
        ../../gcc/config/i386/i386.c:18005
0xa95391 gimple_fold_call
        ../../gcc/gimple-fold.c:5568
0xa96eab fold_stmt_1
        ../../gcc/gimple-fold.c:6265
0x1829ad7 lower_stmt
        ../../gcc/gimple-low.c:388
0x1829ad7 lower_sequence
        ../../gcc/gimple-low.c:217
0x1829759 lower_gimple_bind
        ../../gcc/gimple-low.c:473
0x182ab78 lower_function_body
        ../../gcc/gimple-low.c:110
0x182ab78 execute
        ../../gcc/gimple-low.c:195

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

end of thread, other threads:[~2022-03-15 13:09 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-23 17:57 [Bug c/104666] New: [12 Regression] ICE in related_vector_mode, at stor-layout.c:537 gscfq@t-online.de
2022-02-24  1:29 ` [Bug target/104666] " crazylht at gmail dot com
2022-02-24  3:02 ` crazylht at gmail dot com
2022-02-24  6:49 ` crazylht at gmail dot com
2022-02-24  6:50 ` crazylht at gmail dot com
2022-02-24  9:34 ` jakub at gcc dot gnu.org
2022-02-24  9:58 ` rguenth at gcc dot gnu.org
2022-02-25  1:13 ` crazylht at gmail dot com
2022-03-09 13:01 ` rguenth at gcc dot gnu.org
2022-03-14  1:22 ` cvs-commit at gcc dot gnu.org
2022-03-14  1:23 ` crazylht at gmail dot com
2022-03-15 13:09 ` 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).