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/32643] [4.3 Regression] Wrong error message with unsigned char a = uchar&512



------- Comment #1 from pinskia at gcc dot gnu dot org  2007-07-06 09:07 -------
Note this was found while trying to fix PR 32628.

The diagnostic issue is at least a regression from 4.0.1.  Well and the accepts
invalid (without -pedantic-errors for the first testcase).

The second testcase was  accepted wrongly in 4.0.1 also.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to fail|                            |4.3.0
      Known to work|                            |4.0.1
            Summary|Wrong error message with    |[4.3 Regression] Wrong error
                   |unsigned char a = uchar&512 |message with unsigned char a
                   |                            |= uchar&512


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


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