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
0500a9f1
Commit
0500a9f1
authored
16 years ago
by
Jan Hubicka
Committed by
Jan Hubicka
16 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
g++.dg/tree-ssa/ehcleanup-1.C: New testcase.
From-SVN: r146603
parent
4c7c486a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
28 additions
and
0 deletions
+28
-0
gcc/testsuite/ChangeLog
+4
-0
gcc/testsuite/g++.dg/tree-ssa/ehcleanup-1.C
+24
-0
No files found.
gcc/testsuite/ChangeLog
View file @
0500a9f1
2009-04-22 Jan Hubicka <jh@suse.cz>
* g++.dg/tree-ssa/ehcleanup-1.C: New testcase.
2009-04-22 Steve Ellcey <sje@cup.hp.com>
PR testsuite/39623
...
...
This diff is collapsed.
Click to expand it.
gcc/testsuite/g++.dg/tree-ssa/ehcleanup-1.C
0 → 100644
View file @
0500a9f1
// { dg-options "-O2 -fdump-tree-ehcleanup1" }
extern
void
can_throw
();
class
a
{
public
:
~
a
()
{
if
(
0
)
can_throw
();
}
};
void
t
(
void
)
{
class
a
a
;
can_throw
();
}
// We ought to remove implicit cleanup, since destructor is empty.
// { dg-final { scan-tree-dump-times "Empty EH handler" 1 "ehcleanup1" } }
//
// And as a result also contained control flow.
// { dg-final { scan-tree-dump-times "Removing unreachable" 1 "ehcleanup1" } }
//
// { dg-final { cleanup-tree-dump "ehcleanup1" } }
This diff is collapsed.
Click to expand it.
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