NEW GCC build failure, HEAD@143546 on native
GCC regression tester
regress@geoffk.org
Wed Jan 21 16:42:00 GMT 2009
With your recent patch, GCC HEAD revision 143546 had problems on:
native: build (NEW build failure)
Attached is build output for those targets.
The previous build was of revision 143541.
Log information for changes since the last build:
------------------------------------------------------------------------
r143546 | dodji | 2009-01-21 08:14:49 -0800 (Wed, 21 Jan 2009) | 61 lines
Changed paths:
M /trunk/gcc/ChangeLog
M /trunk/gcc/c-common.c
M /trunk/gcc/c-decl.c
M /trunk/gcc/cp/ChangeLog
M /trunk/gcc/cp/cp-tree.h
M /trunk/gcc/cp/decl.c
M /trunk/gcc/cp/decl2.c
M /trunk/gcc/cp/name-lookup.c
M /trunk/gcc/cp/pt.c
M /trunk/gcc/cp/semantics.c
M /trunk/gcc/testsuite/ChangeLog
M /trunk/gcc/testsuite/g++.dg/template/access11.C
M /trunk/gcc/testsuite/g++.dg/template/sfinae3.C
A /trunk/gcc/testsuite/g++.dg/template/typedef11.C
A /trunk/gcc/testsuite/g++.dg/template/typedef12.C
A /trunk/gcc/testsuite/g++.dg/template/typedef13.C
A /trunk/gcc/testsuite/g++.dg/template/typedef14.C
M /trunk/gcc/testsuite/g++.old-deja/g++.pt/typename8.C
M /trunk/gcc/tree.h
M /trunk/libstdc++-v3/ChangeLog
M /trunk/libstdc++-v3/include/ext/bitmap_allocator.h
gcc/ChangeLog:
2009-01-21 Dodji Seketeli <dodji@redhat.com>
PR c++/26693
* c-decl.c: (clone_underlying_type): Move this ...
* c-common.c (set_underlying_type): ... here.
Also, make sure the function properly sets TYPE_STUB_DECL() on
the newly created typedef variant type.
(is_typedef_decl ): New entry point.
* tree.h: Added a new member member_types_needing_access_check to
struct tree_decl_non_common.
(set_underlying_type): New entry point.
(is_typedef_type): Likewise.
gcc/cp/ChangeLog/
2009-01-21 Dodji Seketeli <dodji@redhat.com>
PR c++/26693
* decl2.c (grokfield): when a typedef appears in a
class, create the typedef variant type node for it.
(save_template_attributes): Creating typedef variant type node
here is now useless.
* decl.c (grokdeclarator): If the typedef'ed struct/class was
anonymous, set the proper type name to all its type variants.
* name-lookup.c (pushdecl_maybe_friend): Reuse the
set_underlying_type function to install typedef variant types.
* cp-tree.h (MEMBER_TYPES_NEEDING_ACCESS_CHECK): New template accessor
macro.
(append_type_to_template_for_access_check): New entry points.
* semantics.c (check_accessibility_of_qualified_id):
When a typedef that is a member of a class appears in a template,
add it to the template. It will be ...
* pt.c (instantiate_class_template, instantiate_template ): ... access
checked at template instantiation time.
(tsubst): Handle the case of being called with NULL args.
(resolve_type_name_type): The type name should be the name of the
main type variant.
(append_type_to_template_for_access_check): New entry point.
gcc/testsuite/ChangeLog
2009-01-21 Dodji Seketeli <dodji@redhat.com>
PR c++/26693
* g++.dg/template/typedef11.C: New test.
* g++.dg/template/typedef12.C: Likewise.
* g++.dg/template/typedef13.C: Likewise.
* g++.dg/template/typedef14.C: Likewise.
* g++.dg/template/sfinae3.C: Compile this pedantically.
The only errors expected should be the one saying the typedef is ill
formed.
* g++.old-deja/g++.pt/typename8.C: Likewise.
* g++.dg/template/access11.C: Update this.
libstdc++-v3/ChangeLog:
2009-01-21 Dodji Seketeli <dodji@redhat.com>
* include/ext/bitmap_allocator.h: the typedefs should be made public
if we want them to be accessible. This has been revealed by the patch
that fixes PR c++/26693 in g++.
------------------------------------------------------------------------
For more information, see <http://glutton.geoffk.org/HEAD/>.
-------------- next part --------------
In file included from /home/regress/tbox/svn-gcc/libjava/jni.cc:19:
/home/regress/tbox/svn-gcc/libjava/include/jvm.h:260: internal compiler error: in gen_typedef_die, at dwarf2out.c:14665
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make[3]: *** [jni.lo] Error 1
In file included from /home/regress/tbox/svn-gcc/libjava/prims.cc:25:
/home/regress/tbox/svn-gcc/libjava/include/jvm.h:260: internal compiler error: in gen_typedef_die, at dwarf2out.c:14665
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make[3]: *** [prims.lo] Error 1
make[3]: Leaving directory `/home/regress/tbox/native/build/i686-pc-linux-gnu/libjava'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/regress/tbox/native/build/i686-pc-linux-gnu/libjava'
make[1]: *** [all-target-libjava] Error 2
make[1]: Leaving directory `/home/regress/tbox/native/build'
make: *** [bootstrap] Error 2
+ '[' -s .bad_compare ']'
+ exit 1
-------------- next part --------------
--
Geoffrey Keating <geoffk@geoffk.org>
(via an automated GCC regression-testing script.)
More information about the Gcc-regression
mailing list