https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79736
Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |ice-on-valid-code Known to work| |4.9.4, 6.1.0 Target Milestone|--- |6.0 Summary|Please submit a full bug |[5 Regression] Please |report: unable to create |submit a full bug report: |precompiled headers |unable to create | |precompiled headers Known to fail| |5.1.0, 5.5.0 --- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> --- I can reproduce this with gcc 5 but not gcc 6 or later. The preprocessed source is 800kB even compressed, so I can't attach it. The ICE started with r221641 PR c++/65498 * pt.c (get_mostly_instantiated_function_type): Just return the type of the partially instantiated template in DECL_TI_TEMPLATE. It was fixed by r227846 2015-09-17 Richard Biener * cp-tree.h (note_decl_for_pch): Remove. * class.c (build_clone): Do not call note_decl_for_pch. * semantics.c (finish_member_declaration): Likewise. (note_decl_for_pch): Remove. * decl2.c (c_parse_final_cleanups): Mangle all globals before writing the PCH. Should we close it as FIXED?