Commit eae216e8 by Josef Zlomek Committed by Josef Zlomek

Waldek Hebisch <hebisch@math.uni.wroc.pl> PR/12072

	Waldek Hebisch <hebisch@math.uni.wroc.pl>
	PR/12072
	* varasm.c (compare_constant): Fix thinko.

From-SVN: r72028
parent 4a035cf7
2003-10-02 Josef Zlomek <zlomekj@suse.cz>
Waldek Hebisch <hebisch@math.uni.wroc.pl>
PR/12072
* varasm.c (compare_constant): Fix thinko.
2003-10-02 Richard Sandiford <rsandifo@redhat.com> 2003-10-02 Richard Sandiford <rsandifo@redhat.com>
* config/frv/frv.c (frv_issue_rate): New function. * config/frv/frv.c (frv_issue_rate): New function.
......
...@@ -2224,7 +2224,7 @@ compare_constant (const tree t1, const tree t2) ...@@ -2224,7 +2224,7 @@ compare_constant (const tree t1, const tree t2)
if (get_set_constructor_bytes (t2, tmp2, len) != NULL_TREE) if (get_set_constructor_bytes (t2, tmp2, len) != NULL_TREE)
return 0; return 0;
return memcmp (tmp1, tmp2, len) != 0; return memcmp (tmp1, tmp2, len) == 0;
} }
else else
{ {
......
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