This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/1920] no warning or error with cast-as-lvalue extension
- 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: 13 Aug 2003 03:50:49 -0000
- Subject: [Bug c++/1920] no warning or error with cast-as-lvalue extension
- References: <20010209012601.1920.mdejong@redhat.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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));
}