[Bug c++/40561] [4.3 Regression] code does not compile -- compiles fine when replacing != with !(==)

2010-04-27 Thread rguenth at gcc dot gnu dot org


--- Comment #11 from rguenth at gcc dot gnu dot org  2010-04-27 11:27 
---
Subject: Bug 40561

Author: rguenth
Date: Tue Apr 27 11:27:18 2010
New Revision: 158778

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=158778
Log:
2010-04-27  Richard Guenther  rguent...@suse.de

PR middle-end/40561
* g++.dg/other/pr40561.C: New testcase.

Added:
trunk/gcc/testsuite/g++.dg/other/pr40561.C
Modified:
trunk/gcc/testsuite/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40561



[Bug c++/40561] [4.3 Regression] code does not compile -- compiles fine when replacing != with !(==)

2010-04-27 Thread rguenth at gcc dot gnu dot org


--- Comment #12 from rguenth at gcc dot gnu dot org  2010-04-27 12:16 
---
Fixed.


-- 

rguenth at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40561



[Bug c++/40561] [4.3 Regression] code does not compile -- compiles fine when replacing != with !(==)

2010-01-03 Thread mikpe at it dot uu dot se


--- Comment #10 from mikpe at it dot uu dot se  2010-01-03 23:15 ---
(In reply to comment #9)
 Fascinating indeed.  If someone can bisect where during 4.4 development we
 fixed this again or where during 4.3 development we broke it that would be
 nice.

This test case was fixed for 4.4 by r142961, the fix for PR38564.

This test case fails with a recent 4.3, but r142961 applies cleanly and fixes
the test case. I haven't done any testsuite runs on that combo yet, however.


-- 

mikpe at it dot uu dot se changed:

   What|Removed |Added

 CC||mikpe at it dot uu dot se


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40561



[Bug c++/40561] [4.3 Regression] code does not compile -- compiles fine when replacing != with !(==)

2010-01-02 Thread rguenth at gcc dot gnu dot org


--- Comment #9 from rguenth at gcc dot gnu dot org  2010-01-02 16:23 ---
Fascinating indeed.  If someone can bisect where during 4.4 development we
fixed this again or where during 4.3 development we broke it that would be
nice.


-- 

rguenth at gcc dot gnu dot org changed:

   What|Removed |Added

   Keywords||rejects-valid
  Known to fail|4.3.3   |4.3.0 4.3.4
  Known to work|4.2.1 4.4.1 4.5.0   |4.2.4 4.4.0 4.5.0
   Priority|P3  |P2
   Last reconfirmed|2009-08-26 22:01:37 |2010-01-02 16:23:06
   date||
Summary|[4.3 regression] code does  |[4.3 Regression] code does
   |not compile -- compiles fine|not compile -- compiles fine
   |when replacing != with !(==)|when replacing != with !(==)


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40561



[Bug c++/40561] [4.3 regression] code does not compile -- compiles fine when replacing != with !(==)

2009-08-26 Thread bangerth at gmail dot com


--- Comment #6 from bangerth at gmail dot com  2009-08-26 18:49 ---
It's also fixed on mainline and it works on 4.2.1. I don't have a version of
4.3 lying around, but that would be the only open branch which appears to
still have the problem.

Would someone mind testing this on a current 4.3.x?

W.


-- 

bangerth at gmail dot com changed:

   What|Removed |Added

  Known to fail||4.3.3
  Known to work||4.2.1 4.4.1 4.5.0
   Last reconfirmed|-00-00 00:00:00 |2009-08-26 18:49:58
   date||
Summary|code does not compile --|[4.3 regression] code does
   |compiles fine when replacing|not compile -- compiles fine
   |!= with !(==)   |when replacing != with !(==)


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40561



[Bug c++/40561] [4.3 regression] code does not compile -- compiles fine when replacing != with !(==)

2009-08-26 Thread redi at gcc dot gnu dot org


--- Comment #7 from redi at gcc dot gnu dot org  2009-08-26 19:40 ---
fails with 4.3.4, I don't have a 4.3 branch to check the tip

pr.cc: In constructor ‘VamsSystemFunction__GET_DEP__::VamsSystemFunction()
[with std::setSyAccess*, std::lessSyAccess*, std::allocatorSyAccess* 
(VamsFnct::* __GET_DEP__)()const = VamsFnct::getNullDependencies]’:
pr.cc:44:   instantiated from here
pr.cc:38: error: invalid operands of types ‘bool’ and ‘int’ to binary
‘operator==’


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40561



[Bug c++/40561] [4.3 regression] code does not compile -- compiles fine when replacing != with !(==)

2009-08-26 Thread bangerth at gmail dot com


--- Comment #8 from bangerth at gmail dot com  2009-08-26 19:43 ---
(In reply to comment #7)
 pr.cc:38: error: invalid operands of types #8216;bool#8217; and 
 #8216;int#8217; to binary
 #8216;operator==#8217;

This is doubly fascinating as there is no operator== in this line ;-)

W.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40561



[Bug c++/40561] [4.3 regression] code does not compile -- compiles fine when replacing != with !(==)

2009-08-26 Thread manu at gcc dot gnu dot org


-- 

manu at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|WAITING |NEW
 Ever Confirmed|0   |1
   Last reconfirmed|2009-08-26 18:49:58 |2009-08-26 22:01:37
   date||
   Target Milestone|--- |4.3.5


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40561