This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: Uninitialised memory read in gcc-2.95.2/gcc/cppexp.c
- To: Martin Stromberg <Martin dot Stromberg at lu dot erisoft dot se>
- Subject: Re: Uninitialised memory read in gcc-2.95.2/gcc/cppexp.c
- From: Zack Weinberg <zack at wolery dot cumb dot org>
- Date: Sun, 12 Mar 2000 10:09:30 -0800
- Cc: gcc-bugs at gcc dot gnu dot org
- References: <200003121203.NAA18600@mars.lu.erisoft.se>
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