https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63504

--- Comment #7 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
4)
markus@x4 gcc % valgrind -q --track-origins=yes --trace-children=yes g++
-Igcc/testsuite/g++.dg/cpp1y -Igcc/testsuite//g++.dg/cpp1y/testinc
gcc/testsuite/g++.dg/cpp1y/feat-cxx14.C -std=gnu++1y -S
==16557== Conditional jump or move depends on uninitialised value(s)
==16557==    at 0x1215932: parse_has_include(cpp_reader*, include_type)
(expr.c:2143)
==16557==    by 0x1218E63: eval_token (expr.c:1056)
==16557==    by 0x1218E63: _cpp_parse_expr (expr.c:1224)
==16557==    by 0x1211BE3: do_if(cpp_reader*) (directives.c:1980)
==16557==    by 0x1213417: _cpp_handle_directive (directives.c:509)
==16557==    by 0x12202CC: _cpp_lex_token (lex.c:2172)
==16557==    by 0x122513F: cpp_get_token_1(cpp_reader*, unsigned int*)
(macro.c:2408)
==16557==    by 0x7CB2BC: c_lex_with_flags(tree_node**, unsigned int*, unsigned
char*, int) (c-lex.c:303)
==16557==    by 0x673A0F: cp_lexer_get_preprocessor_token(cp_lexer*, cp_token*)
(parser.c:763)
==16557==    by 0x6AA905: cp_parser_initial_pragma (parser.c:31771)
==16557==    by 0x6AA905: cp_lexer_new_main (parser.c:633)
==16557==    by 0x6AA905: cp_parser_new (parser.c:3434)
==16557==    by 0x6AA905: c_parse_file() (parser.c:32090)
==16557==    by 0x7D3482: c_common_parse_file() (c-opts.c:1043)
==16557==    by 0xBD4631: compile_file() (toplev.c:551)
==16557==    by 0xBD6A01: do_compile (toplev.c:1946)
==16557==    by 0xBD6A01: toplev_main(int, char**) (toplev.c:2022)
==16557==  Uninitialised value was created by a heap allocation
==16557==    at 0x4028AEF: malloc (vg_replace_malloc.c:296)
==16557==    by 0x124B867: xmalloc (xmalloc.c:147)
==16557==    by 0x121D6CA: _cpp_init_tokenrun (lex.c:2006)
==16557==    by 0x121BD1A: cpp_create_reader(c_lang, ht*, line_maps*)
(init.c:242)
==16557==    by 0x7D115C: c_common_init_options(unsigned int,
cl_decoded_option*) (c-opts.c:237)
==16557==    by 0xBD6131: toplev_main(int, char**) (toplev.c:2000)
==16557==    by 0x4ED6FCF: (below main) (in /lib64/libc-2.19.90.so)
==16557== 
==16557== Conditional jump or move depends on uninitialised value(s)
==16557==    at 0x1218424: _cpp_parse_expr (expr.c:1325)
==16557==    by 0x1211BE3: do_if(cpp_reader*) (directives.c:1980)
==16557==    by 0x1213417: _cpp_handle_directive (directives.c:509)
==16557==    by 0x12202CC: _cpp_lex_token (lex.c:2172)
==16557==    by 0x122513F: cpp_get_token_1(cpp_reader*, unsigned int*)
(macro.c:2408)
==16557==    by 0x7CB2BC: c_lex_with_flags(tree_node**, unsigned int*, unsigned
char*, int) (c-lex.c:303)
==16557==    by 0x673A0F: cp_lexer_get_preprocessor_token(cp_lexer*, cp_token*)
(parser.c:763)
==16557==    by 0x6AA905: cp_parser_initial_pragma (parser.c:31771)
==16557==    by 0x6AA905: cp_lexer_new_main (parser.c:633)
==16557==    by 0x6AA905: cp_parser_new (parser.c:3434)
==16557==    by 0x6AA905: c_parse_file() (parser.c:32090)
==16557==    by 0x7D3482: c_common_parse_file() (c-opts.c:1043)
==16557==    by 0xBD4631: compile_file() (toplev.c:551)
==16557==    by 0xBD6A01: do_compile (toplev.c:1946)
==16557==    by 0xBD6A01: toplev_main(int, char**) (toplev.c:2022)
==16557==    by 0x4ED6FCF: (below main) (in /lib64/libc-2.19.90.so)
==16557==  Uninitialised value was created by a heap allocation
==16557==    at 0x4028AEF: malloc (vg_replace_malloc.c:296)
==16557==    by 0x124B867: xmalloc (xmalloc.c:147)
==16557==    by 0x121D6CA: _cpp_init_tokenrun (lex.c:2006)
==16557==    by 0x121BD1A: cpp_create_reader(c_lang, ht*, line_maps*)
(init.c:242)
==16557==    by 0x7D115C: c_common_init_options(unsigned int,
cl_decoded_option*) (c-opts.c:237)
==16557==    by 0xBD6131: toplev_main(int, char**) (toplev.c:2000)
==16557==    by 0x4ED6FCF: (below main) (in /lib64/libc-2.19.90.so)
==16557==

Reply via email to