aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/frontend-passes.cc
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2023-01-09 10:45:31 +0000
committerJonathan Wakely <jwakely@redhat.com>2023-01-10 10:09:21 +0000
commitb39f4333d18cc58b1a655c537a78fefe95b82609 (patch)
tree0515ba30fa8f71bc24cc69f752f17a932a45f0ed /gcc/fortran/frontend-passes.cc
parent0333892db367b2b97b1ab9d3702b16f3f9e92ec3 (diff)
downloadgcc-b39f4333d18cc58b1a655c537a78fefe95b82609.zip
gcc-b39f4333d18cc58b1a655c537a78fefe95b82609.tar.gz
gcc-b39f4333d18cc58b1a655c537a78fefe95b82609.tar.bz2
libstdc++: Fix std::span constraint for sizeof(size_t) < sizeof(int) [PR108221]
The default constructor has a constraint that is always false if arithmetic on size_t values promotes to int. Rewrite the constraint exactly as written in the standard, which works correctly. libstdc++-v3/ChangeLog: PR libstdc++/108221 * include/std/span (span::span()): Un-simplify constraint to work for size_t of lesser rank than int.
Diffstat (limited to 'gcc/fortran/frontend-passes.cc')
0 files changed, 0 insertions, 0 deletions