]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
gcc: Backport fixes for -W parentheses in C++
authorPedro F. Giffuni <pfg@FreeBSD.org>
Wed, 13 Nov 2013 04:31:27 +0000 (04:31 +0000)
committerPedro F. Giffuni <pfg@FreeBSD.org>
Wed, 13 Nov 2013 04:31:27 +0000 (04:31 +0000)
commit3b5bdcdf375dc640d3bcf3a42279df0dc5f7a284
tree53fd1a87f29fb5e7aa1255cb6b0dd2f9d40229b0
parente2838b315abe11d1ad899177672abb9dfb8e29dc
gcc: Backport fixes for -W parentheses in C++

This fixes GCC 19564:
  http://gcc.gnu.org/ml/gcc-patches/2006-12/msg00868.html
  http://gcc.gnu.org/ml/gcc-patches/2006-12/msg01772.html
  http://gcc.gnu.org/ml/gcc-patches/2007-01/msg00545.html

The patch and its fixes are used by Google in their enhanced gcc-4.2.1
port and predates the license switch in GCC so they are still under
GPLv2.

MFC after: 3 weeks
contrib/gcc/ChangeLog.gcc43
contrib/gcc/c-common.c
contrib/gcc/c-common.h
contrib/gcc/c-typeck.c
contrib/gcc/cp/cp-tree.h
contrib/gcc/cp/parser.c
contrib/gcc/cp/pt.c
contrib/gcc/cp/semantics.c
contrib/gcc/cp/typeck.c
contrib/gcc/doc/invoke.texi