compilation failure in 20000327

Igor Schein igor@txc.com
Mon Mar 27 20:48:00 GMT 2000


Hi,

Here's my .i file:

////////////////////////////////////////////////////////////////////////
# 1 "xyu.c"
# 1 "xyu.h" 1
__volatile__ void xyu (int c){puts("xyu");}
# 1 "xyu.c" 2

main()
{
xyu(2);
}

////////////////////////////////////////////////////////////////////////

When I try to create a .s file, I get the following:

xyu.c: In function `main':
xyu.c:4: invalid use of void expression

It always worked fine in 2.95 and 2.96 up until 20000320.

Thanks

Igor


More information about the Gcc-bugs mailing list