From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10981 invoked by alias); 15 Nov 2014 18:48:34 -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 10957 invoked by uid 48); 15 Nov 2014 18:48:30 -0000 From: "daniel.kruegler at googlemail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/63889] Ice with redundant static in class scope constexpr variable template. Date: Sat, 15 Nov 2014 18:48: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: 5.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: daniel.kruegler at googlemail dot com X-Bugzilla-Status: UNCONFIRMED 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: cc 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: 2014-11/txt/msg01383.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D63889 Daniel Kr=C3=BCgler changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |daniel.kruegler@googlemail. | |com --- Comment #1 from Daniel Kr=C3=BCgler --- The code example looks invalid for several reasons, but the following is a simplified example that is free of library dependencies and ICEs as well: //----------------- template struct A { template static constexpr bool is_ok =3D true; template> A(T) { } }; A p(42); //----------------- For gcc 5.0.0 20141115 (experimental) using the flags -Wall -Wextra -std=3Dc++1y -pedantic=20 I get: "prog.cc:7:21: internal compiler error: in retrieve_specialization, at cp/pt.c:1047 template> ^ 0x5d8a93 retrieve_specializati= on /home/heads/gcc/gcc-source/gcc/cp/pt.c:1047 0x5e17de instantiate_template_1 /home/heads/gcc/gcc-source/gcc/cp/pt.c:15821 0x5e17de instantiate_template(tree_node*, tree_node*, int) /home/heads/gcc/gcc-source/gcc/cp/pt.c:15915 0x6796c5 finish_template_variable(tree_node*) /home/heads/gcc/gcc-source/gcc/cp/semantics.c:2454 0x6796c5 finish_id_expression(tree_node*, tree_node*, tree_node*, cp_id_kind*, bool, bool, bool*, bool, bool, bool, bool, char const**, unsigned int) /home/heads/gcc/gcc-source/gcc/cp/semantics.c:3551 0x628e4b cp_parser_primary_expression /home/heads/gcc/gcc-source/gcc/cp/parser.c:4727 0x62c968 cp_parser_postfix_expression /home/heads/gcc/gcc-source/gcc/cp/parser.c:6089 0x6343ed cp_parser_unary_expression /home/heads/gcc/gcc-source/gcc/cp/parser.c:7370 0x6350e4 cp_parser_binary_expression /home/heads/gcc/gcc-source/gcc/cp/parser.c:8104 0x63564f cp_parser_assignment_expression /home/heads/gcc/gcc-source/gcc/cp/parser.c:= 8347 0x635ae5 cp_parser_constant_expression /home/heads/gcc/gcc-source/gcc/cp/parser.c:8593 0x63753a cp_parser_default_argument /home/heads/gcc/gcc-source/gcc/cp/parser.c:19052 0x6314b9 cp_parser_parameter_declaration /home/heads/gcc/gcc-source/gcc/cp/parser.c:18968 0x63d40b cp_parser_template_parameter /home/heads/gcc/gcc-source/gcc/cp/parser.c:132= 89 0x63d40b cp_parser_template_parameter_list /home/heads/gcc/gcc-source/gcc/cp/parser.c:13192 0x644991 cp_parser_template_declaration_after_export /home/heads/gcc/gcc-source/gcc/cp/parser.c:23445 0x6468ae cp_parser_member_declaration /home/heads/gcc/gcc-source/gcc/cp/parser.c:206= 01 0x62e53c cp_parser_member_specification_opt /home/heads/gcc/gcc-source/gcc/cp/parser.c:20528 0x62e53c cp_parser_class_specifier_1 /home/heads/gcc/gcc-source/gcc/cp/parser.c:19720 0x62e53c cp_parser_class_specifier /home/heads/gcc/gcc-source/gcc/cp/parser.c:19956 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions." >>From gcc-bugs-return-466912-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sat Nov 15 19:23:39 2014 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 25119 invoked by alias); 15 Nov 2014 19:23:39 -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 25095 invoked by uid 48); 15 Nov 2014 19:23:35 -0000 From: "arekm at maven dot pl" To: gcc-bugs@gcc.gnu.org Subject: [Bug ada/63656] a-tags.adb:82:04: warning: types for unchecked conversion have different sizes Date: Sat, 15 Nov 2014 19:23:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: ada X-Bugzilla-Version: 4.9.2 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: arekm at maven dot pl X-Bugzilla-Status: RESOLVED 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_status resolution Message-ID: In-Reply-To: References: 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: 2014-11/txt/msg01384.txt.bz2 Content-length: 515 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63656 Arkadiusz Miskiewicz changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |INVALID --- Comment #4 from Arkadiusz Miskiewicz --- Invalid system.ads was used (sparc64 version) due to local broken patch (even on x86_64).