diff options
author | Patrick Palka <ppalka@redhat.com> | 2020-03-03 12:27:33 -0500 |
---|---|---|
committer | Patrick Palka <ppalka@redhat.com> | 2020-03-08 10:45:46 -0400 |
commit | 5e1b4e60c1823115ba7ff0e8c4b35f6058ad9969 (patch) | |
tree | 6d2974b307e75eec1618d4b7fe454d0cf6399433 /gcc/fortran/trans-array.c | |
parent | ff0a62841e27b838f17a9d6253d131206072df6f (diff) | |
download | gcc-5e1b4e60c1823115ba7ff0e8c4b35f6058ad9969.zip gcc-5e1b4e60c1823115ba7ff0e8c4b35f6058ad9969.tar.gz gcc-5e1b4e60c1823115ba7ff0e8c4b35f6058ad9969.tar.bz2 |
c++: Fix missing SFINAE when binding a bit-field to a reference (PR 93729)
We are unconditionally emitting an error here, without first checking complain.
gcc/cp/ChangeLog:
PR c++/93729
* call.c (convert_like_real): Check complain before emitting an error
about binding a bit-field to a reference.
gcc/testsuite/ChangeLog:
PR c++/93729
* g++.dg/concepts/pr93729.C: New test.
Diffstat (limited to 'gcc/fortran/trans-array.c')
0 files changed, 0 insertions, 0 deletions