New test - regression for expr.c bug

From-SVN: r26674
This commit is contained in:
Zack Weinberg 1999-04-27 05:57:31 +00:00
parent 76bbe0281d
commit 0118fd7deb
2 changed files with 18 additions and 0 deletions

View File

@ -0,0 +1,10 @@
typedef int word_type;
static void
copy_reg (unsigned int reg, frame_state *udata, frame_state *target_udata)
{
word_type *preg = get_reg_addr (reg, udata, 0);
word_type *ptreg = get_reg_addr (reg, target_udata, 0);
memcpy (ptreg, preg, __builtin_dwarf_reg_size (reg));
}

View File

@ -261,6 +261,14 @@ set groups {passed gcc-noncompile}
postbase $src_code $run $groups
# Test 990416-1.c
prebase
set src_code 990416-1.c
set compiler_output ".*:4:.*:6:.*:6:.*:6:.*:6:.*:6:.*:7:.*:7:"
set groups {passed gcc-noncompile}
postbase $src_code $run $groups
# Test init-1.c
prebase