This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH, middle-end]: Fix PR 44569
- From: Richard Sandiford <richard dot sandiford at linaro dot org>
- To: Uros Bizjak <ubizjak at gmail dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Tue, 02 Nov 2010 09:16:46 +0000
- Subject: Re: [PATCH, middle-end]: Fix PR 44569
- References: <AANLkTi=pLZxn0zP1U5k4OABuu=sKiFutw7DdacyOVdQs@mail.gmail.com>
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