This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/1920] no warning or error with cast-as-lvalue extension


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));
}


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]