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] |
void g(void); void h(void); void f(int i, int j) { bool a = i == 2; bool b = j == 3; if (a && b) g(); else h(); } void f1(int i, int j) { if (i == 2 && j == 3) g(); else h(); }
Thanks, Andrew Pinski
* fold-const.c (fold_truthop): Simplify LHS ANDIF_EXPR RHS for simple RHS and LHS.
Attachment:
t1.diff.txt
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |