public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "juergen.reuter at desy dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/58586] ICE with derived type with allocatable component passed by value
Date: Mon, 11 May 2015 10:06:00 -0000	[thread overview]
Message-ID: <bug-58586-4-4WXGLThHSv@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-58586-4@http.gcc.gnu.org/bugzilla/>

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

--- Comment #7 from Jürgen Reuter <juergen.reuter at desy dot de> ---
Hm, ok, these are not just in a single file, cannot promise that I will be able
to look into them. :(
>From gcc-bugs-return-485982-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 11 10:12:20 2015
Return-Path: <gcc-bugs-return-485982-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 66882 invoked by alias); 11 May 2015 10:12:19 -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 66833 invoked by uid 48); 11 May 2015 10:12:16 -0000
From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/66101] New: [5/6 Regression] internal compiler error: in verify_loop_structure, at cfgloop.c:1662
Date: Mon, 11 May 2015 10:12:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: tree-optimization
X-Bugzilla-Version: 6.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: mpolacek at gcc dot gnu.org
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
Message-ID: <bug-66101-4@http.gcc.gnu.org/bugzilla/>
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/msg00822.txt.bz2
Content-length: 1763

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

            Bug ID: 66101
           Summary: [5/6 Regression] internal compiler error: in
                    verify_loop_structure, at cfgloop.c:1662
           Product: gcc
           Version: 6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: mpolacek at gcc dot gnu.org
  Target Milestone: ---

$ ./cc1 -quiet -O2 o.c 
o.c: In function ‘bar’:
o.c:8:5: warning: implicit declaration of function ‘longjmp’
[-Wimplicit-function-declaration]
     longjmp ();
     ^
o.c: In function ‘foo’:
o.c:16:3: warning: implicit declaration of function ‘_setjmp’
[-Wimplicit-function-declaration]
   _setjmp ();
   ^
o.c:29:1: error: size of loop 1 should be 3, not 5
 }
 ^
o.c:29:1: internal compiler error: in verify_loop_structure, at cfgloop.c:1662
0x8437cc verify_loop_structure()
        /home/marek/src/gcc/gcc/cfgloop.c:1662
0xb9b354 loop_optimizer_init(unsigned int)
        /home/marek/src/gcc/gcc/loop-init.c:124
0xc872fa execute
        /home/marek/src/gcc/gcc/predict.c:3056
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.

int a, c, d, e;

int
bar ()
{
  int b = *(long *) 7 == 5 ? : 0;
  if (a || a > b)
    longjmp ();
  return 1;
}

void
foo ()
{
  long f;
  _setjmp ();
  for (; d; c++)
    switch (c)
      case 0:
      {
        f = bar () >> 1;
        if (e)
          goto L;
        if (bar () >> 1)
          goto L;
      }
L:
  ;
}
>From gcc-bugs-return-485984-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon May 11 10:12:41 2015
Return-Path: <gcc-bugs-return-485984-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 73596 invoked by alias); 11 May 2015 10:12:40 -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 73457 invoked by uid 48); 11 May 2015 10:12:37 -0000
From: "mpolacek at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/66101] [5/6 Regression] internal compiler error: in verify_loop_structure, at cfgloop.c:1662
Date: Mon, 11 May 2015 10:12:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: tree-optimization
X-Bugzilla-Version: 6.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: mpolacek at gcc dot gnu.org
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: 5.2
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: target_milestone
Message-ID: <bug-66101-4-SSQFPgH1fS@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-66101-4@http.gcc.gnu.org/bugzilla/>
References: <bug-66101-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: 2015-05/txt/msg00824.txt.bz2
Content-length: 292

https://gcc.gnu.org/bugzilla/show_bug.cgi?idf101

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |5.2


  parent reply	other threads:[~2015-05-11 10:06 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-30 21:57 [Bug fortran/58586] New: ICE with derived type with a polymorphic " vladimir.fuka at gmail dot com
2013-10-01 21:13 ` [Bug fortran/58586] [OOP] " burnus at gcc dot gnu.org
2014-01-05 12:34 ` dominiq at lps dot ens.fr
2014-01-05 13:53 ` [Bug fortran/58586] ICE with derived type with " janus at gcc dot gnu.org
2014-01-05 14:00 ` janus at gcc dot gnu.org
2015-04-15 18:04 ` vehre at gcc dot gnu.org
2015-05-11  9:08 ` dominiq at lps dot ens.fr
2015-05-11 10:06 ` juergen.reuter at desy dot de [this message]
2015-07-06 10:26 ` vehre at gcc dot gnu.org
2015-07-09 10:42 ` vehre 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-58586-4-4WXGLThHSv@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).