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
This commit is contained in:
parent
d3f027a185
commit
13f659d456
|
@ -1,3 +1,9 @@
|
|||
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);
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
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
|
||||
|
|
Loading…
Reference in New Issue