Skip to content
Snippets Groups Projects
  1. Feb 28, 2006
    • mmitchel's avatar
      * gennews (files): Update for GCC 4.1. · 04f54a3a
      mmitchel authored
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@111518 138bc75d-0d04-0410-961f-82ee72b054a4
      04f54a3a
    • dorit's avatar
      PR tree-optimization/26419 · e686c658
      dorit authored
              * doc/invoke.texi (ftree-vectorizer-verbose): Add information on
              values of n.
      
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@111516 138bc75d-0d04-0410-961f-82ee72b054a4
      e686c658
    • zack's avatar
      * doc/md.texi: Fix typo in previous change. · 470d2447
      zack authored
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@111513 138bc75d-0d04-0410-961f-82ee72b054a4
      470d2447
    • bje's avatar
      Add an entry for the removal of df.c. · 5f4d8ce0
      bje authored
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@111509 138bc75d-0d04-0410-961f-82ee72b054a4
      5f4d8ce0
    • zack's avatar
      * rtl.def (define_constraint, define_register_constraint) · 026d3868
      zack authored
      	(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_*.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@111508 138bc75d-0d04-0410-961f-82ee72b054a4
      026d3868
    • jvdelisle's avatar
      2006-02-27 Jerry DeLisle <jvdelisle@gcc.gnu.org> · 89ada492
      jvdelisle authored
      	PR libgfortran/26464
      	* gfortran.dg/backspace_5.f: New test.
      	* gfortran.dg/backspace_6.f: New test.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@111507 138bc75d-0d04-0410-961f-82ee72b054a4
      89ada492
    • jvdelisle's avatar
      2006-02-27 Jerry DeLisle <jvdelisle@gcc.gnu.org> · 813a04a4
      jvdelisle authored
      	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.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@111506 138bc75d-0d04-0410-961f-82ee72b054a4
      813a04a4
    • mmitchel's avatar
      PR 26473 · 9fe91945
      mmitchel authored
      	* 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.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@111501 138bc75d-0d04-0410-961f-82ee72b054a4
      9fe91945
    • gccadmin's avatar
      Daily bump. · 026fbc0d
      gccadmin authored
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@111498 138bc75d-0d04-0410-961f-82ee72b054a4
      026fbc0d
  2. Feb 27, 2006
    • dberlin's avatar
      2006-02-27 Daniel Berlin <dberlin@dberlin.org> · 3a6e1ee4
      dberlin authored
      	* lambda-code.c (can_convert_to_perfect_nest): Allow any type of
      	
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@111489 138bc75d-0d04-0410-961f-82ee72b054a4
      3a6e1ee4
    • jakub's avatar
      PR other/26208 · 15c73eb7
      jakub authored
      	* unwind-dw2.c (struct _Unwind_Context): Add signal_frame field.
      	(extract_cie_info): Handle S flag in augmentation string.
      	(execute_cfa_program): If context->signal_frame, execute also
      	fs->pc == context->ra instructions.
      	(uw_frame_state_for): If context->signal_frame, don't subtract one
      	from context->ra to find FDE.
      	(uw_update_context_1): Set context->signal_frame to
      	fs->signal_frame.
      	(_Unwind_GetIPInfo): New function.
      	* unwind-dw2.h (_Unwind_FrameState): Add signal_frame field.
      	* unwind-c.c (PERSONALITY_FUNCTION): Use _Unwind_GetIPInfo instead
      	of _Unwind_GetIP.
      	* unwind-sjlj.c (_Unwind_GetIPInfo): New function.
      	* unwind-generic.h (_Unwind_GetIPInfo): New prototype.
      	* unwind-compat.c (_Unwind_GetIPInfo): New function.
      	* libgcc-std.ver (_Unwind_GetIPInfo): Export @@GCC_4.2.0.
      	* config/ia64/unwind-ia64.c (_Unwind_GetIPInfo): New function.
      	* config/arm/unwind-arm.h (_Unwind_GetIPInfo): Define.
      	* config/i386/linux-unwind.h (x86_fallback_frame_state,
      	x86_64_fallback_frame_state): Set fs->signal_frame.
      	* config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Likewise.
      	(MD_FROB_UPDATE_CONTEXT): Define unconditionally.
      	(frob_update_context): Likewise.  Workaround missing S flag in
      	Linux 2.6.12 - 2.6.16 kernel vDSOs.
      	* config/s390/linux-unwind.h (s390_fallback_frame_state): Likewise.
      	Remove the psw_addr + 1 hack.
      libjava/
      	* exception.cc (PERSONALITY_FUNCTION): Use _Unwind_GetIPInfo instead
      	of _Unwind_GetIP.
      	* include/i386-signal.h (MAKE_THROW_FRAME): Change into empty macro.
      	(HANDLE_DIVIDE_OVERFLOW): Don't adjust _res->eip if falling through
      	to throw.
      	* include/x86_64-signal.h (MAKE_THROW_FRAME): Change into empty
      	macro.
      	* include/powerpc-signal.h (MAKE_THROW_FRAME): Change into empty
      	macro.
      libstdc++-v3/
      	* libsupc++/eh_personality.cc (PERSONALITY_FUNCTION): Use
      	_Unwind_GetIPInfo instead of _Unwind_GetIP.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@111488 138bc75d-0d04-0410-961f-82ee72b054a4
      15c73eb7
    • dberlin's avatar
      2006-02-27 Daniel Berlin <dberlin@dberlin.org> · 5f506404
      dberlin authored
      	* tree-ssa-structalias.c (get_constraint_for): Move code to deal
      	with aggregates here.
      	(find_func_aliases): Remove code for &<aggregate> from here.
      
      
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@111487 138bc75d-0d04-0410-961f-82ee72b054a4
      5f506404
    • zadeck's avatar
      The file was empty. · 843ad9c0
      zadeck authored
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@111486 138bc75d-0d04-0410-961f-82ee72b054a4
      843ad9c0
    • paolo's avatar
      2006-02-27 Paolo Carlini <pcarlini@suse.de> · 21518f09
      paolo authored
      	PR libstdc++/14866
      	* testsuite/27_io/ios_base/sync_with_stdio/1.cc: Redirect
      	stderr instead.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@111475 138bc75d-0d04-0410-961f-82ee72b054a4
      21518f09
    • paolo's avatar
      2006-02-27 Paolo Carlini <pcarlini@suse.de> · 13d15b2a
      paolo authored
      	PR libstdc++/14866
      	* testsuite/27_io/ios_base/sync_with_stdio/1.cc: Redirect
      	stderr instead.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@111474 138bc75d-0d04-0410-961f-82ee72b054a4
      13d15b2a
    • paolo's avatar
      2006-02-27 Paolo Carlini <pcarlini@suse.de> · 1255f701
      paolo authored
      	* Add <tr1/cstdbool> and <tr1/stdbool.h>, missing from
      	the last commit.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@111472 138bc75d-0d04-0410-961f-82ee72b054a4
      1255f701
    • sayle's avatar
      · e08a39b3
      sayle authored
      	* fold-const.c (fold_binary) <EQ_EXPR>:  Fold (~X & C) eq/ne 0 as
      	(X & C) ne/eq 0, where C is a single bit, i.e. a power of two.
      	Fold both "((X & C) ^ C) eq/ne 0" and "((X ^ C) & C) eq/ne 0"
      	as (X & C) ne/eq 0.
      
      	* gcc.dg/fold-eqandnot-1.c: New test case.
      
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@111471 138bc75d-0d04-0410-961f-82ee72b054a4
      e08a39b3
    • sayle's avatar
      · 466fed6e
      sayle authored
      	PR middle-end/19983
      	* real.c (real_nan): Allow both 0x and 0X as hexadecimal prefixes.
      
      	* gcc.c-torture/execute/ieee/builtin-nan-1.c: New test case.
      
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@111470 138bc75d-0d04-0410-961f-82ee72b054a4
      466fed6e
    • rakdver's avatar
      * opts.c (decode_options): Do not handle flag_strength_reduce. · 4f87b914
      rakdver authored
      	(common_handle_option): Handle OPT_floop_optimize, OPT_frerun_loop_opt
      	and OPT_fstrength_reduce.
      	* tree-ssa-loop.c (tree_ssa_loop_prefetch): Only test
      	flag_prefetch_loop_arrays for being nonzero.
      	* common.opt (floop-optimize, frerun-loop-opt): Resurrected as
      	no-ops.
      	(fprefetch-loop-arrays-rtl): Removed.
      	(flag_prefetch_loop_arrays): Do not specify the value.
      
      	* doc/passes.texi: Update documentation of loop optimizer
      	passes.
      	* doc/invoke.texi (-fstrength-reduce, -fprefetch-loop-arrays-rtl,
      	-frerun-loop-opt): Remove.
      
      	* gcc.target/i386/20000614-2.c: Do not use -fno-strength-reduce.
      	* gcc.dg/20030324-1.c: Do not use -fstrength-reduce.
      
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@111469 138bc75d-0d04-0410-961f-82ee72b054a4
      4f87b914
    • gccadmin's avatar
      Daily bump. · 4f1b0cea
      gccadmin authored
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@111467 138bc75d-0d04-0410-961f-82ee72b054a4
      4f1b0cea
  3. Feb 26, 2006
    • rguenth's avatar
      2006-02-26 Richard Guenther <rguenther@suse.de> · 5b449890
      rguenth authored
      	PR tree-optimization/26421
      	* tree-ssa-alias.c (find_used_portions): Don't treat parameters
      	in function calls that are ADDR_EXPRs as using the whole structure.
      
      	* gcc.dg/tree-ssa/pr26421.c: New testcase.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@111461 138bc75d-0d04-0410-961f-82ee72b054a4
      5b449890
    • steven's avatar
      gcc/ · a1ab4637
      steven authored
      	* common.opt (-floop-optimize, -frerun-loop-opt): Remove.
      	* tree-pass.h (pass_loop_optimize): Remove.
      	* passes.c (pass_loop_optimize): Never run it.
      	* toplev.c (backend_init): Don't call init_loop.
      	* opts.c (flag_loop_optimize_set): Remove.
      	(decode_options): Never set flag_loop_optimize or flag_rerun_loop_opt.
      	(common_handle_option) <OPT_floop_optimize>: Remove.  Don't disable
      	the old RTL loop optimizer when profiling enabled.
      	* predict.c (tree_estimate_probability): Always strip builtin_expect.
      	* cfgcleanup.c (try_forward_edges): Don't avoid killing loop
      	pre-headers for the sake of the old RTL loop optimizer.
      	* Makefile.in: Remove all references to loop.o.
      
      	* doc/invoke.texi: Remove all references to -floop-optimize
      	and -frerun-loop-opt.
      
      testsuite/
      	* gcc.dg/20031201-1.c: Don't use -frerun-loop-opt.
      	* g++.old-deja/g++.robertl/eb132.C: Likewise.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@111459 138bc75d-0d04-0410-961f-82ee72b054a4
      a1ab4637
    • zack's avatar
      * doc/md.texi (Machine Constraints): Refer to all files with paths · 6a3e083e
      zack authored
      	relative to gcc directory (i.e. config/CPU/file).  Add missing
      	@table @code ... @end table to M32C subsection.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@111457 138bc75d-0d04-0410-961f-82ee72b054a4
      6a3e083e
    • paolo's avatar
      2006-02-26 Paolo Carlini <pcarlini@suse.de> · 5d89ab68
      paolo authored
      	* include/tr1/cmath: Add templates (8.16.3).	
      	* include/tr1/cstbool: New.
      	* include/tr1/stdbool.h: Likewise.
      	* include/Makefile.am: Add.
      	* testsuite/tr1/8_c_compatibility/cmath/templates.cc: New.
      	* testsuite/tr1/headers.cc: Update.
      	* acinclude.m4 ([GLIBCXX_CHECK_C99_TR1]): Add <stdbool.h> check.
      	* docs/html/ext/tr1.html: Update.
      	* include/Makefile.in: Regenerate.
      	* config.h.in: Likewise.
      	* configure: Likewise.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@111456 138bc75d-0d04-0410-961f-82ee72b054a4
      5d89ab68
    • sayle's avatar
      · 7ddc480e
      sayle authored
      	* fold-const.c (fold_binary) <BIT_XOR_EXPR>: Fold (X & 1) ^ 1 as
      	(X & 1) == 0.
      	<BIT_AND_EXPR>: Fold (X ^ 1) & 1 and ~X & 1 as (X & 1) == 0.
      
      	* gcc.dg/fold-even-1.c: New test case.
      
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@111454 138bc75d-0d04-0410-961f-82ee72b054a4
      7ddc480e
    • sayle's avatar
      2006-02-26 Roger Sayle <roger@eyesopen.com> · 1d8ff0d2
      sayle authored
      	    James A. Morrison  <phython@gcc.gnu.org>
      
      	PR middle-end/21137
      	* fold-const.c (fold_binary) <EQ_EXPR>:  Fold ((X>>C1)&C2) eq/ne 0,
      	when C2 is a power of two, as either (X&(C2<<C1)) eq/ne 0 if the
      	new constant C2<<C1, or as (X<0) or (X,false) depending upon the
      	signedness of the shift operation.
      
      	* gcc.dg/fold-eqandshift-1.c: New test case.
      
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@111453 138bc75d-0d04-0410-961f-82ee72b054a4
      1d8ff0d2
    • dorit's avatar
      PR tree-optimization/25125 · 17e07532
      dorit authored
              * gcc.dg/vect/wrapv-vect-7.c, gcc.dg/vect/wrapv-vect-reduc-2char.c,
              gcc.dg/vect/wrapv-vect-reduc-2short.c: New tests.
      
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@111452 138bc75d-0d04-0410-961f-82ee72b054a4
      17e07532
    • dorit's avatar
      PR tree-optimization/26359 · b1e9e6c5
      dorit authored
              * tree-ssa-alias.c (new_type_alias): Set fields for new tag.
      
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@111451 138bc75d-0d04-0410-961f-82ee72b054a4
      b1e9e6c5
    • gccadmin's avatar
      Daily bump. · 406dfd10
      gccadmin authored
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@111449 138bc75d-0d04-0410-961f-82ee72b054a4
      406dfd10
  4. Feb 25, 2006
  5. Feb 24, 2006
    • dnovillo's avatar
      · fc9b1e42
      dnovillo authored
      	* doc/invoke.texi: Move -fopenmp description to "Options for
      	Code Generation".
      	Remove reference to -lgomp.
      
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@111429 138bc75d-0d04-0410-961f-82ee72b054a4
      fc9b1e42
    • dje's avatar
      * doc/install.texi: Require GNU tar version 1.14. · 4c4cdab7
      dje authored
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@111428 138bc75d-0d04-0410-961f-82ee72b054a4
      4c4cdab7
    • geoffk's avatar
      Index: gcc/ChangeLog · 3bf418bd
      geoffk authored
      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.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@111427 138bc75d-0d04-0410-961f-82ee72b054a4
      3bf418bd
    • sayle's avatar
      · 43c3808d
      sayle authored
      	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.
      
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@111425 138bc75d-0d04-0410-961f-82ee72b054a4
      43c3808d
Loading