PR testsuite/72838 - FAIL: g++.dg/cpp0x/constexpr-cast.C
gcc/testsuite/ChangeLog: * gcc/testsuite/g++.dg/cpp0x/constexpr-cast.C: Correct target selector. * gcc/testsuite/g++.dg/warn/overflow-warn-3.C: Same. * gcc/testsuite/g++.dg/warn/overflow-warn-4.C: Same. From-SVN: r239242
This commit is contained in:
parent
5435398d80
commit
989d0071bb
@ -1,3 +1,10 @@
|
||||
2016-08-08 Martin Sebor <msebor@redhat.com>
|
||||
|
||||
PR testsuite/72838
|
||||
* gcc/testsuite/g++.dg/cpp0x/constexpr-cast.C: Correct target selector.
|
||||
* gcc/testsuite/g++.dg/warn/overflow-warn-3.C: Same.
|
||||
* gcc/testsuite/g++.dg/warn/overflow-warn-4.C: Same.
|
||||
|
||||
2016-08-08 Andre Vehreschild <vehre@gcc.gnu.org>
|
||||
|
||||
PR fortran/71936
|
||||
|
@ -5,7 +5,7 @@
|
||||
int i;
|
||||
|
||||
// The following is accepted due to bug 49171.
|
||||
constexpr void *q = reinterpret_cast<void*>(&i); // { dg-error "" "bug c++/49171" { xfail *-*-*-* } }
|
||||
constexpr void *q = reinterpret_cast<void*>(&i); // { dg-error "" "bug c++/49171" { xfail *-*-* } }
|
||||
|
||||
constexpr void *r0 = reinterpret_cast<void*>(1); // { dg-error "not a constant expression" }
|
||||
constexpr void *r1 = reinterpret_cast<void*>(sizeof 'x'); // { dg-error ".reinterpret_cast<void\\*>\\(1\[ul\]\*\\). is not a constant expression" }
|
||||
|
@ -131,6 +131,6 @@ h2i (int x)
|
||||
/* { dg-error "division by zero is not a constant.expression" "division" { target c++11 } 19 } */
|
||||
/* { dg-error "division by zero is not a constant.expression" "division" { target c++11 } 32 } */
|
||||
/* { dg-warning "invalid conversion from" "convert" { target c++11 } 60 } */
|
||||
/* { dg-error "not a constant expression" "constant" { target *-*-*-* } 67 } */
|
||||
/* { dg-error "not a constant expression" "constant" { target *-*-* } 67 } */
|
||||
/* { dg-error "width not an integer constant" "bit.field" { target c++ } 32 } */
|
||||
/* { dg-error "is not a constant expression" "division" { target c++ } 32 } */
|
||||
|
@ -134,6 +134,6 @@ h2i (int x)
|
||||
/* { dg-error "division by zero is not a constant.expression" "division" { target c++11 } 19 } */
|
||||
/* { dg-error "invalid conversion from" "convert" { target c++11 } 63 } */
|
||||
/* { dg-error "division by zero is not a constant.expression" "division" { target c++11 } 34 } */
|
||||
/* { dg-error "is not a constant expression" "const" { target *-*-*-* } 70 } */
|
||||
/* { dg-error "is not a constant expression" "const" { target *-*-* } 70 } */
|
||||
/* { dg-error "width not an integer constant" "bit.field" { target c++ } 34 } */
|
||||
/* { dg-error "is not a constant expression" "division" { target c++ } 34 } */
|
||||
|
Loading…
Reference in New Issue
Block a user