public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/63145] New: [AArch64] ICE with vcombine_u64 at -O2 -g
@ 2014-09-02 17:09 christophe.lyon at st dot com
  2014-09-02 17:10 ` [Bug middle-end/63145] " christophe.lyon at st dot com
  2014-09-02 17:27 ` pinskia at gcc dot gnu.org
  0 siblings, 2 replies; 3+ messages in thread
From: christophe.lyon at st dot com @ 2014-09-02 17:09 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 63145
           Summary: [AArch64] ICE with vcombine_u64 at -O2 -g
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
          Assignee: unassigned at gcc dot gnu.org
          Reporter: christophe.lyon at st dot com

Hi,

The attached testcase causes an ICE:
$ aarch64-none-linux-gnu-gcc   -O2 -c toto.c  -g
toto.c: In function 'fn1':
toto.c:7:37: warning: passing argument 1 of 'vld1_u64' makes pointer from
integer without a cast [-Wint-conversion]
     vector64_a_uint64x1 = vld1_u64 (1);
                                     ^
In file included from toto.c:1:0:
gcc-fsf-trunk/tools/lib/gcc/aarch64-none-linux-gnu/5.0.0/include/arm_neon.h:16994:1:
note: expected 'const uint64_t *' but argument is of type 'int'
 vld1_u64 (const uint64_t *a)
 ^
toto.c:15:1: internal compiler error: in simplify_const_unary_operation, at
simplify-rtx.c:1555
 }
 ^
0xb79e9e simplify_const_unary_operation(rtx_code, machine_mode, rtx_def*,
machine_mode)
    gcc-fsf/trunk/gcc/simplify-rtx.c:1555
0xb77642 simplify_unary_operation(rtx_code, machine_mode, rtx_def*,
machine_mode)
    gcc-fsf/trunk/gcc/simplify-rtx.c:814
0xb8b5d7 simplify_rtx(rtx_def const*)
    gcc-fsf/trunk/gcc/simplify-rtx.c:5831
0x78ce4f cselib_expand_value_rtx_1
    gcc-fsf/trunk/gcc/cselib.c:1831
0x78cb33 cselib_expand_value_rtx_1
    gcc-fsf/trunk/gcc/cselib.c:1730
0x78c610 cselib_expand_value_rtx_cb(rtx_def*, bitmap_head*, int, rtx_def*
(*)(rtx_def*, bitmap_head*, int, void*), void*)
    gcc-fsf/trunk/gcc/cselib.c:1539
0xeb3b21 vt_expand_var_loc_chain
    gcc-fsf/trunk/gcc/var-tracking.c:8298
0xeb441b vt_expand_loc_callback
    gcc-fsf/trunk/gcc/var-tracking.c:8460
0x78ca05 cselib_expand_value_rtx_1
    gcc-fsf/trunk/gcc/cselib.c:1692
0x78cb33 cselib_expand_value_rtx_1
    gcc-fsf/trunk/gcc/cselib.c:1730
0x78cb33 cselib_expand_value_rtx_1
    gcc-fsf/trunk/gcc/cselib.c:1730
0x78c610 cselib_expand_value_rtx_cb(rtx_def*, bitmap_head*, int, rtx_def*
(*)(rtx_def*, bitmap_head*, int, void*), void*)
    gcc-fsf/trunk/gcc/cselib.c:1539
0xeb3b21 vt_expand_var_loc_chain
    gcc-fsf/trunk/gcc/var-tracking.c:8298
0xeb441b vt_expand_loc_callback
    gcc-fsf/trunk/gcc/var-tracking.c:8460
0x78ca05 cselib_expand_value_rtx_1
    gcc-fsf/trunk/gcc/cselib.c:1692
0x78c610 cselib_expand_value_rtx_cb(rtx_def*, bitmap_head*, int, rtx_def*
(*)(rtx_def*, bitmap_head*, int, void*), void*)
    gcc-fsf/trunk/gcc/cselib.c:1539
0xeb3b21 vt_expand_var_loc_chain
    gcc-fsf/trunk/gcc/var-tracking.c:8298
0xeb441b vt_expand_loc_callback
    gcc-fsf/trunk/gcc/var-tracking.c:8460
0x78ca7a cselib_expand_value_rtx_1
    gcc-fsf/trunk/gcc/cselib.c:1705
0x78c610 cselib_expand_value_rtx_cb(rtx_def*, bitmap_head*, int, rtx_def*
(*)(rtx_def*, bitmap_head*, int, void*), void*)
    gcc-fsf/trunk/gcc/cselib.c:1539
Please submit a full bug report,


GCC is configured as:
--target=aarch64-none-linux-gnu


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

* [Bug middle-end/63145] [AArch64] ICE with vcombine_u64 at -O2 -g
  2014-09-02 17:09 [Bug middle-end/63145] New: [AArch64] ICE with vcombine_u64 at -O2 -g christophe.lyon at st dot com
@ 2014-09-02 17:10 ` christophe.lyon at st dot com
  2014-09-02 17:27 ` pinskia at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: christophe.lyon at st dot com @ 2014-09-02 17:10 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from christophe.lyon at st dot com ---
Created attachment 33438
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33438&action=edit
vcombine.c testcase


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

* [Bug middle-end/63145] [AArch64] ICE with vcombine_u64 at -O2 -g
  2014-09-02 17:09 [Bug middle-end/63145] New: [AArch64] ICE with vcombine_u64 at -O2 -g christophe.lyon at st dot com
  2014-09-02 17:10 ` [Bug middle-end/63145] " christophe.lyon at st dot com
@ 2014-09-02 17:27 ` pinskia at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu.org @ 2014-09-02 17:27 UTC (permalink / raw)
  To: gcc-bugs

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |DUPLICATE

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Dup of bug 62040.

*** This bug has been marked as a duplicate of bug 62040 ***


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

end of thread, other threads:[~2014-09-02 17:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-09-02 17:09 [Bug middle-end/63145] New: [AArch64] ICE with vcombine_u64 at -O2 -g christophe.lyon at st dot com
2014-09-02 17:10 ` [Bug middle-end/63145] " christophe.lyon at st dot com
2014-09-02 17:27 ` pinskia 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).