* gcc.dg/ipa/ipa-icf-32.c: Removed one scanned pattern.
Martin Liska <mliska@suse.cz>
PR ipa/78099
* common.opt: Mark flag_ipa_icf_variables as Optimization flag.
* ipa-icf.c (sem_function::get_hash): Add target optimization
node to hash.
From-SVN: r241510
+2016-10-25 H.J. Lu <hongjiu.lu@intel.com>
+ Martin Liska <mliska@suse.cz>
+
+ PR ipa/78099
+ * common.opt: Mark flag_ipa_icf_variables as Optimization flag.
+ * ipa-icf.c (sem_function::get_hash): Add target optimization
+ node to hash.
+
2016-10-25 Wilco Dijkstra <wdijkstr@arm.com>
PR target/78041
Perform Identical Code Folding for functions.
fipa-icf-variables
-Common Report Var(flag_ipa_icf_variables)
+Common Report Var(flag_ipa_icf_variables) Optimization
Perform Identical Code Folding for variables.
fipa-reference
(cl_target_option_hash
(TREE_TARGET_OPTION (DECL_FUNCTION_SPECIFIC_TARGET (decl))));
if (DECL_FUNCTION_SPECIFIC_OPTIMIZATION (decl))
+ hstate.add_wide_int
(cl_optimization_hash
(TREE_OPTIMIZATION (DECL_FUNCTION_SPECIFIC_OPTIMIZATION (decl))));
hstate.add_flag (DECL_CXX_CONSTRUCTOR_P (decl));
+2016-10-25 Martin Liska <mliska@suse.cz>
+
+ * gcc.dg/ipa/ipa-icf-32.c: Removed one scanned pattern.
+
2016-10-25 Wilco Dijkstra <wdijkstr@arm.com>
PR target/78041
return foo (0) + bar (0);
}
-/* { dg-final { scan-ipa-dump "optimization flags are different" "icf" } } */
/* { dg-final { scan-ipa-dump "Equal symbols: 0" "icf" } } */