OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
* c-pretty-print.c (pp_c_specifier_qualifier_list) [VECTOR_TYPE]:
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
gcc.target
/
frv
/
all-mclracca-1.c
1
/* GCSE used to reuse the value of __MRDACC. */
2
/* { dg-do run } */
3
extern void abort (void);
4
extern void exit (int);
5
6
void foo (int *z)
7
{
8
__MWTACC (3, 1);
9
if (__MRDACC (3) != 1)
10
*z = 1;
11
__MCLRACCA ();
12
if (__MRDACC (3) != 1)
13
*z = 2;
14
}
15
16
int main ()
17
{
18
int z = 3;
19
20
foo (&z);
21
if (z != 2)
22
abort ();
23
exit (0);
24
}