2015-08-05 Paul Thomas <pault@gcc.gnu.org> PR fortran/52846 * module.c (check_access): Return true if new static flag 'dump_smod' is true.. (gfc_dump_module): Rename original 'dump_module' and call from new version. Use 'dump_smod' rather than the stack state to determine if a submodule is being processed. The new version of this procedure sets 'dump_smod' depending on the stack state and then writes both the mod and smod files if a module is being processed or just the smod for a submodule. (gfc_use_module): Eliminate the check for module_name and submodule_name being the same. * trans-decl.c (gfc_finish_var_decl, gfc_build_qualified_array, get_proc_pointer_decl): Set TREE_PUBLIC unconditionally and use the conditions to set DECL_VISIBILITY as hidden and to set as true DECL_VISIBILITY_SPECIFIED. 2015-08-05 Paul Thomas <pault@gcc.gnu.org> PR fortran/52846 * lib/fortran-modules.exp: Call cleanup-submodules from cleanup-modules. * gfortran.dg/public_private_module_2.f90: Add two XFAILS to cover the cases where private entities are no longer optimized away. * gfortran.dg/public_private_module_6.f90: Add an XFAIL for the same reason. * gfortran.dg/submodule_1.f08: Change cleanup module names. * gfortran.dg/submodule_5.f08: The same. * gfortran.dg/submodule_9.f08: The same. * gfortran.dg/submodule_10.f08: New test From-SVN: r226622
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| asan-dg.exp | Loading commit data... | |
| atomic-dg.exp | Loading commit data... | |
| c-compat.exp | Loading commit data... | |
| c-torture.exp | Loading commit data... | |
| cilk-plus-dg.exp | Loading commit data... | |
| clearcap.exp | Loading commit data... | |
| compat.exp | Loading commit data... | |
| copy-file.exp | Loading commit data... | |
| dejapatches.exp | Loading commit data... | |
| dg-pch.exp | Loading commit data... | |
| file-format.exp | Loading commit data... | |
| fortran-modules.exp | Loading commit data... | |
| fortran-torture.exp | Loading commit data... | |
| g++-dg.exp | Loading commit data... | |
| g++.exp | Loading commit data... | |
| gcc-defs.exp | Loading commit data... | |
| gcc-dg.exp | Loading commit data... | |
| gcc-gdb-test.exp | Loading commit data... | |
| gcc-simulate-thread.exp | Loading commit data... | |
| gcc.exp | Loading commit data... | |
| gcov.exp | Loading commit data... | |
| gfortran-dg.exp | Loading commit data... | |
| gfortran.exp | Loading commit data... | |
| gnat-dg.exp | Loading commit data... | |
| gnat.exp | Loading commit data... | |
| go-dg.exp | Loading commit data... | |
| go-torture.exp | Loading commit data... | |
| go.exp | Loading commit data... | |
| lto.exp | Loading commit data... | |
| mike-g++.exp | Loading commit data... | |
| mike-gcc.exp | Loading commit data... | |
| mpx-dg.exp | Loading commit data... | |
| obj-c++-dg.exp | Loading commit data... | |
| obj-c++.exp | Loading commit data... | |
| objc-dg.exp | Loading commit data... | |
| objc-torture.exp | Loading commit data... | |
| objc.exp | Loading commit data... | |
| options.exp | Loading commit data... | |
| plugin-support.exp | Loading commit data... | |
| profopt.exp | Loading commit data... | |
| prune.exp | Loading commit data... | |
| scanasm.exp | Loading commit data... | |
| scandump.exp | Loading commit data... | |
| scanipa.exp | Loading commit data... | |
| scanrtl.exp | Loading commit data... | |
| scantree.exp | Loading commit data... | |
| target-libpath.exp | Loading commit data... | |
| target-supports-dg.exp | Loading commit data... | |
| target-supports.exp | Loading commit data... | |
| target-utils.exp | Loading commit data... | |
| timeout-dg.exp | Loading commit data... | |
| timeout.exp | Loading commit data... | |
| torture-options.exp | Loading commit data... | |
| tsan-dg.exp | Loading commit data... | |
| ubsan-dg.exp | Loading commit data... | |
| wrapper.exp | Loading commit data... |