public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/59959] New: [Regression 4.9] LRA ICEs on a fortran case(Suspected to be similar to pr59915)
@ 2014-01-27 14:23 belagod at gcc dot gnu.org
  2014-01-27 14:28 ` [Bug fortran/59959] " belagod at gcc dot gnu.org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: belagod at gcc dot gnu.org @ 2014-01-27 14:23 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 59959
           Summary: [Regression 4.9] LRA ICEs on a fortran case(Suspected
                    to be similar to pr59915)
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: belagod at gcc dot gnu.org

Hi,

On AArch64, I'm seeing a fortran regression that I get when I compile:

.../aarch64-none-linux-gnu/obj/gcc4/gcc/testsuite/gfortran3/../../gfortran
-B.../aarch64-none-linux-gnu/obj/gcc4/gcc/testsuite/gfortran3/../../
-B.../aarch64-none-linux-gnu/obj/gcc4/aarch64-none-linux-gnu/./libgfortran/
.../gcc/gcc/testsuite/gfortran.dg/namelist_70.f90 -fno-diagnostics-show-caret
-fdiagnostics-color=never -O0 -pedantic-errors
-B.../aarch64-none-linux-gnu/obj/gcc4/aarch64-none-linux-gnu/./libgfortran/.libs
-L.../aarch64-none-linux-gnu/obj/gcc4/aarch64-none-linux-gnu/./libgfortran/.libs
-L.../aarch64-none-linux-gnu/obj/gcc4/aarch64-none-linux-gnu/./libgfortran/.libs
-lm -o ./namelist_70.exe

This is similar to PR59915, but the same fix does not seem to fix the fortran
regression.

.../gcc/gcc/testsuite/gfortran.dg/namelist_70.f90: In function 'test3':
.../gcc/gcc/testsuite/gfortran.dg/namelist_70.f90:338:0: internal compiler
error: Maximum number of LRA constraint passes is achieved (30)

0x8b7e42 lra_constraints(bool)
.../gcc/gcc/lra-constraints.c:3933
0x8a4f9a lra(_IO_FILE*)
.../gcc/gcc/lra.c:2339
0x869af6 do_reload
.../gcc/gcc/ira.c:5457
0x869af6 rest_of_handle_reload
.../gcc/gcc/ira.c:5598
0x869af6 execute
.../gcc/gcc/ira.c:5627
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.
compiler exited with status 1


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

* [Bug fortran/59959] [Regression 4.9] LRA ICEs on a fortran case(Suspected to be similar to pr59915)
  2014-01-27 14:23 [Bug fortran/59959] New: [Regression 4.9] LRA ICEs on a fortran case(Suspected to be similar to pr59915) belagod at gcc dot gnu.org
@ 2014-01-27 14:28 ` belagod at gcc dot gnu.org
  2014-01-27 14:43 ` belagod at gcc dot gnu.org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: belagod at gcc dot gnu.org @ 2014-01-27 14:28 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Tejas Belagod <belagod at gcc dot gnu.org> ---
My aarch64-none-linux-gnu-gfortran is configrued with:

/src/gcc/configure --target=aarch64-none-linux-gnu --prefix=
--with-sysroot=/aarch64-none-linux-gnu/libc
--with-build-sysroot=/workdir/rhe5x86_64/aarch64-none-linux-gnu/install//aarch64-none-linux-gnu/libc
--enable-gnu-indirect-function --enable-shared --disable-libssp
--disable-libmudflap --with-plugin-ld=aarch64-none-linux-gnu-ld
--enable-checking=release --enable-languages=c,c++,fortran
--with-gmp=/workdir/rhe5x86_64/aarch64-none-linux-gnu/host-tools
--with-mpfr=/workdir/rhe5x86_64/aarch64-none-linux-gnu/host-tools
--with-mpc=/workdir/rhe5x86_64/aarch64-none-linux-gnu/host-tools
--with-isl=/workdir/rhe5x86_64/aarch64-none-linux-gnu/host-tools
--with-cloog=/workdir/rhe5x86_64/aarch64-none-linux-gnu/host-tools


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

* [Bug fortran/59959] [Regression 4.9] LRA ICEs on a fortran case(Suspected to be similar to pr59915)
  2014-01-27 14:23 [Bug fortran/59959] New: [Regression 4.9] LRA ICEs on a fortran case(Suspected to be similar to pr59915) belagod at gcc dot gnu.org
  2014-01-27 14:28 ` [Bug fortran/59959] " belagod at gcc dot gnu.org
@ 2014-01-27 14:43 ` belagod at gcc dot gnu.org
  2014-01-29 13:39 ` [Bug rtl-optimization/59959] [4.9 Regression] " rguenth at gcc dot gnu.org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: belagod at gcc dot gnu.org @ 2014-01-27 14:43 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Tejas Belagod <belagod at gcc dot gnu.org> ---
Looks like the same LRA issues are causing libgomp.fortran tests to ICE:

/aarch64-none-linux-gnu/obj/gcc4/gcc/xgcc
-B/aarch64-none-linux-gnu/obj/gcc4/gcc/
src/gcc/libgomp/testsuite/libgomp.fortran/vla3.f90
-B/aarch64-none-linux-gnu/obj/gcc4/aarch64-none-linux-gnu/./libgomp/
-B/aarch64-none-linux-gnu/obj/gcc4/aarch64-none-linux-gnu/./libgomp/.libs
-I/aarch64-none-linux-gnu/obj/gcc4/aarch64-none-linux-gnu/./libgomp
-Isrc/gcc/libgomp/testsuite/.. -fmessage-length=0 -fno-diagnostics-show-caret
-fdiagnostics-color=never -fopenmp
-fintrinsic-modules-path=/aarch64-none-linux-gnu/obj/gcc4/aarch64-none-linux-gnu/./libgomp
-O0
-B/aarch64-none-linux-gnu/obj/gcc4/aarch64-none-linux-gnu/./libgomp/../libgfortran/.libs
-L/aarch64-none-linux-gnu/obj/gcc4/aarch64-none-linux-gnu/./libgomp/.libs
-L/aarch64-none-linux-gnu/obj/gcc4/aarch64-none-linux-gnu/./libgomp/../libgfortran/.libs
-lgfortran -lm -o ./vla3.exe
src/gcc/libgomp/testsuite/libgomp.fortran/vla3.f90: In function 'foo':
src/gcc/libgomp/testsuite/libgomp.fortran/vla3.f90:165:0: internal compiler
error: Maximum number of LRA constraint passes is achieved (30)

0x8b8e32 lra_constraints(bool)
    src/gcc/gcc/lra-constraints.c:3959
0x8a5d9a lra(_IO_FILE*)
    src/gcc/gcc/lra.c:2339
0x86a8f6 do_reload
    src/gcc/gcc/ira.c:5457
0x86a8f6 rest_of_handle_reload
    src/gcc/gcc/ira.c:5598
0x86a8f6 execute
    src/gcc/gcc/ira.c:5627
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.
compiler exited with status 1
output is:
src/gcc/libgomp/testsuite/libgomp.fortran/vla3.f90: In function 'foo':
src/gcc/libgomp/testsuite/libgomp.fortran/vla3.f90:165:0: internal compiler
error: Maximum number of LRA constraint passes is achieved (30)

0x8b8e32 lra_constraints(bool)
    src/gcc/gcc/lra-constraints.c:3959
0x8a5d9a lra(_IO_FILE*)
    src/gcc/gcc/lra.c:2339
0x86a8f6 do_reload
    src/gcc/gcc/ira.c:5457
0x86a8f6 rest_of_handle_reload
    src/gcc/gcc/ira.c:5598
0x86a8f6 execute
    src/gcc/gcc/ira.c:5627
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.


NA->FAIL: libgomp.fortran/vla4.f90  -O0  (internal compiler error)
PASS->FAIL: libgomp.fortran/vla4.f90  -O0  (test for excess errors)
PASS->NA: libgomp.fortran/vla4.f90  -O0  execution test
NA->FAIL: libgomp.fortran/vla5.f90  -O0  (internal compiler error)
PASS->FAIL: libgomp.fortran/vla5.f90  -O0  (test for excess errors)
PASS->NA: libgomp.fortran/vla5.f90  -O0  execution test


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

* [Bug rtl-optimization/59959] [4.9 Regression] LRA ICEs on a fortran case(Suspected to be similar to pr59915)
  2014-01-27 14:23 [Bug fortran/59959] New: [Regression 4.9] LRA ICEs on a fortran case(Suspected to be similar to pr59915) belagod at gcc dot gnu.org
  2014-01-27 14:28 ` [Bug fortran/59959] " belagod at gcc dot gnu.org
  2014-01-27 14:43 ` belagod at gcc dot gnu.org
@ 2014-01-29 13:39 ` rguenth at gcc dot gnu.org
  2014-01-30 21:16 ` vmakarov at gcc dot gnu.org
  2014-01-31  3:20 ` law at redhat dot com
  4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu.org @ 2014-01-29 13:39 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ra
          Component|fortran                     |rtl-optimization
   Target Milestone|---                         |4.9.0
            Summary|[Regression 4.9] LRA ICEs   |[4.9 Regression] LRA ICEs
                   |on a fortran case(Suspected |on a fortran case(Suspected
                   |to be similar to pr59915)   |to be similar to pr59915)


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

* [Bug rtl-optimization/59959] [4.9 Regression] LRA ICEs on a fortran case(Suspected to be similar to pr59915)
  2014-01-27 14:23 [Bug fortran/59959] New: [Regression 4.9] LRA ICEs on a fortran case(Suspected to be similar to pr59915) belagod at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2014-01-29 13:39 ` [Bug rtl-optimization/59959] [4.9 Regression] " rguenth at gcc dot gnu.org
@ 2014-01-30 21:16 ` vmakarov at gcc dot gnu.org
  2014-01-31  3:20 ` law at redhat dot com
  4 siblings, 0 replies; 6+ messages in thread
From: vmakarov at gcc dot gnu.org @ 2014-01-30 21:16 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from Vladimir Makarov <vmakarov at gcc dot gnu.org> ---
Author: vmakarov
Date: Thu Jan 30 21:15:51 2014
New Revision: 207323

URL: http://gcc.gnu.org/viewcvs?rev=207323&root=gcc&view=rev
Log:
2014-01-30  Vladimir Makarov  <vmakarov@redhat.com>

    PR rtl-optimization/59959
    * lra-constrains.c (simplify_operand_subreg): Assign NO_REGS to
    any reload of register whose subreg is invalid.


Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/lra-constraints.c


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

* [Bug rtl-optimization/59959] [4.9 Regression] LRA ICEs on a fortran case(Suspected to be similar to pr59915)
  2014-01-27 14:23 [Bug fortran/59959] New: [Regression 4.9] LRA ICEs on a fortran case(Suspected to be similar to pr59915) belagod at gcc dot gnu.org
                   ` (3 preceding siblings ...)
  2014-01-30 21:16 ` vmakarov at gcc dot gnu.org
@ 2014-01-31  3:20 ` law at redhat dot com
  4 siblings, 0 replies; 6+ messages in thread
From: law at redhat dot com @ 2014-01-31  3:20 UTC (permalink / raw)
  To: gcc-bugs

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

Jeffrey A. Law <law at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |FIXED

--- Comment #4 from Jeffrey A. Law <law at redhat dot com> ---
Should be fixed by Vlad's trunk commit.


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

end of thread, other threads:[~2014-01-31  3:20 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-01-27 14:23 [Bug fortran/59959] New: [Regression 4.9] LRA ICEs on a fortran case(Suspected to be similar to pr59915) belagod at gcc dot gnu.org
2014-01-27 14:28 ` [Bug fortran/59959] " belagod at gcc dot gnu.org
2014-01-27 14:43 ` belagod at gcc dot gnu.org
2014-01-29 13:39 ` [Bug rtl-optimization/59959] [4.9 Regression] " rguenth at gcc dot gnu.org
2014-01-30 21:16 ` vmakarov at gcc dot gnu.org
2014-01-31  3:20 ` law at redhat dot com

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