[Bug c++/99071] [modules] ICE with initializer_list & iostream
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Feb 17 13:45:06 GMT 2021
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99071
--- Comment #2 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Nathan Sidwell <nathan@gcc.gnu.org>:
https://gcc.gnu.org/g:d46c7e2c546b26d036856cf570694b832d3b1f54
commit r11-7265-gd46c7e2c546b26d036856cf570694b832d3b1f54
Author: Nathan Sidwell <nathan@acm.org>
Date: Wed Feb 17 05:28:09 2021 -0800
c++: ICE with header-units [PR 99071]
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.
More information about the Gcc-bugs
mailing list