8sa1-gcc/gcc/fortran
Paul Thomas eba55d501f re PR fortran/33541 (gfortran wrongly imports renamed-use-associated symbol unrenamed)
2007-11-24  Paul Thomas  <pault@gcc.gnu.org>

	PR fortran/33541
	* module.c (find_symtree_for_symbol): Move to new location.
	(find_symbol): New function.
	(load_generic_interfaces): Rework completely so that symtrees
	have the local name and symbols have the use name.  Renamed
	generic interfaces exclude the use of the interface without an
	ONLY clause (11.3.2).
	(read_module): Implement 11.3.2 in the same way as for generic
	interfaces.

2007-11-24  Paul Thomas  <pault@gcc.gnu.org>

	PR fortran/33541
	* gfortran.dg/nested_modules_1.f90: Change the reference to
	FOO, forbidden by the standard, to a reference to W.
	* gfortran.dg/use_only_1.f90: New test.

From-SVN: r130395
2007-11-24 10:17:26 +00:00
..
arith.c arith.c (reduce_binary_aa): Fix capitalization. 2007-09-27 23:27:51 +02:00
arith.h arith.c: Change copyright header to refer to version 3 of the GNU General Public... 2007-08-01 16:29:36 +00:00
array.c re PR fortran/33276 (465.tonto in SPEC CPU 2006 fails to compile) 2007-09-02 05:23:04 -07:00
bbt.c arith.c: Change copyright header to refer to version 3 of the GNU General Public... 2007-08-01 16:29:36 +00:00
ChangeLog re PR fortran/33541 (gfortran wrongly imports renamed-use-associated symbol unrenamed) 2007-11-24 10:17:26 +00:00
ChangeLog-2002
ChangeLog-2003
ChangeLog-2004
ChangeLog-2005
ChangeLog-2006
ChangeLog.ptr
check.c re PR libfortran/34209 (run-time lib: NEAREST(0.0_8, -1.0) produces wrong numbers) 2007-11-24 00:25:01 +00:00
config-lang.in
convert.c arith.c: Change copyright header to refer to version 3 of the GNU General Public... 2007-08-01 16:29:36 +00:00
data.c gfortran.h (gfc_get_data_variable, [...]): Move to decl.c. 2007-10-05 12:33:07 +00:00
data.h gfortran.h (gfc_get_data_variable, [...]): Move to decl.c. 2007-10-05 12:33:07 +00:00
decl.c re PR fortran/34187 (BIND(C): Public generic with private bind(c) specific does not use bind(C) name) 2007-11-24 01:11:38 +01:00
dependency.c [multiple changes] 2007-10-29 15:13:44 +01:00
dependency.h arith.c: Change copyright header to refer to version 3 of the GNU General Public... 2007-08-01 16:29:36 +00:00
dump-parse-tree.c dump-parse-tree.c (show_char_const): New function. 2007-09-02 17:04:11 +02:00
error.c re PR fortran/32860 (Support %ld (for "long") for gfc_warning) 2007-08-12 20:39:18 +00:00
expr.c re PR fortran/33957 (gfortran rejects valid initialization expression) 2007-11-16 22:38:21 +00:00
f95-lang.c c-objc-common.h (LANG_HOOKS_CALLGRAPH_EXPAND_FUNCTION): Kill. 2007-09-12 09:14:44 +00:00
gfc-internals.texi
gfortran.h re PR fortran/25252 (ICE on invalid code) 2007-11-17 17:49:45 +00:00
gfortran.texi re PR fortran/33862 (Support .FTN file extension for Fortran fixed-format source files) 2007-10-27 16:43:53 +02:00
gfortranspec.c system.h (CONST_CAST2, [...]): New macros for type-specific casts. 2007-09-03 17:09:20 +00:00
interface.c re PR fortran/25252 (ICE on invalid code) 2007-11-17 17:49:45 +00:00
intrinsic.c re PR fortran/33162 (INTRINSIC functions as ACTUAL argument) 2007-10-27 00:54:20 +00:00
intrinsic.h re PR fortran/33162 (INTRINSIC functions as ACTUAL argument) 2007-10-27 00:54:20 +00:00
intrinsic.texi * intrinsic.texi (ALLOCATED): Fix typo. 2007-11-02 17:42:06 +00:00
invoke.texi invoke.texi: Fix typo in -fmax-errors=. 2007-10-26 21:59:07 +00:00
io.c re PR fortran/34108 (ICE: Segmentation fault occurs by "write(*,0)" statement) 2007-11-17 00:10:00 +00:00
ioparm.def
iresolve.c re PR libfortran/34209 (run-time lib: NEAREST(0.0_8, -1.0) produces wrong numbers) 2007-11-24 00:25:01 +00:00
iso-c-binding.def arith.c: Change copyright header to refer to version 3 of the GNU General Public... 2007-08-01 16:29:36 +00:00
iso-fortran-env.def re PR fortran/31675 (Fortran front-end and libgfortran should have a common header file) 2007-09-03 16:44:15 +00:00
lang-specs.h re PR fortran/33862 (Support .FTN file extension for Fortran fixed-format source files) 2007-10-27 16:43:53 +02:00
lang.opt re PR fortran/20441 (-finit-local-zero is missing from gfortran) 2007-09-21 02:34:14 +00:00
libgfortran.h re PR fortran/31675 (Fortran front-end and libgfortran should have a common header file) 2007-09-03 16:44:15 +00:00
Make-lang.in gfortran.h (gfc_get_data_variable, [...]): Move to decl.c. 2007-10-05 12:33:07 +00:00
match.c decl.c (match_string_p): New helper function to explicitly match a string of characters. 2007-09-02 17:44:37 +00:00
match.h re PR fortran/31154 (IMPORT fails for "<imported symbol> FUNCTION (...)" kind of procedures) 2007-10-02 07:17:01 +00:00
matchexp.c arith.c: Change copyright header to refer to version 3 of the GNU General Public... 2007-08-01 16:29:36 +00:00
mathbuiltins.def re PR libfortran/33683 (calculating lgamma instead of gamma) 2007-10-07 21:36:09 +00:00
misc.c arith.c: Change copyright header to refer to version 3 of the GNU General Public... 2007-08-01 16:29:36 +00:00
module.c re PR fortran/33541 (gfortran wrongly imports renamed-use-associated symbol unrenamed) 2007-11-24 10:17:26 +00:00
openmp.c arith.c: Change copyright header to refer to version 3 of the GNU General Public... 2007-08-01 16:29:36 +00:00
options.c re PR fortran/33862 (Support .FTN file extension for Fortran fixed-format source files) 2007-10-27 16:43:53 +02:00
parse.c gfortran.h: Shorten comment. 2007-11-03 14:51:51 +00:00
parse.h re PR fortran/31154 (IMPORT fails for "<imported symbol> FUNCTION (...)" kind of procedures) 2007-10-02 07:17:01 +00:00
primary.c primary.c (gfc_match_structure_constructor): Allow constructor for types without components. 2007-11-22 22:40:22 +01:00
resolve.c re PR fortran/34083 (internal compiler error: in gfc_conv_array_constructor_expr, at fortran/trans-expr.c:2819) 2007-11-21 18:32:40 +00:00
scanner.c re PR debug/33739 (Failure of gfortran.dg/literal_character_constant_1_*.F with -m64 -g on Darwin) 2007-11-16 22:20:44 +00:00
simplify.c re PR fortran/34192 (NEAREST can return wrong numbers) 2007-11-23 22:03:48 +01:00
st.c system.h (CONST_CAST2, [...]): New macros for type-specific casts. 2007-09-03 17:09:20 +00:00
symbol.c re PR fortran/32147 (Module file change due to order of writting out changes) 2007-10-28 19:53:27 +01:00
target-memory.c arith.c: Change copyright header to refer to version 3 of the GNU General Public... 2007-08-01 16:29:36 +00:00
target-memory.h arith.c: Change copyright header to refer to version 3 of the GNU General Public... 2007-08-01 16:29:36 +00:00
trans-array.c re PR fortran/31608 (wrong types in character array/scalar binop) 2007-11-18 17:14:40 +00:00
trans-array.h arith.c: Change copyright header to refer to version 3 of the GNU General Public... 2007-08-01 16:29:36 +00:00
trans-common.c trans-common.c (build_common_decl): Fix the alignment for BIND(C) common blocks. 2007-11-24 05:42:07 +00:00
trans-const.c arith.c: Change copyright header to refer to version 3 of the GNU General Public... 2007-08-01 16:29:36 +00:00
trans-const.h arith.c: Change copyright header to refer to version 3 of the GNU General Public... 2007-08-01 16:29:36 +00:00
trans-decl.c re PR fortran/34079 (Bind(C): Character argument/return value problems) 2007-11-22 10:55:47 +01:00
trans-expr.c re PR libfortran/34209 (run-time lib: NEAREST(0.0_8, -1.0) produces wrong numbers) 2007-11-24 00:25:01 +00:00
trans-intrinsic.c re PR libfortran/34209 (run-time lib: NEAREST(0.0_8, -1.0) produces wrong numbers) 2007-11-24 00:25:01 +00:00
trans-io.c re PR libfortran/33055 (Runtime error in INQUIRE unit existance with -fdefault-integer-8) 2007-10-15 13:55:47 +00:00
trans-openmp.c c-common.c (vector_types_convertible_p, [...]): Constify. 2007-08-25 15:10:40 +00:00
trans-stmt.c re PR fortran/34008 (ICE in gfc_trans_call, at fortran/trans-stmt.c:389 on elemental assignment) 2007-11-16 14:47:31 +00:00
trans-stmt.h arith.c: Change copyright header to refer to version 3 of the GNU General Public... 2007-08-01 16:29:36 +00:00
trans-types.c * trans-types.c (gfc_init_types): Use wider buffer. 2007-11-17 22:23:32 +00:00
trans-types.h re PR fortran/31675 (Fortran front-end and libgfortran should have a common header file) 2007-09-03 16:44:15 +00:00
trans.c re PR fortran/33592 (FAIL: gfortran.dg/array_constructor_11.f90 -O1 execution test) 2007-11-10 18:02:18 +00:00
trans.h re PR libfortran/34209 (run-time lib: NEAREST(0.0_8, -1.0) produces wrong numbers) 2007-11-24 00:25:01 +00:00
types.def arith.c: Change copyright header to refer to version 3 of the GNU General Public... 2007-08-01 16:29:36 +00:00