This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/18960] [4.0 only] compiler segfault on shifting character array constants
- From: "tkoenig at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 18 Sep 2005 09:54:35 -0000
- Subject: [Bug fortran/18960] [4.0 only] compiler segfault on shifting character array constants
- References: <20041213162416.18960.Thomas.Koenig@online.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From tkoenig at gcc dot gnu dot org 2005-09-18 09:54 -------
Not fixed in 4.0:
$ cat pr18960.f90
print *,eoshift((/'h', 'e', 'l', 'l', 'o'/), 3)
end
$ gfortran pr18960.f90
pr18960.f90: In function 'MAIN__':
pr18960.f90:1: 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.
$ gfortran -v
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: ../gcc-4.0/configure --prefix=/home/ig25
--enable-languages=c,fortran
Thread model: posix
gcc version 4.0.2 20050917 (prerelease)
--
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Known to fail| |4.0.2
Known to work| |4.1.0
Resolution|FIXED |
Summary|compiler segfault on |[4.0 only] compiler segfault
|shifting character array |on shifting character array
|constants |constants
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18960