public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/105652] ICE: in is_base_type, at dwarf2out.cc:13400
Date: Thu, 19 May 2022 06:21:24 +0000	[thread overview]
Message-ID: <bug-105652-4-VtWPMsrPqG@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-105652-4@http.gcc.gnu.org/bugzilla/>

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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2022-05-19
                 CC|                            |jason at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
#1  0x00000000011f808e in is_base_type (type=
    <template_type_parm 0x7ffff6689150 T>)
    at /home/rguenther/src/gcc4/gcc/dwarf2out.cc:13400
13400         gcc_unreachable ();
(gdb) l
13395         return 0;
13396
13397       default:
13398         if (is_cxx_auto (type))
13399           return 0;
13400         gcc_unreachable ();
13401       }

(gdb) bt
#0  fancy_abort (file=0x3293a38 "/home/rguenther/src/gcc4/gcc/dwarf2out.cc", 
    line=13400, 
    function=0x329ec90 <is_base_type(tree_node*)::__FUNCTION__> "is_base_type")
    at /home/rguenther/src/gcc4/gcc/diagnostic.cc:2022
#1  0x00000000011f808e in is_base_type (
    type=<template_type_parm 0x7ffff6689150 T>)
    at /home/rguenther/src/gcc4/gcc/dwarf2out.cc:13400
#2  0x00000000011fa255 in modified_type_die (
    type=<template_type_parm 0x7ffff6689150 T>, cv_quals=0, reverse=false, 
    context_die=<dw_die_ref 0x7ffff65430a0 DW_TAG_structure_type
<parent=0x7ffff6543000 DW_TAG_compile_unit>>)
    at /home/rguenther/src/gcc4/gcc/dwarf2out.cc:13884
#3  0x0000000001213da1 in add_type_attribute (
    object_die=<dw_die_ref 0x7ffff6543370 DW_TAG_template_type_param
<parent=0x7ffff65430a0 DW_TAG_structure_type>>, 
    type=<template_type_parm 0x7ffff6689150 T>, cv_quals=0, reverse=false, 
    context_die=<dw_die_ref 0x7ffff65430a0 DW_TAG_structure_type
<parent=0x7ffff6543000 DW_TAG_compile_unit>>)
    at /home/rguenther/src/gcc4/gcc/dwarf2out.cc:22298
#4  0x00000000011fb0e8 in generic_parameter_die (
    parm=<type_decl 0x7ffff66871c8 T>, 
    arg=<template_type_parm 0x7ffff6689150 T>, emit_name_p=true, 
    parent_die=<dw_die_ref 0x7ffff65430a0 DW_TAG_structure_type
<parent=0x7ffff6543000 DW_TAG_compile_unit>>)
    at /home/rguenther/src/gcc4/gcc/dwarf2out.cc:14143
#5  0x00000000011fae34 in gen_generic_params_dies (
    t=<record_type 0x7ffff66891f8 S>)
    at /home/rguenther/src/gcc4/gcc/dwarf2out.cc:14063
#6  0x0000000001223f27 in gen_scheduled_generic_parms_dies ()
    at /home/rguenther/src/gcc4/gcc/dwarf2out.cc:27824
#7  0x000000000122f990 in dwarf2out_early_finish (filename=0x457ec70 "t.ii")
    at /home/rguenther/src/gcc4/gcc/dwarf2out.cc:32943

  reply	other threads:[~2022-05-19  6:21 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-19  5:35 [Bug c++/105652] New: " hewillk at gmail dot com
2022-05-19  6:21 ` rguenth at gcc dot gnu.org [this message]
2022-05-19  7:13 ` [Bug c++/105652] " hewillk at gmail dot com
2022-05-19  8:20 ` [Bug c++/105652] [12/13 Regression] ICE: in is_base_type, at dwarf2out.cc:13400 since r12-1937-gc28e1d288ab727de marxin at gcc dot gnu.org
2022-05-20  7:02 ` rguenth at gcc dot gnu.org
2022-05-27  2:39 ` jason at gcc dot gnu.org
2022-05-28  3:44 ` cvs-commit at gcc dot gnu.org
2022-05-31 19:32 ` cvs-commit at gcc dot gnu.org
2022-05-31 19:32 ` jason at gcc dot gnu.org
2024-04-13  8:03 ` pinskia at gcc dot gnu.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-105652-4-VtWPMsrPqG@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).