2017-01-30 Martin Liska <mliska@suse.cz>
PR gcov-profile/79259
* opts.c (common_handle_option): Enable flag_ipa_bit_cp w/
-fprofile-generate.
2017-01-30 Martin Liska <mliska@suse.cz>
PR gcov-profile/79259
* g++.dg/tree-prof/pr79259.C: New test.
From-SVN: r245031
+2017-01-30 Martin Liska <mliska@suse.cz>
+
+ PR gcov-profile/79259
+ * opts.c (common_handle_option): Enable flag_ipa_bit_cp w/
+ -fprofile-generate.
+
2017-01-30 Martin Liska <mliska@suse.cz>
PR bootstrap/78985
opts->x_flag_profile_values = value;
if (!opts_set->x_flag_inline_functions)
opts->x_flag_inline_functions = value;
+ if (!opts_set->x_flag_ipa_bit_cp)
+ opts->x_flag_ipa_bit_cp = value;
/* FIXME: Instrumentation we insert makes ipa-reference bitmaps
quadratic. Disable the pass until better memory representation
is done. */
+2017-01-30 Martin Liska <mliska@suse.cz>
+
+ PR gcov-profile/79259
+ * g++.dg/tree-prof/pr79259.C: New test.
+
2017-01-30 Richard Biener <rguenther@suse.de>
PR tree-optimization/79276
--- /dev/null
+/* { dg-options "-O1" } */
+
+inline bool
+a (int b)
+{
+ return (b & 5) != b;
+}
+int c;
+int
+fn2 ()
+{
+ if (a (c == 0))
+ return 0;
+}
+
+int main()
+{
+ fn2();
+}
+