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]

Re: Uninitialised memory read in gcc-2.95.2/gcc/cppexp.c


> Alas I don't understand this variable top. So somebody who does perhaps
> can see what's amiss?

This implements a parser stack, top is the top of the stack. You'll
notice that unsigned1 is further down only used if you have a binary
operation. To understand this better, it might be good to know what
tokens have been processed at that point in cpp_parse_expr.

Regards,
Martin


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