public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/58771] New: ICE in transfer_expr, at fortran/trans-io.c:2164
@ 2013-10-17 19:14 zeccav at gmail dot com
  2013-10-17 20:46 ` [Bug fortran/58771] [Regression] " kargl at gcc dot gnu.org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: zeccav at gmail dot com @ 2013-10-17 19:14 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 58771
           Summary: ICE in transfer_expr, at fortran/trans-io.c:2164
           Product: gcc
           Version: 4.8.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: zeccav at gmail dot com

With gfortran 4.8.2, the following produces an ICE in transfer_expr:

      module m
      type t
       integer g
      end type
      end
      type(t) function f() result(ff)
      use m
      end
      use m
      type(t)  f
      print *,f()
      end
!gfbug106.f: In function ‘MAIN__’:
!gfbug106.f:12:0: internal compiler error: in transfer_expr, at
fortran/trans-io.c:2164
!       print *,f()
! ^
!0x5cf016 transfer_expr
!        ../../gcc-4.8.2/gcc/fortran/trans-io.c:2164
!0x5d1ff5 gfc_trans_transfer(gfc_code*)
!        ../../gcc-4.8.2/gcc/fortran/trans-io.c:2312
!0x591a87 trans_code
!        ../../gcc-4.8.2/gcc/fortran/trans.c:1625
!0x5cfee7 build_dt
!        ../../gcc-4.8.2/gcc/fortran/trans-io.c:1835
!0x591aa7 trans_code
!        ../../gcc-4.8.2/gcc/fortran/trans.c:1597
!0x5af122 gfc_generate_function_code(gfc_namespace*)
!        ../../gcc-4.8.2/gcc/fortran/trans-decl.c:5397
!0x552a10 translate_all_program_units
!        ../../gcc-4.8.2/gcc/fortran/parse.c:4474
!0x552a10 gfc_parse_file()
!        ../../gcc-4.8.2/gcc/fortran/parse.c:4688
!0x58e155 gfc_be_parse_file
!        ../../gcc-4.8.2/gcc/fortran/f95-lang.c:189
!Please submit a full bug report,
!with preprocessed source if appropriate.
!Please include the complete backtrace with any bug report.
>From gcc-bugs-return-432067-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Oct 17 19:37:49 2013
Return-Path: <gcc-bugs-return-432067-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 25384 invoked by alias); 17 Oct 2013 19:37:48 -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 25341 invoked by uid 48); 17 Oct 2013 19:37:46 -0000
From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/51542] bootstrap failure due to uninitialized variable use in c-parser
Date: Thu, 17 Oct 2013 19:37: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: 4.7.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: mpolacek at gcc dot gnu.org
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 cc resolution
Message-ID: <bug-51542-4-6cVe5AsVKk@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-51542-4@http.gcc.gnu.org/bugzilla/>
References: <bug-51542-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: 2013-10/txt/msg01211.txt.bz2
Content-length: 520

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

Marek Polacek <mpolacek at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |mpolacek at gcc dot gnu.org
         Resolution|---                         |FIXED

--- Comment #4 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Fixed a long time ago.


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

end of thread, other threads:[~2013-11-17  8:12 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-10-17 19:14 [Bug fortran/58771] New: ICE in transfer_expr, at fortran/trans-io.c:2164 zeccav at gmail dot com
2013-10-17 20:46 ` [Bug fortran/58771] [Regression] " kargl at gcc dot gnu.org
2013-11-02 17:44 ` pault at gcc dot gnu.org
2013-11-02 18:13 ` pault at gcc dot gnu.org
2013-11-04 20:21 ` [Bug fortran/58771] [4.7/4.8/4.9 Regression] " pault at gcc dot gnu.org
2013-11-17  8:11 ` pault at gcc dot gnu.org
2013-11-17  8:12 ` pault 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).