This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PR target/52555: attribute optimize is overriding command line options



Sorry, just noticed:

+  /* If the optabs changed, record it in the node.  */
+  if (memcmp (tmp_target_optabs, &default_target_optabs,
+	      sizeof (struct target_optabs)))

This should be this_target_optabs rather than &default_target_optabs. Nothing but target code and initialisers should use &default_target_optabs directly.

Fixed.



I don't think that needs a retest though. It only makes a difference on MIPS.

I verified that the testcase is still fixed by this patch (just in case). Thanks so much for the review.


Final patch attached.

Jakub, OK?

Attachment: curr
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]