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++/53848] [4.8 regression] ICE in decl_linkage at ../../gcc-trunk/gcc/cp/tree.c:3215 Date: Wed, 04 Jul 2012 10:54:00 -0000 [thread overview] Message-ID: <bug-53848-4-lekSgxpfLP@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-53848-4@http.gcc.gnu.org/bugzilla/> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53848 Richard Guenther <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2012-07-04 Ever Confirmed|0 |1 --- Comment #4 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-07-04 10:53:51 UTC --- Confirmed. Program received signal SIGSEGV, Segmentation fault. 0x000000000080dbfe in decl_linkage (decl=0x7ffff6f5cd90) at /space/rguenther/src/svn/trunk/gcc/cp/tree.c:3215 3215 return decl_linkage (TYPE_NAME (DECL_CONTEXT (decl))); (gdb) l 3210 return lk_external; 3211 3212 /* Linkage of a CONST_DECL depends on the linkage of the enumeration 3213 type. */ 3214 if (TREE_CODE (decl) == CONST_DECL) 3215 return decl_linkage (TYPE_NAME (DECL_CONTEXT (decl))); 3216 3217 /* Some things that are not TREE_PUBLIC have external linkage, too. 3218 For example, on targets that don't have weak symbols, we make all 3219 template instantiations have internal linkage (in the object (gdb) call debug_tree (decl) <const_decl 0x7ffff6f5cd90 e type <integer_type 0x7ffff6f775e8 int public SI size <integer_cst 0x7ffff6f7d100 constant 32> unit size <integer_cst 0x7ffff6f7d120 constant 4> align 32 symtab 0 alias set -1 canonical type 0x7ffff6f775e8 precision 32 min <integer_cst 0x7ffff6f7d0a0 -2147483648> max <integer_cst 0x7ffff6f7d0c0 2147483647> pointer_to_this <pointer_type 0x7ffff6f852a0>> VOID file t.ii line 5 col 10 align 1 > no DECL_CONTEXT.
next prev parent reply other threads:[~2012-07-04 10:54 UTC|newest] Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top 2012-07-03 23:53 [Bug middle-end/53848] New: [4.8 regression] ICE in decl_linkage (decl=<optimized out>) " vincenzo.innocente at cern dot ch 2012-07-04 9:21 ` [Bug c++/53848] [4.8 regression] ICE in decl_linkage " rguenth at gcc dot gnu.org 2012-07-04 10:18 ` dimhen at gmail dot com 2012-07-04 10:19 ` dimhen at gmail dot com 2012-07-04 10:54 ` rguenth at gcc dot gnu.org [this message] 2012-07-04 15:25 ` hjl.tools at gmail dot com 2012-07-04 21:34 ` jason at gcc dot gnu.org 2012-07-04 21:43 ` jason 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-53848-4-lekSgxpfLP@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: linkBe 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).