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
13f95bdb
Commit
13f95bdb
authored
Dec 07, 2008
by
Eric Botcazou
Committed by
Eric Botcazou
Dec 07, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* gimple.c (recalculate_side_effects) <tcc_constant>: New case.
From-SVN: r142541
parent
e61451e8
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
22 additions
and
1 deletions
+22
-1
gcc/ChangeLog
+4
-0
gcc/gimple.c
+4
-1
gcc/testsuite/ChangeLog
+4
-0
gcc/testsuite/gnat.dg/string_comparison.adb
+10
-0
No files found.
gcc/ChangeLog
View file @
13f95bdb
2008
-
12
-
07
Eric
Botcazou
<
ebotcazou
@adacore
.
com
>
*
gimple
.
c
(
recalculate_side_effects
)
<
tcc_constant
>:
New
case
.
2008
-
12
-
07
Richard
Guenther
<
rguenther
@suse
.
de
>
PR
tree
-
optimization
/
38405
gcc/gimple.c
View file @
13f95bdb
...
...
@@ -3108,8 +3108,11 @@ recalculate_side_effects (tree t)
}
break
;
case
tcc_constant
:
/* No side-effects. */
return
;
default:
/* Can never be used with non-expressions. */
gcc_unreachable
();
}
}
...
...
gcc/testsuite/ChangeLog
View file @
13f95bdb
2008-12-07 Eric Botcazou <ebotcazou@adacore.com>
* gnat.dg/string_comparison.adb: New test.
2008-12-07 H.J. Lu <hongjiu.lu@intel.com>
PR tree-optimization/38405
...
...
gcc/testsuite/gnat.dg/string_comparison.adb
0 → 100644
View file @
13f95bdb
--
{
dg
-
do
compile
}
with
Ada
.
Text_IO
;
use
Ada
.
Text_IO
;
procedure
String_Comparison
is
package
Bool_IO
is
new
Enumeration_IO
(
Boolean
);
use
Bool_IO
;
begin
Put
(
Boolean
'Image (True) = "True");
end;
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