Message ID | 20110606175145.GU17079@tyan-ft48-01.lab.bos.redhat.com |
---|---|
State | New |
Headers | show |
--- gcc/dwarf2out.c.jj 2011-06-06 10:24:41.000000000 +0200 +++ gcc/dwarf2out.c 2011-06-06 10:30:05.000000000 +0200 @@ -14904,6 +14904,8 @@ mem_loc_descriptor (rtx rtl, enum machin goto do_shift; do_shift: + if (GET_MODE_CLASS (mode) != MODE_INT) + break; op0 = mem_loc_descriptor (XEXP (rtl, 0), mode, mem_mode, VAR_INIT_STATUS_INITIALIZED); { --- gcc/testsuite/gcc.dg/debug/pr49294.c.jj 2011-06-06 10:39:41.000000000 +0200 +++ gcc/testsuite/gcc.dg/debug/pr49294.c 2011-06-06 10:39:21.000000000 +0200 @@ -0,0 +1,14 @@ +/* PR debug/49294 */ +/* { dg-do compile } */ + +typedef __attribute__ ((vector_size ((8) * sizeof (short)))) short V; + +int k; +V v; + +void +foo (void) +{ + V w = { k, k, k, k, k, k, k, k }; + V x = v >> w; +}