From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27172 invoked by alias); 17 May 2015 07:31:35 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 27132 invoked by uid 48); 17 May 2015 07:31:30 -0000 From: "trippels at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug lto/66027] lto1: internal compiler error: in odr_types_equivalent_p Date: Sun, 17 May 2015 07:31:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: lto X-Bugzilla-Version: 5.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: trippels at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 5.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cc cf_known_to_work target_milestone cf_known_to_fail Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-05/txt/msg01302.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D66027 Markus Trippelsdorf changed: What |Removed |Added ---------------------------------------------------------------------------- Status|WAITING |NEW CC| |trippels at gcc dot gnu.org Known to work| |6.0 Target Milestone|--- |5.2 Known to fail| |5.0 --- Comment #6 from Markus Trippelsdorf --- Confirmed. Linking CXX executable ../../bin/llvm-dsymutil [100%] Built target clang-format=20=20 constant 64> unit size constant 8> align 8 symtab 0 alias set -1 canonical type 0x3fff85f1c438> lto1: internal compiler error: in odr_types_equivalent_p, at ipa-devirt.c:1= 543 Please submit a full bug report, with preprocessed source if appropriate. See for instructions. lto-wrapper: fatal error: /home/trippels/gcc_5/usr/local/bin/g++ returned 1 exit status compilation terminated. /home/trippels/bin/ld: fatal error: lto-wrapper failed collect2: error: ld returned 1 exit status tools/clang/tools/diagtool/CMakeFiles/diagtool.dir/build.make:228: recipe f= or target 'bin/diagtool' failed make[2]: *** [bin/diagtool] Error 1 CMakeFiles/Makefile2:14311: recipe for target 'tools/clang/tools/diagtool/CMakeFiles/diagtool.dir/all' failed make[1]: *** [tools/clang/tools/diagtool/CMakeFiles/diagtool.dir/all] Error= 2 make[1]: *** Waiting for unfinished jobs.... Linking CXX executable ../../../../bin/clang constant 64> unit size constant 8> align 8 symtab 0 alias set -1 canonical type 0x3fff7fddac98> lto1: internal compiler error: in odr_types_equivalent_p, at ipa-devirt.c:1= 543 Please submit a full bug report, with preprocessed source if appropriate. See for instructions. lto-wrapper: fatal error: /home/trippels/gcc_5/usr/local/bin/g++ returned 1 exit status compilation terminated. /home/trippels/bin/ld: fatal error: lto-wrapper failed collect2: error: ld returned 1 exit status tools/clang/tools/arcmt-test/CMakeFiles/arcmt-test.dir/build.make:108: reci= pe for target 'bin/arcmt-test' failed make[2]: *** [bin/arcmt-test] Error 1 CMakeFiles/Makefile2:14900: recipe for target 'tools/clang/tools/arcmt-test/CMakeFiles/arcmt-test.dir/all' failed make[1]: *** [tools/clang/tools/arcmt-test/CMakeFiles/arcmt-test.dir/all] E= rror 2 Linking CXX shared library ../../../../lib/libclang.so /home/trippels/llvm/include/llvm/ADT/ImmutableMap.h:26:32: warning: type = =E2=80=98const struct value_type=E2=80=99 violates one definition rule [-Wodr] typedef const std::pair value_type; ^ /home/trippels/llvm/include/llvm/ADT/ImmutableMap.h:26:32: note: a different type is defined in another translation unit typedef const std::pair value_type; ^ /home/trippels/gcc_5/usr/local/include/c++/5.0.1/bits/stl_pair.h:102:11: no= te: the first difference of corresponding definitions is field =E2=80=98second= =E2=80=99 _T2 second; /// @c second is a copy of the second obj= ect ^ /home/trippels/gcc_5/usr/local/include/c++/5.0.1/bits/stl_pair.h:102:11: no= te: a field of same name but different type is defined in another translation u= nit _T2 second; /// @c second is a copy of the second obj= ect ^ /home/trippels/llvm/tools/clang/lib/StaticAnalyzer/Checkers/SimpleStreamChe= cker.cpp:30:8: note: type =E2=80=98struct StreamState=E2=80=99 defined in anonymous namesp= ace can not match type =E2=80=98struct StreamState=E2=80=99 struct StreamState { ^ /home/trippels/llvm/tools/clang/lib/StaticAnalyzer/Checkers/StreamChecker.c= pp:29:8: note: the incompatible type defined in anonymous namespace in another translation unit struct StreamState { ^ /home/trippels/llvm/include/llvm/ADT/ImmutableMap.h:30:21: warning: type = =E2=80=98const struct data_type=E2=80=99 violates one definition rule [-Wodr] typedef const S data_type; ^ /home/trippels/llvm/include/llvm/ADT/ImmutableMap.h:30:21: note: a different type is defined in another translation unit typedef const S data_type; ^ /home/trippels/llvm/tools/clang/lib/StaticAnalyzer/Checkers/SimpleStreamChe= cker.cpp:32:32: note: the first difference of corresponding definitions is field =E2=80=98K= =E2=80=99 enum Kind { Opened, Closed } K; ^ /home/trippels/llvm/tools/clang/lib/StaticAnalyzer/Checkers/StreamChecker.c= pp:30:53: note: a field of same name but different type is defined in another transla= tion unit enum Kind { Opened, Closed, OpenFailed, Escaped } K; ^ /home/trippels/llvm/tools/clang/lib/StaticAnalyzer/Checkers/SimpleStreamChe= cker.cpp:32:8: note: type =E2=80=98Kind=E2=80=99 defined in anonymous namespace can not ma= tch type =E2=80=98Kind=E2=80=99 enum Kind { Opened, Closed } K; ^ /home/trippels/llvm/tools/clang/lib/StaticAnalyzer/Checkers/StreamChecker.c= pp:30:8: note: the incompatible type defined in anonymous namespace in another translation unit enum Kind { Opened, Closed, OpenFailed, Escaped } K; ^ constant 64> unit size constant 8> align 8 symtab 0 alias set -1 canonical type 0x3fff73bf1500> lto1: internal compiler error: in odr_types_equivalent_p, at ipa-devirt.c:1= 543 Please submit a full bug report, with preprocessed source if appropriate. >>From gcc-bugs-return-486463-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun May 17 07:46:38 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 51246 invoked by alias); 17 May 2015 07:46:37 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 51205 invoked by uid 48); 17 May 2015 07:46:33 -0000 From: "ubizjak at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/66140] ICE at extract_insn, at recog.c:2343 when compiling for alpha with gcc-5.1.1 Date: Sun, 17 May 2015 07:46:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 5.1.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ubizjak at gmail dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ubizjak at gmail dot com X-Bugzilla-Target-Milestone: 4.8.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cf_gcctarget bug_status resolution target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-05/txt/msg01303.txt.bz2 Content-length: 550 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D66140 Uro=C5=A1 Bizjak changed: What |Removed |Added ---------------------------------------------------------------------------- Target| |alpha Status|ASSIGNED |RESOLVED Resolution|--- |FIXED Target Milestone|4.9.3 |4.8.5 --- Comment #8 from Uro=C5=A1 Bizjak --- Fixed everywhere. >>From gcc-bugs-return-486464-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun May 17 09:12:35 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 57702 invoked by alias); 17 May 2015 09:12:35 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 57660 invoked by uid 48); 17 May 2015 09:12:30 -0000 From: "ubizjak at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug ipa/66181] New: [6 Regression]: /usr/include/bits/types.h:134:16: ICE: verify_type failed Date: Sun, 17 May 2015 09:12:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ipa X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ubizjak at gmail dot com 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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: 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-05/txt/msg01304.txt.bz2 Content-length: 7261 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66181 Bug ID: 66181 Summary: [6 Regression]: /usr/include/bits/types.h:134:16: ICE: verify_type failed Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: ipa Assignee: unassigned at gcc dot gnu.org Reporter: ubizjak at gmail dot com Target Milestone: --- Recent commits caused following ICE, reproducible with to-be attached source and a crosscompiler from x86_64-linux-gnu to alpha-linux-gnu: $ /ssd/uros/gcc-build-alpha/gcc/cc1plus -O2 -g -std=gnu++0x -fpreprocessed -o xxx.s stdc++.ii In file included from /usr/include/ctype.h:26:0, from /space/homedirs/uros/gcc-build/alphaev68-unknown-linux-gnu/libstdc++-v3/include/cctype:42, from /space/homedirs/uros/gcc-svn/trunk/libstdc++-v3/include/precompiled/stdc++.h:35: /usr/include/bits/types.h:134:16: error: type variant differs by TYPE_NO_FORCE_BLK. __STD_TYPE __FSID_T_TYPE __fsid_t; /* Type of file system IDs. */ ^ constant 64> unit size constant 8> align 32 symtab -884711424 alias set -1 canonical type 0x7fd1cb443348 fields asm_written no-force-blk BLK size unit size align 32 symtab -884711344 alias set -1 canonical type 0x7fd1cb443540 domain > nonlocal decl_3 BLK file /usr/include/bits/types.h line 134 col 29 size unit size align 32 offset_align 128 offset bit offset context chain nonlocal in_system_header decl_4 VOID file /usr/include/bits/types.h line 134 col 16 align 1 context result >> context full-name "struct" X() X(constX&) this=(X&) n_parents=0 use_template=0 interface-unknown chain > constant 64> unit size constant 8> align 32 symtab 0 alias set -1 canonical type 0x7fd1cb443348 fields asm_written no-force-blk BLK size unit size align 32 symtab -884711344 alias set -1 canonical type 0x7fd1cb443540 domain > nonlocal decl_3 BLK file /usr/include/bits/types.h line 134 col 29 size unit size align 32 offset_align 128 offset bit offset context chain nonlocal in_system_header decl_4 VOID file /usr/include/bits/types.h line 134 col 16 align 1 context result >> context full-name "struct" X() X(constX&) this=(X&) n_parents=0 use_template=0 interface-unknown chain > /usr/include/bits/types.h:134:16: internal compiler error: verify_type failed 0xe50e82 verify_type(tree_node const*) /home/uros/gcc-svn/trunk/gcc/tree.c:13012 0x8958c4 gen_type_die_with_usage /home/uros/gcc-svn/trunk/gcc/dwarf2out.c:20250 0x8942ad gen_decl_die /home/uros/gcc-svn/trunk/gcc/dwarf2out.c:20987 0x892983 gen_member_die /home/uros/gcc-svn/trunk/gcc/dwarf2out.c:19945 0x892983 gen_struct_or_union_type_die /home/uros/gcc-svn/trunk/gcc/dwarf2out.c:20038 0x892983 gen_tagged_type_die /home/uros/gcc-svn/trunk/gcc/dwarf2out.c:20227 0x89607d gen_type_die_with_usage /home/uros/gcc-svn/trunk/gcc/dwarf2out.c:20381 0x8942ad gen_decl_die /home/uros/gcc-svn/trunk/gcc/dwarf2out.c:20987 0x89507c dwarf2out_decl /home/uros/gcc-svn/trunk/gcc/dwarf2out.c:21397 0xb2253f rest_of_type_compilation(tree_node*, int) /home/uros/gcc-svn/trunk/gcc/passes.c:309 0x5ec7f8 finish_struct_1(tree_node*) /home/uros/gcc-svn/trunk/gcc/cp/class.c:6723 0x5eded4 finish_struct(tree_node*, tree_node*) /home/uros/gcc-svn/trunk/gcc/cp/class.c:6888 0x628662 cp_parser_class_specifier_1 /home/uros/gcc-svn/trunk/gcc/cp/parser.c:19868 0x628662 cp_parser_class_specifier /home/uros/gcc-svn/trunk/gcc/cp/parser.c:20096 0x628662 cp_parser_type_specifier /home/uros/gcc-svn/trunk/gcc/cp/parser.c:14734 0x63cf3d cp_parser_decl_specifier_seq /home/uros/gcc-svn/trunk/gcc/cp/parser.c:11965 0x6506f1 cp_parser_simple_declaration /home/uros/gcc-svn/trunk/gcc/cp/parser.c:11542 0x649973 cp_parser_block_declaration /home/uros/gcc-svn/trunk/gcc/cp/parser.c:11489 0x654522 cp_parser_declaration /home/uros/gcc-svn/trunk/gcc/cp/parser.c:11386 0x652c48 cp_parser_declaration_seq_opt /home/uros/gcc-svn/trunk/gcc/cp/parser.c:11272 Please submit a full bug report, ... Caused by one of: 2015-05-16 Jan HUbicka * toplev.c (emit_debug_global_declarations): Do not output debug info when doing slim LTO objects. 2015-05-16 Jan HUbicka * ipa-utils.h (warn_types_mismatch, odr_or_derived_type_p, odr_types_equivalent_p): Declare. (odr_type_p): Use gcc_checking_assert. (type_in_anonymous_namespace_p) Declare. (type_with_linkage_p): Declare. * common.opt (Wlto-type-mismatch): New warning. * ipa-devirt.c (compound_type_base): New function. (odr_or_derived_type_p): New function. (odr_types_equivalent_p): New function. (add_type_duplicate): Simplify. (type_with_linkage_p): Add hack to prevent false positives on C types (type_in_anonymous_namespace_p): Likewise. * tree.c (need_assembler_name_p): Use type_with_linkage. * tree.h (type_in_anonymous_namespace_p): Remove. * doc/invoke.texi (-Wlto-type-mismatch): Document 2015-05-16 Jan HUbicka * tree.c (verify_type_variant): Verify tree_base and type_common flags. (verify_type): Verify STRING_FLAG.