Commit aa80f4d1 by Alexandre Oliva Committed by Alexandre Oliva

re PR middle-end/20491 (internal compiler error: in subreg_regno_offset, at rtlanal.c:3042)

PR middle-end/20491
* gcc.dg/torture/asm-subreg-1.c: New test.

From-SVN: r97204
parent 9c098ecd
2005-03-29 Alexandre Oliva <aoliva@redhat.com>
PR middle-end/20491
* gcc.dg/torture/asm-subreg-1.c: New test.
2005-03-29 Joseph S. Myers <joseph@codesourcery.com>
PR c/20672
......
/* PR middle-end/20491 */
/* { dg-do compile } */
/* Combine used to introduce invalid subregs for the asm input, and
we'd crash later on, when removing all subregs. */
volatile unsigned short _const_32 [4] = {1,2,3,4};
void
evas_common_convert_yuv_420p_601_rgba()
{
__asm__ __volatile__ ("" : : "X" (*_const_32));
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment