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
c99299ff
Commit
c99299ff
authored
Jun 05, 2013
by
Andreas Schwab
Committed by
Andreas Schwab
Jun 05, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* gcc.dg/tree-ssa/attr-alias.c: Remove duplicated contents.
From-SVN: r199682
parent
412e60dc
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
30 deletions
+4
-30
gcc/testsuite/ChangeLog
+4
-0
gcc/testsuite/gcc.dg/tree-ssa/attr-alias.c
+0
-30
No files found.
gcc/testsuite/ChangeLog
View file @
c99299ff
2013-06-05 Andreas Schwab <schwab@suse.de>
* gcc.dg/tree-ssa/attr-alias.c: Remove duplicated contents.
2013-06-04 Jan Hubicka <jh@suse.cz>
* gcc.dg/tree-ssa/attr-alias.c: New testcase.
...
...
gcc/testsuite/gcc.dg/tree-ssa/attr-alias.c
View file @
c99299ff
...
...
@@ -26,33 +26,3 @@ main()
/* { dg-final { scan-tree-dump-not "test1 (" "optimized" } } */
/* { dg-final { scan-tree-dump-not "test2 (" "optimized" } } */
/* { dg-final { cleanup-tree-dump "optimized" } } */
/* { dg-do compile } */
/* { dg-require-alias "" } */
/* { dg-options "-O2 -fdump-tree-optimized" } */
void
abort
(
void
);
__attribute__
((
weak
))
int
test
()
{
return
0
;
}
static
int
test2
()
__attribute__
((
alias
(
"test"
)));
static
int
test3
()
__attribute__
((
weakref
))
__attribute__
((
alias
(
"test2"
)));
static
int
test4
()
__attribute__
((
weakref
))
__attribute__
((
alias
(
"test"
)));
main
()
{
test
();
test2
();
test3
();
test4
();
}
/* calls to test1 and test2 can be inlined and optmized away. Calls
to test and test4 are overwritable. */
/* { dg-final { scan-tree-dump-times "test (" 2 "optimized" } } */
/* { dg-final { scan-tree-dump-times "test4 (" 1 "optimized" } } */
/* { dg-final { scan-tree-dump-not "test1 (" "optimized" } } */
/* { dg-final { scan-tree-dump-not "test2 (" "optimized" } } */
/* { dg-final { cleanup-tree-dump "optimized" } } */
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