[trunk<-vta] Re: [vta, trunk?, fortran] fix -g/-g0 codegen diffs in fortran
Alexandre Oliva
aoliva@redhat.com
Mon Jun 1 08:18:00 GMT 2009
On Nov 25, 2008, Alexandre Oliva <aoliva@redhat.com> wrote:
> This patch fixes 204 -fcompare-debug failures in GCC fortran
> (including libgomp) testsuites.
> It fixes two separate issues, that each cause divergence in decl uids,
> which in turn lead to optimization differences in compilations with
> and without -g.
> 1. we didn't generate range types for multidimensional arrays when not
> generating debug info
> 2. we only generated base decls for array descriptors when emitting
> debug info
> I acknowledge these changes are somewhat wasteful, especially the
> second part, that's most certainly too conservative, but I figured I'm
> not sufficiently familiar with this front-end to figure out a better
> way to do it.
> Suggestions?
Ok for trunk?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vta-fortran-trans-decl-no-debug-opt-decls.patch
Type: text/x-patch
Size: 3494 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20090601/86718414/attachment.bin>
-------------- next part --------------
--
Alexandre Oliva, freedom fighter http://FSFLA.org/~lxoliva/
You must be the change you wish to see in the world. -- Gandhi
Be Free! -- http://FSFLA.org/ FSF Latin America board member
Free Software Evangelist Red Hat Brazil Compiler Engineer
More information about the Fortran
mailing list