public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "loukas dot peristeras at scienomics dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/36724] New: ICE: (character pointer targets substring) Date: Thu, 03 Jul 2008 23:50:00 -0000 [thread overview] Message-ID: <bug-36724-16411@http.gcc.gnu.org/bugzilla/> (raw) The following program gives a compile time segmentation fault. !--------------------- program testfile character(LEN=132), target :: line character(LEN=1), pointer :: t read(*,'(A)') line t=>line(1:1) print*, t end !--------------------- The problem seems to be the character pointer to the substring. debian each info: ------------------------ Using built-in specs. Target: i486-linux-gnu Configured with: ../src/configure -v --enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --program-suffix=-4.1 --enable-__cxa_atexit --enable-clocale=gnu --enable-libstdcxx-debug --enable-mpfr --with-tune=i686 --enable-checking=release i486-linux-gnu Thread model: posix gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21) /usr/lib/gcc/i486-linux-gnu/4.1.2/f951 file.f90 -quiet -dumpbase file.f90 -mtune=i686 -auxbase file -version -o file.s GNU F95 version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21) (i486-linux-gnu) compiled by GNU C version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21). GGC heuristics: --param ggc-min-expand=99 --param ggc-min-heapsize=129393 file.f90:0: 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. For Debian GNU/Linux specific bug reporting instructions, see <URL:file:///usr/share/doc/gcc-4.1/README.Bugs>. ------------------------ -- Summary: ICE: (character pointer targets substring) Product: gcc Version: 4.1.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: loukas dot peristeras at scienomics dot com GCC host triplet: i686-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36724
next reply other threads:[~2008-07-03 23:50 UTC|newest] Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top 2008-07-03 23:50 loukas dot peristeras at scienomics dot com [this message] 2008-07-04 5:59 ` [Bug fortran/36724] " burnus at gcc dot gnu dot org 2008-07-04 19:03 ` loukas dot peristeras at scienomics dot com 2008-07-27 16:33 ` dfranke at gcc dot gnu dot org 2008-07-27 16:33 ` dfranke at gcc dot gnu dot 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-36724-16411@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).