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]

compilation failure in 20000327


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

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