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

--- Comment #1 from Sam James <sjames at gcc dot gnu.org> ---
==2895333== Invalid read of size 2
==2895333==    at 0x1C94E6B: UnknownInlinedFun (hash-map-traits.h:50)
==2895333==    by 0x1C94E6B: UnknownInlinedFun (hash-map.h:52)
==2895333==    by 0x1C94E6B: hash_table<hash_map<tree_node*, unsigned int,
simple_hashmap_traits<tree_decl_hash, unsigned int> >::hash_entry, false,
xcallocator>::verify(tree_node* const
&, unsigned int) [clone .isra.0] (hash-table.h:1116)
==2895333==    by 0x1E: ???
==2895333==    by 0x12224B: UnknownInlinedFun (hash-table.h:1046)
==2895333==    by 0x12224B: UnknownInlinedFun (hash-map.h:201)
==2895333==    by 0x12224B: UnknownInlinedFun (hash-map.h:376)
==2895333==    by 0x12224B: cp_adjust_diagnostic_info(diagnostic_context*,
diagnostic_info*) [clone .part.0] [clone .cold] (error.cc:242)
==2895333==    by 0x1CBFC1B: UnknownInlinedFun (opts-common.cc:1861)
==2895333==    by 0x1CBFC1B:
diagnostic_context::report_diagnostic(diagnostic_info*) (diagnostic.cc:1227)
==2895333==    by 0x1CBF5B4:
diagnostic_context::diagnostic_impl(rich_location*, diagnostic_metadata const*,
diagnostic_option_id, char const*, __va_list_tag (*) [1], diagnostic_t) (diag
nostic.cc:1425)
==2895333==    by 0x319875: error_at(rich_location*, char const*, ...)
(diagnostic-global-context.cc:439)
==2895333==    by 0x3C2FA4: cp_parser_diagnose_invalid_type_name(cp_parser*,
tree_node*, unsigned int) [clone .lto_priv.0] [clone .cold] (parser.cc:3868)
==2895333==    by 0x26CC34C:
cp_parser_parse_and_diagnose_invalid_type_name(cp_parser*) [clone .lto_priv.0]
(parser.cc:3975)
==2895333==    by 0x1ED144E: cp_parser_member_declaration(cp_parser*) [clone
.lto_priv.0] (parser.cc:28344)
==2895333==    by 0x1E818F2: UnknownInlinedFun (parser.cc:28187)
==2895333==    by 0x1E818F2: cp_parser_class_specifier(cp_parser*) [clone
.lto_priv.0] (parser.cc:27166)
==2895333==    by 0x1E29B94: UnknownInlinedFun (parser.cc:20326)
==2895333==    by 0x1E29B94: cp_parser_decl_specifier_seq(cp_parser*, int,
cp_decl_specifier_seq*, int*) [clone .lto_priv.0] (parser.cc:16887)
==2895333==    by 0x20D2582: cp_parser_single_declaration(cp_parser*,
vec<deferred_access_check, va_gc, vl_embed>*, bool, bool, bool*) [clone
.lto_priv.0] (parser.cc:33467)
==2895333==  Address 0xef17000 is in a rw- anonymous segment

==2895333==
==2895333== Invalid read of size 1
==2895333==    at 0x27C0A0E: UnknownInlinedFun (tree.h:3778)
==2895333==    by 0x27C0A0E: tree_decl_hash::hash(tree_node*) (tree.h:5914)
==2895333==    by 0x1C94E6F: UnknownInlinedFun (hash-map-traits.h:50)
==2895333==    by 0x1C94E6F: UnknownInlinedFun (hash-map.h:52)
==2895333==    by 0x1C94E6F: hash_table<hash_map<tree_node*, unsigned int,
simple_hashmap_traits<tree_decl_hash, unsigned int> >::hash_entry, false,
xcallocator>::verify(tree_node* const
&, unsigned int) [clone .isra.0] (hash-table.h:1116)
==2895333==    by 0x12224B: UnknownInlinedFun (hash-table.h:1046)
==2895333==    by 0x12224B: UnknownInlinedFun (hash-map.h:201)
==2895333==    by 0x12224B: UnknownInlinedFun (hash-map.h:376)
==2895333==    by 0x12224B: cp_adjust_diagnostic_info(diagnostic_context*,
diagnostic_info*) [clone .part.0] [clone .cold] (error.cc:242)
==2895333==    by 0x1CBFC1B: UnknownInlinedFun (opts-common.cc:1861)
==2895333==    by 0x1CBFC1B:
diagnostic_context::report_diagnostic(diagnostic_info*) (diagnostic.cc:1227)
==2895333==    by 0x1CBF5B4:
diagnostic_context::diagnostic_impl(rich_location*, diagnostic_metadata const*,
diagnostic_option_id, char const*, __va_list_tag (*) [1], diagnostic_t) (diag
nostic.cc:1425)
==2895333==    by 0x319875: error_at(rich_location*, char const*, ...)
(diagnostic-global-context.cc:439)
==2895333==    by 0x3C2FA4: cp_parser_diagnose_invalid_type_name(cp_parser*,
tree_node*, unsigned int) [clone .lto_priv.0] [clone .cold] (parser.cc:3868)
==2895333==    by 0x26CC34C:
cp_parser_parse_and_diagnose_invalid_type_name(cp_parser*) [clone .lto_priv.0]
(parser.cc:3975)
==2895333==    by 0x1ED144E: cp_parser_member_declaration(cp_parser*) [clone
.lto_priv.0] (parser.cc:28344)
==2895333==    by 0x1E818F2: UnknownInlinedFun (parser.cc:28187)
==2895333==    by 0x1E818F2: cp_parser_class_specifier(cp_parser*) [clone
.lto_priv.0] (parser.cc:27166)
==2895333==    by 0x1E29B94: UnknownInlinedFun (parser.cc:20326)
==2895333==    by 0x1E29B94: cp_parser_decl_specifier_seq(cp_parser*, int,
cp_decl_specifier_seq*, int*) [clone .lto_priv.0] (parser.cc:16887)
==2895333==    by 0x20D2582: cp_parser_single_declaration(cp_parser*,
vec<deferred_access_check, va_gc, vl_embed>*, bool, bool, bool*) [clone
.lto_priv.0] (parser.cc:33467)
==2895333==  Address 0x3ab65cb is not stack'd, malloc'd or (recently) free'd
==2895333==
In file included from /usr/include/CGAL/Interval_nt.h:41,
                 from /usr/include/CGAL/long_double.h:27,
                 from /usr/include/CGAL/number_type_basic.h:52:
/usr/include/CGAL/Interval_traits.h: At global scope:
/usr/include/CGAL/Interval_traits.h:60:17: internal compiler error:
Segmentation fault
   60 |   typedef CGAL::Tag_false    Is_interval;
      |                 ^~~~~~~~~

Reply via email to