From: Jakub Jelinek Date: Sat, 21 Sep 2019 21:54:38 +0000 (+0200) Subject: re PR c++/30277 (bit-field: wrong overload resolution) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e4df9be4e2bb9f379d2737282f765f1ef6d8d2dd;p=gcc.git re PR c++/30277 (bit-field: wrong overload resolution) PR c++/30277 * g++.dg/expr/bitfield14.C (struct S): Use signed long long instead of signed long. (foo): Use long long instead of long. From-SVN: r276021 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 36e0b2b9601..e7e62bf8bbe 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,10 @@ +2019-09-21 Jakub Jelinek + + PR c++/30277 + * g++.dg/expr/bitfield14.C (struct S): Use signed long long instead + of signed long. + (foo): Use long long instead of long. + 2019-09-21 Marek Polacek DR 2345 - Jumping across initializers in init-statements and conditions. diff --git a/gcc/testsuite/g++.dg/expr/bitfield14.C b/gcc/testsuite/g++.dg/expr/bitfield14.C index 546af85ba10..4bd6f1203b5 100644 --- a/gcc/testsuite/g++.dg/expr/bitfield14.C +++ b/gcc/testsuite/g++.dg/expr/bitfield14.C @@ -3,10 +3,10 @@ struct S { - signed long l: 32; + signed long long l: 32; }; -void foo(long) = delete; +void foo(long long) = delete; void foo(int) {} int main()