This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/83567] Parametrized derived types: Segmentation fault when assigning a function return value
- From: "paul.richard.thomas at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 29 Dec 2017 11:48:14 +0000
- Subject: [Bug fortran/83567] Parametrized derived types: Segmentation fault when assigning a function return value
- Auto-submitted: auto-generated
- References: <bug-83567-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83567
--- Comment #5 from paul.richard.thomas at gmail dot com <paul.richard.thomas at gmail dot com> ---
Hi Janne,
I found the problem - thanks for warning me of it.
Cheers
Paul
On 29 December 2017 at 09:25, jb at gcc dot gnu.org
<gcc-bugzilla@gcc.gnu.org> wrote:
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83567
>
> Janne Blomqvist <jb at gcc dot gnu.org> changed:
>
> What |Removed |Added
> ----------------------------------------------------------------------------
> CC| |jb at gcc dot gnu.org
>
> --- Comment #4 from Janne Blomqvist <jb at gcc dot gnu.org> ---
> It seems that the pdt_12.f03 testcase has recently started failing on
> powerpc64-unknown-linux-gnu; I noticed it yesterday so I suspect r256019.
> Running the testcase compiled with "-g" results in an abort with the message:
>
> *** Error in `./a.out': free(): invalid size: 0x00003fffdf65a8e0 ***
> [other stuff snipped]
>
>
> Notably, powerpc64-unknown-linux-gnu is a big endian target, so maybe there is
> some endianness issue here?
>
> --
> You are receiving this mail because:
> You are on the CC list for the bug.
> You are the assignee for the bug.