This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/18960] [4.0 only] compiler segfault on shifting character array constants


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]