mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-24 05:38:52 +08:00
New test - regression for expr.c bug
From-SVN: r26674
This commit is contained in:
parent
76bbe0281d
commit
0118fd7deb
10
gcc/testsuite/gcc.c-torture/noncompile/990416-1.c
Normal file
10
gcc/testsuite/gcc.c-torture/noncompile/990416-1.c
Normal 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));
|
||||
}
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user