Go to file
David Malcolm c7df95d83e PR preprocessor/69177 and PR c++/68819: libcpp fallbacks and -Wmisleading-indentation
gcc/c-family/ChangeLog:
	PR c++/68819
	* c-indentation.c (get_visual_column): Add location_t param.
	Handle the column number being zero by effectively disabling the
	warning, with an "inform".
	(should_warn_for_misleading_indentation): Add location_t argument
	for all uses of get_visual_column.

gcc/testsuite/ChangeLog:
	PR c++/68819
	PR preprocessor/69177
	* gcc.dg/plugin/location-overflow-test-1.c: New test case.
	* gcc.dg/plugin/location-overflow-test-2.c: New test case.
	* gcc.dg/plugin/location_overflow_plugin.c: New test plugin.
	* gcc.dg/plugin/plugin.exp (plugin_test_list): Add the above.

libcpp/ChangeLog:
	PR preprocessor/69177
	* line-map.c (LINE_MAP_MAX_LOCATION_WITH_PACKED_RANGES): New
	constant.
	(LINE_MAP_MAX_LOCATION_WITH_COLS): Add note about unit tests
	to comment.
	(can_be_stored_compactly_p): Reduce threshold from
	LINE_MAP_MAX_LOCATION_WITH_COLS to
	LINE_MAP_MAX_LOCATION_WITH_PACKED_RANGES.
	(get_combined_adhoc_loc): Likewise.
	(get_range_from_loc): Likewise.
	(linemap_line_start): Ensure that a new ordinary map is created
	when transitioning from range-packing being enabled to disabled,
	at the LINE_MAP_MAX_LOCATION_WITH_PACKED_RANGES threshold.  Set
	range_bits to 0 for new ordinary maps when beyond this limit.
	Prevent the "increase the column bits of a freshly created map"
	optimization if the range bits has reduced.

From-SVN: r232379
2016-01-14 19:10:17 +00:00
boehm-gc
config
contrib update-copyright.py (GCCCopyright): Add NVIDIA Corporation as external author. 2016-01-04 15:41:50 +01:00
fixincludes
gcc PR preprocessor/69177 and PR c++/68819: libcpp fallbacks and -Wmisleading-indentation 2016-01-14 19:10:17 +00:00
gnattools
gotools
include longlong: fix sh -Wundef builds 2016-01-07 22:18:09 +00:00
INSTALL
intl
libada
libatomic Fix libatomic multilib parallel build (PR other/67627) 2016-01-06 14:51:35 +00:00
libbacktrace
libcc1
libcilkrts
libcpp PR preprocessor/69177 and PR c++/68819: libcpp fallbacks and -Wmisleading-indentation 2016-01-14 19:10:17 +00:00
libdecnumber
libffi
libgcc rs6000-builtin.def (BU_FLOAT128_2): Add support for pack/unpack functions for __ibm128. 2016-01-13 20:07:12 +00:00
libgfortran
libgo re PR go/68980 (ps -o cmd in gotest isn't portable) 2016-01-11 17:55:39 +00:00
libgomp * libgomp.texi: Updates for OpenACC. 2016-01-12 17:03:03 +00:00
libiberty libiberty: {count,dup,write}argv: constify argv input slightly 2016-01-05 20:23:30 +00:00
libitm libitm: Fix seq-cst MOs/fences in rwlock. 2016-01-13 21:39:50 +00:00
libjava
libmpx
libobjc
liboffloadmic
libquadmath
libsanitizer
libssp
libstdc++-v3 Implement TR29124 C++ special Math Functions. 2016-01-14 18:12:43 +00:00
libvtv
lto-plugin
maintainer-scripts
zlib
.dir-locals.el
.gitignore
ABOUT-NLS
ChangeLog Enable LTO for DJGPP 2016-01-12 20:36:00 +02:00
ChangeLog.jit
ChangeLog.tree-ssa
compile
config-ml.in
config.guess
config.rpath
config.sub
configure Enable LTO for DJGPP 2016-01-12 20:36:00 +02:00
configure.ac Enable LTO for DJGPP 2016-01-12 20:36:00 +02:00
COPYING
COPYING3
COPYING3.LIB
COPYING.LIB
COPYING.RUNTIME
depcomp
install-sh
libtool-ldflags
libtool.m4
lt~obsolete.m4
ltgcc.m4
ltmain.sh
ltoptions.m4
ltsugar.m4
ltversion.m4
MAINTAINERS
Makefile.def re PR bootstrap/69134 (building a mips-cross compiler with in-tree mpfr-2.4.2 fails) 2016-01-12 15:13:02 +00:00
Makefile.in re PR bootstrap/69134 (building a mips-cross compiler with in-tree mpfr-2.4.2 fails) 2016-01-12 15:13:02 +00:00
Makefile.tpl
missing
mkdep
mkinstalldirs
move-if-change
README
symlink-tree
ylwrap

This directory contains the GNU Compiler Collection (GCC).

The GNU Compiler Collection is free software.  See the files whose
names start with COPYING for copying permission.  The manuals, and
some of the runtime libraries, are under different terms; see the
individual source files for details.

The directory INSTALL contains copies of the installation information
as HTML and plain text.  The source of this information is
gcc/doc/install.texi.  The installation information includes details
of what is included in the GCC sources and what files GCC installs.

See the file gcc/doc/gcc.texi (together with other files that it
includes) for usage and porting information.  An online readable
version of the manual is in the files gcc/doc/gcc.info*.

See http://gcc.gnu.org/bugs/ for how to report bugs usefully.

Copyright years on GCC source files may be listed using range
notation, e.g., 1987-2012, indicating that every year in the range,
inclusive, is a copyrightable year that could otherwise be listed
individually.