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
6d8a9f7c
Commit
6d8a9f7c
authored
9 years ago
by
Jan Hubicka
Committed by
Jan Hubicka
9 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* g++.dg/tree-ssa/pr61034.C: Add temporary; fix template.
From-SVN: r222527
parent
73d81d3a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletions
+6
-1
gcc/testsuite/ChangeLog
+4
-0
gcc/testsuite/g++.dg/tree-ssa/pr61034.C
+2
-1
No files found.
gcc/testsuite/ChangeLog
View file @
6d8a9f7c
2015-04-28 Jan Hubicka <hubicka@ucw.cz>
* g++.dg/tree-ssa/pr61034.C: Add temporary; fix template.
2015-04-28 Marek Polacek <polacek@redhat.com>
PR c/65901
...
...
This diff is collapsed.
Click to expand it.
gcc/testsuite/g++.dg/tree-ssa/pr61034.C
View file @
6d8a9f7c
...
...
@@ -34,7 +34,8 @@ inline I operator- (I a, I const&b) { return a -= b; }
inline
bool
operator
<
(
I
const
&
a
,
I
const
&
b
)
{
return
a
.
o
->
num
<
b
.
o
->
num
;
}
bool
f
(
I
a
,
I
b
,
I
c
,
I
d
)
{
return
(
a
*
d
-
b
*
c
)
*
(
a
*
b
-
c
*
d
)
<
42
;
I
tmp
=
(
a
*
d
-
b
*
c
)
*
(
a
*
b
-
c
*
d
);
return
tmp
<
42
;
}
// We should be able to CSE most references to count and thus remove
...
...
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