aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/trans-decl.c
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@acm.org>2021-03-23 05:18:04 -0700
committerNathan Sidwell <nathan@acm.org>2021-03-23 05:21:13 -0700
commit6acd6692f1ac3c2ece3da36178df73e3b12c4f65 (patch)
treeb1add34d7e633b4b44ce6913712a84d5e2290217 /gcc/fortran/trans-decl.c
parentffa6a7fba1f87b6b47763882be411a339061492d (diff)
downloadgcc-6acd6692f1ac3c2ece3da36178df73e3b12c4f65.zip
gcc-6acd6692f1ac3c2ece3da36178df73e3b12c4f65.tar.gz
gcc-6acd6692f1ac3c2ece3da36178df73e3b12c4f65.tar.bz2
c++: Over-zealous assert [PR 99239]
This was simply an overzealous assert. Possibly correct thinking at the time that code was written, but not true now. Of course we can have imported artificial decls. PR c++/99239 gcc/cp/ * decl.c (duplicate_decls): Remove assert about maybe-imported artificial decls. gcc/testsuite/ * g++.dg/modules/pr99239_a.H: New. * g++.dg/modules/pr99239_b.H: New.
Diffstat (limited to 'gcc/fortran/trans-decl.c')
0 files changed, 0 insertions, 0 deletions