re PR c++/65858 (ICE in varpool_node::get_constructor during chromium build on arm...
authorPaolo Carlini <paolo.carlini@oracle.com>
Fri, 1 May 2015 18:43:40 +0000 (18:43 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Fri, 1 May 2015 18:43:40 +0000 (18:43 +0000)
commit38920aec4c036782cd362e27ae154dfa68b86428
tree904cb4c00e2286b81ff05a3f034a7a054c6df464
parent0f770b013e710f7225ddb1f75a0fb28bcf8ebf31
re PR c++/65858 (ICE in varpool_node::get_constructor during chromium build on arm-linux-gnueabihf with LTO during LINK chrome)

/cp
2015-05-01  Paolo Carlini  <paolo.carlini@oracle.com>
    Prathamesh Kulharni  <prathamesh.kulkarni@linaro.org>

PR c++/65858
* typeck2.c (check_narrowing): Set ok = true when pedwarn returns
false.

/testsuite
2015-05-01  Paolo Carlini  <paolo.carlini@oracle.com>
    Prathamesh Kulharni  <prathamesh.kulkarni@linaro.org>

PR c++/65858
* g++.dg/cpp0x/Wnarrowing4.C: New.

Co-Authored-By: Prathamesh Kulharni <prathamesh.kulkarni@linaro.org>
From-SVN: r222699
gcc/cp/ChangeLog
gcc/cp/typeck2.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/Wnarrowing4.C [new file with mode: 0644]