[Bug c++/1920] no warning or error with cast-as-lvalue extension
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed Aug 13 03:50:00 GMT 2003
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=1920
------- Additional Comments From pinskia at gcc dot gnu dot org 2003-08-13 03:50 -------
Two more examples where the c front-end fails but the c++ frontend does not (this time
inline-asm):
int f(int i)
{
asm("":"+r"((short)i));
}
int f1(int i)
{
asm("":"+r"((long long)i));
}
More information about the Gcc-bugs
mailing list