This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/31078] [4.3 Regression] warning: same canonical type node for different types with const strings
- 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: 8 Mar 2007 13:10:50 -0000
- Subject: [Bug c++/31078] [4.3 Regression] warning: same canonical type node for different types with const strings
- References: <bug-31078-12387@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #4 from pinskia at gcc dot gnu dot org 2007-03-08 13:10 -------
Reduced testcase:
char a[1];
void
error (int journal )
{
const char *b = journal?a: "";
}
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2007-03-08 13:10:49
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31078