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: [PATCH] add recognizing to cse_change_cc_mode


+   /* If the following assertion was triggered, there is most probably
+      something wrong with the cc_modes_compatible back end function.
+      CC modes only can be considered compatible if the insn - with the mode
+      replaced by any of the compatible modes - can still be recognized.  */
+   gcc_assert (apply_change_group ());
+ }

This is wrong, you want


  int success;
  ...

  success = apply_change_group ();
  gcc_assert (success);

Paolo


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