1. 28 Feb, 2006 5 commits
    • * rtl.def (define_constraint, define_register_constraint) · f38840db
      	(define_memory_constraint, define_address_constraint): New MD forms.
      	* gensupport.c (process_rtx): Put define_constraint etc on the
      	predicate queue.
      	* genpreds.c (process_define_predicate): Adjust comment.  Validate
      	the name, and call validate_exp to validate the expression.
      	(mark_mode_tests, write_extract_subexp): Can assume correct input.
      	(write_predicate_expr): Likewise.  NAME argument no longer necessary;
      	all callers changed.
      	(validate_exp, needs_variable, struct constraint_data)
      	(constraints_by_letter_table, first_constraint, last_constraint_ptr)
      	(FOR_ALL_CONSTRAINTS, generic_constraint_letters, const_int_constraints)
      	(const_dbl_constraints, constraint_max_namelen)
      	(have_register_constraints, have_memory_constraints)
      	(have_address_constraints, have_address_constraints)
      	(have_extra_constraints, have_const_int_constraints)
      	(have_const_dbl_constraints, mangle, add_constraint)
      	(process_define_constraint, process_define_register_constraint)
      	(write_enum_constraint_num, write_lookup_constraint)
      	(write_insn_constraint_len, write_regclass_for_constraint)
      	(write_constraint_satisfied_p, write_insn_const_int_ok_for_constraint)
      	(write_insn_extra_memory_constraint)
      	(write_insn_extra_address_constraint)
      	(write_satisfies_constraint_fns): New.
      	(write_tm_preds_h): If we have new-style constraint definitions,
      	prototype the functions generated from them, and define the
      	old constraint interface (still used by generic code) in terms of
      	those functions.
      	(write_insn_preds_c): If we have new-style constraint definitions,
      	generate all relevant functions from those definitions.
      	(main): Handle define_constraint etc.
      	* genoutput.c (struct constraint_data, indep_constraints)
      	(mdep_constraint_letters, constraints_by_letter_table, note_constraint)
      	(mdep_constraint_len): New data structures and functions, defined
      	#ifdef USE_MD_CONSTRAINTS.
      	(check_constraint_len): Don't define #ifdef USE_MD_CONSTRAINTS.
      	(validate_insn_alternatives): If USE_MD_CONSTRAINTS is defined,
      	use new logic to validate operand constraints against constraint
      	definitions.
      	(main): Process define_constraint etc. if USE_MD_CONSTRAINTS is
      	defined.
      	* defaults.h: If none of the old-style constraint macros are
      	defined, define USE_MD_CONSTRAINTS; do not provide defaults for any
      	old-style macros; and poison REG_CLASS_FROM_LETTER,
      	CONST_OK_FOR_LETTER_P, CONST_DOUBLE_OK_FOR_LETTER_P, and
      	EXTRA_CONSTRAINT.
      	* recog.c (reg_fits_class_p): If cl is NO_REGS, return 0 immediately.
      	* doc/md.texi: Document new constraint-definition mechanism and the
      	C interface it provides.  Remove references to old mechanism
       	elsewhere in the document.
      	(Machine Constraints): Use pathnames relative to gcc directory,
      	i.e. config/ARCH/FILE.  Change i386 section to refer to
      	config/i386/predicates.md; update that section to match docstrings.
      	* doc/tm.texi: Move all documentation of the old constraint-
      	definition macros to their own section, clearly mark as obsolete.
      
      	* config/i386/predicates.md (R, q, Q, l, a, b, c, d, S, D, A, f, t)
      	(u, y, x, Y, I, J, K, L, M, N, O, G, C, e, Z): New constraint
      	definitions.
      	* config/i386/i386.h (REG_CLASS_FROM_LETTER, CONST_OK_FOR_LETTER_P)
      	(CONST_DOUBLE_OK_FOR_LETTER_P, EXTRA_CONSTRAINT): Delete.
      	* config/i386/i386.md (*movdf_nointeger): Remove stray 'H' from
      	constraint strings.
      	(splits and peepholes): Use satisfies_constraint_*.
      	* config/i386/i386.c (memory_address_length)
      	(ix86_attr_length_immediate_default): Use satisfies_constraint_*.
      
      From-SVN: r111508
      Zack Weinberg committed
    • re PR libfortran/26464 (Runtime I/O error/invald argument on READ) · 167f0c7e
      2006-02-27  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
      
      	PR libgfortran/26464
      	* gfortran.dg/backspace_5.f: New test.
      	* gfortran.dg/backspace_6.f: New test.
      
      From-SVN: r111507
      Jerry DeLisle committed
    • re PR libfortran/26464 (Runtime I/O error/invald argument on READ) · 9985dd8a
      2006-02-27  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
      
      	PR libgfortran/26464
      	* io/file_pos.c (st_backspace): Flush and truncate file
      	when in AFTER_ENDFILE condition.
      	* io/transfer.c (st_read_done): Remove flush, no longer needed.
      
      From-SVN: r111506
      Jerry DeLisle committed
    • re PR other/26473 (cross-building installs ssp headers to $(includedir)) · f2b5129c
      	PR 26473
      	* configure.ac (ACX_NONCANONICAL_TARGET): Use it.
      	* Makefile.am (target_noncanonical): Define.
      	(libsubincludedir): New variable.
      	(nobase_libsubinclude_HEADERS): Likewise.
      	(nobase_include_HEADERS): Remove.
      	* configure: Regenerated.
      	* Makefile.in: Likewise.
      	* aclocal.m4: Regenerated.
      
      From-SVN: r111501
      Mark Mitchell committed
    • Daily bump. · 36b2c8f2
      From-SVN: r111498
      GCC Administrator committed
  2. 27 Feb, 2006 11 commits
  3. 26 Feb, 2006 9 commits
  4. 25 Feb, 2006 7 commits
  5. 24 Feb, 2006 8 commits
    • invoke.texi: Move -fopenmp description to "Options for Code Generation". · 8d669cbd
      
      	* doc/invoke.texi: Move -fopenmp description to "Options for
      	Code Generation".
      	Remove reference to -lgomp.
      
      From-SVN: r111429
      Diego Novillo committed
    • * doc/install.texi: Require GNU tar version 1.14. · f44a5ab6
      From-SVN: r111428
      David Edelsohn committed
    • Index: gcc/ChangeLog · c7b5e395
      2006-02-24  Geoffrey Keating  <geoffk@apple.com>
      
      	* doc/tm.texi (Run-time Target): Document C_COMMON_OVERRIDE_OPTIONS.
      	* doc/invoke.texi (C++ Dialect Options): Document 
      	-fno-use-cxa-get-exception-ptr.
      	* configure.ac: Define DEFAULT_USE_CXA_ATEXIT to 2 not 1.
      	* configure: Regenerate.
      	* c.opt (fuse-cxa-get-exception-ptr): New.
      	* c-opts.c (c_common_handle_option): Handle
      	OPT_fuse_cxa_get_exception_ptr.
      	* c-common.c (flag_use_cxa_atexit): Update documentation.
      	(flag_use_cxa_get_exception_ptr): New.
      	* c-common.h (flag_use_cxa_get_exception_ptr): New.
      	* config/rs6000/darwin.h (SUBTARGET_OVERRIDE_OPTIONS): Improve
      	documentation.
      	(C_COMMON_OVERRIDE_OPTIONS): New.
      
      Index: gcc/testsuite/ChangeLog
      2006-02-24  Geoffrey Keating  <geoffk@apple.com>
      
      	* g++.dg/eh/uncaught1.C: Add dg-options for ppc-darwin.
      	* g++.dg/eh/uncaught2.C: New.
      	* g++.dg/eh/uncaught3.C: New.
      
      Index: gcc/cp/ChangeLog
      2006-02-24  Geoffrey Keating  <geoffk@apple.com>
      
      	* except.c (expand_start_catch_block): Handle
      	flag_use_cxa_get_exception_ptr.
      
      From-SVN: r111427
      Geoffrey Keating committed
    • re PR middle-end/24952 (ICE: RTL check: expected code 'set' or 'clobber', have… · 676cb929
      re PR middle-end/24952 (ICE:  RTL check: expected code 'set' or 'clobber', have 'unspec' in try_combine, at combine.c:2898)
      
      
      	PR middle-end/24952
      	* combine.c (try_combine): Explicitly check whether GET_CODE is
      	a SET or a CLOBBER, instead on checking that it isn't a USE.
      
      From-SVN: r111425
      Roger Sayle committed
    • array (array<>::swap, assign): Implement. · ffe7d885
      2006-02-24  Paolo Carlini  <pcarlini@suse.de>
      
      	* include/tr1/array (array<>::swap, assign): Implement.
      	* include/tr1/array (operator==, operator!=, operator<,
      	operator>, operator>=, operator<=, swap, get): Inline.
      	* testsuite/tr1/6_containers/array/requirements/member_swap.cc: New.
      	* testsuite/tr1/6_containers/array/requirements/assign.cc: Likewise.
      	* testsuite/tr1/6_containers/array/specialized_algorithms/swap.cc:
      	Likewise.
      
      From-SVN: r111424
      Paolo Carlini committed
    • fold-const.c (fold_comparison): New subroutine of fold_binary containing… · e26ec0bb
      fold-const.c (fold_comparison): New subroutine of fold_binary containing transformations common to both the...
      
      
      	* fold-const.c (fold_comparison): New subroutine of fold_binary
      	containing transformations common to both the equality and
      	ordering relational operators, factored out of fold_binary.
      	(fold_binary): Separate out the equality operators (EQ_EXPR
      	and NE_EXPR) from the ordering operators (LT_EXPR, GT_EXPR,
      	LE_EXPR and GE_EXPR), calling fold_comparison to perform the
      	transformations common to both.
      	(fold_div_compare): Fix latent bugs in the previously unreachable 
      	LT_EXPR and GE_EXPR cases.
      
      From-SVN: r111423
      Roger Sayle committed
    • re PR libfortran/26423 (Error on binary I/O for large array) · 6bb9adda
      2006-02-24  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
      
      	PR libgfortran/26423
      	* gfortran.dg/read_many_1.f: New test.
      
      From-SVN: r111421
      Jerry DeLisle committed
    • re PR libfortran/26423 (Error on binary I/O for large array) · c5418dcb
      2006-02-24  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
      
      	PR libgfortran/26423
      	* io/unix.c (fd_seek): Revert change from 25949.
      	(fd_read): Same.
      	(fd_write): Same.
      
      From-SVN: r111420
      Jerry DeLisle committed