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
ca1eedf6
Commit
ca1eedf6
authored
Sep 01, 2013
by
Jan Hubicka
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Correct previous commit to the final version of patch.
From-SVN: r202146
parent
bbc9396b
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
gcc/common.opt
+4
-4
gcc/ipa-devirt.c
+1
-1
gcc/testsuite/g++.dg/ipa/devirt-11.C
+1
-1
No files found.
gcc/common.opt
View file @
ca1eedf6
...
...
@@ -1003,14 +1003,14 @@ fdelete-null-pointer-checks
Common Report Var(flag_delete_null_pointer_checks) Init(1) Optimization
Delete useless null pointer checks
fdevirtualize
Common Report Var(flag_devirtualize) Optimization
Try to convert virtual calls to direct ones.
fdevirtualize-speculatively
Common Report Var(flag_devirtualize_speculatively) Optimization
Perform speculative devirtualization
fdevirtualize
Common Report Var(flag_devirtualize) Optimization
Try to convert virtual calls to direct ones.
fdiagnostics-show-location=
Common Joined RejectNegative Enum(diagnostic_prefixing_rule)
-fdiagnostics-show-location=[once|every-line] How often to emit source location at the beginning of line-wrapped diagnostics
...
...
gcc/ipa-devirt.c
View file @
ca1eedf6
...
...
@@ -944,7 +944,7 @@ gate_ipa_devirt (void)
{
/* FIXME: We should remove the optimize check after we ensure we never run
IPA passes when not optimizing. */
return
(
flag_devirtualize
||
flag_devirtualize_speculatively
)
&&
!
in_lto_p
;
return
flag_devirtualize
&&
!
in_lto_p
;
}
namespace
{
...
...
gcc/testsuite/g++.dg/ipa/devirt-11.C
View file @
ca1eedf6
/* { dg-do compile } */
/* { dg-options "-O2 -fdump-ipa-inline -fno-devirtualize-spe
uc
latively" } */
/* { dg-options "-O2 -fdump-ipa-inline -fno-devirtualize-spe
cu
latively" } */
int
baz
();
struct
A
{
...
...
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