OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
* opts.c (decode_options): Disable whpr incompatible passes.
[pf3gnuchains/gcc-fork.git]
/
gcc
/
opts.c
diff --git
a/gcc/opts.c
b/gcc/opts.c
index
19d5634
..
0e86ab0
100644
(file)
--- a/
gcc/opts.c
+++ b/
gcc/opts.c
@@
-1120,6
+1120,16
@@
decode_options (unsigned int argc, const char **argv)
if (!PARAM_SET_P (PARAM_STACK_FRAME_GROWTH))
PARAM_VALUE (PARAM_STACK_FRAME_GROWTH) = 40;
}
if (!PARAM_SET_P (PARAM_STACK_FRAME_GROWTH))
PARAM_VALUE (PARAM_STACK_FRAME_GROWTH) = 40;
}
+ if (flag_wpa || flag_ltrans)
+ {
+ /* These passes are not WHOPR compatible yet. */
+ flag_ipa_cp = 0;
+ flag_ipa_reference = 0;
+ flag_ipa_pure_const = 0;
+ flag_ipa_type_escape = 0;
+ flag_ipa_pta = 0;
+ flag_ipa_struct_reorg = 0;
+ }
if (flag_lto || flag_whopr)
{
if (flag_lto || flag_whopr)
{