------- Comment #12 from manu at gcc dot gnu dot org 2008-07-30 08:36 ------- This should be mostly fixed except the following testcase in C++:
short mask1(short x) { short y = 0x7fff; return x & y; /* { dg-bogus "conversion" "conversion" { xfail *-*-* } 8 } */ } This works in C, so it seems "same_type" does different things in C and in C++. I don't have time to investigate this at the moment so any help is appreciated. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34389