[patch, fortran] use vec<> in frontend-passes.c

Steve Kargl sgk@troutmask.apl.washington.edu
Sun Aug 24 07:46:00 GMT 2014


On Sun, Aug 24, 2014 at 12:47:17AM +0200, Thomas Koenig wrote:
> Hello world,
> 
> the attached patch uses the vec<> templates instead of the
> home-grown memory management.
> 
> Did I get the style right?  I was a bit confused because, with
> the declarations used in the patch, using the vec_safe_truncate
> function failed with a failure to find the right template.
> I'm not an experienced C++ programmer, so I would appreciate a quick
> look at what I did.
> 
> Regression-tested.  No test case because there is no new
> OK for trunk?  Any other comments?
> 

Does this fix a bug in gfortran?  "If it is not broken,
don't fix it".

-- 
Steve



More information about the Gcc-patches mailing list