parent
76bbe0281d
commit
0118fd7deb
|
@ -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));
|
||||||
|
}
|
|
@ -261,6 +261,14 @@ set groups {passed gcc-noncompile}
|
||||||
|
|
||||||
postbase $src_code $run $groups
|
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
|
# Test init-1.c
|
||||||
prebase
|
prebase
|
||||||
|
|
Loading…
Reference in New Issue