Go to file
Jakub Jelinek 6f3af35628 re PR sanitizer/79572 (reference binding to null pointer not reported with -fsanitize=undefined)
PR c++/79572
	* c-ubsan.h (ubsan_maybe_instrument_reference): Change argument to
	tree *.
	* c-ubsan.c (ubsan_maybe_instrument_reference): Likewise.  Handle
	not just NOP_EXPR to REFERENCE_TYPE, but also INTEGER_CST with
	REFERENCE_TYPE.

	* cp-gimplify.c (cp_genericize_r): Sanitize INTEGER_CSTs with
	REFERENCE_TYPE.  Adjust ubsan_maybe_instrument_reference caller
	for NOP_EXPR to REFERENCE_TYPE.

	* g++.dg/ubsan/null-8.C: New test.

From-SVN: r246621
2017-03-31 20:39:25 +02:00
INSTALL
config isl.m4: Remove support for ISL 0.14. 2017-02-13 08:54:02 +00:00
contrib RISC-V Port: contrib 2017-02-06 21:39:08 +00:00
fixincludes re PR target/68739 (FAIL: 30_threads/call_once/constexpr.cc (test for excess errors)) 2017-02-25 20:29:39 +00:00
gcc re PR sanitizer/79572 (reference binding to null pointer not reported with -fsanitize=undefined) 2017-03-31 20:39:25 +02:00
gnattools configure.ac: Add ACX_NONCANONICAL_HOST. 2016-05-16 08:55:12 +00:00
gotools libgo: update to Go 1.8 release candidate 1 2017-01-14 00:05:42 +00:00
include Fix PR demangler/70909 and 67264 (endless demangler recursion) 2017-03-08 14:28:38 +00:00
intl config-ml.in: Remove references to GCJ. 2016-11-15 16:34:02 +00:00
libada re PR other/79046 (g++ -print-file-name=plugin uses full version number in path) 2017-01-17 10:38:48 +01:00
libatomic RISC-V Port: libatomic 2017-02-06 21:38:57 +00:00
libbacktrace btest.c (test5): Replace #ifdef guard with 'unused' attribute to fix compile warning when... 2017-03-08 14:21:21 +00:00
libcc1 Introduce C++ support in libcc1 2017-01-31 01:02:03 +00:00
libcilkrts re PR other/79046 (g++ -print-file-name=plugin uses full version number in path) 2017-01-20 09:27:29 +01:00
libcpp Fix search_line_fast for aarch64/ILP32 2017-03-21 11:10:17 +00:00
libdecnumber re PR rtl-optimization/79003 (r238991 breaks ODR) 2017-01-08 17:43:30 +01:00
libffi re PR other/79046 (g++ -print-file-name=plugin uses full version number in path) 2017-01-21 09:47:11 +01:00
libgcc [ARC] Fix divdf3 emulation for arcem. 2017-03-27 12:56:35 +02:00
libgfortran re PR fortran/78670 ([F03] Incorrect file position with namelist read under DTIO) 2017-03-29 21:37:45 +00:00
libgo internal/syscall/unix: add randomTrap for m68k 2017-03-22 23:51:35 +00:00
libgomp * env.c (initialize_env): Initialize stacksize to 0. 2017-03-30 22:29:20 +02:00
libhsail-rt configure.tgt: Fix i?86-*-linux* entry. 2017-02-01 08:56:49 +01:00
libiberty cplus_demangle_fill_component: Handle DEMANGLE_COMPONENT_RVALUE_REFERENCE 2017-03-27 14:23:49 +00:00
libitm re PR other/79046 (g++ -print-file-name=plugin uses full version number in path) 2017-01-21 09:47:11 +01:00
libmpx * mpxrt/mpxrt-utils.h (__mpxrt_stop): New prototype. 2017-01-30 15:26:24 +01:00
libobjc re PR tree-optimization/79256 (FAIL: gcc.dg/vect/pr25413a.c execution test) 2017-02-07 11:29:06 +00:00
liboffloadmic libgomp: Provide prototypes for functions implemented by libgomp plugins 2017-01-31 15:32:58 +01:00
libquadmath configure.ac (ACX_BUGURL): Update. 2017-02-09 10:56:08 +00:00
libsanitizer re PR sanitizer/78158 (Strange data race detection with thread sanitizer) 2017-03-22 19:46:54 +01:00
libssp re PR other/79046 (g++ -print-file-name=plugin uses full version number in path) 2017-01-17 10:38:48 +01:00
libstdc++-v3 Adjust optional's pretty printer for LWG 2900. 2017-03-29 15:05:50 +03:00
libvtv re PR other/79046 (g++ -print-file-name=plugin uses full version number in path) 2017-01-21 09:47:11 +01:00
lto-plugin re PR other/79046 (g++ -print-file-name=plugin uses full version number in path) 2017-01-17 10:38:48 +01:00
maintainer-scripts * gcc_release (snapshot_print): Replace md5 checksum by sha256. 2017-03-03 14:12:04 +00:00
zlib re PR bootstrap/79771 (in-tree zlib breaks build) 2017-03-14 23:01:23 -06:00
.dir-locals.el
.gitattributes
.gitignore .gitignore: Ignore in-tree prerequisites. 2016-09-09 17:20:55 -04:00
ABOUT-NLS
COPYING
COPYING.LIB
COPYING.RUNTIME
COPYING3
COPYING3.LIB
ChangeLog configure.ac: Enable LTO by default on darwin >= 9. 2017-03-22 17:51:18 +00:00
ChangeLog.jit
ChangeLog.tree-ssa
MAINTAINERS Add RISC-V Maintainers 2017-03-20 16:11:32 +00:00
Makefile.def Brig front-end 2017-01-24 13:45:56 +01:00
Makefile.in Restore Graphite fuse-*.c testing 2017-02-15 15:43:42 +01:00
Makefile.tpl Restore Graphite fuse-*.c testing 2017-02-15 15:43:42 +01:00
README
compile
config-ml.in config-ml.in: Remove references to GCJ. 2016-11-15 16:34:02 +00:00
config.guess * config.guess: Import latest from upstream. 2017-03-18 18:22:06 +00:00
config.rpath
config.sub * config.sub: Import latest version. 2016-12-29 22:04:53 +11:00
configure configure.ac: Enable LTO by default on darwin >= 9. 2017-03-22 17:51:18 +00:00
configure.ac configure.ac: Enable LTO by default on darwin >= 9. 2017-03-22 17:51:18 +00:00
depcomp
install-sh
libtool-ldflags
libtool.m4
ltgcc.m4
ltmain.sh
ltoptions.m4
ltsugar.m4
ltversion.m4
lt~obsolete.m4
missing
mkdep
mkinstalldirs
move-if-change
symlink-tree
ylwrap

README

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.