1. 31 Oct, 2005 9 commits
  2. 30 Oct, 2005 17 commits
    • Make-lang.in (GFORTRAN_TARGET_INSTALL_NAME): Define. · def6f170
      	* Make-lang.in (GFORTRAN_TARGET_INSTALL_NAME): Define.
      	(GFORTRAN_CROSS_NAME): Remove.
      	(fortran.install-common): Correctly install a cross compiler.
      	(fortran.uninstall): Use GFORTRAN_TARGET_INSTALL_NAME instead of
      	GFORTRAN_CROSS_NAME.
      
      From-SVN: r106256
      Andreas Schwab committed
    • gfortran.texi: Update contributors. · 13679135
      fortran/
      2005-10-30  Erik Edelmann  <eedelman@gcc.gnu.org>
      
              * gfortran.texi: Update contributors.
      
      From-SVN: r106255
      Erik Edelmann committed
    • re PR fortran/18883 (ICE in gfc_finish_var_decl) · d48734ef
      fortran/
      2005-10-30  Erik Edelmann  <eedelman@gcc.gnu.org>
      
              PR fortran/18883
              * trans-decl.c (gfc_finish_var_decl): Add decl to the
              current function, rather than the parent.  Make
              assertion accept fake result variables.
              * trans-expr.c (gfc_conv_variable): If the character
              length of an ENTRY isn't set, get the length from
              the master function instead.
      
      testsuite
      2005-10-30  Erik Edelmann  <eedelman@gcc.gnu.org>
      
              PR fortran/18883
              * gfortran.dg/char_result_9.f90: New.
              * gfortran.dg/char_result_10.f90: New.
      
      From-SVN: r106254
      Erik Edelmann committed
    • re PR libstdc++/20213 (cassert header documentation wrong) · 097588e4
      2005-10-30  Paolo Carlini  <pcarlini@suse.de>
      
      	PR libstdc++/20213
      	* include/c_std/std_csignal.h: Adjust comment as per 17.4.1.2/4.
      	* include/c_std/std_cstdlib.h: Likewise.
      	* include/c_std/std_cstdio.h: Likewise.
      	* include/c_std/std_cstdarg.h: Likewise.
      	* include/c_std/std_cctype.h: Likewise.
      	* include/c_std/std_cerrno.h: Likewise.
      	* include/c_std/std_cmath.h: Likewise.
      	* include/c_std/std_ciso646.h: Likewise.
      	* include/c_std/std_ctime.h: Likewise.
      	* include/c_std/std_clocale.h: Likewise.
      	* include/c_std/std_climits.h: Likewise.
      	* include/c_std/std_cassert.h: Likewise.
      	* include/c_std/std_csetjmp.h: Likewise.
      	* include/c_std/std_cwchar.h: Likewise.
      	* include/c_std/std_cfloat.h: Likewise.
      	* include/c_std/std_cstring.h: Likewise.
      	* include/c_std/std_cstddef.h: Likewise.
      	* include/c_std/std_cwctype.h: Likewise.
      
      From-SVN: r106253
      Paolo Carlini committed
    • gfortran.texi: Remove reservations about I/O usability. · ed146156
      
      2005-10-30  Thomas Koenig  <Thomas.Koenig@online.de>
      
      	* gfortran.texi:  Remove reservations about I/O usability.  Document
      	that array intrinsics mostly work.
      
      From-SVN: r106252
      Thomas Koenig committed
    • Remove .cvsignore · dda0f764
      From-SVN: r106250
      Tobias Schlüter committed
    • gfortran.texi: Move license stuff to back. · a63dad5b
      * gfortran.texi: Move license stuff to back.  Add information
      on ENUM and ENUMERATOR.
      * invoke.texi: Document -fshort-enums.
      
      From-SVN: r106249
      Tobias Schlüter committed
    • gcc_build: Use gcc.gnu.org as the default server. · 133f4c87
      	* gcc_build: Use gcc.gnu.org as the default server.  Set up
      	SVN_REPOSITORY correctly.  Add support for checking out branches.
      
      From-SVN: r106248
      Steven Bosscher committed
    • re PR tree-optimization/24172 (error: incorrect sharing of tree nodes) · 5e13fdf7
      	PR tree-optimization/24172
      	* tree-inline.c (copy_body_r): Unshare the substituted value first.
      	* g++.dg/tree-ssa/pr24172.C: New testcase.
      
      From-SVN: r106247
      Jan Hubicka committed
    • arith.c (gfc_enum_initializer): New function. · 25d8f0a2
      fortran/
      2005-10-30  Gaurav Gautam  <gauravga@noida.hcltech.com>
      	    Tobias Schl"uter  <tobias.schlueter@physik.uni-muenchen.de>
      
      	* arith.c (gfc_enum_initializer): New function.
      	(gfc_check_integer_range): Made extern.
      	* decl.c (enumerator_history): New typedef.
      	(last_initializer, enum_history, max_enum): New variables.
      	(create_enum_history, gfc_free_enum_history): New functions.
      	(add_init_expr_to_sym): Call create_enum_history if parsing ENUM.
      	(variable_decl): Modified to parse enumerator definition.
      	(match_attr_spec): Add PARAMETER attribute to ENUMERATORs.
      	(gfc_match_data_decl): Issues error, if match_type_spec do not
      	return desired return values.
      	(set_enum_kind, gfc_match_enum, gfc_match_enumerator_def): New
      	functions.
      	(gfc_match_end): Deal with END ENUM.
      	* gfortran.h (gfc_statement): ST_ENUM, ST_ENUMERATOR, ST_END_ENUM
      	added.
      	(symbol_attribute): Bit field for enumerator added.
      	(gfc_options): Add fshort_enums.
      	(gfc_enum_initializer, gfc_check_integer_range): Add prototypes.
      	* options.c: Include target.h
      	(gfc_init_options): Initialize fshort_enums.
      	(gfc_handle_option): Deal with fshort_enums.
      	* parse.c (decode_statement): Match ENUM and ENUMERATOR statement.
      	(gfc_ascii_statement): Deal with the enumerator statements.
      	(parse_enum): New function to parse enum construct.
      	(parse_spec): Added case ST_ENUM.
      	* parse.h (gfc_compile_state): COMP_ENUM added.
      	(gfc_match_enum, gfc_match_enumerator_def, gfc_free_enum_history):
      	Prototype added.
      	* symbol.c (gfc_copy_attr): Copy enumeration attribute.
      	* lang.opt (fshort-enums): Option added.
      
      testsuite/
      2005-10-30  Tobias Schl"uter  <tobias.schlueter@physik.uni-muenchen.de>
      
      	* gfortran.dg/enum_10.f90, gfortran.dg/enum_10.c: New test.
      
      2005-10-30  Gaurav Gautam  <gauravga@noida.hcltech.com>
      
      	* gfortran.dg/enum_1.f90, gfortran.dg/enum_2.f90,
      	gfortran.dg/enum_3.f90, gfortran.dg/enum_4.f90,
      	gfortran.dg/enum_5.f90, gfortran.dg/enum_6.f90,
      	gfortran.dg/enum_7.f90, gfortran.dg/enum_8.f90,
      	gfortran.dg/enum_9.f90,
      	gfortran.fortran-torture/compile/enum_1.f90,
      	gfortran.fortran-torture/execute/enum_1.f90,
      	gfortran.fortran-torture/execute/enum_2.f90,
      	gfortran.fortran-torture/execute/enum_3.f90,
      	gfortran.fortran-torture/execute/enum_4.f90: New tests.
      
      From-SVN: r106246
      Tobias Schlüter committed
    • mmix.c (mmix_intval): Correct handling of DFmode constants for hosts with long != 32 bits. · e8299ec2
      	* config/mmix/mmix.c (mmix_intval): Correct handling of DFmode
      	constants for hosts with long != 32 bits.
      
      From-SVN: r106027
      Hans-Peter Nilsson committed
    • re PR target/18482 (mmix-knuth-mmixware testsuite failure: tmpdir-gcc.dg-struct-layout-1) · 6536905d
      	PR target/18482
      	* gcc.dg/compat/struct-layout-1_generate.c (switchfiles, main):
      	For mmix-*-*, pass with dg-options an additional -mno-base-addresses.
      
      From-SVN: r106026
      Hans-Peter Nilsson committed
    • re PR libfortran/20179 (cannot mix C and Fortran I/O) · 159840cb
      	PR libfortran/20179
      	* io/unix.c (flush_if_preconnected): New function.
      	* io/io.h: Add prototype for flush_if_preconnected.
      	* io/transfer.c (data_transfer_init): Use flush_if_preconnected
      	to workaround buggy mixed C-Fortran code.
      
      	* gfortran.dg/mixed_io_1.f90: New test.
      	* gfortran.dg/mixed_io_1.c: New file.
      
      From-SVN: r106017
      Francois-Xavier Coudert committed
    • check.c (gfc_check_malloc, [...]): New functions. · 0d519038
      	* check.c (gfc_check_malloc, gfc_check_free): New functions.
      	* gfortran.h (gfc_generic_isym_id): Add GFC_ISYM_MALLOC.
      	* intrinsic.c (add_functions): Add symbols for MALLOC function.
      	(add_subroutines): Add symbol for FREE subroutine.
      	* intrinsic.h: Prototypes for gfc_check_malloc, gfc_check_free,
      	gfc_resolve_malloc and gfc_resolve_free.
      	* intrinsic.texi: Add doc for FREE and MALLOC intrinsics.
      	* iresolve.c (gfc_resolve_malloc, gfc_resolve_free): New
      	functions.
      	* trans-intrinsic.c (gfc_conv_intrinsic_function): Add case for
      	GFC_ISYM_MALLOC.
      
      	* Makefile.am: Add intrinsics/malloc.c file.
      	* Makefile.in: Regenerate.
      	* intrinsics/malloc.c: New file, with implementations for free
      	and malloc library functions.
      
      	* gfortran.dg/malloc_free_1.f90: New test.
      
      From-SVN: r106016
      Francois-Xavier Coudert committed
    • * gfortran.texi: Update contributors. · cf6ae955
      From-SVN: r106015
      Steven Bosscher committed
    • re PR middle-end/24093 (cgraph exhausts virtual memory building 197.parser with -profile-use -O3) · 7e1b44bb
      	PR middle-end/24093
      	* ipa-inline.c (craph_decide_recursive_inlining): Fix return value.
      
      From-SVN: r106014
      Andreas Krebbel committed
    • Daily bump. · a9a92716
      From-SVN: r106007
      GCC Administrator committed
  3. 29 Oct, 2005 8 commits
  4. 28 Oct, 2005 6 commits
    • ms1.h (TARGET_MS1_64_001): New. · ed70cedf
              * config/ms1/ms1.h (TARGET_MS1_64_001): New.
              (TARGET_MS1_16_002): New.
              (TARGET_MS1_16_003): New.
      
              * config/ms1/ms1.md ("decrement_and_branch_until_zero"): Rewrite.
              ("*decrement_and_branch_until_zero_no_clobber"): New.
              Add corresponding splitter for decrement_and_branch_until_zero
              instruction.
              Key all decrement_and_branch_until_zero patterns off of
              TARGET_MS1_16_003.
      
      From-SVN: r105974
      Aldy Hernandez committed
    • check.c (gfc_check_alarm_sub, [...]): New functions. · 185d7d97
      	* check.c (gfc_check_alarm_sub, gfc_check_signal,
      	gfc_check_signal_sub): New functions.
      	* gfortran.h (gfc_generic_isym_id): Add GFC_ISYM_SIGNAL.
      	* intrinsic.c (add_functions): Add signal intrinsic.
      	(add_subroutines): Add signal and alarm intrinsics.
      	* intrinsic.texi: Document the new intrinsics.
      	* iresolve.c (gfc_resolve_signal, gfc_resolve_alarm_sub,
      	gfc_resolve_signal_sub): New functions.
      	* trans-intrinsic.c (gfc_conv_intrinsic_function): Add case
      	for GFC_ISYM_SIGNAL.
      	* intrinsic.h: Add prototypes for gfc_check_alarm_sub,
      	gfc_check_signal, gfc_check_signal_sub, gfc_resolve_signal,
      	gfc_resolve_alarm_sub, gfc_resolve_signal_sub.
      
      	* Makefile.am (intrinsics): Add signal.c.
      	* Makefile.in: Regenerate.
      	* configure.ac: Checks for signal and alarm.
      	* config.h.in: Regenerate.
      	* configure: Regenerate.
      	* intrinsics/signal.c: New file for SIGNAL and ALARM intrinsics.
      
      From-SVN: r105967
      Francois-Xavier Coudert committed
    • decl.c (grokfndecl): Remove the setting of the return type of the function type of main after... · 7f0dbff3
      2005-10-28  Andrew Pinski  <pinskia@physics.uc.edu>
      
              * decl.c (grokfndecl): Remove the setting
              of the return type of the function type
              of main after erroring about must returning
              int.
      
      From-SVN: r105963
      Andrew Pinski committed
    • re PR c++/23229 (g++ gives incorrect error message with void main() and a void function) · 9a1c562a
      2005-10-28  Andrew Pinski  <pinskia@physics.uc.edu>
      
              PR C++/23229
              * decl.c (grokfndecl): Create a new function type
              after erroring out about main not returning int.
      2005-10-28  Andrew Pinski  <pinskia@physics.uc.edu>
      
      	PR C++/23229
              * g++.dg/warn/main-2.C: New test.
      
      From-SVN: r105960
      Andrew Pinski committed
    • gcc_update: Remove the -q from svn invocation. · 7dcd894f
      2005-10-28  Andrew Pinski  <pinskia@gcc.gnu.org>
      
              * gcc_update: Remove the -q from svn invocation.
      
      From-SVN: r105958
      Andrew Pinski committed
    • acinclude.m4 (LIBGFOR_CHECK_FPSETMASK): New check. · 3b14f664
      	* acinclude.m4 (LIBGFOR_CHECK_FPSETMASK): New check.
      	* configure.ac: Check for floatingpoint.h, fptrap.h and float.h
      	headers. Use LIBGFOR_CHECK_FPSETMASK. Check for fp_trap and
      	fp_enable functions.
      	* configure.host: Add case for systems with fpsetmask and systems
      	with fp_trap/fp_enable.
      	* config/fpu-sysv.h: New file, FPU code using fpsetmask.
      	* config/fpu-aix.h: New file, FPU code for AIX using fp_trap and
      	fp_enable.
      	* aclocal.m4: Regenerate.
      	* configure: Regenerate.
      	* config.h.in: Regenerate.
      
      From-SVN: r105956
      François-Xavier Coudert committed