https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99241

Patrick Palka <ppalka at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ppalka at gcc dot gnu.org

--- Comment #9 from Patrick Palka <ppalka at gcc dot gnu.org> ---
Reduced (needs -fno-module-lazy):

$ cat 99241_a.H
void terminate();

$ cat 99241_b.H
void terminate();

$ cat 99241_c.C
import "99242_a.H";
void terminate();
import "99242_b.H";

$ g++ -fmodules-ts -fno-module-lazy 99241_*
99242_c.H:3:20: internal compiler error: in install_entity, at
cp/module.cc:7649
    3 | import "99242_b.H";
      |                    ^
0x77821f trees_in::install_entity(tree_node*)

Reply via email to