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
a8f48325
Commit
a8f48325
authored
Nov 06, 2004
by
Eric Botcazou
Committed by
Eric Botcazou
Nov 06, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* g++.dg/opt/nothrow1.C: Use -42 instead of 42.
From-SVN: r90189
parent
cd27e3d8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
gcc/testsuite/ChangeLog
+4
-0
gcc/testsuite/g++.dg/opt/nothrow1.C
+2
-2
No files found.
gcc/testsuite/ChangeLog
View file @
a8f48325
2004
-
11
-
06
Eric
Botcazou
<
ebotcazou
@libertysurf
.
fr
>
*
g
++
.
dg
/
opt
/
nothrow1
.
C
:
Use
-
42
instead
of
42
.
2004
-
11
-
06
Eric
Botcazou
<
ebotcazou
@libertysurf
.
fr
>
*
gcc
.
dg
/
compat
/
generate
-
random
.
c
(
generate_random_data
unsafe_state
)
:
Do
not
use
C99
designators
.
...
...
gcc/testsuite/g++.dg/opt/nothrow1.C
View file @
a8f48325
...
...
@@ -16,9 +16,9 @@ int main()
}
catch
(...)
{
return
42
;
return
-
42
;
}
}
// The catch block should be optimized away.
// { dg-final { scan-tree-dump-times "42" 0 "optimized" } }
// { dg-final { scan-tree-dump-times "
-
42" 0 "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