ICE on type bound procedures

bd satish bdsatish@gmail.com
Thu Jul 8 15:14:00 GMT 2010


Thanks Tobias, for creating the PRs.

Sorry for those line breaks. I do not know if this mailing list
accepts attachments. If permitted, from the next time, I will send the
attachment and save you some trouble.

Anyways, including the TARGET attribute still causes the segfault &
ICE.  The PR notes this fact, so it's ok. Thanks again !

-- Satish.BD



On Thu, Jul 8, 2010 at 4:06 PM, Tobias Burnus <burnus@net-b.de> wrote:
> On 07/07/2010 07:06 PM, bd satish wrote:
>> I nailed it down to one line of code (see below):
>> !       call tst%init()       !! Uncomment this for the crash to occur
>> Gfortran fails with seg fault.
>>
>
> I can reproduce this. I have now filled:
> a) A PR about the initial program, which does not segfault for me, but
> shows valgrind errors, http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44868
>
> b) A PR about your second program, which shows a couple of issues:
> (1) An ICE (segfault) with the line uncommented
> (2) A bug in the check for TARGET
> (3) Either the generated code is wrong or there is a diagnostic bug or
> the program is invalid (or a combination of those), cf. PR.
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44868
>
> Tobias
>



More information about the Fortran mailing list