aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/trans-array.c
diff options
context:
space:
mode:
authorMarek Polacek <polacek@redhat.com>2019-10-30 18:49:59 +0000
committerMarek Polacek <mpolacek@gcc.gnu.org>2019-10-30 18:49:59 +0000
commitd54faccc041ce5841206b5ec1ac835196f203a75 (patch)
tree9230d1fb68a43e33269aa87b630df9e56de9ee05 /gcc/fortran/trans-array.c
parentce001b300fc7bd22cbb2712b6d06e5043fe6354f (diff)
downloadgcc-d54faccc041ce5841206b5ec1ac835196f203a75.zip
gcc-d54faccc041ce5841206b5ec1ac835196f203a75.tar.gz
gcc-d54faccc041ce5841206b5ec1ac835196f203a75.tar.bz2
PR c++/92134 - constinit malfunction in static data member.
I wasn't properly setting LOOKUP_CONSTINIT in grokfield and so we didn't detect a non-const initializer. * decl2.c (grokfield): Set LOOKUP_CONSTINIT. * g++.dg/cpp2a/constinit14.C: New test. From-SVN: r277636
Diffstat (limited to 'gcc/fortran/trans-array.c')
0 files changed, 0 insertions, 0 deletions