c++: ICE with header-units [PR 99071]
Nathan Sidwell
nathan@acm.org
Wed Feb 17 13:31:01 GMT 2021
This ICE was caused by dereferencing the wrong pointer and not finding
the expected thing there. Pointers are like that.
PR c++/99071
gcc/cp/
* name-lookup.c (maybe_record_mergeable_decl): Deref the correct
pointer.
gcc/testsuite/
* g++.dg/modules/pr99071_a.H: New.
* g++.dg/modules/pr99071_b.H: New.
--
Nathan Sidwell
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr99071.diff
Type: text/x-patch
Size: 1288 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-patches/attachments/20210217/baec9836/attachment.bin>
More information about the Gcc-patches
mailing list