This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/32643] [4.3 Regression] Wrong error message with unsigned char a = uchar&512
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 6 Jul 2007 09:07:18 -0000
- Subject: [Bug c/32643] [4.3 Regression] Wrong error message with unsigned char a = uchar&512
- References: <bug-32643-6528@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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