Commit 13f659d4 by Martin Liska Committed by Martin Liska

re PR tree-optimization/63583 (ICF does not check that the template strings are the same)

PR ipa/63583

	* ipa-icf-gimple.c (func_checker::compare_gimple_asm):
	Gimple tempate string is compared.

	* gcc.dg/ipa/pr63595.c: New test.

From-SVN: r216458
parent d3f027a1
2014-10-20 Martin Liska <mliska@suse.cz>
PR ipa/63583
* ipa-icf-gimple.c (func_checker::compare_gimple_asm):
Gimple tempate string is compared.
2014-10-20 Uros Bizjak <ubizjak@gmail.com>
* varasm.c (const_alias_set): Remove.
......@@ -863,6 +863,9 @@ func_checker::compare_gimple_asm (gimple g1, gimple g2)
if (gimple_asm_nclobbers (g1) != gimple_asm_nclobbers (g2))
return false;
if (strcmp (gimple_asm_string (g1), gimple_asm_string (g2)) != 0)
return return_false_with_msg ("ASM strings are different");
for (unsigned i = 0; i < gimple_asm_ninputs (g1); i++)
{
tree input1 = gimple_asm_input_op (g1, i);
......
2014-10-20 Martin Liska <mliska@suse.cz>
* gcc.dg/ipa/pr63595.c: New test.
2014-10-19 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
PR fortran/48979
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment