[Bug fortran/59678] Segmentation fault on equalizing variables of a complex derived data type

2014-01-12 Thread talebi.hossein at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59678 --- Comment #9 from Hossein Talebi talebi.hossein at gmail dot com --- I looked at it in more details by overloading the automatic assignment (=) with a self written one and I found the problem. This is a minimalistic example that the program

[Bug fortran/59678] Segmentation fault on equalizing variables of a complex derived data type

2014-01-12 Thread talebi.hossein at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59678 --- Comment #10 from Hossein Talebi talebi.hossein at gmail dot com --- I forgot to say, when I allocate the variables manually and then do assignment, it works fine.

[Bug fortran/59678] Segmentation fault on equalizing variables of a complex derived data type

2014-01-05 Thread janus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59678 janus at gcc dot gnu.org changed: What|Removed |Added CC||janus at gcc dot gnu.org ---

[Bug fortran/59678] Segmentation fault on equalizing variables of a complex derived data type

2014-01-05 Thread talebi.hossein at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59678 --- Comment #2 from Hossein Talebi talebi.hossein at gmail dot com --- I tried but I could not get it with a simple test case. It will take me 1-2 full days until I reduce my code to a minimalistic example. I know you GCC guys don't like this

[Bug fortran/59678] Segmentation fault on equalizing variables of a complex derived data type

2014-01-05 Thread janus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59678 --- Comment #3 from janus at gcc dot gnu.org --- (In reply to Hossein Talebi from comment #2) I tried but I could not get it with a simple test case. It will take me 1-2 full days until I reduce my code to a minimalistic example. A gfortran

[Bug fortran/59678] Segmentation fault on equalizing variables of a complex derived data type

2014-01-05 Thread talebi.hossein at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59678 --- Comment #4 from Hossein Talebi talebi.hossein at gmail dot com --- Created attachment 31574 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=31574action=edit test case, permix.f90 and the external Please replace the contents of permix.f90

[Bug fortran/59678] Segmentation fault on equalizing variables of a complex derived data type

2014-01-05 Thread dominiq at lps dot ens.fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59678 Dominique d'Humieres dominiq at lps dot ens.fr changed: What|Removed |Added Status|UNCONFIRMED |WAITING

[Bug fortran/59678] Segmentation fault on equalizing variables of a complex derived data type

2014-01-05 Thread talebi.hossein at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59678 --- Comment #6 from Hossein Talebi talebi.hossein at gmail dot com --- Thank you for trying it. Please spend 5 minutes to read and follow this. I have attached a zip files in proper folder which you have to overwrite to your local copy of PERMIX.

[Bug fortran/59678] Segmentation fault on equalizing variables of a complex derived data type

2014-01-05 Thread dominiq at lps dot ens.fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59678 --- Comment #7 from Dominique d'Humieres dominiq at lps dot ens.fr --- After some trial and error steps I have been able to build an executable with gfortran 4.8.2 on x86_64-apple-darwin13. Its output is PERMIX 28 July 2013

[Bug fortran/59678] Segmentation fault on equalizing variables of a complex derived data type

2014-01-05 Thread talebi.hossein at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59678 --- Comment #8 from Hossein Talebi talebi.hossein at gmail dot com --- Basically it is similar. Below is the output and error message in Ubuntu x64 13.1 using GCC 4.8.1. You get a little more information though. PERMIX 28 July 2013