public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "danglin at gcc dot gnu.org" <gcc-bugzilla@gcc.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 [thread overview] Message-ID: <bug-54375-4@http.gcc.gnu.org/bugzilla/> (raw) 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 <http://gcc.gnu.org/bugs.html> 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 <http://gcc.gnu.org/bugs.html> 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 <http://gcc.gnu.org/bugs.html> 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 <http://gcc.gnu.org/bugs.html> 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.
next reply other threads:[~2012-08-25 16:53 UTC|newest] Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top 2012-08-25 16:53 danglin at gcc dot gnu.org [this message] 2012-08-25 17:00 ` [Bug fortran/54375] " danglin at gcc dot gnu.org 2012-08-25 17:09 ` pinskia at gcc dot gnu.org 2012-08-25 21:55 ` burnus at gcc dot gnu.org 2012-08-27 22:18 ` danglin 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-54375-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: linkBe 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).