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


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
>


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