public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "pault at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/64757] [5 Regression] ICE in fold_convert_loc, at fold-const.c:2353
Date: Wed, 28 Jan 2015 13:37:00 -0000	[thread overview]
Message-ID: <bug-64757-4-jFqbpEK8vj@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-64757-4@http.gcc.gnu.org/bugzilla/>

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64757

--- Comment #8 from Paul Thomas <pault at gcc dot gnu.org> ---
(In reply to Dominique d'Humieres from comment #4)
> > It it certainly related, but I'm not sure it is an exact duplicate.
> > In particular the above PR has quite a history and includes several
> > test cases. Let's keep it separate for now.
> 
> I disagree. AFACT this PR gives the same ICE as the test in pr49213 comment
> 8 or the following variant of the original code
> 
> program main
> 
>   type :: S
>     integer :: n
>   end type
>   type(S) :: Sobj
> 
>   type, extends(S) :: S2
>     integer :: m
>   end type
>   type(S2) :: S2obj
> 
>   type :: T
>     class(S), allocatable :: x
>   end type
>   type(T) :: Tobj
> 
>   Sobj = S(1)
>   Tobj = T(Sobj)
> 
>   S2obj = S2(1,2)
>   print *, S2obj%n, S2obj%m
> 
> end program
> 
> Actually pr49213 is a collection of different bugs, one being this PR. IMO
> pr49213 should be split along the different bugs.

The patch of comment #7 fixes the above as well.

Cheers

Paul


  parent reply	other threads:[~2015-01-28 13:37 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-23 22:34 [Bug fortran/64757] New: internal compiler error: " mike at rilee dot net
2015-01-24 11:52 ` [Bug fortran/64757] " dominiq at lps dot ens.fr
2015-01-24 12:20 ` janus at gcc dot gnu.org
2015-01-24 12:24 ` [Bug fortran/64757] [5 Regression] ICE " janus at gcc dot gnu.org
2015-01-24 12:31 ` dominiq at lps dot ens.fr
2015-01-24 12:35 ` janus at gcc dot gnu.org
2015-01-24 22:25 ` janus at gcc dot gnu.org
2015-01-26 11:33 ` rguenth at gcc dot gnu.org
2015-01-28 13:37 ` pault at gcc dot gnu.org [this message]
2015-01-28 14:42 ` pault at gcc dot gnu.org
2015-01-28 16:19 ` dominiq at lps dot ens.fr
2015-02-05  8:06 ` pault at gcc dot gnu.org
2015-02-05  8:09 ` pault at gcc dot gnu.org
2015-02-05  8:45 ` burnus at gcc dot gnu.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-64757-4-jFqbpEK8vj@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).