diff options
author | Iain Buclaw <ibuclaw@gdcproject.org> | 2021-07-26 20:01:29 +0200 |
---|---|---|
committer | Iain Buclaw <ibuclaw@gdcproject.org> | 2021-07-29 17:10:13 +0200 |
commit | 3c13cf479ba81c4d29b202e9b8c6a7f0031a8b20 (patch) | |
tree | 605405e79ec6a68398e9a0013b22fc5a5d7862c6 /gcc/tree-ssa-loop-split.c | |
parent | 7616ed6307c90b5bbf1bf53550d33cc674ab4b6f (diff) | |
download | gcc-3c13cf479ba81c4d29b202e9b8c6a7f0031a8b20.zip gcc-3c13cf479ba81c4d29b202e9b8c6a7f0031a8b20.tar.gz gcc-3c13cf479ba81c4d29b202e9b8c6a7f0031a8b20.tar.bz2 |
d: Generate Object class if it doesn't exist during TypeInfo emission (PR101672)
Having a stub will prevent errors from occuring when compiling D code
with an empty object.d. Though if it were to actually be used
implicitly then an error should occur.
PR d/101672
gcc/d/ChangeLog:
* typeinfo.cc (make_frontend_typeinfo): Generate Object class if it
doesn't exist.
(check_typeinfo_type): Don't warn if there's no location.
gcc/testsuite/ChangeLog:
* gdc.dg/pr100967.d: Update test.
* gdc.dg/pr101672.d: New test.
Diffstat (limited to 'gcc/tree-ssa-loop-split.c')
0 files changed, 0 insertions, 0 deletions