public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/67923] New: [6 Regression] ICEs in the gfortran test suite with -flto after r228680
Date: Sun, 11 Oct 2015 08:04:00 -0000	[thread overview]
Message-ID: <bug-67923-4@http.gcc.gnu.org/bugzilla/> (raw)

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

            Bug ID: 67923
           Summary: [6 Regression] ICEs in the gfortran test suite with
                    -flto after r228680
           Product: gcc
           Version: 6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: lto
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dominiq at lps dot ens.fr
                CC: hubicka at gcc dot gnu.org, pault at gcc dot gnu.org,
                    rguenth at gcc dot gnu.org
  Target Milestone: ---

Compiling the following tests with -flto on top of the other options gives ICEs

FAIL: gfortran.dg/allocatable_function_1.f90   -g -flto  (internal compiler
error)
FAIL: gfortran.dg/forall_10.f90   -g -flto  (internal compiler error)
FAIL: gfortran.dg/pr56015.f90   -g -flto  (internal compiler error)
FAIL: gfortran.dg/transfer_simplify_2.f90   -g -flto  (internal compiler error)
FAIL: gfortran.dg/trim_optimize_3.f90   -g -flto  (internal compiler error)
FAIL: gfortran.dg/trim_optimize_7.f90   -g -flto  (internal compiler error)

for both -m32 and -m64. The test

FAIL: gfortran.dg/pr46804.f90   -g -flto  (internal compiler error)

fails only with -m32.

The ICEs are of the kind

[Book15] f90/bug% gfc /opt/gcc/_clean/gcc/testsuite/gfortran.dg/pr56015.f90
-flto -Ofast -fno-inline
/opt/gcc/_clean/gcc/testsuite/gfortran.dg/pr56015.f90: In function 'foo':
/opt/gcc/_clean/gcc/testsuite/gfortran.dg/pr56015.f90:12:0: error: type
mismatch in pointer plus expression
   subroutine foo (p)
^
complex double[10] *

complex double[10] * restrict

long int

_85 = p_5(D) + 32;
/opt/gcc/_clean/gcc/testsuite/gfortran.dg/pr56015.f90:12:0: internal compiler
error: verify_gimple failed

/opt/gcc/_clean/gcc/testsuite/gfortran.dg/pr56015.f90:12:0: internal compiler
error: Abort trap: 6
gfc: internal compiler error: Abort trap: 6 (program lto1)


             reply	other threads:[~2015-10-11  8:04 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-11  8:04 dominiq at lps dot ens.fr [this message]
2015-10-12  7:42 ` [Bug lto/67923] " rguenth at gcc dot gnu.org
2015-10-13  8:35 ` dominiq at lps dot ens.fr

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-67923-4@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).