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 Guenther <richard dot guenther at gmail dot com>
- To: Uros Bizjak <ubizjak at gmail dot com>, gcc-patches at gcc dot gnu dot org, richard dot sandiford at linaro dot org
- Date: Tue, 2 Nov 2010 11:51:24 +0100
- Subject: Re: [PATCH, middle-end]: Fix PR 44569
- References: <AANLkTi=pLZxn0zP1U5k4OABuu=sKiFutw7DdacyOVdQs@mail.gmail.com> <g4zktsxeyp.fsf@richards-desktop.stglab.manchester.uk.ibm.com>
On Tue, Nov 2, 2010 at 10:16 AM, Richard Sandiford
<richard.sandiford@linaro.org> wrote:
> 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.
We probably can end up with various non-canonical RTL in debug-insns
(like we can end up with non-gimple trees in debug statements). Sad
but true.
Richard.
> Richard
>