public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/66808] New: tree check fail in symbol_table::decl_assembler_name_hash
@ 2015-07-08 13:51 dcb314 at hotmail dot com
2015-07-08 13:57 ` [Bug c++/66808] " mpolacek at gcc dot gnu.org
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: dcb314 at hotmail dot com @ 2015-07-08 13:51 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66808
Bug ID: 66808
Summary: tree check fail in
symbol_table::decl_assembler_name_hash
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
Target Milestone: ---
Created attachment 35932
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35932&action=edit
gzipped C++ source code
gcc trunk dated 20150707 does this
$ ../results/bin/gcc -c -O2 bug216.cc
/home/dcb/rpmbuild/BUILD/qpid-cpp-0.32/src/qpid/sys/epoll/EpollPoller.cpp:677:2:
internal compiler error: Segmentation fault
}}
^
0xe6d3ff crash_signal
../../src/trunk/gcc/toplev.c:360
0x91fa84 tree_check(tree_node const*, char const*, int, char const*, tree_code)
../../src/trunk/gcc/tree.h:3113
0x91fa84 symbol_table::decl_assembler_name_hash(tree_node const*)
../../src/trunk/gcc/symtab.c:72
0x9265b2 symtab_node::get_for_asmname(tree_node const*)
../../src/trunk/gcc/symtab.c:872
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c++/66808] tree check fail in symbol_table::decl_assembler_name_hash
2015-07-08 13:51 [Bug c++/66808] New: tree check fail in symbol_table::decl_assembler_name_hash dcb314 at hotmail dot com
@ 2015-07-08 13:57 ` mpolacek at gcc dot gnu.org
2015-07-08 14:41 ` trippels at gcc dot gnu.org
2015-07-29 18:34 ` dcb314 at hotmail dot com
2 siblings, 0 replies; 4+ messages in thread
From: mpolacek at gcc dot gnu.org @ 2015-07-08 13:57 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66808
Marek Polacek <mpolacek at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2015-07-08
CC| |mpolacek at gcc dot gnu.org
Ever confirmed|0 |1
--- Comment #1 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Confirmed.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c++/66808] tree check fail in symbol_table::decl_assembler_name_hash
2015-07-08 13:51 [Bug c++/66808] New: tree check fail in symbol_table::decl_assembler_name_hash dcb314 at hotmail dot com
2015-07-08 13:57 ` [Bug c++/66808] " mpolacek at gcc dot gnu.org
@ 2015-07-08 14:41 ` trippels at gcc dot gnu.org
2015-07-29 18:34 ` dcb314 at hotmail dot com
2 siblings, 0 replies; 4+ messages in thread
From: trippels at gcc dot gnu.org @ 2015-07-08 14:41 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66808
--- Comment #3 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
template <typename> class A {
int *destroyThreadState_threadStatus = getThreadStatus();
int *getThreadStatus() {
static __thread int a;
return &a;
}
};
A<int> b;
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c++/66808] tree check fail in symbol_table::decl_assembler_name_hash
2015-07-08 13:51 [Bug c++/66808] New: tree check fail in symbol_table::decl_assembler_name_hash dcb314 at hotmail dot com
2015-07-08 13:57 ` [Bug c++/66808] " mpolacek at gcc dot gnu.org
2015-07-08 14:41 ` trippels at gcc dot gnu.org
@ 2015-07-29 18:34 ` dcb314 at hotmail dot com
2 siblings, 0 replies; 4+ messages in thread
From: dcb314 at hotmail dot com @ 2015-07-29 18:34 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66808
--- Comment #4 from David Binderman <dcb314 at hotmail dot com> ---
(In reply to David Binderman from comment #0)
> Created attachment 35932 [details]
> gzipped C++ source code
>
> gcc trunk dated 20150707 does this
>
> $ ../results/bin/gcc -c -O2 bug216.cc
> /home/dcb/rpmbuild/BUILD/qpid-cpp-0.32/src/qpid/sys/epoll/EpollPoller.cpp:
> 677:2: internal compiler error: Segmentation fault
> }}
> ^
> 0xe6d3ff crash_signal
> ../../src/trunk/gcc/toplev.c:360
> 0x91fa84 tree_check(tree_node const*, char const*, int, char const*,
> tree_code)
> ../../src/trunk/gcc/tree.h:3113
> 0x91fa84 symbol_table::decl_assembler_name_hash(tree_node const*)
> ../../src/trunk/gcc/symtab.c:72
> 0x9265b2 symtab_node::get_for_asmname(tree_node const*)
> ../../src/trunk/gcc/symtab.c:872
Some more detail from valgrind
==3165== Invalid read of size 8
==3165== at 0xD1A12C: make_decl_rtl(tree_node*) (varasm.c:1361)
==3165== by 0x830312: expand_expr_real_1(tree_node*, rtx_def*, machine_mode,
expand_modifier, rtx_def**, bool) (expr.c:9445)
==3165== by 0x838BB6: store_expr_with_bounds(tree_node*, rtx_def*, int,
bool, tree_node*) (expr.c:5398)
==3165== by 0x83A0DC: expand_assignment(tree_node*, tree_node*, bool)
(expr.c:5170)
...
==3165== Address 0x18 is not stack'd, malloc'd or (recently) free'd
>From gcc-bugs-return-493692-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jul 29 18:47:32 2015
Return-Path: <gcc-bugs-return-493692-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 129864 invoked by alias); 29 Jul 2015 18:47:32 -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 129824 invoked by uid 48); 29 Jul 2015 18:47:27 -0000
From: "egall at gwmail dot gwu.edu" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug bootstrap/66521] xgcc: cc1plus segfaults when compiling libstdc++-v3/src/c++11/ostream-inst.cc
Date: Wed, 29 Jul 2015 18:47:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: bootstrap
X-Bugzilla-Version: 6.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: egall at gwmail dot gwu.edu
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-66521-4-E3jl0MwJMi@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-66521-4@http.gcc.gnu.org/bugzilla/>
References: <bug-66521-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-07/txt/msg02582.txt.bz2
Content-length: 765
https://gcc.gnu.org/bugzilla/show_bug.cgi?idf521
--- Comment #5 from Eric Gallager <egall at gwmail dot gwu.edu> ---
(In reply to ctice from comment #4)
> Created attachment 36082 [details]
> Tentative patch to fix this issue.
>
> I believe the attached patch will fix this problem. I would appreciate it
> if Eric would confirm that.
>
Well, I can confirm that it gets the build past the point of failure that I
originally mentioned... now I'm seeing a different failure in
libstdc++-v3/src/filesystem/dir.cc though, but I think it's unrelated to this
one; I think I had to pass the '--disable-libstdcxx-filesystem-ts' flag to
configure last time to get past it... I'll open a new PR about it. (Your patch
should be good enough to close this one, though.)
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2015-07-29 18:34 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-07-08 13:51 [Bug c++/66808] New: tree check fail in symbol_table::decl_assembler_name_hash dcb314 at hotmail dot com
2015-07-08 13:57 ` [Bug c++/66808] " mpolacek at gcc dot gnu.org
2015-07-08 14:41 ` trippels at gcc dot gnu.org
2015-07-29 18:34 ` dcb314 at hotmail 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).