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

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

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

--- Comment #3 from Patrick Palka <ppalka at gcc dot gnu.org> ---
A curious reduction:

$ cat 99241_a.H
bool __is_constant_evaluated();

$ cat 99241_b.H
bool __is_constant_evaluated();

$ cat 99241_c.H
bool __is_constant_evaluated();

$ cat 99241_d.C
bool __is_constant_evaluated();                                                 
import "99241_a.ii";                                
void f() { __is_constant_evaluated(); }                                         
import "99241_b.ii";                                
import "99241_c.ii";                                                            
void g() { __is_constant_evaluated(); } 

$ g++ -fmodules-ts 99241_*
99241_d.ii: In function ‘void g()’:
99241_d.ii:6:12: internal compiler error: in lookup_mark, at cp/tree.cc:2474
    6 | void g() { __is_constant_evaluated(); }
      |            ^~~~~~~~~~~~~~~~~~~~~~~

Reply via email to