This is the mail archive of the gcc-bugs@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]

[Bug c++/30274] [4.2/4.3 Regression] bool bit-field: wrong increment and decremenet



------- Comment #4 from pinskia at gcc dot gnu dot org  2006-12-22 08:45 -------
This is a very simple patch to fix this issue also:
-        if (same_type_p (TREE_TYPE (arg), boolean_type_node))
+        if (TREE_CODE (TREE_TYPE (arg)) == BOOLEAN_TYPE)


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |ASSIGNED
   Last reconfirmed|2006-12-21 18:13:05         |2006-12-22 08:45:50
               date|                            |


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


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