From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 93039 invoked by alias); 24 May 2015 02:11:32 -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 92972 invoked by uid 48); 24 May 2015 02:11:26 -0000 From: "casey.webster at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/58175] [OOP] Incorrect warning message on scalar finalizer Date: Sun, 24 May 2015 02:11:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 4.9.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: casey.webster at gmail dot com 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: --- 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: 2015-05/txt/msg02006.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D58175 Casey Webster changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |casey.webster at gmail dot= com --- Comment #5 from Casey Webster --- This bug still exists in fortran 5.1.0 (released version). My testcase end= ed up being a duplicate of the original post, so I won't repost that. % gfortran -Wall -o final_bug_2 final_bug_2.f90 final_bug_2.f90:13:6: use A 1 Warning: Only array FINAL procedures declared for derived type =E2=80=98typ= ea=E2=80=99 defined at (1), suggest also scalar one [-Wsurprising] % gfortran -v Using built-in specs. COLLECT_GCC=3D/usr/x86_64-pc-linux-gnu/gcc-bin/5.1.0/gfortran COLLECT_LTO_WRAPPER=3D/usr/libexec/gcc/x86_64-pc-linux-gnu/5.1.0/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: /var/tmp/portage/sys-devel/gcc-5.1.0/work/gcc-5.1.0/config= ure --host=3Dx86_64-pc-linux-gnu --build=3Dx86_64-pc-linux-gnu --prefix=3D/usr --bindir=3D/usr/x86_64-pc-linux-gnu/gcc-bin/5.1.0 --includedir=3D/usr/lib/gcc/x86_64-pc-linux-gnu/5.1.0/include --datadir=3D/usr/share/gcc-data/x86_64-pc-linux-gnu/5.1.0 --mandir=3D/usr/share/gcc-data/x86_64-pc-linux-gnu/5.1.0/man --infodir=3D/usr/share/gcc-data/x86_64-pc-linux-gnu/5.1.0/info --with-gxx-include-dir=3D/usr/lib/gcc/x86_64-pc-linux-gnu/5.1.0/include/g++= -v5 --with-python-dir=3D/share/gcc-data/x86_64-pc-linux-gnu/5.1.0/python --enable-objc-gc --enable-languages=3Dc,c++,java,go,objc,obj-c++,fortran --enable-obsolete --enable-secureplt --disable-werror --with-system-zlib --enable-nls --without-included-gettext --enable-checking=3Drelease --with-bugurl=3Dhttps://bugs.gentoo.org/ --with-pkgversion=3D'Gentoo 5.1.0 = p1.0, pie-0.6.3' --enable-libstdcxx-time --enable-shared --enable-threads=3Dposix --enable-__cxa_atexit --enable-clocale=3Dgnu --enable-multilib --with-multilib-list=3Dm32,m64 --disable-altivec --disable-fixed-point --enable-targets=3Dall --enable-libgomp --disable-libmudflap --disable-libs= sp --enable-libcilkrts --enable-lto --with-isl --disable-isl-version-check --enable-libsanitizer Thread model: posix gcc version 5.1.0 (Gentoo 5.1.0 p1.0, pie-0.6.3) >>From gcc-bugs-return-487167-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun May 24 05:11:23 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 1800 invoked by alias); 24 May 2015 05:11:21 -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 1767 invoked by uid 48); 24 May 2015 05:11:15 -0000 From: "jamrial at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/66270] New: ICE: canonical types differ for identical types Date: Sun, 24 May 2015 05:11:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jamrial 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 attachments.created Message-ID: 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/msg02007.txt.bz2 Content-length: 2844 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D66270 Bug ID: 66270 Summary: ICE: canonical types differ for identical types Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: jamrial at gmail dot com Target Milestone: --- Created attachment 35608 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D35608&action=3Dedit Preprocessed source as generated by -freport-bug GCC 6.0.0 svn 223625 In file included from Vec.h:3:0, from Example.cc:8: Vec8Float.h: In member function =E2=80=98avx::vec::Value& avx::= vec::operator[](std::size_t)=E2=80=99: Vec8Float.h:104:21: internal compiler error: canonical types differ for identical types avx::vec::Value* {aka float*} and float* return ymm[index]; ^ 0x72abbe comptypes(tree_node*, tree_node*, int) /home/jamrial/gcc-svn/gcc/cp/typeck.c:1423 0x745b4a ocp_convert(tree_node*, tree_node*, int, int, int) /home/jamrial/gcc-svn/gcc/cp/cvt.c:704 0x5ece73 convert_like_real /home/jamrial/gcc-svn/gcc/cp/call.c:6591 0x5f897b initialize_reference(tree_node*, tree_node*, int, int) /home/jamrial/gcc-svn/gcc/cp/call.c:9780 0x734c9c check_return_expr(tree_node*, bool*) /home/jamrial/gcc-svn/gcc/cp/typeck.c:8730 0x76fc6e finish_return_stmt(tree_node*) /home/jamrial/gcc-svn/gcc/cp/semantics.c:887 0x715a1e cp_parser_jump_statement /home/jamrial/gcc-svn/gcc/cp/parser.c:11064 0x715a1e cp_parser_statement /home/jamrial/gcc-svn/gcc/cp/parser.c:9707 0x715ff2 cp_parser_statement_seq_opt /home/jamrial/gcc-svn/gcc/cp/parser.c:10095 0x71614b cp_parser_compound_statement /home/jamrial/gcc-svn/gcc/cp/parser.c:10049 0x71637b cp_parser_function_body /home/jamrial/gcc-svn/gcc/cp/parser.c:19223 0x71637b cp_parser_ctor_initializer_opt_and_function_body /home/jamrial/gcc-svn/gcc/cp/parser.c:19259 0x717200 cp_parser_function_definition_after_declarator /home/jamrial/gcc-svn/gcc/cp/parser.c:23519 0x71a804 cp_parser_late_parsing_for_member /home/jamrial/gcc-svn/gcc/cp/parser.c:24202 0x6f58f9 cp_parser_class_specifier_1 /home/jamrial/gcc-svn/gcc/cp/parser.c:20079 0x6f58f9 cp_parser_class_specifier /home/jamrial/gcc-svn/gcc/cp/parser.c:20105 0x6f58f9 cp_parser_type_specifier /home/jamrial/gcc-svn/gcc/cp/parser.c:14734 0x708bce cp_parser_decl_specifier_seq /home/jamrial/gcc-svn/gcc/cp/parser.c:11965 0x7181f8 cp_parser_single_declaration /home/jamrial/gcc-svn/gcc/cp/parser.c:23773 0x718f3d cp_parser_explicit_specialization /home/jamrial/gcc-svn/gcc/cp/parser.c:14630 >>From gcc-bugs-return-487168-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun May 24 07:42:10 2015 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 40780 invoked by alias); 24 May 2015 07:42:08 -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 40742 invoked by uid 48); 24 May 2015 07:42:03 -0000 From: "glisse at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/66270] [6 Regression] ICE: canonical types differ for identical types Date: Sun, 24 May 2015 07:42: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: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: glisse 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: 6.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on target_milestone short_desc everconfirmed 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: 2015-05/txt/msg02008.txt.bz2 Content-length: 886 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66270 Marc Glisse changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2015-05-24 Target Milestone|--- |6.0 Summary|ICE: canonical types differ |[6 Regression] ICE: |for identical types |canonical types differ for | |identical types Ever confirmed|0 |1 --- Comment #1 from Marc Glisse --- typedef float __m256 __attribute__ (( __vector_size__(32), __may_alias__ )); struct A { __m256 ymm; const float &f() const { return ymm[1]; } };