public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/59436] New: FAIL: 17_intro/headers/c++200x/stdc++.cc (test for excess errors)
@ 2013-12-09 18:00 ubizjak at gmail dot com
  2013-12-09 18:02 ` [Bug libstdc++/59436] " ubizjak at gmail dot com
                   ` (21 more replies)
  0 siblings, 22 replies; 23+ messages in thread
From: ubizjak at gmail dot com @ 2013-12-09 18:00 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59436

            Bug ID: 59436
           Summary: FAIL: 17_intro/headers/c++200x/stdc++.cc (test for
                    excess errors)
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: ubizjak at gmail dot com

Created attachment 31403
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=31403&action=edit
Preprocessed source

Attached testcase randomly fails to compile. Following valgrind error was
obtained on x86_64-pc-linux-gnu:

$ valgrind /ssd/uros/gcc-build/gcc/cc1plus -g -O2 -std=gnu++0x -fpreprocessed
-quiet stdc++.ii 
==10906== Memcheck, a memory error detector
==10906== Copyright (C) 2002-2012, and GNU GPL'd, by Julian Seward et al.
==10906== Using Valgrind-3.8.1 and LibVEX; rerun with -h for copyright info
==10906== Command: /ssd/uros/gcc-build/gcc/cc1plus -g -O2 -std=gnu++0x
-fpreprocessed -quiet stdc++.ii
==10906== 
==10906== Invalid read of size 2
==10906==    at 0x87F8FB: rtl_for_decl_init(tree_node*, tree_node*)
(dwarf2out.c:15183)
==10906==    by 0x88F2F1: tree_add_const_value_attribute(die_struct*,
tree_node*) (dwarf2out.c:15814)
==10906==    by 0x8944B4: gen_variable_die(tree_node*, tree_node*, die_struct*)
(dwarf2out.c:18769)
==10906==    by 0x896319: gen_decl_die(tree_node*, tree_node*, die_struct*)
(dwarf2out.c:20403)
==10906==    by 0x89C2AC: declare_in_namespace(tree_node*, die_struct*)
(dwarf2out.c:20179)
==10906==    by 0x8962F1: gen_decl_die(tree_node*, tree_node*, die_struct*)
(dwarf2out.c:20390)
==10906==    by 0xB4952C: emit_debug_global_declarations(tree_node**, int)
(toplev.c:532)
==10906==    by 0x5607B0: wrapup_globals_for_namespace(tree_node*, void*)
(decl.c:883)
==10906==    by 0x55D81B: walk_namespaces_r(tree_node*, int (*)(tree_node*,
void*), void*) (decl.c:850)
==10906==    by 0x55D835: walk_namespaces_r(tree_node*, int (*)(tree_node*,
void*), void*) (decl.c:853)
==10906==    by 0x62C81F: cp_write_global_declarations() (decl2.c:4448)
==10906==    by 0xB4876C: compile_file() (toplev.c:561)
==10906==  Address 0x101 is not stack'd, malloc'd or (recently) free'd
==10906== 
In file included from
/ssd/uros/gcc-build/x86_64-unknown-linux-gnu/libstdc++-v3/include/complex.h:36:0,
                 from
/home/uros/gcc-svn/trunk/libstdc++-v3/testsuite/17_intro/headers/c++200x/stdc++.cc:30:
/usr/include/complex.h:112:1: internal compiler error: Segmentation fault
 __END_DECLS
 ^
Please submit a full bug report,
...


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

end of thread, other threads:[~2014-01-07 16:52 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-12-09 18:00 [Bug libstdc++/59436] New: FAIL: 17_intro/headers/c++200x/stdc++.cc (test for excess errors) ubizjak at gmail dot com
2013-12-09 18:02 ` [Bug libstdc++/59436] " ubizjak at gmail dot com
2013-12-09 18:14 ` ubizjak at gmail dot com
2013-12-09 18:50 ` ubizjak at gmail dot com
2013-12-12 13:36 ` jakub at gcc dot gnu.org
2013-12-13  9:53 ` ubizjak at gmail dot com
2013-12-16 16:07 ` hjl.tools at gmail dot com
2013-12-16 17:42 ` jakub at gcc dot gnu.org
2013-12-16 17:44 ` [Bug libstdc++/59436] [4.9 Regression] " jakub at gcc dot gnu.org
2013-12-16 17:57 ` hjl.tools at gmail dot com
2013-12-16 18:12 ` hjl.tools at gmail dot com
2013-12-18 12:56 ` dominiq at lps dot ens.fr
2013-12-18 14:58 ` jakub at gcc dot gnu.org
2013-12-19 10:06 ` jakub at gcc dot gnu.org
2013-12-19 21:54 ` hjl.tools at gmail dot com
2013-12-19 22:01 ` hjl.tools at gmail dot com
2013-12-19 22:12 ` hjl.tools at gmail dot com
2013-12-29  9:29 ` trippels at gcc dot gnu.org
2013-12-29  9:31 ` trippels at gcc dot gnu.org
2014-01-02 11:47 ` [Bug pch/59436] " trippels at gcc dot gnu.org
2014-01-07  7:48 ` jakub at gcc dot gnu.org
2014-01-07 16:50 ` jakub at gcc dot gnu.org
2014-01-07 16:52 ` jakub at gcc dot gnu.org

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