This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ICE with associate


> I am sorry, I sent you a wrong version( before I removed some macros).
> Please try adding -cpp -DCUSTOMSB and it should work.

Yes, when I add this I can reproduce the ICE with 4.6, 4.7 and trunk.

Could you open a PR in bugzilla, please?

Also, it would help if you could
a) remove your macros (so that no preprocessing is needed) and
b) try to reduce it a bit.

Thanks for reporting this!

Cheers,
Janus



> 2013/2/18 Janus Weil <janus@gcc.gnu.org>:
>> Hi,
>>
>>>  I get an ICE with the recent snapshot of gfortran 4.8 with the
>>> attached code. I was not succesful in making it significantly shorter,
>>> but only the last subroutine and the imported types are probably
>>> important. It goes away if I use pointers instead of the associate
>>> block in the last subroutine (CustomSolidBodies).
>>
>> I get:
>>
>>> gfortran-4.8 -cpp ice.f90
>> ice.f90:1699.32:
>>
>>     call AddBody(SolidBodiesList, SB)
>>                                 1
>> Error: Symbol 'solidbodieslist' at (1) has no IMPLICIT type
>>
>>
>> with:
>>
>> gcc version 4.8.0 20130212 (experimental) [trunk revision 195973] (GCC)
>>
>> as well as 4.6 and 4.7. Can someone else confirm the ICE with a newer
>> trunk build?
>>
>> Cheers,
>> Janus


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]