summaryrefslogtreecommitdiff
path: root/gcc/fortran
Commit message (Collapse)AuthorAgeFilesLines
* * simplify.c: Fix a comment typo.kazu2005-04-122-1/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98021 138bc75d-0d04-0410-961f-82ee72b054a4
* fortran/rsandifo2005-04-122-1/+5
| | | | | | | | | | | | | | | | * lang.opt: Refer to the GCC internals documentation instead of c.opt. ada/ * lang.opt: Refer to the GCC internals documentation instead of c.opt. java/ * lang.opt: Refer to the GCC internals documentation instead of c.opt. treelang/ * lang.opt: Refer to the GCC internals documentation instead of c.opt. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98012 138bc75d-0d04-0410-961f-82ee72b054a4
* fortran/tobi2005-04-112-41/+63
| | | | | | | | | | * simplify.c (gfc_simplify_nearest): Overhaul. testsuite/ * gfortran.dg/fold_nearest.f90: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97987 138bc75d-0d04-0410-961f-82ee72b054a4
* * interface.c: Fix a comment typo.kazu2005-04-102-1/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97951 138bc75d-0d04-0410-961f-82ee72b054a4
* * match.c (match_arithmetic_if): Arithmetic IF is obsolete infxcoudert2005-04-102-0/+14
| | | | | | | | | | Fortran 95. * gfortran.dg/pr17229.f: Take care of the new obsolescence warning for arithmetic IF statements. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97948 138bc75d-0d04-0410-961f-82ee72b054a4
* * simplify.c (gfc_simplify_anint): Use mpfr_round()kargl2005-04-092-78/+15
| | | | | | | | (gfc_simplify_dnint): ditto. (gfc_simplify_nint): ditto. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97930 138bc75d-0d04-0410-961f-82ee72b054a4
* PR fortran/13257pinskia2005-04-092-2/+11
| | | | | | | | | | | | | | | | fortran/ChangeLog: * io.c (check_format): Allow an optional comma between descriptors. libgfortran/ChangeLog: * format.c (parse_format_list): Allow an optional comma between descriptors. testsuite/ChangeLog: * comma_format_extension_[1234].f: New tests. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97919 138bc75d-0d04-0410-961f-82ee72b054a4
* * match.c (match_arithmetic_if): Remove gfc_ prefix and correctfxcoudert2005-04-092-5/+10
| | | | | | | comment according to GNU coding style. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97890 138bc75d-0d04-0410-961f-82ee72b054a4
* * match.c (gfc_match_arithmetic_if): Declare static.dnovillo2005-04-082-1/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97846 138bc75d-0d04-0410-961f-82ee72b054a4
* PR fortran/17229fxcoudert2005-04-082-0/+42
| | | | | | | | | | | | * match.c (gfc_match_arithmetic_if): New function to match an arithmetic IF statement. (gfc_match_if): Use gfc_match_arithmetic_if to match an arithmetic IF statement embedded in a simple IF statement. * gfortran.dg/pr17229.f: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97825 138bc75d-0d04-0410-961f-82ee72b054a4
* simplify.c (gfc_simplify_exponent): Fix exponent(tiny(x))kargl2005-04-072-0/+11
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97792 138bc75d-0d04-0410-961f-82ee72b054a4
* Remove documentation of the nonexistent -std=f90 option.kargl2005-04-062-1/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97749 138bc75d-0d04-0410-961f-82ee72b054a4
* fortran/tobi2005-04-062-5/+11
| | | | | | | | | | | * expr.c (gfc_check_assign): Don't allow NULL as rhs in a non-pointer assignment. testsuite/ * gfortran.dg/pr15754.f90: Change annotations to dg-error. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97740 138bc75d-0d04-0410-961f-82ee72b054a4
* Add ChangeLog.fengwang2005-04-061-0/+14
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97701 138bc75d-0d04-0410-961f-82ee72b054a4
* 2005-04-05 Feng Wang <fengwang@nudt.edu.cn>fengwang2005-04-053-2/+95
| | | | | | | | | | | | | | | | | | | | | | PR fortran/15959 PR fortran/20713 * array.c (resolve_character_array_constructor): New function. Set constant character array's character length. (gfc_resolve_array_constructor): Use it. * decl.c (add_init_expr_to_sym): Set symbol and initializer character length. (gfc_set_constant_character_len): New function. Set constant character expression according the given length. * match.h (gfc_set_constant_character_len): Add prototype. 2005-04-05 Feng Wang <fengwang@nudt.edu.cn> * gfortran.dg/pr15959.f90: New test. * gfortran.dg/string_pad_trunc.f90: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97613 138bc75d-0d04-0410-961f-82ee72b054a4
* * intrinsic.texi: BES?? functions are not in the f95 standard.fxcoudert2005-04-042-12/+16
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97538 138bc75d-0d04-0410-961f-82ee72b054a4
* * intrinsic.texi: Document COS, EXP, LOG, LOG10, SIN, SQRT, TAN.fxcoudert2005-04-032-40/+368
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97496 138bc75d-0d04-0410-961f-82ee72b054a4
* * intrinsic.texi: Document BESJ0, BESJ1, BESJN, BESY0, BESY1,fxcoudert2005-04-032-39/+555
| | | | | | | BESYN, ATAN, COSH, ERF, ERC, SINH, TANH. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97495 138bc75d-0d04-0410-961f-82ee72b054a4
* Document ALLOCATED, ANINT, ANY, ASIN; Fix typos.kargl2005-04-032-26/+235
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97473 138bc75d-0d04-0410-961f-82ee72b054a4
* * decl.c, f95-lang.c, interface.c, module.c, trans-stmt.c,kazu2005-04-017-10/+15
| | | | | | | trans.h: Fix comment typos. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97364 138bc75d-0d04-0410-961f-82ee72b054a4
* * gfortran.h (option_t): Change d8, i8, r8 to flag_default_double,kargl2005-03-306-48/+67
| | | | | | | | | | | | | flag_default_integer, flag_default_real * invoke.texi: Update documentation * lang.opt: Remove d8, i8, r8 definitions; Add fdefault-double-8 fdefault-integer-8, and fdefault-real-8 definitions. * options.c (gfc_init_options): Set option defaults (gfc_handle_option): Handle command line options. * trans-types.c (gfc_init_kinds): Use options. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97221 138bc75d-0d04-0410-961f-82ee72b054a4
* * tree-ssanames.c (duplicate_ssa_name_ptr_info): New function.dorit2005-03-292-1/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | (duplicate_ssa_name): Call duplicate_ssa_name_ptr_info. * tree-vect-analyze.c (vect_object_analysis): additional parm pass back a "struct ptr_info_def *" with the points-to info. (vect_analyze_data_refs): set the STMT_VINFO_PTR_INFO for the statement using info returned from vect_object_analysis. * tree-vect-transform.c (update_vuses_to_preheader): New function. (vect_create_data_ref_ptr): Remove updates to vars_to_rename for virtual uses and defs when creating a replacement vector reference. Call duplicate_ssa_name_ptr_info to define points-to info for vector pointer replacement using STMT_VINFO_PTR_INFO. (vectorizable_store): copy_virtual_operands and update definition statements. (vectorizable_load): copy_virtual_operands. Remove call to mark_call_clobbered_vars_to_rename for call to "const" builtin. * tree-vectorizer.c (vectorize_loops): Remove calls to rewrite_into_ssa and bitmap_clear (vars_to_rename). (new_stmt_vec_info): initialize STMT_VINFO_PTR_INFO for stmt. * tree-vectorizer.h (_stmt_vec_info): add field ptr_info and define macro STMT_VINFO_PTR_INFO for use in accessing. * tree.h add export of duplicate_ssa_name_ptr_info. * rs6000.c (altivec_init_builtins): Declare builtin function __builtin_altivec_mask_for_load to be "const". git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97164 138bc75d-0d04-0410-961f-82ee72b054a4
* Document AIMAG, AINT, ALLkargl2005-03-282-8/+174
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97123 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix illogical logic.kargl2005-03-262-11/+21
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97082 138bc75d-0d04-0410-961f-82ee72b054a4
* * trans-common.c (create_common): Build RECORD_NODE for common blockscanqun2005-03-262-8/+30
| | | | | | | | | | | contain no equivalence objects. (add_equivalences): New argument saw_equiv. (trans_common): New local variable saw_equiv. (finish_equivalences): Add a local variable dummy, Always pass true for the 3rd parameter to create_common. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97079 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix "make dvi"kargl2005-03-252-14/+19
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97065 138bc75d-0d04-0410-961f-82ee72b054a4
* intrinsic.texi: New file.kargl2005-03-243-14/+726
| | | | | | | gfortran.texi: Include it; white space change; fix typo. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97000 138bc75d-0d04-0410-961f-82ee72b054a4
* * langhooks.h (truthvalue_conversion): Remove.jsm282005-03-232-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * langhooks-def.h (LANG_HOOKS_INITIALIZER): Remove LANG_HOOKS_TRUTHVALUE_CONVERSION. * system.h (LANG_HOOKS_TRUTHVALUE_CONVERSION): Poison. * gimplify.c (gimple_boolify): Don't use truthvalue_conversion. * c-objc-common.h (LANG_HOOKS_TRUTHVALUE_CONVERSION): Remove. ada: * misc.c (LANG_HOOKS_TRUTHVALUE_CONVERSION): Remove. cp: * cp-objcp-common.h (LANG_HOOKS_TRUTHVALUE_CONVERSION): Remove. fortran: * f95-lang.c (LANG_HOOKS_TRUTHVALUE_CONVERSION): Remove. java: * lang.c (LANG_HOOKS_TRUTHVALUE_CONVERSION): Remove. treelang: * treetree.c (LANG_HOOKS_TRUTHVALUE_CONVERSION, tree_lang_truthvalue_conversion): Remove. * tree-convert.c: Don't call truthvalue_conversion. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@96947 138bc75d-0d04-0410-961f-82ee72b054a4
* * convert.c (convert): Replace fold (buildN (...)) with fold_buildN.steven2005-03-238-238/+267
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * trans-array.c (gfc_trans_allocate_array_storage, gfc_trans_allocate_temp_array gfc_trans_array_constructor_value, gfc_conv_array_index_ref, gfc_trans_array_bound_check, gfc_conv_array_index_offset, gfc_conv_scalarized_array_ref, gfc_conv_array_ref, gfc_trans_preloop_setup, gfc_conv_ss_startstride, gfc_conv_loop_setup, gfc_array_init_size, gfc_trans_array_bounds, gfc_trans_auto_array_allocation, gfc_trans_dummy_array_bias, gfc_conv_expr_descriptor): Likewise. * trans-expr.c (gfc_conv_powi, gfc_conv_string_tmp, gfc_conv_concat_op, gfc_conv_expr_op): Likewise. * trans-intrinsic.c (build_round_expr, gfc_conv_intrinsic_bound, gfc_conv_intrinsic_cmplx, gfc_conv_intrinsic_sign, gfc_conv_intrinsic_minmaxloc, gfc_conv_intrinsic_minmaxval, gfc_conv_intrinsic_btest, gfc_conv_intrinsic_bitop, gfc_conv_intrinsic_singlebitop, gfc_conv_intrinsic_ibits, gfc_conv_intrinsic_ishft, gfc_conv_intrinsic_ishftc, gfc_conv_intrinsic_merge, prepare_arg_info, gfc_conv_intrinsic_rrspacing, gfc_conv_intrinsic_repeat): Likewise. * trans-stmt.c (gfc_trans_simple_do, gfc_trans_do, gfc_trans_do_while, gfc_trans_forall_loop, gfc_do_allocate, generate_loop_for_temp_to_lhs, generate_loop_for_rhs_to_temp, compute_inner_temp_size, allocate_temp_for_forall_nest, gfc_trans_pointer_assign_need_temp, gfc_trans_forall_1, gfc_evaluate_where_mask, gfc_trans_where_assign): Likewise. * trans-types.c (gfc_get_dtype, gfc_get_array_type_bounds): Likewise. * trans.c (gfc_add_modify_expr): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@96926 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.am: Added new files.fxcoudert2005-03-227-0/+633
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Makefile.in: Regenerate. * aclocal.m4: Regenerate. * configure.ac: add checks for signal.h headers file, as well as following functions: chdir, strerror, getlogin, gethostname, kill, link, symlink, perror, sleep, time. * configure: Regenerate. * intrinsics/chdir.c, intrinsics/gerror.c, intrinsics/getlog.c, intrinsics/hostnm.c, intrinsics/ierrno.c, intrinsics/kill.c, intrinsics/link.c, intrinsics/perror.c, intrinsics/rename.c, intrinsics/sleep.c, intrinsics/symlnk.c, intrinsics/time.c: Newly implementend g77 intrinsics. * check.c (gfc_check_chdir, gfc_check_chdir_sub, gfc_check_kill, gfc_check_kill_sub, gfc_check_link, gfc_check_link_sub, gfc_check_symlnk, gfc_check_symlnk_sub, gfc_check_rename, gfc_check_rename_sub, gfc_check_sleep_sub, gfc_check_gerror, gfc_check_getlog, gfc_check_hostnm, gfc_check_hostnm_sub, gfc_check_perror): new functions to check newly implemented g77 intrinsics. * gfortran.h: adding symbols for new intrinsics. * intrinsic.c (add_functions): adding new intrinsics. (add_subroutines): adding new intrinsics. * intrinsic.h: prototype for all checking and resolving functions. * iresolve.c (gfc_resolve_chdir, gfc_resolve_chdir_sub, gfc_resolve_hostnm, gfc_resolve_ierrno, gfc_resolve_kill, gfc_resolve_link, gfc_resolve_rename, gfc_resolve_symlnk, gfc_resolve_time, gfc_resolve_time8, gfc_resolve_rename_sub, gfc_resolve_kill_sub, gfc_resolve_link_sub, gfc_resolve_symlnk_sub, gfc_resolve_sleep_sub, gfc_resolve_gerror, gfc_resolve_getlog, gfc_resolve_hostnm_sub, gfc_resolve_perror): new functions to resolve intrinsics. * trans-intrinsic.c (gfc_conv_intrinsic_function): add case for new symbols. * g77_intrinsics_funcs.f: New test. * g77_intrinsics_sub.f: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@96893 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix dates on ChangeLogtobi2005-03-191-2/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@96740 138bc75d-0d04-0410-961f-82ee72b054a4
* fortran/tobi2005-03-193-1/+11
| | | | | | | | | | | | | | | * dump-parse-tree.c (gfc_show_expr): Dump name of namespace in which the variable is declared. PR fortran/18525 * resolve.c (was_declared): Also check for dummy attribute. testsuite/ PR fortran/18525 * gfortran.dg/nesting_1.f90: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@96739 138bc75d-0d04-0410-961f-82ee72b054a4
* * gfortran.h (arith): Remove ARITH_0TO0.tobi2005-03-193-22/+16
| | | | | | | | | * arith.c (gfc_arith_error): Remove handling of ARITH_0TO0. (gfc_arith_power): Remove special casing of zero to integral power zero. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@96737 138bc75d-0d04-0410-961f-82ee72b054a4
* * Make-lang.in (fortran-warn): Remove -Wno-error.ghazi2005-03-192-1/+14
| | | | | | | | (expr.o-warn, resolve.o-warn, simplify.o-warn, trans-common.o-warn): Specify -Wno-error. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@96714 138bc75d-0d04-0410-961f-82ee72b054a4
* * trans-array.c (gfc_trans_static_array_pointer,tobi2005-03-172-3/+9
| | | | | | | | get_array_ctor_var_strlen, gfc_conv_array_index_offset): Fix comment and formatting typos. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@96635 138bc75d-0d04-0410-961f-82ee72b054a4
* * invoke.texi: Fix typos.fxcoudert2005-03-171-2/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@96630 138bc75d-0d04-0410-961f-82ee72b054a4
* * invoke.texi: Fix typos.fxcoudert2005-03-171-0/+4
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@96627 138bc75d-0d04-0410-961f-82ee72b054a4
* config:zack2005-03-162-13/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gcc-version.m4: Delete. fastjar: * Makefile.am (fastjar_TEXINFOS): Add gcc-vers.texi. (BASEVER, DEVPHASE): New variables. (POD2MAN): Adjust setting of --release option. (fastjar.1, grepjar.1, gcc-vers.texi): New rules. * Makefile.in: Regenerate. * configure.ac: Do not invoke TL_AC_GCC_VERSION. * aclocal.m4, configure: Regenerate. gcc: * BASE-VER, DATESTAMP, DEV-PHASE: New files. * Makefile.in (gcc_version, gcc_version_trigger, ): Delete. (BASEVER, DEVPHASE, DATESTAMP, BASEVER_c, DEVPHASE_c, DATESTAMP_c) (BASEVER_s, DEVPHASE_s, DATESTAMP_s): New variables. (version): Define using $(BASEVER_c). (Makefile, config.status, build/gcov-iov.o): No longer depends on version.c. (version.o): Depend on version files; add custom generation command. (prefix.o): Define BASEVER on command line. (s-iov): Depend on version files; adjust command. (TEXI_CPP_FILES, TEX_IGCC_FILES, TEXI_GCCINT_FILES, TEXI_CPPINT_FILES): Add gcc-vers.texi. (gcc-vers.texi): New rule. (doc/%.info, doc/%.dvi): Add -I . to command line. (doc/gccinstall.dvi): Likewise. (PACKAGE): Delete. All uses replaced with "gcc". * aclocal.m4: Do not include gcc-version.m4. * configure.ac: Do not invoke TL_AC_GCC_VERSION. Do not AC_SUBST nor AC_DEFINE PACKAGE or VERSION. Set is_release based on contents of DEV-PHASE. Set gcc_version based on contents of BASE-VER. Define WIN32_REGISTRY_KEY only if the user overrode the default. * config.in, configure: Regenerate. * gccbug.in: Determine version of GCC in use at runtime. * gcov-iov.c: Get version number and development phase from command line, not by including version.c. * intl.c: Replace all uses of PACKAGE with "gcc". * libada-mk.in: Delete unused "gcc_version" variable. * prefix.c: Default WIN32_REGISTRY_KEY to BASEVER. * version.c: (VERSUFFIX): New hook for redistributors; adjust commentary to match. (version_string): Put together from pieces. * config/alpha/x-vms: Do not use $(gcc_version). * config/i386/t-nwld: Likewise. * doc/include/gcc-common.texi: Include gcc-vers.texi for version-GCC and DEVELOPMENT. gcc/ada: * Make-lang.in (doc/gnat_ugn_unw.info, doc/gnat_rm.info) (doc/gnat_ugn_unw.dvi, doc/gnat_rm.dvi): Add gcc-vers.texi to dependencies. gcc/fortran: * Make-lang.in (GFORTRAN_TEXI): Add gcc-vers.texi. gcc/java: * Make-lang.in (TEXI_JAVA_FILES): Add gcc-vers.texi. gcc/treelang: * Make-lang.in (TEXI_TREELANG_FILES): Add gcc-vers.texi. libstdc++-v3: * include/Makefile.am (c++config.h): Depend on DATESTAMP from gcc subdirectory. Generate #define of __GLIBCXX__ from contents of that file. * include/Makefile.in: Regenerate. * include/bits/c++config: Do not define __GLIBCXX__. maintainer-scripts: * README: Update. * gcc_release: Update gcc/DEV-PHASE if that file exists, instead of gcc/version.c. * update_version: Handle updating gcc/DATESTAMP. * update_web_docs: Generate gcc-vers.texi first. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@96549 138bc75d-0d04-0410-961f-82ee72b054a4
* 2005-03-15 Feng Wang <fengwang@nudt.edu.cn>fengwang2005-03-152-2/+5
| | | | | | | | * trans-stmt.c (gfc_trans_label_assign): Don't set DECL_ARTIFICIAL flag to zero on label_tree. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@96468 138bc75d-0d04-0410-961f-82ee72b054a4
* fortran/fengwang2005-03-158-11/+80
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-03-15 Feng Wang <fengwang@nudt.edu.cn> PR fortran/18827 * io.c (resolve_tag): Add checking on assigned label. (match_dt_format): Does not set symbol assign attribute. * match.c (gfc_match_goto):Does not set symbol assign attribute. * resolve.c (resolve_code): Add checking on assigned label. * trans-common.c (build_field): Deals with common variable assigned a label. * trans-stmt.c (gfc_conv_label_variable): New function. (gfc_trans_label_assign): Use it. (gfc_trans_goto): Ditto. * trans-io.c (set_string): Ditto. * trans.h (gfc_conv_label_variable): Add prototype. testsuite/ 2005-03-15 Feng Wang <fengwang@nudt.edu.cn> PR fortran/18827 * gfortran.dg/assign_2.f90: New test. * gfortran.dg/assign_3.f90: New test. * gfortran.dg/assign.f90: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@96467 138bc75d-0d04-0410-961f-82ee72b054a4
* fortran/tobi2005-03-142-0/+7
| | | | | | | | | | | | | PR fortran/20467 * symbol.c (check_conflict): A dummy argument can't be a statement function. testsuite/ PR fortran/20467 * gfortran.dg/stfunc_2.f90: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@96443 138bc75d-0d04-0410-961f-82ee72b054a4
* * tree-cfg.c (find_taken_edge_cond_expr): Use zero_p instead ofrakdver2005-03-142-1/+6
| | | | | | | | | | | | integer_zerop. * tree-gimple.c (is_gimple_min_invariant): Consider overflowed constants invariant. * fortran/trans-intrinsic.c (gfc_conv_intrinsic_ishft): Convert the argument of the shift to the unsigned type. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@96435 138bc75d-0d04-0410-961f-82ee72b054a4
* fortran/tobi2005-03-132-5/+17
| | | | | | | | | | | | PR fortran/16907 * resolve.c (gfc_resolve_index): Allow REAL indices as an extension. testsuite/ PR fortran/16907 * gfortran.dg/real_index_1.f90: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@96385 138bc75d-0d04-0410-961f-82ee72b054a4
* fortran/tobi2005-03-132-4/+11
| | | | | | | | | | | | | PR fortran/20323 * resolve.c (gfc_resolve): Check if character lengths are specification expressions. testsuite/ PR fortran/20323 * gfortran.dg/spec_expr_1.f90: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@96382 138bc75d-0d04-0410-961f-82ee72b054a4
* fortran/tobi2005-03-126-45/+51
| | | | | | | | | | | | | | | | | | | | | PR fortran/20361 * trans-array.c (gfc_stack_space_left): Remove unused variable. (gfc_can_put_var_on_stack): Move to trans-decl.c, remove #if 0'ed code. * trans-array.h (gfc_stack_space_left, gfc_can_put_var_on_stack): Remove declaration / prototype. * trans-common.c (build_equiv_decl): Give union a name. Check if it can be put on the stack. * trans-decl.c (gfc_stack_space_left): Move function here. (gfc_build_qualified_array): Fix comment typo. * trans.h (gfc_put_var_on_stack): Add prototype. testsuite/ PR fortran/20361 * gfortran.dg/largeequiv_1.f90: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@96352 138bc75d-0d04-0410-961f-82ee72b054a4
* * Make-lang.in (fortran-warn): Set to $(STRICT_WARN) -Wno-error.ghazi2005-03-125-21/+23
| | | | | | | | | | * decl.c, trans.c: Don't use C++ style comments. * gfortran.h (sym_flavor, procedure_type, sym_intent, gfc_access, ifsrc): Give names to enums and use ENUM_BITFIELD. (gfc_access): Remove trailing comma. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@96323 138bc75d-0d04-0410-961f-82ee72b054a4
* Remove spurious blank line.tobi2005-03-081-1/+0
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@96123 138bc75d-0d04-0410-961f-82ee72b054a4
* PR 19936kargl2005-03-052-0/+17
| | | | | | | | * primary.c (match_complex_constant): Mangled complex constant may be an implied do-loop. Give implied do-loop matcher a chance. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95951 138bc75d-0d04-0410-961f-82ee72b054a4
* PR fortran/19754kargl2005-03-052-2/+44
| | | | | | | | * resolve.c (compare_shapes): New function. (resolve_operator): Use it. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95945 138bc75d-0d04-0410-961f-82ee72b054a4
* * trans-const.c (gfc_conv_constant_to_tree): Use correct treetobi2005-03-052-1/+7
| | | | | | | type for COMPLEX constants. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95941 138bc75d-0d04-0410-961f-82ee72b054a4