public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug fortran/24789] New: [gfortran] ICE when assigning to array of strings @ 2005-11-11 8:33 martin at mpa-garching dot mpg dot de 2005-11-28 21:27 ` [Bug fortran/24789] " eedelman at gcc dot gnu dot org ` (4 more replies) 0 siblings, 5 replies; 6+ messages in thread From: martin at mpa-garching dot mpg dot de @ 2005-11-11 8:33 UTC (permalink / raw) To: gcc-bugs [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #1: Type: text/plain, Size: 2377 bytes --] Current mainline gfortran ICEs on the following code: subroutine foo(vals) character(len = *), pointer :: vals(:) vals = '' end subroutine martin@linux:~/tmp> gfortran -v test.F90 Driving: gfortran -v test.F90 -lgfortranbegin -lgfortran -lm -shared-libgcc Using built-in specs. Target: x86_64-unknown-linux-gnu Configured with: /home/martin/software/gcc/configure --quiet --prefix=/home/martin/software/ugcc --enable-languages=c++,fortran Thread model: posix gcc version 4.1.0 20051111 (experimental) /home/martin/software/ugcc/libexec/gcc/x86_64-unknown-linux-gnu/4.1.0/cc1 -E -lang-fortran -traditional-cpp -D_LANGUAGE_FORTRAN -quiet -v test.F90 -mtune=k8 -o /tmp/ccchY9YK.f95 ignoring nonexistent directory "/home/martin/software/ugcc/lib/gcc/x86_64-unknown-linux-gnu/4.1.0/../../../../x86_64-unknown-linux-gnu/include" #include "..." search starts here: #include <...> search starts here: /usr/local/include /home/martin/software/ugcc/include /home/martin/software/ugcc/lib/gcc/x86_64-unknown-linux-gnu/4.1.0/include /usr/include End of search list. /home/martin/software/ugcc/libexec/gcc/x86_64-unknown-linux-gnu/4.1.0/f951 /tmp/ccchY9YK.f95 -quiet -dumpbase test.F90 -mtune=k8 -auxbase test -version -o /tmp/ccaQr9Uk.s GNU F95 version 4.1.0 20051111 (experimental) (x86_64-unknown-linux-gnu) compiled by GNU C version 4.1.0 20051111 (experimental). GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096 test.F90: In function foo: test.F90:4: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://gcc.gnu.org/bugs.html> for instructions. The Fortran compiler from the GOMP branch does not ICE on this code. This ICE may be related to PR24266, but I'm not absolutely sure, and anyway, my testcase is shorter :) -- Summary: [gfortran] ICE when assigning to array of strings Product: gcc Version: 4.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: martin at mpa-garching dot mpg dot de GCC build triplet: x86_64-unknown-linux-gnu GCC host triplet: x86_64-unknown-linux-gnu GCC target triplet: x86_64-unknown-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24789 ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug fortran/24789] [gfortran] ICE when assigning to array of strings 2005-11-11 8:33 [Bug fortran/24789] New: [gfortran] ICE when assigning to array of strings martin at mpa-garching dot mpg dot de @ 2005-11-28 21:27 ` eedelman at gcc dot gnu dot org 2005-11-30 19:41 ` pault at gcc dot gnu dot org ` (3 subsequent siblings) 4 siblings, 0 replies; 6+ messages in thread From: eedelman at gcc dot gnu dot org @ 2005-11-28 21:27 UTC (permalink / raw) To: gcc-bugs ------- Comment #1 from eedelman at gcc dot gnu dot org 2005-11-28 21:27 ------- Confirmed. Reminds a bit of PR 15809. -- eedelman at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last reconfirmed|0000-00-00 00:00:00 |2005-11-28 21:27:07 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24789 ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug fortran/24789] [gfortran] ICE when assigning to array of strings 2005-11-11 8:33 [Bug fortran/24789] New: [gfortran] ICE when assigning to array of strings martin at mpa-garching dot mpg dot de 2005-11-28 21:27 ` [Bug fortran/24789] " eedelman at gcc dot gnu dot org @ 2005-11-30 19:41 ` pault at gcc dot gnu dot org 2005-12-01 6:58 ` pault at gcc dot gnu dot org ` (2 subsequent siblings) 4 siblings, 0 replies; 6+ messages in thread From: pault at gcc dot gnu dot org @ 2005-11-30 19:41 UTC (permalink / raw) To: gcc-bugs ------- Comment #2 from pault at gcc dot gnu dot org 2005-11-30 19:41 ------- (In reply to comment #1) > Confirmed. Reminds a bit of PR 15809. > Oh woe is me! Unfortunately it is not the same. OK, I am onto it..... Paul T -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24789 ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug fortran/24789] [gfortran] ICE when assigning to array of strings 2005-11-11 8:33 [Bug fortran/24789] New: [gfortran] ICE when assigning to array of strings martin at mpa-garching dot mpg dot de 2005-11-28 21:27 ` [Bug fortran/24789] " eedelman at gcc dot gnu dot org 2005-11-30 19:41 ` pault at gcc dot gnu dot org @ 2005-12-01 6:58 ` pault at gcc dot gnu dot org 2005-12-01 7:01 ` pault at gcc dot gnu dot org 2005-12-12 20:11 ` pinskia at gcc dot gnu dot org 4 siblings, 0 replies; 6+ messages in thread From: pault at gcc dot gnu dot org @ 2005-12-01 6:58 UTC (permalink / raw) To: gcc-bugs ------- Comment #3 from pault at gcc dot gnu dot org 2005-12-01 06:58 ------- Subject: Bug 24789 Author: pault Date: Thu Dec 1 06:58:04 2005 New Revision: 107805 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=107805 Log: 2005-12-01 Paul Thomas <pault@gcc.gnu.org> PR fortran/24789 * trans-decl.c (gfc_get_symbol_decl): Move the expression for unit size of automatic character length, dummy pointer array elements down a few lines from the version that fixed PR15809. 2005-12-01 Paul Thomas <pault@gcc.gnu.org> PR fortran/24789 * gfortran.dg/auto_char_dummy_array_2.f90: New test. Added: trunk/gcc/testsuite/gfortran.dg/auto_char_dummy_array_2.f90 Modified: trunk/gcc/fortran/ChangeLog trunk/gcc/fortran/trans-decl.c trunk/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24789 ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug fortran/24789] [gfortran] ICE when assigning to array of strings 2005-11-11 8:33 [Bug fortran/24789] New: [gfortran] ICE when assigning to array of strings martin at mpa-garching dot mpg dot de ` (2 preceding siblings ...) 2005-12-01 6:58 ` pault at gcc dot gnu dot org @ 2005-12-01 7:01 ` pault at gcc dot gnu dot org 2005-12-12 20:11 ` pinskia at gcc dot gnu dot org 4 siblings, 0 replies; 6+ messages in thread From: pault at gcc dot gnu dot org @ 2005-12-01 7:01 UTC (permalink / raw) To: gcc-bugs ------- Comment #4 from pault at gcc dot gnu dot org 2005-12-01 07:01 ------- Fixed in 4.2; 4.0 and 4.1 will follow tomorrow. Paul T -- pault at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24789 ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug fortran/24789] [gfortran] ICE when assigning to array of strings 2005-11-11 8:33 [Bug fortran/24789] New: [gfortran] ICE when assigning to array of strings martin at mpa-garching dot mpg dot de ` (3 preceding siblings ...) 2005-12-01 7:01 ` pault at gcc dot gnu dot org @ 2005-12-12 20:11 ` pinskia at gcc dot gnu dot org 4 siblings, 0 replies; 6+ messages in thread From: pinskia at gcc dot gnu dot org @ 2005-12-12 20:11 UTC (permalink / raw) To: gcc-bugs -- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |4.2.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24789 ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2005-12-12 20:11 UTC | newest] Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2005-11-11 8:33 [Bug fortran/24789] New: [gfortran] ICE when assigning to array of strings martin at mpa-garching dot mpg dot de 2005-11-28 21:27 ` [Bug fortran/24789] " eedelman at gcc dot gnu dot org 2005-11-30 19:41 ` pault at gcc dot gnu dot org 2005-12-01 6:58 ` pault at gcc dot gnu dot org 2005-12-01 7:01 ` pault at gcc dot gnu dot org 2005-12-12 20:11 ` pinskia at gcc dot gnu dot org
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).