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]

fold-const patch for PR41442


This implements the folding requested in PR41442, i.e.:

  if ((p1->next && !p2->next) || p2->next)

to

  if (p1->next || p2->next)

Bootstrapped and regression tested on i686-linux.  Ok?


Bernd

Attachment: truthop-fold-2.diff
Description: Text document


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