Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
c84d88e4
Commit
c84d88e4
authored
Aug 20, 2014
by
Mark Wielaard
Committed by
Mark Wielaard
Aug 20, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gcc.dg/guality/restrict.c: Add `used' attribute to all variables.
From-SVN: r214219
parent
6cd87a2e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
10 deletions
+14
-10
gcc/testsuite/ChangeLog
+4
-0
gcc/testsuite/gcc.dg/guality/restrict.c
+10
-10
No files found.
gcc/testsuite/ChangeLog
View file @
c84d88e4
2014
-
08
-
20
Mark
Wielaard
<
mjw
@
redhat
.
com
>
*
gcc
.
dg
/
guality
/
restrict
.
c
:
Add
`
used
' attribute to all variables.
2014-08-20 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2014-08-20 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
* lib/gcc-defs.exp (${tool}_check_unsupported_p):
* lib/gcc-defs.exp (${tool}_check_unsupported_p):
...
...
gcc/testsuite/gcc.dg/guality/restrict.c
View file @
c84d88e4
...
@@ -2,16 +2,16 @@
...
@@ -2,16 +2,16 @@
/* { dg-do run } */
/* { dg-do run } */
/* { dg-options "-std=c99 -gdwarf-3" } */
/* { dg-options "-std=c99 -gdwarf-3" } */
int
*
ip
;
int
*
ip
__attribute__
((
used
))
;
const
int
*
cip
;
const
int
*
cip
__attribute__
((
used
))
;
int
*
restrict
irp
;
int
*
restrict
irp
__attribute__
((
used
))
;
int
*
const
icp
;
int
*
const
icp
__attribute__
((
used
))
;
const
int
*
restrict
cirp
;
const
int
*
restrict
cirp
__attribute__
((
used
))
;
int
*
const
restrict
icrp
;
int
*
const
restrict
icrp
__attribute__
((
used
))
;
const
int
*
const
restrict
cicrp
;
const
int
*
const
restrict
cicrp
__attribute__
((
used
))
;
int
*
const
volatile
restrict
cvirp
;
int
*
const
volatile
restrict
cvirp
__attribute__
((
used
))
;
const
volatile
int
*
restrict
pcvir
;
const
volatile
int
*
restrict
pcvir
__attribute__
((
used
))
;
static
__attribute__
((
noclone
,
noinline
))
void
*
static
__attribute__
((
noclone
,
noinline
))
void
*
cpy
(
void
*
restrict
s1
,
const
void
*
restrict
s2
,
unsigned
int
n
)
cpy
(
void
*
restrict
s1
,
const
void
*
restrict
s2
,
unsigned
int
n
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment