This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH, middle-end]: Fix PR 44569


Uros Bizjak <ubizjak@gmail.com> writes:
> For the testcase in PR [1] (and gcc.dg/torture/vector-shift2.c in a
> duplicate [2]), gcc generates following debug statement:
>
> (debug_insn 7 4 8 2 (var_location:V16QI vuchar (concatn:V16QI [
>             (const_int 1 [0x1])
>             (const_int 2 [0x2])
>             (const_int 3 [0x3])
>             (const_int 4 [0x4])
>             (const_int 1 [0x1])
>             (const_int 2 [0x2])
>             (const_int 3 [0x3])
>             (const_int 4 [0x4])
>             (const_int 1 [0x1])
>             (const_int 2 [0x2])
>             (const_int 3 [0x3])
>             (const_int 4 [0x4])
>             (const_int 1 [0x1])
>             (const_int 2 [0x2])
>             (const_int 3 [0x3])
>             (const_int 4 [0x4])
>         ])) vector-shift2.c:14 -1
>      (nil))

Out of interest, is this canonical rtl?  I wasn't sure whether it
should be a const_vector instead.

Richard


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]