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 on valid


Hi Janus,

> > I'm getting a "gimplification failed" error followed by an ICE on the
> 
> > following reduced test case with gfortran 4.8.0 r191629:
> thanks for reporting. I can confirm this error. I have filed it in
> bugzilla with a further reduced test case:
> 
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54667
> 
> > The only PR which looks similar is PR50892:
> > 
> > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50892
> > 
> > but I have no idea if this is actually related.
> 
> At first sight I would say it's unrelated (but I might be wrong).

Thanks for confirming, and for figuring out that this is actually invalid 
code. In this case my goal was just to pass a pointer to a Fortran polymorphic 
variable through to the C-side of my code, and then be able to pass that 
pointer back later on. So, I think I can work-around the issue and avoid the 
invalid code.

Cheers,
Andrew.

-- 

* Andrew Benson: http://users.obs.carnegiescience.edu/abenson/contact.html

* Galacticus: http://sites.google.com/site/galacticusmodel


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