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
ee918327
Commit
ee918327
authored
May 22, 2014
by
Xinliang David Li
Committed by
Xinliang David Li
May 22, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix expected messages in test
From-SVN: r210820
parent
4000360e
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
21 additions
and
11 deletions
+21
-11
gcc/testsuite/ChangeLog
+10
-0
gcc/testsuite/g++.dg/ipa/devirt-15.C
+2
-2
gcc/testsuite/g++.dg/ipa/devirt-16.C
+2
-2
gcc/testsuite/g++.dg/ipa/devirt-17.C
+2
-2
gcc/testsuite/g++.dg/ipa/devirt-26.C
+2
-2
gcc/testsuite/g++.dg/ipa/imm-devirt-1.C
+1
-1
gcc/testsuite/g++.dg/ipa/imm-devirt-2.C
+1
-1
gcc/testsuite/g++.dg/tree-ssa/pr8781.C
+1
-1
No files found.
gcc/testsuite/ChangeLog
View file @
ee918327
2014-05-22 Xinliang David Li <davidxl@google.com>
* g++.dg/ipa/devirt-15.C: Fix expected message.
* g++.dg/ipa/devirt-16.C: Ditto.
* g++.dg/ipa/devirt-17.C: Ditto.
* g++.dg/ipa/devirt-26.C: Ditto.
* g++.dg/ipa/imm-devirt-1.C: Ditto.
* g++.dg/ipa/imm-devirt-2.C: Ditto.
* g++.dg/tree-ssa/pr8781.C:Ditto.
2014-05-22 Peter Bergner <bergner@vnet.ibm.com>
* gcc.target/powerpc/htm-ttest.c: New test.
...
...
gcc/testsuite/g++.dg/ipa/devirt-15.C
View file @
ee918327
/* Check that we speculatively devirutalize call to FOO to B::foo becuase
A is noreturn. */
/* { dg-do compile } */
/* { dg-options "-O2 -fdump-ipa-devirt -fdump-tree-optimized" } */
/* { dg-options "-O2 -fdump-ipa-devirt
-details
-fdump-tree-optimized" } */
class
A
{
public
:
virtual
int
foo
(
void
)
...
...
@@ -33,7 +33,7 @@ main()
m
();
}
/* { dg-final { scan-ipa-dump "
S
peculatively devirtualizing call" "devirt"} } */
/* { dg-final { scan-ipa-dump "
s
peculatively devirtualizing call" "devirt"} } */
/* { dg-final { cleanup-ipa-dump "devirt" } } */
/* Match if (PROF_6 == foo) to verify that the speculation survived. */
/* { dg-final { scan-tree-dump "== foo" "optimized"} } */
...
...
gcc/testsuite/g++.dg/ipa/devirt-16.C
View file @
ee918327
/* We shall devirtualize to unreachable. No anonymous type method should surivve
reachability. */
/* { dg-do compile } */
/* { dg-options "-O2 -fdump-ipa-whole-program" } */
/* { dg-options "-O2 -fdump-ipa-whole-program
-details
" } */
namespace
{
class
B
{
public
:
...
...
@@ -32,7 +32,7 @@ main()
return
b
->
foo
();
}
/* { dg-final { scan-ipa-dump "
D
evirtualizing" "whole-program"} } */
/* { dg-final { scan-ipa-dump "
d
evirtualizing" "whole-program"} } */
/* { dg-final { scan-ipa-dump "builtin_unreachable" "whole-program"} } */
/* { dg-final { scan-ipa-dump-not "A::foo" "whole-program"} } */
/* { dg-final { scan-ipa-dump-not "A::foo" "whole-program"} } */
...
...
gcc/testsuite/g++.dg/ipa/devirt-17.C
View file @
ee918327
/* We shall devirtualize to B::foo since it is the only live candidate of an
anonymous type. */
/* { dg-do compile } */
/* { dg-options "-O2 -fdump-ipa-whole-program" } */
/* { dg-options "-O2 -fdump-ipa-whole-program
-details
" } */
namespace
{
class
B
{
public
:
...
...
@@ -37,7 +37,7 @@ main()
return
b
->
foo
();
}
/* { dg-final { scan-ipa-dump "
D
evirtualizing" "whole-program"} } */
/* { dg-final { scan-ipa-dump "
d
evirtualizing" "whole-program"} } */
/* { dg-final { scan-ipa-dump-not "builtin_unreachable" "whole-program"} } */
/* { dg-final { scan-ipa-dump "B::foo" "whole-program"} } */
/* { dg-final { scan-ipa-dump-not "A::foo" "whole-program"} } */
...
...
gcc/testsuite/g++.dg/ipa/devirt-26.C
View file @
ee918327
/* { dg-do compile } */
/* { dg-options "-O3 -fdump-ipa-devirt" } */
/* { dg-options "-O3 -fdump-ipa-devirt
-details
" } */
struct
A
{
int
a
;
...
...
@@ -25,5 +25,5 @@ int test(void)
/* The call to b->foo() is perfectly devirtualizable because C can not be in construction
when &c was used, but we can not analyze that so far. Test that we at least speculate
that type is in the construction. */
/* { dg-final { scan-ipa-dump "
S
peculatively devirtualizing" "devirt" } } */
/* { dg-final { scan-ipa-dump "
s
peculatively devirtualizing" "devirt" } } */
/* { dg-final { cleanup-ipa-dump "devirt" } } */
gcc/testsuite/g++.dg/ipa/imm-devirt-1.C
View file @
ee918327
...
...
@@ -58,5 +58,5 @@ int main (int argc, char *argv[])
return
0
;
}
/* { dg-final { scan-tree-dump "
Replacing call target with
foo" "fre1" } } */
/* { dg-final { scan-tree-dump "
converting indirect call to function virtual int B::
foo" "fre1" } } */
/* { dg-final { cleanup-tree-dump "fre1" } } */
gcc/testsuite/g++.dg/ipa/imm-devirt-2.C
View file @
ee918327
...
...
@@ -91,5 +91,5 @@ int main (int argc, char *argv[])
return
0
;
}
/* { dg-final { scan-tree-dump "
Replacing call target
" "fre1" } } */
/* { dg-final { scan-tree-dump "
converting indirect call to function
" "fre1" } } */
/* { dg-final { cleanup-tree-dump "fre1" } } */
gcc/testsuite/g++.dg/tree-ssa/pr8781.C
View file @
ee918327
...
...
@@ -24,5 +24,5 @@ int x()
/* We should optimize this to a direct call. */
/* { dg-final { scan-tree-dump "
Replacing call target with f
" "fre1" } } */
/* { dg-final { scan-tree-dump "
converting indirect call to function int f()
" "fre1" } } */
/* { dg-final { cleanup-tree-dump "fre1" } } */
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