This is the mail archive of the gcc-cvs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

r180806 - in /branches/google/gcc-4_6: ./ gcc/c...


Author: jyasskin
Date: Wed Nov  2 22:45:21 2011
New Revision: 180806

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=180806
Log:
Backport r176665 to google/gcc-4_6 making narrowing conversions a pedwarn.

I'm backporting this so that, if we run into a particularly obnoxious set of
narrowing conversions in the C++11 transition, we can just -Wno-narrowing
instead of rolling a new gcc release.

c-family/ChangeLog.google-4_6:
2011-11-02  Jeffrey Yasskin  <jyasskin@google.com>

	Backport from rev 176665

	2011-07-22  Jason Merrill  <jason@redhat.com>

		* c.opt (Wnarrowing): New.

cp/ChangeLog.google-4_6:
2011-11-02  Jeffrey Yasskin  <jyasskin@google.com>

	Backport from rev 176665

	2011-07-22  Jason Merrill  <jason@redhat.com>

		* typeck2.c (check_narrowing): Downgrade permerror to pedwarn.
		Make conditional on -Wnarrowing.

testsuite/ChangeLog.google-4_6:
2011-11-02  Jeffrey Yasskin  <jyasskin@google.com>

	Backport from rev 176665

	2011-07-22  Jason Merrill  <jason@redhat.com>

		* g++.dg/cpp0x/initlist55.C: New.


Modified:
    branches/google/gcc-4_6/   (props changed)
    branches/google/gcc-4_6/gcc/c-family/ChangeLog.google-4_6
    branches/google/gcc-4_6/gcc/c-family/c.opt
    branches/google/gcc-4_6/gcc/config/rs6000/rs6000.c   (props changed)
    branches/google/gcc-4_6/gcc/config/rs6000/rs6000.h   (props changed)
    branches/google/gcc-4_6/gcc/cp/ChangeLog.google-4_6
    branches/google/gcc-4_6/gcc/cp/typeck2.c
    branches/google/gcc-4_6/gcc/testsuite/ChangeLog.google-4_6
    branches/google/gcc-4_6/gcc/testsuite/g++.dg/cpp0x/initlist17.C
    branches/google/gcc-4_6/gcc/testsuite/g++.dg/cpp0x/initlist36.C
    branches/google/gcc-4_6/gcc/testsuite/g++.dg/cpp0x/initlist5.C
    branches/google/gcc-4_6/gcc/testsuite/g++.dg/cpp0x/initlist7.C
    branches/google/gcc-4_6/gcc/testsuite/gcc.target/powerpc/ppc-round.c   (props changed)
    branches/google/gcc-4_6/libjava/classpath/   (props changed)

Propchange: branches/google/gcc-4_6/
            ('svn:mergeinfo' modified)

Propchange: branches/google/gcc-4_6/gcc/config/rs6000/rs6000.c
            ('svn:mergeinfo' modified)

Propchange: branches/google/gcc-4_6/gcc/config/rs6000/rs6000.h
            ('svn:mergeinfo' modified)

Propchange: branches/google/gcc-4_6/gcc/testsuite/gcc.target/powerpc/ppc-round.c
            ('svn:mergeinfo' modified)

Propchange: branches/google/gcc-4_6/libjava/classpath/
            ('svn:mergeinfo' modified)



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]