On Tue, Sep 23, 2014 at 05:20:34PM +0200, Tobias Burnus wrote: > On 23.09.2014 16:27, Jakub Jelinek wrote: > >This patch changes get_array_descr_info langhook in Fortran FE not to create > >VAR_DECLs, because the langhook is only called with -g and not with -g0 > >and thus DECL_UIDs go out of sync too early. > >For VTA, we allow DECL_UID changes, but lhd_set_assembler_name sometimes > >emits DECL_UID into symbol names, so if we can avoid those early, we can > >avoid those for symbols where set assembler name langhook cares. > > > >Bootstrapped/regtested on x86_64-linux and i686-linux, ok for trunk? > > Looks good to me. Thanks for the report and the patch. Does this solve all > issues or remains there still a debug-compare issue?
The only remaining two FAILs with GCC_COMPARE_DEBUG=1 in the environment while doing check-gfortran are two tests that use compiler_options () function which apparently includes the -g/-fcompare-debug/-gtoggle etc. flags. The only fix for that would be to filter out all the debug info related options from there. Jakub