X-Git-Url: http://git.sourceforge.jp/view?p=pf3gnuchains%2Fgcc-fork.git;a=blobdiff_plain;f=gcc%2Fopts.c;h=0e86ab065d74dfe16c520c37fc370e96073ae71c;hp=19d56348e2ec7d6895576c9b3f8d8bfd4706d1ac;hb=0fb8e24521299608aee02c7a8d328ac81bda1360;hpb=9a3285225b8ccf342ad84e4307d64f906745fe18;ds=sidebyside diff --git a/gcc/opts.c b/gcc/opts.c index 19d56348e2e..0e86ab065d7 100644 --- 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 (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) {