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]
Other format: [Raw text]

[Bug c/34867] New: valgrind error indication in testsuite from c-lex.c:996:c_lex_with_flags for gcc.dg/cpp/charconst.c


A r131535 of trunk (a later revision is recommended, at least >= r131589)
bootstrapped with --enable-langugages=c --enable-checking=release,valgrind
shows these indications for gcc.dg/cpp/charconst.c (show as in gcc.log):
Executing on host: /tmp/hptest8/obj/gcc/xgcc -B/tmp/hptest8/obj/gcc/
/tmp/hptest8/gcc/gcc/testsuite/gcc.dg/cpp/charconst.c    -ans
i -pedantic-errors -fno-show-column -S  -o charconst.s    (timeout = 300)
/tmp/hptest8/gcc/gcc/testsuite/gcc.dg/cpp/charconst.c:10: error: empty
character constant
/tmp/hptest8/gcc/gcc/testsuite/gcc.dg/cpp/charconst.c:12: error: empty
character constant
/tmp/hptest8/gcc/gcc/testsuite/gcc.dg/cpp/charconst.c:14: warning: character
constant too long for its type
/tmp/hptest8/gcc/gcc/testsuite/gcc.dg/cpp/charconst.c:16: warning: character
constant too long for its type
/tmp/hptest8/gcc/gcc/testsuite/gcc.dg/cpp/charconst.c:19: warning:
multi-character character constant
/tmp/hptest8/gcc/gcc/testsuite/gcc.dg/cpp/charconst.c:27: error: empty
character constant
==23842== Conditional jump or move depends on uninitialised value(s)
==23842==    at 0x4041B7: c_lex_with_flags (c-lex.c:996)
==23842==    by 0x44D20E: c_lex_one_token (c-parser.c:310)
==23842==    by 0x453666: c_parser_cast_expression (c-parser.c:415)
==23842==    by 0x4537C1: c_parser_conditional_expression (c-parser.c:4691)
==23842==    by 0x453F24: c_parser_expr_no_commas (c-parser.c:4452)
==23842==    by 0x4540A6: c_parser_expr_no_commas (c-parser.c:4492)
==23842==    by 0x454121: c_parser_expression (c-parser.c:5699)
==23842==    by 0x4543E8: c_parser_expression_conv (c-parser.c:5719)
==23842==    by 0x450AB5: c_parser_statement_after_labels (c-parser.c:3880)
==23842==    by 0x451C07: c_parser_compound_statement_nostart (c-parser.c:3565)
==23842==    by 0x457004: c_parser_compound_statement (c-parser.c:3413)
==23842==    by 0x45750C: c_parser_declaration_or_fndef (c-parser.c:1412)
/tmp/hptest8/gcc/gcc/testsuite/gcc.dg/cpp/charconst.c:28: error: empty
character constant
/tmp/hptest8/gcc/gcc/testsuite/gcc.dg/cpp/charconst.c:30: warning: character
constant too long for its type
/tmp/hptest8/gcc/gcc/testsuite/gcc.dg/cpp/charconst.c:31: warning: character
constant too long for its type
/tmp/hptest8/gcc/gcc/testsuite/gcc.dg/cpp/charconst.c:33: warning:
multi-character character constant
/tmp/hptest8/gcc/gcc/testsuite/gcc.dg/cpp/charconst.c:35: warning: character
constant too long for its type


-- 
           Summary: valgrind error indication in testsuite from c-
                    lex.c:996:c_lex_with_flags for gcc.dg/cpp/charconst.c
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: hp at gcc dot gnu dot org
GCC target triplet: x86_64-unknown-linux-gnu


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34867


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