gcc/libcpp
Andreas Krebbel 3b5757ea87 Work around array out of bounds warning in mkdeps
This suppresses an array out of bounds warning in mkdeps.c as proposed
by Martin Sebor in the bugzilla.

array subscript 2 is outside array bounds of ‘const char [2]’

Since this warning does occur during bootstrap it currently breaks
werror builds on IBM Z.

The problem can be reproduced also on x86_64 by changing the inlining
threshold using: --param max-inline-insns-auto=80

Bootstrapped and regression tested on x86_64 and IBM Z.

libcpp/ChangeLog:

2020-01-16  Andreas Krebbel  <krebbel@linux.ibm.com>

	PR tree-optimization/92176
	* mkdeps.c (deps_add_default_target): Avoid calling apply_vpath to
	suppress an array out of bounds warning.
2020-01-16 11:09:24 +01:00
..
include Add diagnostic paths 2020-01-10 21:22:12 +00:00
po
aclocal.m4
ChangeLog Add diagnostic paths 2020-01-10 21:22:12 +00:00
ChangeLog.jit
charset.c Update copyright years. 2020-01-01 12:51:42 +01:00
config.in
configure
configure.ac
directives-only.c Update copyright years. 2020-01-01 12:51:42 +01:00
directives.c Update copyright years. 2020-01-01 12:51:42 +01:00
errors.c Update copyright years. 2020-01-01 12:51:42 +01:00
expr.c Update copyright years. 2020-01-01 12:51:42 +01:00
files.c Update copyright years. 2020-01-01 12:51:42 +01:00
generated_cpp_wcwidth.h Byte vs column awareness for diagnostic-show-locus.c (PR 49973) 2019-12-09 20:03:47 +00:00
identifiers.c Update copyright years. 2020-01-01 12:51:42 +01:00
init.c Update copyright years. 2020-01-01 12:51:42 +01:00
internal.h Update copyright years. 2020-01-01 12:51:42 +01:00
lex.c Update copyright years. 2020-01-01 12:51:42 +01:00
line-map.c Add diagnostic paths 2020-01-10 21:22:12 +00:00
location-example.txt
macro.c Update copyright years. 2020-01-01 12:51:42 +01:00
Makefile.in Update copyright years. 2020-01-01 12:51:42 +01:00
makeucnid.c Update copyright years. 2020-01-01 12:51:42 +01:00
mkdeps.c Work around array out of bounds warning in mkdeps 2020-01-16 11:09:24 +01:00
pch.c Update copyright years. 2020-01-01 12:51:42 +01:00
symtab.c Update copyright years. 2020-01-01 12:51:42 +01:00
system.h Update copyright years. 2020-01-01 12:51:42 +01:00
traditional.c Update copyright years. 2020-01-01 12:51:42 +01:00
ucnid.h Update copyright years. 2020-01-01 12:51:42 +01:00
ucnid.tab Update copyright years. 2020-01-01 12:51:42 +01:00