public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/65811] New: ice in vague_linkage_p
@ 2015-04-20 10:27 dcb314 at hotmail dot com
  2015-04-20 11:38 ` [Bug c++/65811] [6 Regression] " mpolacek at gcc dot gnu.org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: dcb314 at hotmail dot com @ 2015-04-20 10:27 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 65811
           Summary: ice in vague_linkage_p
           Product: gcc
           Version: 6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dcb314 at hotmail dot com

Created attachment 35364
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35364&action=edit
gzipped C++ source code

The attached code, when compiled by gcc trunk dated 20150418, does this

xcsv_tokens.in: In function ‘xt_mapping* in_word_set(const char*, unsigned
int)’
:
xcsv_tokens.in:28:5: internal compiler error: in vague_linkage_p, at
cp/decl2.c:
1866
0x703cde vague_linkage_p(tree_node*)
    ../../src/trunk/gcc/cp/decl2.c:1866
0x63230c maybe_commonize_var(tree_node*)
    ../../src/trunk/gcc/cp/decl.c:5200
0x65fff5 cp_finish_decl(tree_node*, tree_node*, bool, tree_node*, int)
    ../../src/trunk/gcc/cp/decl.c:6692
0x750d6e cp_parser_init_declarator
    ../../src/trunk/gcc/cp/parser.c:17280
>From gcc-bugs-return-484048-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 20 10:30:52 2015
Return-Path: <gcc-bugs-return-484048-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 11517 invoked by alias); 20 Apr 2015 10:30:52 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 11131 invoked by uid 48); 20 Apr 2015 10:30:48 -0000
From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/65811] [6 Regression] ice in vague_linkage_p
Date: Mon, 20 Apr 2015 10:30:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: c++
X-Bugzilla-Version: 6.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: mpolacek at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc target_milestone short_desc everconfirmed
Message-ID: <bug-65811-4-7J5g3cxnga@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-65811-4@http.gcc.gnu.org/bugzilla/>
References: <bug-65811-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-04/txt/msg01600.txt.bz2
Content-length: 749

https://gcc.gnu.org/bugzilla/show_bug.cgi?ide811

Marek Polacek <mpolacek at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2015-04-20
                 CC|                            |mpolacek at gcc dot gnu.org
   Target Milestone|---                         |6.0
            Summary|ice in vague_linkage_p      |[6 Regression] ice in
                   |                            |vague_linkage_p
     Ever confirmed|0                           |1

--- Comment #1 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Confirmed.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug c++/65811] [6 Regression] ice in vague_linkage_p
  2015-04-20 10:27 [Bug c++/65811] New: ice in vague_linkage_p dcb314 at hotmail dot com
@ 2015-04-20 11:38 ` mpolacek at gcc dot gnu.org
  2015-04-20 12:01 ` mpolacek at gcc dot gnu.org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: mpolacek at gcc dot gnu.org @ 2015-04-20 11:38 UTC (permalink / raw)
  To: gcc-bugs

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

Marek Polacek <mpolacek at gcc dot gnu.org> changed:

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

--- Comment #2 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Started with r222134.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug c++/65811] [6 Regression] ice in vague_linkage_p
  2015-04-20 10:27 [Bug c++/65811] New: ice in vague_linkage_p dcb314 at hotmail dot com
  2015-04-20 11:38 ` [Bug c++/65811] [6 Regression] " mpolacek at gcc dot gnu.org
@ 2015-04-20 12:01 ` mpolacek at gcc dot gnu.org
  2015-06-23 22:09 ` paolo.carlini at oracle dot com
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: mpolacek at gcc dot gnu.org @ 2015-04-20 12:01 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
struct foo { int i; };

static void fn1 ();
inline void
fn1 ()
{
  static struct foo a[1];
}


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug c++/65811] [6 Regression] ice in vague_linkage_p
  2015-04-20 10:27 [Bug c++/65811] New: ice in vague_linkage_p dcb314 at hotmail dot com
  2015-04-20 11:38 ` [Bug c++/65811] [6 Regression] " mpolacek at gcc dot gnu.org
  2015-04-20 12:01 ` mpolacek at gcc dot gnu.org
@ 2015-06-23 22:09 ` paolo.carlini at oracle dot com
  2015-06-24  9:22 ` paolo at gcc dot gnu.org
  2015-06-24  9:24 ` paolo.carlini at oracle dot com
  4 siblings, 0 replies; 6+ messages in thread
From: paolo.carlini at oracle dot com @ 2015-06-23 22:09 UTC (permalink / raw)
  To: gcc-bugs

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

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|unassigned at gcc dot gnu.org      |paolo.carlini at oracle dot com

--- Comment #4 from Paolo Carlini <paolo.carlini at oracle dot com> ---
Mine.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug c++/65811] [6 Regression] ice in vague_linkage_p
  2015-04-20 10:27 [Bug c++/65811] New: ice in vague_linkage_p dcb314 at hotmail dot com
                   ` (2 preceding siblings ...)
  2015-06-23 22:09 ` paolo.carlini at oracle dot com
@ 2015-06-24  9:22 ` paolo at gcc dot gnu.org
  2015-06-24  9:24 ` paolo.carlini at oracle dot com
  4 siblings, 0 replies; 6+ messages in thread
From: paolo at gcc dot gnu.org @ 2015-06-24  9:22 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #5 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> ---
Author: paolo
Date: Wed Jun 24 09:21:45 2015
New Revision: 224888

URL: https://gcc.gnu.org/viewcvs?rev=224888&root=gcc&view=rev
Log:
/cp
2015-06-24  Paolo Carlini  <paolo.carlini@oracle.com>

        PR c++/65811
        * decl.c (duplicate_decls): Adjust DECL_COMDAT of newdecl.

/testsuite
2015-06-24  Paolo Carlini  <paolo.carlini@oracle.com>

        PR c++/65811
        * g++.dg/other/linkage2.C: New.

Added:
    trunk/gcc/testsuite/g++.dg/other/linkage2.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/decl.c
    trunk/gcc/testsuite/ChangeLog


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug c++/65811] [6 Regression] ice in vague_linkage_p
  2015-04-20 10:27 [Bug c++/65811] New: ice in vague_linkage_p dcb314 at hotmail dot com
                   ` (3 preceding siblings ...)
  2015-06-24  9:22 ` paolo at gcc dot gnu.org
@ 2015-06-24  9:24 ` paolo.carlini at oracle dot com
  4 siblings, 0 replies; 6+ messages in thread
From: paolo.carlini at oracle dot com @ 2015-06-24  9:24 UTC (permalink / raw)
  To: gcc-bugs

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

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED
           Assignee|paolo.carlini at oracle dot com    |unassigned at gcc dot gnu.org

--- Comment #6 from Paolo Carlini <paolo.carlini at oracle dot com> ---
Fixed.


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2015-06-24  9:24 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-20 10:27 [Bug c++/65811] New: ice in vague_linkage_p dcb314 at hotmail dot com
2015-04-20 11:38 ` [Bug c++/65811] [6 Regression] " mpolacek at gcc dot gnu.org
2015-04-20 12:01 ` mpolacek at gcc dot gnu.org
2015-06-23 22:09 ` paolo.carlini at oracle dot com
2015-06-24  9:22 ` paolo at gcc dot gnu.org
2015-06-24  9:24 ` paolo.carlini at oracle dot com

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).