This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: Patch to enable unlimited polymorphism to gfortran
- From: dominiq at lps dot ens dot fr (Dominique Dhumieres)
- To: fortran at gcc dot gnu dot org
- Cc: gcc-patches at gcc dot gnu dot org, burnus at net-b dot de, paul dot richard dot thomas at gmail dot com
- Date: Wed, 19 Dec 2012 00:18:42 +0100
- Subject: Re: Patch to enable unlimited polymorphism to gfortran
Dear Paul,
With your patch applied on top of a clean revision 194590, the executable
for unlimited_polymorphic_1.f03 gives a Segmentation fault -
invalid memory reference at
Program received signal SIGSEGV, Segmentation fault.
0x0000000100001d1c in MAIN__ () at /opt/gcc/p_work/gcc/testsuite/gfortran.dg/unlimited_polymorphic_1.f03:69
69 if (SAME_TYPE_AS (obj1, u1) .neqv. .FALSE.) call abort
This segmentation fault disappears if I compile the test with
-fsanitize=address, while valgrind gives an endless
==14264== Signal 11 being dropped from thread 0's queue
Indeed this is on x86_64-apple-darwin10.
TIA
Dominique