public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/60495] New: ICE: in fold_convert_loc, at fold-const.c:1994
@ 2014-03-10 23:34 antony at cosmologist dot info
  2014-03-11  5:52 ` [Bug fortran/60495] [4.9 Regression] " dominiq at lps dot ens.fr
                   ` (12 more replies)
  0 siblings, 13 replies; 14+ messages in thread
From: antony at cosmologist dot info @ 2014-03-10 23:34 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 60495
           Summary: ICE: in fold_convert_loc, at fold-const.c:1994
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: antony at cosmologist dot info

module A
    implicit none

    Type T
    contains
    final :: testfree
    end type

    Type, extends(T) :: T2
        real, allocatable :: Y(:)
        class(T), allocatable :: XX
    contains
    end type

    contains

    subroutine testfree(this)
    Type(T) this
    end subroutine

    subroutine Testf()
    Type(T2) A, B

        B=A
    end subroutine

    end module

TestClass.f90: In function ‘testf’:
TestClass.f90:26:0: internal compiler error: in fold_convert_loc, at
fold-const.c:1994
         B=A
 ^
0x83f3a5a fold_convert_loc(unsigned int, tree_node*, tree_node*)
    ../../gcc-trunk/gcc/fold-const.c:1993
0x8205f01 gfc_conv_descriptor_data_set(stmtblock_t*, tree_node*, tree_node*)
    ../../gcc-trunk/gcc/fortran/trans-array.c:178
0x822c5d2 gfc_conv_scalar_to_descriptor(gfc_se*, tree_node*, symbol_attribute)
    ../../gcc-trunk/gcc/fortran/trans-expr.c:74
0x820254d gfc_add_comp_finalizer_call(stmtblock_t*, tree_node*, gfc_component*,
bool)
    ../../gcc-trunk/gcc/fortran/trans.c:1012
0x820f7d5 structure_alloc_comps
    ../../gcc-trunk/gcc/fortran/trans-array.c:7622
0x822fd85 gfc_trans_scalar_assign(gfc_se*, gfc_se*, gfc_typespec, bool, bool,
bool)
    ../../gcc-trunk/gcc/fortran/trans-expr.c:6955
0x823acd0 gfc_trans_assignment_1
    ../../gcc-trunk/gcc/fortran/trans-expr.c:7999
0x823e0d5 gfc_trans_assign(gfc_code*)
    ../../gcc-trunk/gcc/fortran/trans-expr.c:8170
0x8201ffd trans_code
    ../../gcc-trunk/gcc/fortran/trans.c:1623
0x8229920 gfc_generate_function_code(gfc_namespace*)
    ../../gcc-trunk/gcc/fortran/trans-decl.c:5610
0x82036f2 gfc_generate_module_code(gfc_namespace*)
    ../../gcc-trunk/gcc/fortran/trans.c:1956
0x81c0df6 translate_all_program_units
    ../../gcc-trunk/gcc/fortran/parse.c:4523
0x81c0df6 gfc_parse_file()
    ../../gcc-trunk/gcc/fortran/parse.c:4733
0x81fd035 gfc_be_parse_file
    ../../gcc-trunk/gcc/fortran/f95-lang.c:188
Please submit a full bug report,
with preprocessed source if appropriate.
>From gcc-bugs-return-445987-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Tue Mar 11 00:43:11 2014
Return-Path: <gcc-bugs-return-445987-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 27387 invoked by alias); 11 Mar 2014 00:43:10 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 27314 invoked by uid 48); 11 Mar 2014 00:43:05 -0000
From: "jvdelisle at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libfortran/38199] [4.7/4.8/4.9 Regression] missed optimization: I/O performance
Date: Tue, 11 Mar 2014 00:43:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: libfortran
X-Bugzilla-Version: 4.4.0
X-Bugzilla-Keywords: missed-optimization
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jvdelisle at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: jvdelisle at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 4.7.4
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-38199-4-oQOoOg8Ybb@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-38199-4@http.gcc.gnu.org/bugzilla/>
References: <bug-38199-4@http.gcc.gnu.org/bugzilla/>
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-03/txt/msg00856.txt.bz2
Content-length: 480

http://gcc.gnu.org/bugzilla/show_bug.cgi?id8199

--- Comment #37 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> ---
Here on NIST I do not get any failures.  FM908 passes FM905 and FM907 require
inspection to confirm and they look good.  I only need to adjust the reference
output file that is used by the script to do the inspection for me.

Dominiq, can you try FM908 with something like Valgrind and also try different
optimization levels and see if anything odd pops up.


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

end of thread, other threads:[~2014-04-22 21:16 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-03-10 23:34 [Bug fortran/60495] New: ICE: in fold_convert_loc, at fold-const.c:1994 antony at cosmologist dot info
2014-03-11  5:52 ` [Bug fortran/60495] [4.9 Regression] " dominiq at lps dot ens.fr
2014-03-11  7:50 ` janus at gcc dot gnu.org
2014-03-11 11:40 ` rguenth at gcc dot gnu.org
2014-03-12 13:28 ` jakub at gcc dot gnu.org
2014-03-12 13:30 ` jakub at gcc dot gnu.org
2014-04-01  6:09 ` burnus at gcc dot gnu.org
2014-04-01 19:22 ` mikael at gcc dot gnu.org
2014-04-04  5:33 ` burnus at gcc dot gnu.org
2014-04-11 22:36 ` [Bug fortran/60495] [4.9/4.10 " burnus at gcc dot gnu.org
2014-04-11 22:38 ` burnus at gcc dot gnu.org
2014-04-22 11:38 ` jakub at gcc dot gnu.org
2014-04-22 21:13 ` burnus at gcc dot gnu.org
2014-04-22 21:16 ` burnus 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).