public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/53296] New: Segfault on non-constant character array constructor containing kind spec
@ 2012-05-09 15:53 gccbgz.lionm at xoxy dot net
  2012-05-09 17:24 ` [Bug fortran/53296] " burnus at gcc dot gnu.org
  2012-05-10 11:29 ` burnus at gcc dot gnu.org
  0 siblings, 2 replies; 3+ messages in thread
From: gccbgz.lionm at xoxy dot net @ 2012-05-09 15:53 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53296

             Bug #: 53296
           Summary: Segfault on non-constant character array constructor
                    containing kind spec
    Classification: Unclassified
           Product: gcc
           Version: 4.6.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: gccbgz.lionm@xoxy.net


Created attachment 27360
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=27360
source raising the segfault

Executing the binary compiled from attached source prints:

 size          78
 arr: ABCDEGHIJ 
 size           1
Speicherzugriffsfehler (Speicherabzug geschrieben)

Besides the segfault, the array size should not change.

This is not reproducable when replacing the character(*)-type entities by
integer(INT64) nor when omitting the function call in the constructor.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-05-10 10:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-05-09 15:53 [Bug fortran/53296] New: Segfault on non-constant character array constructor containing kind spec gccbgz.lionm at xoxy dot net
2012-05-09 17:24 ` [Bug fortran/53296] " burnus at gcc dot gnu.org
2012-05-10 11:29 ` burnus at gcc dot gnu.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).