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


On Sun, Mar 12, 2000 at 01:03:42PM +0100, Martin Stromberg wrote:
> Purify reports:
> UMR: Uninitialized memory read (4 times):
>   * This is occurring while in:
> 	cpp_parse_expr [cppexp.c:792]
> 	eval_if_expression [cpplib.c:1617]
> 	do_if          [cpplib.c:1557]
> 	handle_directive [cpplib.c:545]
> 	cpp_get_token  [cpplib.c:2132]
> 	scan_decls     [scan-decls.c:95]
>   * Reading 1 byte from 0xefffc73c on the stack.
>   * Address 0xefffc73c is 20 bytes past start of local variable
>     "init_stack" in function cpp_parse_expr.

Can you repeat this test with a gcc 2.96 snapshot, please?  Also, does
the uninitialized memory read occur on every #if statement you've
tried, or just specific ones?  If specific ones, can you provide examples?

zw

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