From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1479 invoked by alias); 25 Aug 2012 16:53:52 -0000 Received: (qmail 1466 invoked by uid 22791); 25 Aug 2012 16:53:48 -0000 X-SWARE-Spam-Status: No, hits=-3.6 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 25 Aug 2012 16:53:34 +0000 From: "danglin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/54375] New: FAIL: gfortran.dg/realloc_on_assign_14.f90 Date: Sat, 25 Aug 2012 16:53:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: danglin at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2012-08/txt/msg01717.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54375 Bug #: 54375 Summary: FAIL: gfortran.dg/realloc_on_assign_14.f90 Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned@gcc.gnu.org ReportedBy: danglin@gcc.gnu.org Host: hppa64-hp-hpux11.11 Target: hppa64-hp-hpux11.11 Build: hppa64-hp-hpux11.11 Executing on host: /test/gnu/gcc/objdir/gcc/testsuite/gfortran/../../gfortran -B /test/gnu/gcc/objdir/gcc/testsuite/gfortran/../../ -B/test/gnu/gcc/objdir/hppa64 -hp-hpux11.11/./libgfortran/ /test/gnu/gcc/gcc/gcc/testsuite/gfortran.dg/realloc _on_assign_14.f90 -fno-diagnostics-show-caret -O -Wrealloc-lhs-all -Wrealloc -lhs -S -o realloc_on_assign_14.s (timeout = 300) spawn /test/gnu/gcc/objdir/gcc/testsuite/gfortran/../../gfortran -B/test/gnu/gcc /objdir/gcc/testsuite/gfortran/../../ -B/test/gnu/gcc/objdir/hppa64-hp-hpux11.11 /./libgfortran/ /test/gnu/gcc/gcc/gcc/testsuite/gfortran.dg/realloc_on_assign_14 .f90 -fno-diagnostics-show-caret -O -Wrealloc-lhs-all -Wrealloc-lhs -S -o reallo c_on_assign_14.s/test/gnu/gcc/gcc/gcc/testsuite/gfortran.dg/realloc_on_assign_14.f90:17.4: b = 4 ! { dg-warning "Code for reallocating the allocatable variable" } 1Warning: Code for reallocating the allocatable variable at (1) will be added/test/gnu/gcc/gcc/gcc/testsuite/gfortran.dg/realloc_on_assign_14.f90:18:a = [b,b] ! { dg-warning "Code for reallocating the allocatable array" }1Warning: Code for reallocating the allocatable array at (1) will be added /test/gnu/gcc/gcc/gcc/testsuite/gfortran.dg/realloc_on_assign_14.f90:19: c = [t(4)] ! { dg-warning "Code for reallocating the allocatable variable" } 1 Warning: Code for reallocating the allocatable variable at (1) will be added /test/gnu/gcc/gcc/gcc/testsuite/gfortran.dg/realloc_on_assign_14.f90:22.6: str = 'abc' ! { dg-warning "Code for reallocating the allocatable variable" } 1 Warning: Code for reallocating the allocatable variable at (1) will be added /test/gnu/gcc/gcc/gcc/testsuite/gfortran.dg/realloc_on_assign_14.f90:24: astr = ['abc'] ! { dg-warning "Code for reallocating the allocatable array" } 1 Warning: Code for reallocating the allocatable array at (1) will be added /test/gnu/gcc/gcc/gcc/testsuite/gfortran.dg/realloc_on_assign_14.f90:25: a = reshape(a,shape(a)) ! { dg-warning "Code for reallocating the allocatable a 1 Warning: Code for reallocating the allocatable array at (1) will be added /test/gnu/gcc/gcc/gcc/testsuite/gfortran.dg/realloc_on_assign_14.f90:26: r = sin(r) ! { dg-warning "Code for reallocating the allocatable array" } 1 Warning: Code for reallocating the allocatable array at (1) will be added /test/gnu/gcc/gcc/gcc/testsuite/gfortran.dg/realloc_on_assign_14.f90:28.4: b = sin(r(1)) ! { dg-warning "Code for reallocating the allocatable variable" } 1 Warning: Code for reallocating the allocatable variable at (1) will be added /test/gnu/gcc/gcc/gcc/testsuite/gfortran.dg/realloc_on_assign_14.f90:30: a = nar() ! { dg-warning "Code for reallocating the allocatable array" } 1 Warning: Code for reallocating the allocatable array at (1) will be added /test/gnu/gcc/gcc/gcc/testsuite/gfortran.dg/realloc_on_assign_14.f90:31: a = nar2() ! { dg-warning "Code for reallocating the allocatable array" } 1 Warning: Code for reallocating the allocatable array at (1) will be added /test/gnu/gcc/gcc/gcc/testsuite/gfortran.dg/realloc_on_assign_14.f90: In function 'MAIN__': /test/gnu/gcc/gcc/gcc/testsuite/gfortran.dg/realloc_on_assign_14.f90:31:0: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See for instructions. compiler exited with status 1 output is: /test/gnu/gcc/gcc/gcc/testsuite/gfortran.dg/realloc_on_assign_14.f90:17.4: b = 4 ! { dg-warning "Code for reallocating the allocatable variable" } 1 Warning: Code for reallocating the allocatable variable at (1) will be added /test/gnu/gcc/gcc/gcc/testsuite/gfortran.dg/realloc_on_assign_14.f90:18: a = [b,b] ! { dg-warning "Code for reallocating the allocatable array" } 1 Warning: Code for reallocating the allocatable array at (1) will be added /test/gnu/gcc/gcc/gcc/testsuite/gfortran.dg/realloc_on_assign_14.f90:19: c = [t(4)] ! { dg-warning "Code for reallocating the allocatable variable" } 1 Warning: Code for reallocating the allocatable variable at (1) will be added /test/gnu/gcc/gcc/gcc/testsuite/gfortran.dg/realloc_on_assign_14.f90:22.6: str = 'abc' ! { dg-warning "Code for reallocating the allocatable variable" } 1 Warning: Code for reallocating the allocatable variable at (1) will be added /test/gnu/gcc/gcc/gcc/testsuite/gfortran.dg/realloc_on_assign_14.f90:24: astr = ['abc'] ! { dg-warning "Code for reallocating the allocatable array" } 1 Warning: Code for reallocating the allocatable array at (1) will be added /test/gnu/gcc/gcc/gcc/testsuite/gfortran.dg/realloc_on_assign_14.f90:25: a = reshape(a,shape(a)) ! { dg-warning "Code for reallocating the allocatable a 1 Warning: Code for reallocating the allocatable array at (1) will be added /test/gnu/gcc/gcc/gcc/testsuite/gfortran.dg/realloc_on_assign_14.f90:26: r = sin(r) ! { dg-warning "Code for reallocating the allocatable array" } 1 Warning: Code for reallocating the allocatable array at (1) will be added /test/gnu/gcc/gcc/gcc/testsuite/gfortran.dg/realloc_on_assign_14.f90:28.4: b = sin(r(1)) ! { dg-warning "Code for reallocating the allocatable variable" } 1 Warning: Code for reallocating the allocatable variable at (1) will be added /test/gnu/gcc/gcc/gcc/testsuite/gfortran.dg/realloc_on_assign_14.f90:30: a = nar() ! { dg-warning "Code for reallocating the allocatable array" } 1 Warning: Code for reallocating the allocatable array at (1) will be added /test/gnu/gcc/gcc/gcc/testsuite/gfortran.dg/realloc_on_assign_14.f90:31: a = nar2() ! { dg-warning "Code for reallocating the allocatable array" } 1 Warning: Code for reallocating the allocatable array at (1) will be added /test/gnu/gcc/gcc/gcc/testsuite/gfortran.dg/realloc_on_assign_14.f90: In function 'MAIN__': /test/gnu/gcc/gcc/gcc/testsuite/gfortran.dg/realloc_on_assign_14.f90:31:0: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See for instructions. FAIL: gfortran.dg/realloc_on_assign_14.f90 -O (internal compiler error) PASS: gfortran.dg/realloc_on_assign_14.f90 -O (test for warnings, line 17) PASS: gfortran.dg/realloc_on_assign_14.f90 -O (test for warnings, line 18) PASS: gfortran.dg/realloc_on_assign_14.f90 -O (test for warnings, line 19) PASS: gfortran.dg/realloc_on_assign_14.f90 -O (test for warnings, line 22) PASS: gfortran.dg/realloc_on_assign_14.f90 -O (test for warnings, line 24) PASS: gfortran.dg/realloc_on_assign_14.f90 -O (test for warnings, line 25) PASS: gfortran.dg/realloc_on_assign_14.f90 -O (test for warnings, line 26) PASS: gfortran.dg/realloc_on_assign_14.f90 -O (test for warnings, line 28) PASS: gfortran.dg/realloc_on_assign_14.f90 -O (test for warnings, line 30) PASS: gfortran.dg/realloc_on_assign_14.f90 -O (test for warnings, line 31) FAIL: gfortran.dg/realloc_on_assign_14.f90 -O (test for excess errors) Excess errors: /test/gnu/gcc/gcc/gcc/testsuite/gfortran.dg/realloc_on_assign_14.f90:31:0:0: internal compiler error: Segmentation fault Starting program: /test/gnu/gcc/objdir/gcc/f951 /test/gnu/gcc/gcc/gcc/testsuite/gfortran.dg/realloc_on_assign_14.f90 -quiet -dumpbase realloc_on_assign_14.f90 -auxbase-strip realloc_on_assign_14.s -O -Wrealloc-lhs-all -Wrealloc-lhs -version -fno-diagnostics-show-caret -o realloc_on_assign_14.s -fintrinsic-modules-path finclude warning: Private mapping of shared library text was not specified by the executable; setting a breakpoint in a shared library which is not privately mapped will not work. See the HP-UX 11i v3 chatr manpage for methods to privately map shared library text. GNU Fortran (GCC) version 4.8.0 20120824 (experimental) [trunk revision 190636] (hppa64-hp-hpux11.11) compiled by GNU C version 4.8.0 20120824 (experimental) [trunk revision 190636], GMP version 5.0.2, MPFR version 3.1.0-p1, MPC version 1.0 GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096 GNU Fortran (GCC) version 4.8.0 20120824 (experimental) [trunk revision 190636] (hppa64-hp-hpux11.11) compiled by GNU C version 4.8.0 20120824 (experimental) [trunk revision 190636], GMP version 5.0.2, MPFR version 3.1.0-p1, MPC version 1.0 GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096 /test/gnu/gcc/gcc/gcc/testsuite/gfortran.dg/realloc_on_assign_14.f90:17.4: b = 4 ! { dg-warning "Code for reallocating the allocatable variable" } 1 Warning: Code for reallocating the allocatable variable at (1) will be added /test/gnu/gcc/gcc/gcc/testsuite/gfortran.dg/realloc_on_assign_14.f90:18: a = [b,b] ! { dg-warning "Code for reallocating the allocatable array" } 1 Warning: Code for reallocating the allocatable array at (1) will be added /test/gnu/gcc/gcc/gcc/testsuite/gfortran.dg/realloc_on_assign_14.f90:19: c = [t(4)] ! { dg-warning "Code for reallocating the allocatable variable" } 1 Warning: Code for reallocating the allocatable variable at (1) will be added /test/gnu/gcc/gcc/gcc/testsuite/gfortran.dg/realloc_on_assign_14.f90:22.6: str = 'abc' ! { dg-warning "Code for reallocating the allocatable variable" } 1 Warning: Code for reallocating the allocatable variable at (1) will be added /test/gnu/gcc/gcc/gcc/testsuite/gfortran.dg/realloc_on_assign_14.f90:24: astr = ['abc'] ! { dg-warning "Code for reallocating the allocatable array" } 1 Warning: Code for reallocating the allocatable array at (1) will be added /test/gnu/gcc/gcc/gcc/testsuite/gfortran.dg/realloc_on_assign_14.f90:25: a = reshape(a,shape(a)) ! { dg-warning "Code for reallocating the allocatable a 1 Warning: Code for reallocating the allocatable array at (1) will be added /test/gnu/gcc/gcc/gcc/testsuite/gfortran.dg/realloc_on_assign_14.f90:26: r = sin(r) ! { dg-warning "Code for reallocating the allocatable array" } 1 Warning: Code for reallocating the allocatable array at (1) will be added /test/gnu/gcc/gcc/gcc/testsuite/gfortran.dg/realloc_on_assign_14.f90:28.4: b = sin(r(1)) ! { dg-warning "Code for reallocating the allocatable variable" } 1 Warning: Code for reallocating the allocatable variable at (1) will be added /test/gnu/gcc/gcc/gcc/testsuite/gfortran.dg/realloc_on_assign_14.f90:30: a = nar() ! { dg-warning "Code for reallocating the allocatable array" } 1 Warning: Code for reallocating the allocatable array at (1) will be added /test/gnu/gcc/gcc/gcc/testsuite/gfortran.dg/realloc_on_assign_14.f90:31: a = nar2() ! { dg-warning "Code for reallocating the allocatable array" } 1 Warning: Code for reallocating the allocatable array at (1) will be added Program received signal SIGSEGV, Segmentation fault. 0x4000000000313b0c in gfc_set_loop_bounds_from_array_spec(gfc_interface_mapping*, gfc_se*, gfc_array_spec*) () at ../../gcc/gcc/fortran/trans-array.c:794 794 ss->loop->to[n] = tmp; Similar fail: Executing on host: /test/gnu/gcc/objdir/gcc/testsuite/gfortran/../../gfortran -B/test/gnu/gcc/objdir/gcc/testsuite/gfortran/../../ -B/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/./libgfortran/ /test/gnu/gcc/gcc/gcc/testsuite/gfortran.dg/realloc_on_assign_2.f03 -fno-diagnostics-show-caret -O0 -pedantic-errors -B/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/./libgfortran/.libs -L/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/./libgfortran/.libs -L/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/./libgfortran/.libs -B/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/./libquadmath/.libs -L/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/./libquadmath/.libs -L/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/./libquadmath/.libs -lm -o ./realloc_on_assign_2.exe (timeout = 300) spawn /test/gnu/gcc/objdir/gcc/testsuite/gfortran/../../gfortran -B/test/gnu/gcc/objdir/gcc/testsuite/gfortran/../../ -B/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/./libgfortran/ /test/gnu/gcc/gcc/gcc/testsuite/gfortran.dg/realloc_on_assign_2.f03 -fno-diagnostics-show-caret -O0 -pedantic-errors -B/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/./libgfortran/.libs -L/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/./libgfortran/.libs -L/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/./libgfortran/.libs -B/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/./libquadmath/.libs -L/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/./libquadmath/.libs -L/test/gnu/gcc/objdir/hppa64-hp-hpux11.11/./libquadmath/.libs -lm -o ./realloc_on_assign_2.exe /test/gnu/gcc/gcc/gcc/testsuite/gfortran.dg/realloc_on_assign_2.f03: In function 'test5': /test/gnu/gcc/gcc/gcc/testsuite/gfortran.dg/realloc_on_assign_2.f03:110:0: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See for instructions. compiler exited with status 1 output is: /test/gnu/gcc/gcc/gcc/testsuite/gfortran.dg/realloc_on_assign_2.f03: In function 'test5': /test/gnu/gcc/gcc/gcc/testsuite/gfortran.dg/realloc_on_assign_2.f03:110:0: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See for instructions. FAIL: gfortran.dg/realloc_on_assign_2.f03 -O0 (internal compiler error) FAIL: gfortran.dg/realloc_on_assign_2.f03 -O0 (test for excess errors) Excess errors: /test/gnu/gcc/gcc/gcc/testsuite/gfortran.dg/realloc_on_assign_2.f03:110:0:0: internal compiler error: Segmentation fault This one appears to be a regression.