[Bug c/58564] possible wrong code bug at -O0

2013-09-29 Thread ktietz at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58564 Kai Tietz changed: What|Removed |Added Status|RESOLVED|REOPENED Last reconfirmed|

[Bug c/58564] possible wrong code bug at -O0

2013-09-29 Thread mikpelinux at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58564 --- Comment #4 from Mikael Pettersson --- (In reply to John Regehr from comment #3) > Kai, this is a real bug, please reopen it. > > Here is what I get out of -fdump-tree-original: > > b = (int) (d == &c && a != 1); > > This is wrong. > > On

[Bug c/58564] possible wrong code bug at -O0

2013-09-28 Thread regehr at cs dot utah.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58564 --- Comment #3 from John Regehr --- Kai, this is a real bug, please reopen it. Here is what I get out of -fdump-tree-original: b = (int) (d == &c && a != 1); This is wrong. One way to illustrate the problem is to remove the useless comma ope

[Bug c/58564] possible wrong code bug at -O0

2013-09-28 Thread ktietz at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58564 Kai Tietz changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c/58564] possible wrong code bug at -O0

2013-09-28 Thread mikpelinux at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58564 Mikael Pettersson changed: What|Removed |Added CC||ktietz at gcc dot gnu.org,