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 * zh_TW.po: Update. 2019-08-09 23:02:08 +01:00
ChangeLog Add diagnostic paths 2020-01-10 21:22:12 +00:00
ChangeLog.jit
Makefile.in Update copyright years. 2020-01-01 12:51:42 +01:00
aclocal.m4 Update GCC to autoconf 2.69, automake 1.15.1 (PR bootstrap/82856). 2018-10-31 17:03:16 +00:00
charset.c Update copyright years. 2020-01-01 12:51:42 +01:00
config.in Update GCC to autoconf 2.69, automake 1.15.1 (PR bootstrap/82856). 2018-10-31 17:03:16 +00:00
configure iconv.m4 (AM_ICONV_LINK): Don't overwrite CPPFLAGS. 2018-11-07 15:41:21 -07:00
configure.ac Update GCC to autoconf 2.69, automake 1.15.1 (PR bootstrap/82856). 2018-10-31 17:03:16 +00:00
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 PR preprocessor/83173: Enhance -fdump-internal-locations output 2018-11-27 16:04:31 +00:00
macro.c 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