[Bug c/2803] g++ fails where gcc succeeds
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed Aug 13 03:29: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=2803
------- Additional Comments From pinskia at gcc dot gnu dot org 2003-08-13 03:29 -------
Simple example that fails in c but not in c++ but should:
int f(int i)
{
asm("":"+r"((short)i));
}
Another example:
int f(int i)
{
asm("":"+r"((long long)i));
}
We really need to remove this extension.
More information about the Gcc-bugs
mailing list