Yes, I see. Thanks for taking this patch.
Cheers,
Fei.
>
> On 12/30/2013, 2:27 AM, Yangfei (Felix) wrote:
> > Add one entry to ChangeLog:
> >
> > Index: gcc/ChangeLog
> >
>
> ===
> > --- gcc/ChangeLog (revision 206236)
> >
On 12/30/2013, 2:27 AM, Yangfei (Felix) wrote:
Add one entry to ChangeLog:
Index: gcc/ChangeLog
===
--- gcc/ChangeLog (revision 206236)
+++ gcc/ChangeLog (working copy)
@@ -1,3 +1,8 @@
+2013-12-30 Felix Yang
+
+
Add one entry to ChangeLog:
Index: gcc/ChangeLog
===
--- gcc/ChangeLog (revision 206236)
+++ gcc/ChangeLog (working copy)
@@ -1,3 +1,8 @@
+2013-12-30 Felix Yang
+
+ * gcc/ira-costs.c (cost_classes_hasher::equal):
Ping.
Attached please find patch is for trunk (gcc-4.9):
Index: gcc/ira-costs.c
===
--- gcc/ira-costs.c (revision 206236)
+++ gcc/ira-costs.c (working copy)
@@ -155,7 +155,7 @@ inline bool
cost_classes_hasher::equal (const v
Hi Vladimir,
I am trying to fix a potential bug of cost_classes_eq in ira-costs.c. This
patch is for gcc-4.8 branch and should work for gcc-4.9.
Library function memcmp return 0 if no difference for the two compared data.
Please take a look.
/* Compares cost classes info V1 and V2. */