Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(22)

Issue 5330065: [patch][google] Backport r176665 to google/gcc-4_6 making narrowing conversions a pedwarn. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years, 5 months ago by Jeffrey Yasskin (google)
Modified:
13 years, 5 months ago
Reviewers:
Base URL:
svn+ssh://gcc.gnu.org/svn/gcc/branches/google/gcc-4_6/
Visibility:
Public.

Description

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.

Patch Set 1 #

Patch Set 2 : Sync #

Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -2 lines) Patch
M . View 0 chunks +-1 lines, --1 lines 0 comments Download
M gcc/c-family/ChangeLog.google-4_6 View 1 1 chunk +5 lines, -0 lines 0 comments Download
M gcc/c-family/c.opt View 1 1 chunk +4 lines, -0 lines 0 comments Download
M gcc/config/rs6000/rs6000.h View 0 chunks +-1 lines, --1 lines 0 comments Download
M gcc/config/rs6000/rs6000.c View 0 chunks +-1 lines, --1 lines 0 comments Download
M gcc/cp/ChangeLog.google-4_6 View 1 1 chunk +6 lines, -0 lines 0 comments Download
M gcc/cp/typeck2.c View 1 2 chunks +3 lines, -3 lines 0 comments Download
M gcc/testsuite/ChangeLog.google-4_6 View 1 1 chunk +5 lines, -0 lines 0 comments Download
M gcc/testsuite/g++.dg/cpp0x/initlist17.C View 1 1 chunk +1 line, -1 line 0 comments Download
M gcc/testsuite/g++.dg/cpp0x/initlist36.C View 1 1 chunk +1 line, -1 line 0 comments Download
M gcc/testsuite/g++.dg/cpp0x/initlist5.C View 1 1 chunk +1 line, -1 line 0 comments Download
M gcc/testsuite/g++.dg/cpp0x/initlist7.C View 1 1 chunk +1 line, -1 line 0 comments Download
M gcc/testsuite/gcc.target/powerpc/ppc-round.c View 0 chunks +-1 lines, --1 lines 0 comments Download
M libjava/classpath View 0 chunks +-1 lines, --1 lines 0 comments Download

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b