public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug lto/67923] New: [6 Regression] ICEs in the gfortran test suite with -flto after r228680
@ 2015-10-11  8:04 dominiq at lps dot ens.fr
  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
  0 siblings, 2 replies; 3+ messages in thread
From: dominiq at lps dot ens.fr @ 2015-10-11  8:04 UTC (permalink / raw)
  To: gcc-bugs

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)


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

end of thread, other threads:[~2015-10-13  8:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-10-11  8:04 [Bug lto/67923] New: [6 Regression] ICEs in the gfortran test suite with -flto after r228680 dominiq at lps dot ens.fr
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

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).