This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/37217] [4.4 Regression] -Wconversion causes ICE with __builtin_strcmp with one char compare
- 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: 24 Aug 2008 22:27:02 -0000
- Subject: [Bug c++/37217] [4.4 Regression] -Wconversion causes ICE with __builtin_strcmp with one char compare
- References: <bug-37217-6183@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from pinskia at gcc dot gnu dot org 2008-08-24 22:27 -------
Confirmed, reduced testcase:
int __convert_from_v( ) {
char* __old;
if (__builtin_strcmp(__old, "C")) {}
}
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
GCC build triplet|i686-pc-cygwin |
GCC host triplet|i686-pc-cygwin |
GCC target triplet|i686-pc-cygwin |
Keywords| |ice-on-valid-code
Last reconfirmed|0000-00-00 00:00:00 |2008-08-24 22:27:02
date| |
Summary|ICE on Valid Code |[4.4 Regression] -
| |Wconversion causes ICE with
| |__builtin_strcmp with one
| |char compare
Target Milestone|--- |4.4.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37217