summaryrefslogtreecommitdiff
path: root/gcc/fortran
Commit message (Collapse)AuthorAgeFilesLines
* * gcc.c (process_command): Update copyright notice dates.jakub2009-02-032-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | | * gcov.c (print_version): Likewise. * gcov-dump.c (print_version): Likewise. * mips-tfile.c (main): Likewise. * mips-tdump.c (main): Likewise. * gfortranspec.c (lang_specific_driver): Update copyright notice dates. * jcf-dump.c (version): Update copyright notice dates. * mf-runtime.c (__mf_usage): Update copyright notice dates. * gnu/gcj/convert/Convert.java (version): Update copyright notice dates. * gnu/gcj/tools/gcj_dbtool/Main.java (main): Likewise. * gnu/java/rmi/registry/RegistryImpl.java (version): Update copyright notice dates. * tools/gnu/classpath/tools/orbd/Main.java (run): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143907 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-01-28 Paul Thomas <pault@gcc.gnu.org>pault2009-01-282-1/+13
| | | | | | | | | | | | | | | | PR fortran/38852 PR fortran/39006 * trans-intrinsic.c (gfc_conv_intrinsic_bound): Use the array descriptor ubound for UBOUND, when the array lbound == 1. 2009-01-28 Paul Thomas <pault@gcc.gnu.org> PR fortran/38852 PR fortran/39006 * gfortran.dg/bound_6.f90: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143743 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-01-27 Daniel Kraft <d@domob.eu>domob2009-01-272-11/+23
| | | | | | | | | | | | | | | | PR fortran/38883 * trans-stmt.c (gfc_conv_elemental_dependencies): Create temporary for the real type needed to make it work for subcomponent-references. 2009-01-27 Daniel Kraft <d@domob.eu> PR fortran/38883 * gfortran.dg/mvbits_6.f90: New test. * gfortran.dg/mvbits_7.f90: New test. * gfortran.dg/mvbits_8.f90: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143707 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-01-21 Daniel Kraft <d@domob.eu>domob2009-01-212-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * trans-stmt.c (gfc_conv_elemental_dependencies): Cleaned up comment. 2009-01-21 Daniel Kraft <d@domob.eu> PR fortran/38887 * runtime/in_unpack_generic.c (internal_unpack): Return instead of abort when called with empty array. * m4/in_unpack.m4: Ditto. * generated/in_unpack_i1.c: Regenerated. * generated/in_unpack_i2.c: Regenerated. * generated/in_unpack_i4.c: Regenerated. * generated/in_unpack_i8.c: Regenerated. * generated/in_unpack_i16.c: Regenerated. * generated/in_unpack_r4.c: Regenerated. * generated/in_unpack_r8.c: Regenerated. * generated/in_unpack_r10.c: Regenerated. * generated/in_unpack_r16.c: Regenerated. * generated/in_unpack_c4.c: Regenerated. * generated/in_unpack_c8.c: Regenerated. * generated/in_unpack_c10.c: Regenerated. * generated/in_unpack_c16.c: Regenerated. 2009-01-21 Daniel Kraft <d@domob.eu> PR fortran/38887 * gfortran.dg/mvbits_5.f90: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143541 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-01-20 Paul Thomas <pault@gcc.gnu.org>pault2009-01-202-31/+66
| | | | | | | | | | | | | | | PR fortran/38907 * resolve.c (check_host_association): Remove the matching to correct an incorrect host association and use manipulation of the expression instead. 2009-01-20 Paul Thomas <pault@gcc.gnu.org> PR fortran/38907 * gfortran.dg/host_assoc_function_7.f90: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143530 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-01-20 Tobias Burnus <burnus@net-b.de>burnus2009-01-202-3/+8
| | | | | | | | * invoke.texi (RANGE): RANGE also takes INTEGER arguments. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143524 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-01-19 Mikael Morin <mikael.morin@tele2.fr>mikael2009-01-192-1/+10
| | | | | | | | | | | | | | | PR fortran/38859 * simplify.c (simplify_bound): Don't use array specification if variable or component has subsequent references. 2009-01-19 Mikael Morin <mikael.morin@tele2.fr> PR fortran/38859 * gfortran.dg/bound_5.f90: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143501 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-01-17 Paul Thomas <pault@gcc.gnu.org>pault2009-01-172-4/+16
| | | | | | | | | | | | | | | | PR fortran/38657 * module.c (write_common_0): Add argument 'this_module' and check that non-use associated common blocks are written first. (write_common): Call write_common_0 twice, once with true and then with false. 2009-01-17 Paul Thomas <pault@gcc.gnu.org> PR fortran/38657 * gfortran.dg/module_commons_3.f90: Reapply. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143463 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-01-17 Paul Thomas <pault@gcc.gnu.org>pault2009-01-172-84/+102
| | | | | | | | | | | | | | | | | | | | PR fortran/34955 * trans-intrinsic.c (gfc_conv_intrinsic_array_transfer): Has been absorbed into gfc_conv_intrinsic_transfer. All references to it in trans-intrinsic.c have been changed accordingly. PR fixed by using a temporary for scalar character transfer, when the source is shorter than the destination. 2009-01-17 Paul Thomas <pault@gcc.gnu.org> PR fortran/34955 * gfortran.dg/transfer_intrinsic_1.f90: New test. * gfortran.dg/transfer_intrinsic_2.f90: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143462 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-01-17 Paul Thomas <pault@gcc.gnu.org>pault2009-01-172-6/+7
| | | | | | | | | | | | | | PR fortran/38657 * module.c (write_common_0): Revert patch of 2009-01-10. 2009-01-17 Paul Thomas <pault@gcc.gnu.org> PR fortran/38657 * gfortran.dg/module_commons_3.f90: Remove git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143459 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-01-16 Janus Weil <janus@gcc.gnu.org>janus2009-01-163-5/+28
| | | | | | | | | | | | | | | | | PR fortran/38152 * expr.c (gfc_check_pointer_assign): Allow use-associated procedure pointers as lvalue. * trans-decl.c (get_proc_pointer_decl,gfc_create_module_variable): Enable procedure pointers as module variables. 2009-01-16 Janus Weil <janus@gcc.gnu.org> PR fortran/38152 * gfortran.dg/proc_ptr_13.f90: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143430 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-01-14 Steven G. Kargl <kargl@gcc.gnu.org>kargl2009-01-142-1/+4
| | | | | | | | * ChangeLog-2007: Clean out svn merge droppings. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143385 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-01-10 Paul Thomas <pault@gcc.gnu.org>pault2009-01-102-3/+13
| | | | | | | | | | | | | | PR fortran/38763 * target-memory.c (encode_derived): Encode NULL. 2009-01-10 Paul Thomas <pault@gcc.gnu.org> PR fortran/38763 * gfortran.dg/transfer_null_1.f90: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143238 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-01-10 Paul Thomas <pault@gcc.gnu.org>pault2009-01-102-2/+9
| | | | | | | | | | | | | | | | PR fortran/38765 * resolve.c (check_host_association): Use the symtree name to search for a potential contained procedure, since this is the name by which it would be referenced. 2009-01-10 Paul Thomas <pault@gcc.gnu.org> PR fortran/38765 * gfortran.dg/host_assoc_function_6.f90: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143237 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-01-10 Paul Thomas <pault@gcc.gnu.org>pault2009-01-0910-10/+10
| | | | | | | | | | | | | | | | * check.c : Update copyright year. * dependency.c : Update copyright year. * interface.c : ditto. * intrinsic.c : ditto. * intrinsic.h : ditto. * module.c : ditto. * simplify.c : ditto. * symbol.c : ditto. * trans-stmt.c : ditto. * trans-types.c : ditto. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143236 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-01-06 Thomas Koenig <tkoenig@gcc.gnu.org>tkoenig2009-01-063-2/+14
| | | | | | | | | | | | | | | | | PR fortran/38220 * interface.c (gfc_procedure_use): Don't warn about functions from ISO_C_BINDING. * symbol.c (generate_isocbinding_symbol): Mark c_loc and c_funloc as pure. 2009-01-06 Thomas Koenig <tkoenig@gcc.gnu.org> PR fortran/38220 * gfortran.dg/c_loc_pure_1.f90: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143140 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-01-05 Paul Thomas <pault@gcc.gnu.org>pault2009-01-052-2/+13
| | | | | | | | | | | | | | | PR fortran/38657 * module.c (write_common_0): Use the name of the symtree rather than the common block, to determine if the common has been written. 2009-01-05 Paul Thomas <pault@gcc.gnu.org> PR fortran/38657 * gfortran.dg/module_commons_3.f90: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143090 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc/fortran:dfranke2009-01-052-7/+22
| | | | | | | | | | | | | | | | | | | 2009-01-05 Daniel Franke <franke.daniel@gmail.com> PR fortran/37159 * check.c (gfc_check_random_seed): Added size check for GET dummy argument, reworded error messages to follow common pattern. gcc/testsuite: 2009-01-05 Daniel Franke <franke.daniel@gmail.com> PR fortran/37159 * gfortran.dg/random_seed_1.f90: Updated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143089 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-01-05 Thomas Koenig <tkoenig@gcc.gnu.org>tkoenig2009-01-053-1/+11
| | | | | | | | | | | | | | | | | | PR fortran/38672 * trans-types.c (gfc_get_derived_type): Check for the presence of derived->ns->proc_name before accessing derived->ns->proc_name->attr.flavor . * resolve.c (resolve_symbol): Likewise. 2009-01-05 Thomas Koenig <tkoenig@gcc.gnu.org> PR fortran/38672 * gfortran.dg/host_assoc_blockdata_1.f90: New test. * gfortran.dg/host_assoc_blockdata_2.f90: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143074 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-01-05 Paul Thomas <pault@gcc.gnu.org>pault2009-01-044-1/+24
| | | | | | | | | | | | | | | | PR fortran/38665 * gfortran.h : Add bit to gfc_expr 'user_operator' * interface.c (gfc_extend_expr): Set the above if the operator is substituted by a function. * resolve.c (check_host_association): Return if above is set. 2009-01-05 Paul Thomas <pault@gcc.gnu.org> PR fortran/38665 * gfortran.dg/host_assoc_function_5.f90: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143064 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-01-04 Mikael Morin <mikael.morin@tele2.fr>mikael2009-01-044-19/+41
| | | | | | | | | | | | | | | | | | | | | | | | PR fortran/35681 * ChangeLog-2008: Fix function name. PR fortran/38487 * dependency.c (gfc_check_argument_var_dependency): Move the check for pointerness inside the if block so that it doesn't affect the return value. PR fortran/38669 * trans-stmt.c (gfc_trans_call): Add the dependency code after the loop bounds calculation one. 2009-01-04 Mikael Morin <mikael.morin@tele2.fr> PR fortran/38669 * gfortran.dg/elemental_dependency_3.f90: New test. * gfortran.dg/elemental_subroutine_7.f90: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143057 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-01-04 Daniel Franke <franke.daniel@gmail.com>dfranke2009-01-042-3/+4
| | | | | | | | * intrinsic.c (do_simplify): Removed already implemented TODO. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143054 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc/fortran:dfranke2009-01-044-1/+21
| | | | | | | | | | | | | | | | | | | 2009-01-04 Daniel Franke <franke.daniel@gmail.com> PR fortran/38718 * simplify.c (gfc_simplify_merge): New. * intrinsic.h (gfc_simplify_merge): New prototype. * intrinsic.c (add_functions): Added simplification for MERGE. gcc/testsuite: 2009-01-04 Daniel Franke <franke.daniel@gmail.com> PR fortran/38718 * gfortran.dg/merge_init_expr.f90: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143053 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-01-04 Mikael Morin <mikael.morin@tele2.fr>mikael2009-01-044-38/+21
| | | | | | | | | | | | | | | | | | | PR fortran/38536 * gfortran.h (gfc_is_data_pointer): Added prototype * resolve.c (gfc_iso_c_func_interface): Use gfc_is_data_pointer to test for pointer attribute. * dependency.c (gfc_is_data_pointer): Support pointer-returning functions. 2009-01-04 Mikael Morin <mikael.morin@tele2.fr> PR fortran/38536 * gfortran.dg/c_loc_tests_13.f90: New test. * gfortran.dg/c_loc_tests_14.f90: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143050 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc/fortran:dfranke2009-01-032-0/+5
| | | | | | | | | | | | | | | 2009-01-03 Daniel Franke <franke.daniel@gmail.com> * symbol.c (save_symbol): Don't SAVE function results. gcc/testsuite: 2009-01-03 Daniel Franke <franke.daniel@gmail.com> * gfortran.dg/func_result_4.f90: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143039 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-01-03 Paul Thomas <pault@gcc.gnu.org>pault2009-01-033-4137/+4149
| | | | | | | | | | | | | | | | | | PR fortran/38594 * resolve.c (resolve_call): When searching for proper host association, use symtree rather than symbol. For everything except generic subroutines, substitute the symtree in the call rather than the symbol. 2009-01-03 Paul Thomas <pault@gcc.gnu.org> PR fortran/38594 * gfortran.dg/host_assoc_call_3.f90: Make sure that the generic interface still works, in addition to original tests. * gfortran.dg/host_assoc_call_6.f90: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143032 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc/fortran:dfranke2008-12-312-7/+17
| | | | | | | | | | | | | | | | 2008-12-31 Daniel Franke <franke.daniel@gmail.com> * check.c (dim_rank_check): Fixed checking of dimension argument if array is of type EXPR_ARRAY. gcc/testsuite: 2008-12-31 Daniel Franke <franke.daniel@gmail.com> * gfortran.dg/mapping_2.f90: Fixed testcase. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@142981 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix PR number referenced in ChangeLog.jvdelisle2008-12-231-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@142900 138bc75d-0d04-0410-961f-82ee72b054a4
* 2008-12-22 Paul Thomas <pault@gcc.gnu.org>jvdelisle2008-12-222-0/+11
| | | | | | | | PR fortran/35780 * trans-decl.c (init_intent_out_dt): Allow for optional args. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@142889 138bc75d-0d04-0410-961f-82ee72b054a4
* 2008-12-21 Jerry DeLisle <jvdelisle@gcc.gnu.org>jvdelisle2008-12-212-3/+19
| | | | | | | | | PR fortran/38398 * io.c: Add error checks for g0 formatting and provide adjustment of error loci for improved error messages. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@142870 138bc75d-0d04-0410-961f-82ee72b054a4
* 2008-12-21 Arjen Markus <arjen.markus@wldelft.nl>domob2008-12-214-54/+90
| | | | | | | | | | | | | Daniel Kraft <d@domob.eu> PR fortran/37605 * gfortran.texi: Fixed some typos and some minor style improvements. * intrinsic.texi: Some clarifications and typo-fixes. * invoke.texi: Better documenation of the behaviour of the -fdefault-*-8 options and some other fixes. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@142866 138bc75d-0d04-0410-961f-82ee72b054a4
* 2008-12-18 Daniel Kraft <d@domob.eu>domob2008-12-187-24/+72
| | | | | | | | | | | | | | | | | | | | | | | | | | | PR fortran/31822 * gfortran.h (gfc_check_same_strlen): Made public. * trans.h (gfc_trans_same_strlen_check): Made public. * check.c (gfc_check_same_strlen): Made public and adapted error message output to be useful not only for intrinsics. (gfc_check_merge): Adapt to gfc_check_same_strlen change. * expr.c (gfc_check_pointer_assign): Use gfc_check_same_strlen for string length compile-time check. * trans-expr.c (gfc_trans_pointer_assignment): Add runtime-check for equal string lengths using gfc_trans_same_strlen_check. * trans-intrinsic.c (gfc_trans_same_strlen_check): Renamed and made public from conv_same_strlen_check. (gfc_conv_intrinsic_merge): Adapted accordingly. 2008-12-18 Daniel Kraft <d@domob.eu> PR fortran/31822 * gfortran.dg/char_pointer_assign_2.f90: Updated expected error message to be more detailed. * gfortran.dg/char_pointer_assign_4.f90: New test. * gfortran.dg/char_pointer_assign_5.f90: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@142808 138bc75d-0d04-0410-961f-82ee72b054a4
* 2008-12-17 Daniel Kraft <d@domob.eu>domob2008-12-172-1/+40
| | | | | | | | | | | | | | PR fortran/38137 * trans-intrinsic.c (conv_same_strlen_check): New method. (gfc_conv_intrinsic_merge): Call it here to actually do the check. 2008-12-17 Daniel Kraft <d@domob.eu> PR fortran/38137 * gfortran.dg/merge_char_3.f90: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@142791 138bc75d-0d04-0410-961f-82ee72b054a4
* 2008-12-15 Mikael Morin <mikael.morin@tele2.fr>mikael2008-12-152-12/+30
| | | | | | | | | | | | | | | | | PR fortran/38487 * gfortran.dg/elemental_dependency_2.f90: New test. 2008-12-15 Mikael Morin <mikael.morin@tele2.fr> PR fortran/38487 * dependency.c (gfc_is_data_pointer): New function. (gfc_check_argument_var_dependency): Disable the warning in the pointer case. (gfc_check_dependency): Use gfc_is_data_pointer. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@142766 138bc75d-0d04-0410-961f-82ee72b054a4
* 2008-12-15 Mikael Morin <mikael.morin@tele2.fr>mikael2008-12-153-10/+11
| | | | | | | | | | | | PR fortran/38113 * error.c (show_locus): Start counting columns at 0. * primary.c (match_actual_arg): Eat spaces before copying the current locus. (match_variable): Copy the locus before matching. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@142763 138bc75d-0d04-0410-961f-82ee72b054a4
* 2008-12-14 Paul Thomas <pault@gcc.gnu.org>pault2008-12-142-1/+7
| | | | | | | | | | | | | | PR fortran/35937 * trans-expr.c (gfc_finish_interface_mapping): Fold convert the character length to gfc_charlen_type_node. 2008-12-14 Paul Thomas <pault@gcc.gnu.org> PR fortran/35937 * gfortran.dg/char_length_14.f90: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@142750 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc/fortran:dfranke2008-12-122-2/+18
| | | | | | | | | | | | | | | | | | | | 2008-12-12 Daniel Franke <franke.daniel@gmail.com> PR fortran/36355 * check.c (gfc_check_matmul): Fixed error message for invalid types to correctly identify the offending argument, added check for mismatching types. gcc/testsuite: 2008-12-12 Daniel Franke <franke.daniel@gmail.com> PR fortran/36355 * gfortran.dg/matmul_argument_types.f90: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@142709 138bc75d-0d04-0410-961f-82ee72b054a4
* 2008-12-11 Richard Guenther <rguenther@suse.de>rguenth2008-12-112-1/+6
| | | | | | | | * Make-lang.in (install-finclude-dir): Use correct mode argument for mkinstalldirs. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@142676 138bc75d-0d04-0410-961f-82ee72b054a4
* 2008-12-09 Daniel Franke <franke.daniel@gmail.com>dfranke2008-12-092-10/+32
| | | | | | | | | | | | PR fortran/36376 PR fortran/37468 * lang-specs.h: Pass on -i* options to f951 to (probably) report them as unknown. Duplicate gcc.c (cpp_options), but omit -fpch-preprocess on -save-temps. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@142608 138bc75d-0d04-0410-961f-82ee72b054a4
* 2008-12-09 Daniel Franke <franke.daniel@gmail.com>dfranke2008-12-095-1/+37
| | | | | | | | | | | | | | | PR fortran/36457 * lang.opt: Added option idirafter. * cpp.h (gfc_cpp_add_include_path_after): New prototype. * cpp.c (gfc_cpp_handle_option): Recognize and handle OPT_dirafter. (gfc_cpp_add_include_path_after): New, adds user-defined search path after any other paths. * invoke.texi (idirafter): New. (no-range-check): Fixed entry in option-index. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@142607 138bc75d-0d04-0410-961f-82ee72b054a4
* 2008-12-09 Mikael Morin <mikael.morin@tele2.fr>mikael2008-12-092-4/+19
| | | | | | | | | | PR fortran/37469 * expr.c (find_array_element): Simplify array bounds. Assert that both bounds are constant expressions. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@142606 138bc75d-0d04-0410-961f-82ee72b054a4
* 2008-12-09 Mikael Morin <mikael.morin@tele2.fr>mikael2008-12-092-14/+11
| | | | | | | | | | | | | | | | | PR fortran/35983 * trans-expr.c (gfc_trans_subcomponent_assign): Add se's pre and post blocks to current block. (gfc_trans_structure_assign): Remove specific handling of C_NULL_PTR and C_NULL_FUNPTR. 2008-12-09 Mikael Morin <mikael.morin@tele2.fr> PR fortran/35983 * gfortran.dg/pr35983.f90: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@142605 138bc75d-0d04-0410-961f-82ee72b054a4
* 2008-12-06 Jerry DeLisle <jvdelisle@gcc.gnu.org>jvdelisle2008-12-072-5/+19
| | | | | | | | | PR fortran/38425 * io.c (check_io_constraints): Check constraints on REC=, POS=, and internal unit with POS=. Fix punctuation on a few error messages. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@142534 138bc75d-0d04-0410-961f-82ee72b054a4
* 2008-12-06 Janus Weil <janus@gcc.gnu.org>janus2008-12-062-1/+15
| | | | | | | | | | | | | | | | | PR fortran/38415 * expr.c (gfc_check_pointer_assign): Added a check for abstract interfaces in procedure pointer assignments, removed check involving gfc_compare_interfaces until PR38290 is fixed completely. 2008-12-06 Janus Weil <janus@gcc.gnu.org> PR fortran/38415 * gfortran.dg/proc_ptr_2.f90: Extended. * gfortran.dg/proc_ptr_11.f90: Modified. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@142520 138bc75d-0d04-0410-961f-82ee72b054a4
* 2008-12-05 Jerry DeLisle <jvdelisle@gcc.gnu.org>jvdelisle2008-12-062-2/+10
| | | | | | | | | | | | | | | | | PR fortran/38291 * io.c (match_dt_element): Use dt->pos in matcher. (gfc_free_dt): Free dt->pos after use. (gfc_resolve_dt): Use dt->pos in resolution of stream position tag. 2008-12-05 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR libfortran/38291 * io/transfer.c (data_transfer_init): Add checks for POS= valid range. Add check for unit opened with ACCESS="stream". Flush and seek if current stream position does not match. Check ENDFILE on read. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@142515 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix dates.ebotcazou2008-12-051-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@142470 138bc75d-0d04-0410-961f-82ee72b054a4
* PR bootstrap/38262jakub2008-12-051-0/+5
| | | | | | | Fixup ChangeLog entries. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@142466 138bc75d-0d04-0410-961f-82ee72b054a4
* 2008-11-07 Sebastian Pop <sebastian.pop@amd.com>spop2008-12-051-1/+1
| | | | | | | | | | | | | | | | | PR bootstrap/38262 * java/Make-lang.in (jc1): Add BACKENDLIBS, remove GMPLIBS. * objc/Make-lang.in (cc1obj-dummy, cc1obj): Same. * objcp/Make-lang.in (cc1objplus-dummy, cc1objplus): Same. * cp/Make-lang.in (cc1plus-dummy, cc1plus): Same. * ada/gcc-interface/Make-lang.in (gnat1): Same. * fortran/Make-lang.in (f951): Same. * Makefile.in (LIBS): Remove GMPLIBS, CLOOGLIBS and PPLLIBS. (BACKENDLIBS): New. (cc1-dummy, cc1): Add BACKENDLIBS, remove GMPLIBS. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@142464 138bc75d-0d04-0410-961f-82ee72b054a4
* 2008-12-02 Jakub Jelinek <jakub@redhat.com>dnovillo2008-12-022-3/+7
| | | | | | | | | | | | Diego Novillo <dnovillo@google.com> * Make-lang.in (install-finclude-dir): Use mkinstalldirs and don't remove the finclude directory beforehand. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@142365 138bc75d-0d04-0410-961f-82ee72b054a4
* 2008-12-02 Janus Weil <janus@gcc.gnu.org>janus2008-12-027-9/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PR fortran/36704 PR fortran/38290 * decl.c (match_result): Result may be a standard variable or a procedure pointer. * expr.c (gfc_check_pointer_assign): Additional checks for procedure pointer assignments. * primary.c (gfc_match_rvalue): Bugfix for procedure pointer assignments. * resolve.c (resolve_function): Check for attr.subroutine. * symbol.c (check_conflict): Addtional checks for RESULT statements. * trans-types.c (gfc_sym_type,gfc_get_function_type): Support procedure pointers as function result. 2008-12-02 Janus Weil <janus@gcc.gnu.org> PR fortran/36704 PR fortran/38290 * gfortran.dg/entry_7.f90: Modified. * gfortran.dg/proc_ptr_2.f90: Extended. * gfortran.dg/proc_ptr_3.f90: Modified. * gfortran.dg/proc_ptr_11.f90: New. * gfortran.dg/proc_ptr_12.f90: New. * gfortran.dg/result_1.f90: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@142351 138bc75d-0d04-0410-961f-82ee72b054a4