gcc-bugs@gcc.gnu.org

2015-06-14 Thread fkastrati at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66520 --- Comment #8 from Fisnik --- (In reply to Andreas Schwab from comment #6) > If a and b are side-effect-free, pure-boolean expressions then `a && b' and > `a & b' are completely equivalent and there is no reason to generate > different code for

gcc-bugs@gcc.gnu.org

2015-06-14 Thread fkastrati at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66520 --- Comment #7 from Fisnik --- (In reply to Eric Botcazou from comment #5) > > Compiler should not generate the same code, and should listen to the > > developer, when she/he connects predicates with single `&'. I already wrote > > that I did ben

gcc-bugs@gcc.gnu.org

2015-06-14 Thread fkastrati at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66520 --- Comment #4 from Fisnik --- (In reply to Eric Botcazou from comment #3) > > There should be at least some flag available, such that we can set such a > > flag and have the compiler generate only a single jump for the method with > > single amp

gcc-bugs@gcc.gnu.org

2015-06-13 Thread fkastrati at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66520 --- Comment #2 from Fisnik --- (In reply to Eric Botcazou from comment #1) > > consider the following code snippet (c++): > > > > void ampamp(int x, int y) { > > if (x < 3 && y > 10 ) > > printf("%d%d", x, y); > > } > > > > void amp(int

gcc-bugs@gcc.gnu.org

2015-06-12 Thread fkastrati at gmail dot com
: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: fkastrati at gmail dot com Target Milestone: --- consider the following code snippet (c++): void ampamp(int x, int y) { if (x < 3 && y > 10 ) printf("%d%d", x, y); } void amp(int x,