Uninitialised memory read in gcc-2.95.2/gcc/cppexp.c
Zack Weinberg
zack@wolery.cumb.org
Sun Mar 12 10:09:00 GMT 2000
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
More information about the Gcc-bugs
mailing list