A r131535 of trunk bootstrapped with --enable-langugages=c --enable-checking=release,valgrind shows this indication for gcc.dg/cpp/Wmissingdirs.c and also an ICE: Executing on host: /tmp/hptest8/obj/gcc/xgcc -B/tmp/hptest8/obj/gcc/ /tmp/hptest8/gcc/gcc/testsuite/gcc.dg/cpp/Wmissingdirs.c -s td=gnu99 -I /jolly/well/better/not/exist -Wmissing-include-dirs -fno-show-column -fno-show-column -E -o Wmissingdirs.i (timeou t = 300) ==23626== Invalid read of size 4 ==23626== at 0x9245B4: cpp_error (errors.c:156) ==23626== by 0x4489FB: remove_duplicates (c-incpath.c:235) ==23626== by 0x448B32: register_include_chains (c-incpath.c:331) ==23626== by 0x44268B: c_common_post_options (c-opts.c:1029) ==23626== by 0x5F5B1D: toplev_main (toplev.c:1732) ==23626== by 0x387301E073: (below main) (in /lib64/libc-2.7.so) ==23626== Address 0x4C67958 is not stack'd, malloc'd or (recently) free'd ==23626== ==23626== Invalid read of size 4 ==23626== at 0x92D464: linemap_lookup (line-map.c:282) ==23626== by 0x9241CA: _cpp_begin_message (errors.c:47) ==23626== by 0x9245C3: cpp_error (errors.c:159) ==23626== by 0x4489FB: remove_duplicates (c-incpath.c:235) ==23626== by 0x448B32: register_include_chains (c-incpath.c:331) ==23626== by 0x44268B: c_common_post_options (c-opts.c:1029) ==23626== by 0x5F5B1D: toplev_main (toplev.c:1732) ==23626== by 0x387301E073: (below main) (in /lib64/libc-2.7.so) ==23626== Address 0xC is not stack'd, malloc'd or (recently) free'd cc1: internal compiler error: Segmentation fault
-- Summary: valgrind error indication in testsuite from errors.c:156:cpp_error with gcc.dg/cpp/Wmissingdirs.c Product: gcc Version: 4.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: preprocessor AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: hp at gcc dot gnu dot org GCC host triplet: x86_64-unknown-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34866