OSDN Git Service

pf3gnuchains/gcc-fork.git
15 years agoFix spacing around names.
jakub [Fri, 30 Jan 2009 09:28:41 +0000 (09:28 +0000)]
Fix spacing around names.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143783 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago PR target/39002
jakub [Fri, 30 Jan 2009 09:22:48 +0000 (09:22 +0000)]
PR target/39002
* g++.dg/torture/pr39002.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143782 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago2009-01-30 Kai Tietz <kai.tietz@onevision.com>
ktietz [Fri, 30 Jan 2009 08:45:35 +0000 (08:45 +0000)]
2009-01-30  Kai Tietz  <kai.tietz@onevision.com>

PR/39002
* config/i386/i386.c (ix86_can_use_return_insn_p): Check for nsseregs.
(ix86_expand_epilogue): Take nsseregs in account to use proper restore
method.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143780 138bc75d-0d04-0410-961f-82ee72b054a4

15 years agoDaily bump.
gccadmin [Fri, 30 Jan 2009 00:16:46 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143776 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago * include/c_std/cstring (memchr, strchr, strpbrk, strrchr, strstr):
jakub [Fri, 30 Jan 2009 00:08:29 +0000 (00:08 +0000)]
* include/c_std/cstring (memchr, strchr, strpbrk, strrchr, strstr):
Provide inlines only if __CORRECT_ISO_CPP_STRING_H_PROTO is not
defined.
* include/c_std/cwchar (wcschr, wcspbrk, wcsrchr, wcsstr, wmemchr):
Provide inlines only if __CORRECT_ISO_CPP_WCHAR_H_PROTO is not
defined.
* include/c_global/cstring (memchr, strchr, strpbrk, strrchr, strstr):
Provide inlines only if __CORRECT_ISO_CPP_STRING_H_PROTO is not
defined.
* include/c_global/cwchar (wcschr, wcspbrk, wcsrchr, wcsstr, wmemchr):
Provide inlines only if __CORRECT_ISO_CPP_WCHAR_H_PROTO is not
defined.
* testsuite/21_strings/c_strings/char_t/2.cc (test02): If first
argument is const char *, assign result to const char * var, not
char *.
* testsuite/21_strings/c_strings/wchar_t/2.cc (test02): If first
argument is const wchar_t *, assign result to const wchar_t * var, not
wchar_t *.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143773 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago2009-01-29 Jonathan Wakely <jwakely.gcc@gmail.com>
redi [Thu, 29 Jan 2009 23:24:05 +0000 (23:24 +0000)]
2009-01-29  Jonathan Wakely  <jwakely.gcc@gmail.com>

* include/std/thread: Remove unused headers.
(__thread_data_base): Remove unused mutex and base.
(thread::~thread): Only detach if joinable.
(thread::joinable): Test if thread data ptr is empty.
(thread::_M_thread_data_mutex): Remove.
(thread::_M_get_thread_data): Remove.
(thread::_M_make_thread_data): Remove overload, use make_shared.
(thread::id::id): Make constructor explicit.
* src/thread.cc (thread::join,thread::detach): Throw if not joinable.
(thread::_M_start_thread): Break shared_ptr cycle on error.
(__thread_proxy): Use shared_ptr swap instead of copy and reset.
* testsuite/30_threads/thread/member/4.cc: New.
* testsuite/30_threads/thread/member/5.cc: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143772 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago2009-01-29 H.J. Lu <hongjiu.lu@intel.com>
hjl [Thu, 29 Jan 2009 21:56:17 +0000 (21:56 +0000)]
2009-01-29  H.J. Lu  <hongjiu.lu@intel.com>

* ira-color.c (allocno_reload_assign): Update comments.
* regmove.c (regmove_optimize): Likewise.

* ra.h: Removed.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143771 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago2009-01-29 Robert Millan <rmh@aybabtu.com>
rwild [Thu, 29 Jan 2009 18:48:41 +0000 (18:48 +0000)]
2009-01-29  Robert Millan  <rmh@aybabtu.com>

* configure.ac: Recognize GNU/kOpenSolaris (*-*-kopensolaris*-gnu).
* configure: Regenerate.

gcc/
2009-01-29  Robert Millan  <rmh@aybabtu.com>

* gcc/config.gcc: Recognize GNU/kOpenSolaris (*-*-kopensolaris*-gnu).
* gcc/config/i386/kopensolaris-gnu.h: New file.  Undefine
`MD_UNWIND_SUPPORT'.
* gcc/config/kopensolaris-gnu.h: New file (based on kfreebsd-gnu.h).

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143768 138bc75d-0d04-0410-961f-82ee72b054a4

15 years agogcc/
kazu [Thu, 29 Jan 2009 18:23:21 +0000 (18:23 +0000)]
gcc/
PR tree-optimization/39007
* tree-loop-distribution.c (generate_builtin): Use
recompute_dominator to compute the immediate dominator of the
basic block just after the loop.

gcc/testsuite/
PR tree-optimization/39007
* gcc.dg/tree-ssa/pr39007.c: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143767 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago2009-01-29 Paolo Carlini <paolo.carlini@oracle.com>
paolo [Thu, 29 Jan 2009 17:02:52 +0000 (17:02 +0000)]
2009-01-29  Paolo Carlini  <paolo.carlini@oracle.com>

* typeck.c (invalid_nonstatic_memfn_p): Use
DECL_NONSTATIC_MEMBER_FUNCTION_P.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143761 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago * config/i386/sol2-10.h [!HAVE_AS_IX86_DIFF_SECT_DELTA]
ro [Thu, 29 Jan 2009 16:06:53 +0000 (16:06 +0000)]
* config/i386/sol2-10.h [!HAVE_AS_IX86_DIFF_SECT_DELTA]
(ASM_OUTPUT_DWARF_PCREL): Define.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143758 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago2008-01-29 Vladimir Makarov <vmakarov@redhat.com>
vmakarov [Thu, 29 Jan 2009 14:51:46 +0000 (14:51 +0000)]
2008-01-29  Vladimir Makarov  <vmakarov@redhat.com>

* doc/tm.texi (TARGET_IRA_COVER_CLASSES): Modify description.
* doc/passes.texi: Remove entries about regclass, local-alloc, and
global.  Modify entries about regmove and IRA.

* ra-conflict.c: Remove the file.

* reload.c (push_reload, find_dummy_reload): Remove flag_ira.

* tree-pass.h (pass_local_alloc, pass_global_alloc): Remove.
(pass_regclass_init): Rename to pass_reginfo_init.

* cfgloopanal.c (estimate_reg_pressure_cost): Remove flag_ira.

* toplev.h (flag_ira): Remove.

* caller-save.c (setup_save_areas): Remove flag_ira.

* ira-color.c (ira_reuse_stack_slot, ira_mark_new_stack_slot):
Ditto.

* global.c: Remove the file.

* opts.c: (decode_options): Remove flag_ira.

* hard-reg-set.h (losing_caller_save_reg_set): Remove.

* regmove.c: Modify file description.
(find_use_as_address, try_auto_increment): Define them only if
AUTO_INC_DEC is defined.
(replacement_quality, replace_in_call_usage, fixup_match_1,
stable_and_no_regs_but_for_p): Remove.
(reg_set_in_bb): Make it static.
(regmove_optimize): Remove flag_ira and code which worked for
!flag_ira.

* local-alloc.c: Remove the file.

* common.opt (fira): Remove.

* ira.c: Include except.h.
(eliminable_regset): Move from global.c.
(mark_elimination): Ditto.  Remove flag_ira.
(reg_renumber, struct equivalence, reg_equiv, equiv_mem,
equiv_mem_modified, validate_equiv_mem_from_store,
validate_equiv_mem, equiv_init_varies_p, equiv_init_movable_p,
contains_replace_regs, memref_referenced_p, memref_used_between_p,
no_equiv, recorded_label_ref): Move from local-alloc.c.
(update_equiv_regs): Ditto.  Make it static.
(print_insn_chain, print_insn_chains): Move it from global.c.
pseudo_for_reload_consideration_p): Ditto.  Remove flag_ira.
(build_insn_chain): Ditto.  Make it static.
(ra_init_live_subregs): Move from ra-conflict.c.  Make it static.
Rename to init_live_subregs.
(gate_ira): Remove flag_ira.

* regclass.c: Rename reginfo.c.  Change file description.
(FORBIDDEN_INC_DEC_CLASSES): Remove.
(reg_class_superclasses, forbidden_inc_dec_class, in_inc_dec):
Remove.
(init_reg_sets_1): Remove code for evaluation of
reg_class_superclasses and losing_caller_save_reg_set.
(init_regs): Remove init_reg_autoinc.
(struct costs, costs, init_cost, ok_for_index_p_nonstrict,
ok_for_base_p_nonstrict): Remove.
(regclass_init): Rename to reginfo_init.  Don't initialize
init_cost.
(pass_regclass_init): Rename to pass_reginfo_init.  Modify
corresponding entries.
(dump_regclass, record_operand_costs, scan_one_insn,
init_reg_autoinc, regclass, record_reg_classes, copy_cost,
record_address_regs, auto_inc_dec_reg_p): Remove.
(gt-regclass.h): Rename to gt-reginfo.h.

* rtl.h (dump_global_regs, retry_global_alloc,
build_insn_chain, dump_local_alloc, update_equiv_regs):
Remove.

* Makefile.in (RA_H): Remove.
(OBJS-common): Remove global.o, local-alloc.o, and ra-conflict.o.
Rename regclass.o to reginfo.o.
(regclass.o): Rename to reginfo.o.  Rename gt-regclass.h to
gt-reginfo.h.
(global.o, local-alloc.o, ra-conflict.o): Remove entries.
(GTFILES): Rename regclass.c to reginfo.c.

* passes.c (init_optimization_passes): Remove pass_local_alloc and
pass_global_alloc.  Rename pass_regclass_init to
pass_reginfo_init.

* reload1.c (compute_use_by_pseudos, reload, count_pseudo,
count_spilled_pseudo, find_reg, alter_reg, delete_output_reload):
Remove flag_ira.
(finish_spills): Ditto.  Remove code for !flga_ira.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143757 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago2009-01-29 Kenneth Zadeck <zadeck@naturalbridge.com>
zadeck [Thu, 29 Jan 2009 14:34:55 +0000 (14:34 +0000)]
2009-01-29  Kenneth Zadeck <zadeck@naturalbridge.com>

PR middle-end/35854
* doc/invoke.texi (rtl debug options): Complete rewrite.
* auto-inc-dec.c (pass_inc_dec): Rename pass from "auto-inc-dec"
to auto_inc_dec".
* mode-switching.c (pass_mode_switching): Rename pass from
"mode-sw" to "mode_sw".
* except.c (pass_convert_to_eh_ranges): Rename pass from
"eh-ranges" to "eh_ranges".
* lower-subreg.c (pass_lower_subreg): Renamed pass from "subreg"
to "subreg1".

2009-01-29  Kenneth Zadeck <zadeck@naturalbridge.com>

PR middle-end/35854
* gcc.dg/lower-subreg-1.c: Renamed dump pass from "subreg" to "subreg1"

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143756 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago2009-01-29 Andrey Belevantsev <abel@ispras.ru>
amonakov [Thu, 29 Jan 2009 10:53:15 +0000 (10:53 +0000)]
2009-01-29  Andrey Belevantsev  <abel@ispras.ru>
    Alexander Monakov  <amonakov@ispras.ru>

PR middle-end/38857
* sel-sched.c (count_occurrences_1): Check that *cur_rtx is a hard
register.
(move_exprs_to_boundary): Change return type and pass through
should_move from move_op.  Relax assert.  Update usage ...
(schedule_expr_on_boundary): ... here.  Use should_move instead of
cant_move.
(move_op_orig_expr_found): Indicate that insn was disconnected from
stream.
(code_motion_process_successors): Do not call after_merge_succs
callback if original expression was not found when traversing any of
the branches.
(code_motion_path_driver): Change return type.  Update prototype.
(move_op): Update comment.  Add a new parameter (should_move).  Update
prototype.  Set *should_move based on indication provided by
move_op_orig_expr_found.

2009-01-29  Steve Ellcey  <sje@cup.hp.com>

PR middle-end/38857
* gcc.c-torture/compile/pr38857.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143753 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago * testsuite/ChangeLog: Add missing entry.
uros [Thu, 29 Jan 2009 08:49:14 +0000 (08:49 +0000)]
* testsuite/ChangeLog: Add missing entry.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143751 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago2009-01-28 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Thu, 29 Jan 2009 00:25:17 +0000 (00:25 +0000)]
2009-01-28  Benjamin Kosnik  <bkoz@redhat.com>

* testsuite/util/testsuite_common_types.h (has_trivial_cons_dtor): New.
(standard_layout): Just use !has_virtual_destructor for now.
* testsuite/30_threads/mutex/requirements/standard_layout.cc: New.
* testsuite/30_threads/timed_mutex/requirements/standard_layout.cc: New.
* testsuite/30_threads/recursive_mutex/requirements/
standard_layout.cc: New.
* testsuite/30_threads/condition_variable/requirements/
standard_layout.cc: New.
* testsuite/29_atomics/atomic_address/requirements/
standard_layout.cc: Adjust.
* testsuite/29_atomics/atomic_flag/requirements/
standard_layout.cc: Same.
* testsuite/29_atomics/atomic_address/requirements/trivial.cc: New.
* testsuite/29_atomics/atomic_integral/requirements/trivial.cc: Same.
* testsuite/29_atomics/atomic_flag/requirements/trivial.cc: Same.
* testsuite/30_threads/condition_variable/requirements/typedefs.cc: New.
* testsuite/29_atomics/atomic_integral/cons/assign_neg.cc: Adjust
line numbers.
* testsuite/29_atomics/atomic_integral/cons/copy_neg.cc: Same.
* testsuite/29_atomics/atomic/cons/assign_neg.cc: Same.
* testsuite/29_atomics/atomic/cons/copy_neg.cc: Same.
* testsuite/29_atomics/atomic/requirements/standard_layout.cc:
Remove, not required.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143749 138bc75d-0d04-0410-961f-82ee72b054a4

15 years agoDaily bump.
gccadmin [Thu, 29 Jan 2009 00:16:44 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143747 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago2009-01-28 Paul Thomas <pault@gcc.gnu.org>
pault [Wed, 28 Jan 2009 21:48:53 +0000 (21:48 +0000)]
2009-01-28  Paul Thomas  <pault@gcc.gnu.org>

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

15 years ago * doc/invoke.texi (avoid-indexed-addresses): Document new option.
pthaugen [Wed, 28 Jan 2009 18:51:53 +0000 (18:51 +0000)]
* doc/invoke.texi (avoid-indexed-addresses): Document new option.
* config/rs6000/rs6000-protos.h (avoiding_indexed_address_p): Declare.
* config/rs6000/rs6000.opt (avoid-indexed-addresses): New option.
* config/rs6000/rs6000.c (rs6000_override_options): Default
avoid-indexed-addresses on for Power6, off for everything else.
(avoiding_indexed_address_p): New function.
(rs6000_legitimize_address): Use it.
(rs6000_legitimate_address): Likewise.
* config/rs6000/rs6000.md (movXX_updateX): Likewise
* gcc.target/powerpc/avoid-indexed-addresses.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143742 138bc75d-0d04-0410-961f-82ee72b054a4

15 years agogcc/
kazu [Wed, 28 Jan 2009 18:17:13 +0000 (18:17 +0000)]
gcc/
PR tree-optimization/38997
* tree-loop-distribution.c (generate_memset_zero): Use
POINTER_PLUS_EXPR for a pointer addition.

gcc/testsuite/
PR tree-optimization/38997
* gcc.dg/tree-ssa/pr38997.c: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143740 138bc75d-0d04-0410-961f-82ee72b054a4

15 years agogcc/
kazu [Wed, 28 Jan 2009 18:16:57 +0000 (18:16 +0000)]
gcc/
PR tree-optimization/38997
* tree-loop-distribution.c (generate_memset_zero): Use
POINTER_PLUS_EXPR for a pointer addition.

gcc/testsuite/
PR tree-optimization/38997
* gcc.dg/tree-ssa/pr38997.c: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143739 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago2009-01-28 Andreas Krebbel <krebbel1@de.ibm.com>
krebbel [Wed, 28 Jan 2009 16:41:24 +0000 (16:41 +0000)]
2009-01-28  Andreas Krebbel  <krebbel1@de.ibm.com>

* config/s390/s390.md (bswap<mode>2): New pattern added.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143737 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago2009-01-28 Wolfgang Gellerich <gellerich@de.ibm.com>
krebbel [Wed, 28 Jan 2009 16:39:56 +0000 (16:39 +0000)]
2009-01-28  Wolfgang Gellerich  <gellerich@de.ibm.com>

* config/s390/s390.md (*tls_load_31): Added type attribute.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143736 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago2009-01-28 Wolfgang Gellerich <gellerich@de.ibm.com>
krebbel [Wed, 28 Jan 2009 16:38:06 +0000 (16:38 +0000)]
2009-01-28  Wolfgang Gellerich  <gellerich@de.ibm.com>

* config/s390/s390.md: Fix a few comments.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143735 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago2009-01-28 Wolfgang Gellerich <gellerich@de.ibm.com>
krebbel [Wed, 28 Jan 2009 16:36:42 +0000 (16:36 +0000)]
2009-01-28  Wolfgang Gellerich  <gellerich@de.ibm.com>

* config/s390/s390.md (*tmsi_reg): Fixed z10prop attribute.
(*tm<mode>_full): Fixed z10prop attribute.
(*tst<mode>_extimm): Fixed z10prop attribute.
(*tst<mode>_cconly_extimm): Fixed z10prop attribute.
(*tstqiCCT_cconly): Fixed z10prop attribute.
(*cmpsi_ccu_zerohi_rlsi): Fixed z10prop attribute.
(*movsi_larl): Fixed z10prop attribute.
(*movsi_zarch): Fixed z10prop attribute.
(*movsi_eas): Fixed z10prop attribute.
(*movhi): Fixed z10prop attribute.
(*movqi): Fixed z10prop attribute.
(*movstrictqi): Fixed z10prop attribute.
(*mov<mode>): Fixed z10prop attribute.
(*movcc): Fixed z10prop attribute.
(*sethighpartdi_64): Fixed z10prop attribute.
(*zero_extendhi<mode>2_z10): Fixed z10prop attribute.
(*negdi2_sign_cc): Fixed z10prop attribute.
(*negdi2_sign): Fixed z10prop attribute.
(*absdi2_sign_cc): Fixed z10prop attribute.
(*absdi2_sign): Fixed z10prop attribute.
(*negabsdi2_sign_cc): Fixed z10prop attribute.
(*negabsdi2_sign): Fixed z10prop attribute.
(*cmp_and_trap_signed_int<mode>): Fixed z10prop attribute.
(*cmp_and_trap_unsigned_int<mode>): Fixed z10prop attribute.
(doloop_si64): Fixed z10prop attribute.
(doloop_si31): Fixed z10prop attribute.
(doloop_long): Fixed z10prop attribute.
(indirect_jump): Fixed z10prop attribute.
(nop): Fixed z10prop attribute.
(main_base_64): Fixed z10prop attribute.
(reload_base_64): Fixed z10prop attribute.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143734 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago PR rtl-optimization/38740
jakub [Wed, 28 Jan 2009 16:05:41 +0000 (16:05 +0000)]
PR rtl-optimization/38740
* reorg.c (gate_handle_delay_slots): Avoid dbr scheduling
if !optimize.
* config/mips/mips.c (mips_reorg): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143733 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago2009-01-28 Richard Guenther <rguenther@suse.de>
rguenth [Wed, 28 Jan 2009 12:14:09 +0000 (12:14 +0000)]
2009-01-28  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/38926
* tree-ssa-pre.c (add_to_value): Assert we add only expressions
with the correct value id to a value.
(do_regular_insertion): Use the value number of edoubleprime
for the value number of the expr.

Revert
2008-08-21  Richard Guenther  <rguenther@suse.de>

        * tree-ssa-pre.c (insert_into_preds_of_block): Before inserting
        a PHI ask VN if it is already available.
        * tree-ssa-sccvn.h (vn_phi_lookup): Declare.
        * tree-ssa-sccvn.c (vn_phi_lookup): Export.

* gcc.c-torture/compile/pr38926.c: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143725 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago PR middle-end/38934
jakub [Wed, 28 Jan 2009 10:40:06 +0000 (10:40 +0000)]
PR middle-end/38934
* tree-vrp.c (extract_range_from_assert): For LE_EXPR and LT_EXPR
set to varying whenever max has TREE_OVERFLOW set, similarly
for GE_EXPR and GT_EXPR and TREE_OVERFLOW min.

* gcc.dg/pr38934.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143723 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago2009-01-28 Richard Guenther <rguenther@suse.de>
rguenth [Wed, 28 Jan 2009 09:36:41 +0000 (09:36 +0000)]
2009-01-28  Richard Guenther  <rguenther@suse.de>

PR middle-end/38908
* tree-ssa.c (warn_uninitialized_var): Do not warn for seemingly
uninitialized aggregate uses in call arguments.

* g++.dg/warn/Wuninitialized-2.C: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143722 138bc75d-0d04-0410-961f-82ee72b054a4

15 years agogcc:
bonzini [Wed, 28 Jan 2009 08:02:31 +0000 (08:02 +0000)]
gcc:
2009-01-28  Paolo Bonzini  <bonzini@gnu.org>

PR tree-optimization/38984
* tree-ssa-structalias.c (get_constraints_for_1): Do not use
the nothing_id variable if -fno-delete-null-pointer-checks.

gcc/testsuite:
2009-01-28  Paolo Bonzini  <bonzini@gnu.org>

PR tree-optimization/38984
* gcc.dg/pr38984.c: New XFAILed testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143721 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago PR target/38988
uros [Wed, 28 Jan 2009 07:58:07 +0000 (07:58 +0000)]
PR target/38988
* config/i386/i386.md (set_rip_rex64): Wrap operand 1 in label_ref.
(set_got_offset_rex64): Ditto.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143720 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago2009-01-27 H.J. Lu <hongjiu.lu@intel.com>
hjl [Wed, 28 Jan 2009 03:38:41 +0000 (03:38 +0000)]
2009-01-27  H.J. Lu  <hongjiu.lu@intel.com>

PR target/38941
* doc/extend.texi: Improve local variable with asm reg.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143719 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago * c.opt (Wpacked-bitfield-compat): Change init value to -1.
nemet [Wed, 28 Jan 2009 02:55:20 +0000 (02:55 +0000)]
* c.opt (Wpacked-bitfield-compat): Change init value to -1.
* c-opts.c (c_common_post_options): If -W*packed-bitfield-compat
was not supplied then set warn_packed_bitfield_compat to the
default value of 1.
* stor-layout.c (place_field): Check warn_packed_bitfield_compat
against 1.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143718 138bc75d-0d04-0410-961f-82ee72b054a4

15 years agoDaily bump.
gccadmin [Wed, 28 Jan 2009 00:16:36 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143716 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago/cp
paolo [Tue, 27 Jan 2009 19:47:28 +0000 (19:47 +0000)]
/cp
2009-01-27  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/37554
* call.c (build_over_call): If convert_for_arg_passing returns
error_mark_node unconditionally return it.

/testsuite
2009-01-27  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/37554
* g++.dg/parse/crash51.C: New.
* g++.old-deja/g++.pt/crash9.C: Adjust.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143711 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago2009-01-27 Daniel Kraft <d@domob.eu>
domob [Tue, 27 Jan 2009 18:07:54 +0000 (18:07 +0000)]
2009-01-27  Daniel Kraft  <d@domob.eu>

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

15 years agoFix broken commit from r143594.
pbrook [Tue, 27 Jan 2009 16:14:13 +0000 (16:14 +0000)]
Fix broken commit from r143594.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143705 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago2009-01-27 Richard Guenther <rguenther@suse.de>
rguenth [Tue, 27 Jan 2009 10:42:59 +0000 (10:42 +0000)]
2009-01-27  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/38503
* cfgexpand.c (expand_gimple_basic_block): Ignore
GIMPLE_CHANGE_DYNAMIC_TYPE during expansion.
* tree-ssa-structalias.c (set_uids_in_ptset): Do not prune
variables that cannot have TBAA applied.
(compute_points_to_sets): Do not remove GIMPLE_CHANGE_DYNAMIC_TYPE
statements.

* g++.dg/warn/Wstrict-aliasing-bogus-placement-new.C: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143700 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago PR middle-end/38969
uros [Tue, 27 Jan 2009 10:18:54 +0000 (10:18 +0000)]
PR middle-end/38969
* calls.c (initialize_argument_information): Do not wrap complex
arguments in SAVE_EXPR.

testsuite/ChangeLog:

PR middle-end/38969
* gcc.c-torture/execute/pr38969.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143699 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago PR libgcj/38872
jakub [Tue, 27 Jan 2009 10:09:23 +0000 (10:09 +0000)]
PR libgcj/38872
* gcj/javaprims.h (_Jv_CreateJavaVM): Change to extern "C" symbol.
* libjgc_bc.c (_Jv_GetStringChars): Remove.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143698 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago PR testsuite/38864
nemet [Tue, 27 Jan 2009 07:41:46 +0000 (07:41 +0000)]
PR testsuite/38864
* gcc.target/mips/fixed-vector-type.c: Add { target { fixed_point} }
to dg-do compile.
* gcc.target/mips/fixed-scalar-type.c: Likewise.
* gcc.target/mips/dpaq_sa_l_w.c: Likewise.
* gcc.target/mips/dpsq_sa_l_w.c: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143694 138bc75d-0d04-0410-961f-82ee72b054a4

15 years agoDaily bump.
gccadmin [Tue, 27 Jan 2009 00:16:43 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143692 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago2009-01-26 H.J. Lu <hongjiu.lu@intel.com>
hjl [Mon, 26 Jan 2009 23:39:02 +0000 (23:39 +0000)]
2009-01-26  H.J. Lu  <hongjiu.lu@intel.com>

PR target/38952
* g++.dg/torture/stackalign/test-unwind.h (main): Also return 0
if __USING_SJLJ_EXCEPTIONS__ is defined.

* g++.dg/torture/stackalign/unwind-0.C (foo): Don't define if
__USING_SJLJ_EXCEPTIONS__ is defined.
* g++.dg/torture/stackalign/unwind-1.C (foo): Likewise.
* g++.dg/torture/stackalign/unwind-2.C (foo): Likewise.
* g++.dg/torture/stackalign/unwind-3.C (foo): Likewise.
* g++.dg/torture/stackalign/unwind-4.C (foo): Likewise.
* g++.dg/torture/stackalign/unwind-5.C (foo): Likewise.
* g++.dg/torture/stackalign/unwind-6.C (foo): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143689 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago2009-01-26 Andreas Tobler <a.tobler@schweiz.org>
andreast [Mon, 26 Jan 2009 23:01:25 +0000 (23:01 +0000)]
2009-01-26  Andreas Tobler  <a.tobler@schweiz.org>

* config/t-vxworks (LIBGCC2_INCLUDES): Fix typo.
(INSTALL_LIBGCC): Revert typo commit.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143687 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago2009-01-26 Andreas Tobler <a.tobler@schweiz.org>
andreast [Mon, 26 Jan 2009 21:47:10 +0000 (21:47 +0000)]
2009-01-26  Andreas Tobler  <a.tobler@schweiz.org>

* config/t-vxworks (LIBGCC2_INCLUDES): Fix typo.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143686 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago2009-01-26 Danny Smith <dannysmith@users.sourceforge.net>
hjl [Mon, 26 Jan 2009 20:34:09 +0000 (20:34 +0000)]
2009-01-26  Danny Smith  <dannysmith@users.sourceforge.net>

PR testsuite/38949
* g++.dg/torture/stackalign/test-unwind.h (ASMNAME): Define.
Use instead of C name in asm statements.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143684 138bc75d-0d04-0410-961f-82ee72b054a4

15 years agoFix a typo.
hjl [Mon, 26 Jan 2009 16:46:03 +0000 (16:46 +0000)]
Fix a typo.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143679 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago2009-01-26 Richard Guenther <rguenther@suse.de>
rguenth [Mon, 26 Jan 2009 15:03:30 +0000 (15:03 +0000)]
2009-01-26  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/38745
* tree-ssa-alias.c (update_alias_info_1): Exclude RESULT_DECL
from special handling.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143676 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago2009-01-26 Richard Guenther <rguenther@suse.de>
rguenth [Mon, 26 Jan 2009 09:55:30 +0000 (09:55 +0000)]
2009-01-26  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/38745
* tree-ssa.c (execute_update_addresses_taken): Do not include
variables that cannot possibly be a register in not_reg_needs.
Do not clear TREE_ADDRESSABLE on vars that may not become
registers.
* tree-ssa.c (update_alias_info_1): Include those in the set
of addressable vars.

* g++.dg/torture/pr38745.C: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143673 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago2009-01-26 Richard Guenther <rguenther@suse.de>
rguenth [Mon, 26 Jan 2009 09:52:48 +0000 (09:52 +0000)]
2009-01-26  Richard Guenther  <rguenther@suse.de>

PR middle-end/38851
* Makefile.in (tree-ssa-dse.o): Add langhooks.h.
* tree-ssa-dse.c: Include langhooks.h
(execute_simple_dse): Remove stores with zero size.

* g++.dg/warn/Wuninitialized-1.C: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143672 138bc75d-0d04-0410-961f-82ee72b054a4

15 years agoDaily bump.
gccadmin [Mon, 26 Jan 2009 00:16:58 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143667 138bc75d-0d04-0410-961f-82ee72b054a4

15 years agoReplace spurious character 0xa0 with 0x20 before 'target'
hp [Sun, 25 Jan 2009 20:15:44 +0000 (20:15 +0000)]
Replace spurious character 0xa0 with 0x20 before 'target'

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143664 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago * gcc.dg/bitfld-15.c: Gate warning on target
hp [Sun, 25 Jan 2009 12:11:21 +0000 (12:11 +0000)]
* gcc.dg/bitfld-15.c: Gate warning on target
pcc_bitfield_type_matters.
* gcc.dg/bitfld-17.c, g++.dg/ext/bitfield2.C,
g++.dg/ext/bitfield4.C: Likewise.
* gcc.dg/pr17112-1.c: Don't expect a warning for the packed
bitfield for any target.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143662 138bc75d-0d04-0410-961f-82ee72b054a4

15 years agoDaily bump.
gccadmin [Sun, 25 Jan 2009 00:16:43 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143659 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago PR c/38957
jakub [Sat, 24 Jan 2009 21:36:09 +0000 (21:36 +0000)]
PR c/38957
* c-typeck.c (c_finish_return): Handle POINTER_PLUS_EXPR the same way
as PLUS_EXPR.

* gcc.dg/pr38957.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143654 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago * config/arm/t-linux-eabi (LIB2FUNCS_STATIC_EXTRA): Add
jules [Sat, 24 Jan 2009 21:06:08 +0000 (21:06 +0000)]
* config/arm/t-linux-eabi (LIB2FUNCS_STATIC_EXTRA): Add
config/arm/linux-atomic.c.
* config/arm/linux-atomic.c: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143653 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago * config/sparc/linux.h (DBX_REGISTER_NUMBER): Delete.
ebotcazou [Sat, 24 Jan 2009 20:49:41 +0000 (20:49 +0000)]
* config/sparc/linux.h (DBX_REGISTER_NUMBER): Delete.
* config/sparc/linux64.h (DBX_REGISTER_NUMBER): Likewise.
* config/sparc/sysv4.h (DBX_REGISTER_NUMBER): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143649 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago2009-01-24 H.J. Lu <hongjiu.lu@intel.com>
hjl [Sat, 24 Jan 2009 16:05:53 +0000 (16:05 +0000)]
2009-01-24  H.J. Lu  <hongjiu.lu@intel.com>

PR c/38938
* c-opts.c (c_common_handle_option): Upate warn_pointer_sign
properly.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143648 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago2009-01-24 David Billinghurst (billingd@gcc.gnu.org)
billingd [Sat, 24 Jan 2009 08:00:13 +0000 (08:00 +0000)]
2009-01-24 David Billinghurst (billingd@gcc.gnu.org)

PR fortran/38955
* gfortran.dg/array_constructor_24.f: Allow tolerance when
comparing floats

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143600 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago2009-01-24 Sebastian Pop <sebastian.pop@amd.com>
spop [Sat, 24 Jan 2009 00:59:51 +0000 (00:59 +0000)]
2009-01-24  Sebastian Pop  <sebastian.pop@amd.com>

PR tree-optimization/38953
* graphite.c (graphite_verify): Add a call to verify_loop_closed_ssa.
(scop_adjust_phis_for_liveouts): Initialize false_i to zero.
(gloog): Split the exit of the scop when the scop exit is a loop exit.
(graphite_transform_loops): Only call cleanup_tree_cfg if gloog
changed the CFG.

* gfortran.dg/graphite/pr38953.f90: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143599 138bc75d-0d04-0410-961f-82ee72b054a4

15 years agoDaily bump.
gccadmin [Sat, 24 Jan 2009 00:17:00 +0000 (00:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143597 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago2009-01-24 Paul Brook <paul@codesourcery.com>
pbrook [Sat, 24 Jan 2009 00:10:30 +0000 (00:10 +0000)]
2009-01-24  Paul Brook  <paul@codesourcery.com>

gcc/
* config/arm/neon.md (neon_type): Move to arm.md.
(neon_mov<VSTRUCT>): Add neon_type attribute.
* config/arm/arm.md (neon_type): Move to here.
(conds): Add "unconditioal" and use as default for NEON insns.

gcc/testsuite/
* gcc.target/arm/neon-cond-1.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143594 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago * bitmap.h (BITMAP_FREE): Eliminate `implicit conversion from
bje [Fri, 23 Jan 2009 22:48:23 +0000 (22:48 +0000)]
* bitmap.h (BITMAP_FREE): Eliminate `implicit conversion from
void *' warning from -Wc++-compat.
* Makefile.in (dominance.o-warn): Remove.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143593 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago2008-01-23 Paolo Bonzini <bonzini@gnu.org>
bonzini [Fri, 23 Jan 2009 15:57:19 +0000 (15:57 +0000)]
2008-01-23  Paolo Bonzini  <bonzini@gnu.org>

PR tree-optimization/38932
* fold-const.c (fold_unary_no_overflow): New.
* tree.h (fold_unary_no_overflow): Declare.
* tree-ssa-ccp.c (ccp_fold): Use fold_unary_no_overflow.
* tree-ssa-sccvn.c (visit_reference_op_load,
simplify_unary_expression): Likewise.

testsuite:
2008-01-23  Paolo Bonzini  <bonzini@gnu.org>

PR tree-optimization/38932
* gcc.dg/pr38932.c: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143588 138bc75d-0d04-0410-961f-82ee72b054a4

15 years agofix testcase sms-7.c
revitale [Fri, 23 Jan 2009 10:34:44 +0000 (10:34 +0000)]
fix testcase sms-7.c

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143587 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago * c-decl.c (finish_struct): Move code to set DECL_PACKED after
nemet [Fri, 23 Jan 2009 06:29:54 +0000 (06:29 +0000)]
* c-decl.c (finish_struct): Move code to set DECL_PACKED after
DECL_BIT_FIELD is alreay known.  Also inherit packed for bitfields
regardless of their type.
* c-common.c (handle_packed_attribute): Don't ignore packed on
bitfields.
* c.opt (Wpacked-bitfield-compat): New warning option.
* stor-layout.c (place_field): Warn if offset of a field changed.
* doc/extend.texi (packed): Mention the ABI change.
* doc/invoke.texi (-Wpacked-bitfield-compat): Document.
(Warning Options): Add it to the list.

cp/
* class.c (check_field_decls): Also inherit packed for bitfields
regardless of their type.

testsuite/
* gcc.dg/bitfld-15.c, gcc.dg/bitfld-16.c,
gcc.dg/bitfld-17.c,gcc.dg/bitfld-18.c: New tests.
* g++.dg/ext/bitfield2.C, g++.dg/ext/bitfield3.C,
g++.dg/ext/bitfield4.C, g++.dg/ext/bitfield5.C: New tests.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143584 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago libmudflap/
jiez [Fri, 23 Jan 2009 04:58:03 +0000 (04:58 +0000)]
libmudflap/
* mf-impl.h (__mf_get_state, __mf_set_state): Don't use
__thread when TLS support is emulated.
* mf-hooks3.c (__mf_get_state, __mf_set_state): Likewise.
* mf-runtime.c (__mf_state_1): Likewise.
* configure.ac: Use GCC_CHECK_EMUTLS.
* configure: Regenerate.
* config.h.in: Regenerate.

config/
* tls.m4 (GCC_CHECK_EMUTLS): Define.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143583 138bc75d-0d04-0410-961f-82ee72b054a4

15 years agoDaily bump.
gccadmin [Fri, 23 Jan 2009 00:16:47 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143581 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago2009-01-22 H.J. Lu <hongjiu.lu@intel.com>
hjl [Thu, 22 Jan 2009 23:46:46 +0000 (23:46 +0000)]
2009-01-22  H.J. Lu  <hongjiu.lu@intel.com>

* c-opts.c (c_common_post_options): Fix a typo in comments.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143578 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago2009-01-22 Jonathan Wakely <jwakely.gcc@gmail.com>
redi [Thu, 22 Jan 2009 22:33:02 +0000 (22:33 +0000)]
2009-01-22  Jonathan Wakely  <jwakely.gcc@gmail.com>

* include/std/thread (__thread_data_base, thread): Rename member
functions to match coding style.
(thread::thread,thread::operator=): Define move operations.
* src/thread.cc (__thread_data_base, thread): Rename member functions.
* config/abi/pre/gnu.ver: Adjust.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143577 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago2009-01-22 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Thu, 22 Jan 2009 21:40:23 +0000 (21:40 +0000)]
2009-01-22  Benjamin Kosnik  <bkoz@redhat.com>

PR libstdc++/38384
* acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Disable symbol versioning
on HPUX.
* configure: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143576 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago * gcc.dg/pr35729.c: Make test x86 specific.
sje [Thu, 22 Jan 2009 17:34:57 +0000 (17:34 +0000)]
* gcc.dg/pr35729.c: Make test x86 specific.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143573 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago Should have been in previous checkin.
sje [Thu, 22 Jan 2009 17:09:56 +0000 (17:09 +0000)]
Should have been in previous checkin.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143572 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago PR middle-end/38615
sje [Thu, 22 Jan 2009 17:03:35 +0000 (17:03 +0000)]
PR middle-end/38615
* gcc.dg/pr38615.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143571 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago PR middle-end/38615
sje [Thu, 22 Jan 2009 17:02:21 +0000 (17:02 +0000)]
PR middle-end/38615
* gimplify.c (gimplify_init_constructor): Fix promotion of const
variables to static.
* doc/invoke.texi (-fmerge-all-constants): Update description.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143570 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago PR target/38931
uros [Thu, 22 Jan 2009 12:48:03 +0000 (12:48 +0000)]
PR target/38931
* config/i386/i386.md (*movsi_1): Use type "mmx" for alternative 2.
(*movdi_1_rex64): Use type "mmx" for alternative 5.

testsuite/ChangeLog:

PR target/38931
* gcc.target/i386/pr38931.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143567 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago * arm.h (DATA_ALIGNMENT): Align structures, unions and arrays to
rearnsha [Thu, 22 Jan 2009 11:17:53 +0000 (11:17 +0000)]
* arm.h (DATA_ALIGNMENT): Align structures, unions and arrays to
a word boundary.
(LOCAL_ALIGNMENT): Similarly.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143566 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago2009-01-22 Mark Shinwell <shinwell@codesourcery.com>
jsm28 [Thu, 22 Jan 2009 11:16:45 +0000 (11:16 +0000)]
2009-01-22  Mark Shinwell  <shinwell@codesourcery.com>
            Joseph Myers  <joseph@codesourcery.com>

* config/arm/arm.c (all_architectures): Add iWMMXt2 entry.
* config/arm/arm-cores.def: New ARM_CORE entry for iWMMXt2.
* config/arm/arm-tune.md: Regenerate.
* doc/invoke.texi (ARM Options): Document -mcpu=iwmmxt2 and
-march=iwmmxt2.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143565 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago2009-01-22 Mark Shinwell <shinwell@codesourcery.com>
jsm28 [Thu, 22 Jan 2009 11:14:42 +0000 (11:14 +0000)]
2009-01-22  Mark Shinwell  <shinwell@codesourcery.com>

* config/arm/bpabi.h (SUBTARGET_EXTRA_ASM_SPEC): Bump EABI
version number to five.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143564 138bc75d-0d04-0410-961f-82ee72b054a4

15 years agoReverted commit 143546 related to PR c++/26693
dodji [Thu, 22 Jan 2009 07:15:41 +0000 (07:15 +0000)]
Reverted commit 143546 related to PR c++/26693

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143562 138bc75d-0d04-0410-961f-82ee72b054a4

15 years agoDaily bump.
gccadmin [Thu, 22 Jan 2009 00:16:56 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143560 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago2009-01-21 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Wed, 21 Jan 2009 22:50:31 +0000 (22:50 +0000)]
2009-01-21  Benjamin Kosnik  <bkoz@redhat.com>

* testsuite/29_atomics/headers/stdatomic.h/functions.c: Remove
atomic_flag_fence.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143557 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago2009-01-21 Vladimir Makarov <vmakarov@redhat.com>
vmakarov [Wed, 21 Jan 2009 20:18:03 +0000 (20:18 +0000)]
2009-01-21  Vladimir Makarov  <vmakarov@redhat.com>

PR middle-end/38587
* ira-color.c (coalesce_spill_slots): Don't coalesce allocnos
crossing setjmps.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143554 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago PR bootstrap/37660
davek [Wed, 21 Jan 2009 19:20:08 +0000 (19:20 +0000)]
PR bootstrap/37660
* config/i386/cygwin.h (SHARED_LIBGCC_SPEC):  New helper macro.
(LIBGCC_SPEC):  Don't define.
(REAL_LIBGCC_SPEC):  Define instead, using SHARED_LIBGCC_SPEC.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143552 138bc75d-0d04-0410-961f-82ee72b054a4

15 years agogcc/testsuite/
rsandifo [Wed, 21 Jan 2009 18:57:22 +0000 (18:57 +0000)]
gcc/testsuite/
* gcc.dg/tree-ssa/ssa-store-ccp-3.c: Skip for mips*-*-linux*
and mips*-*-irix*.
* gcc.dg/tree-ssa/vrp47.c: Skip for all MIPS targets.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143551 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago * testsuite/ChangeLog: Add missing ChangeLog entry.
uros [Wed, 21 Jan 2009 18:50:07 +0000 (18:50 +0000)]
* testsuite/ChangeLog: Add missing ChangeLog entry.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143550 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago PR rtl-optimization/38879
uros [Wed, 21 Jan 2009 18:47:19 +0000 (18:47 +0000)]
PR rtl-optimization/38879
* alias.c (base_alias_check): Unaligned access via AND address can
alias all surrounding object types except those with sizes equal
or wider than the size of unaligned access.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143549 138bc75d-0d04-0410-961f-82ee72b054a4

15 years agogcc/ChangeLog:
dodji [Wed, 21 Jan 2009 16:14:49 +0000 (16:14 +0000)]
gcc/ChangeLog:
2009-01-21  Dodji Seketeli  <dodji@redhat.com>

PR c++/26693
* c-decl.c: (clone_underlying_type): Move this  ...
* c-common.c (set_underlying_type): ... here.
Also, make sure the function  properly sets TYPE_STUB_DECL() on
the newly created typedef variant type.
(is_typedef_decl ): New entry point.
* tree.h: Added a new member member_types_needing_access_check to
struct tree_decl_non_common.
(set_underlying_type): New entry point.
(is_typedef_type): Likewise.

gcc/cp/ChangeLog/
2009-01-21  Dodji Seketeli  <dodji@redhat.com>

PR c++/26693
* decl2.c (grokfield): when a typedef appears in a
class, create the typedef variant type node for it.
(save_template_attributes): Creating typedef variant type node
 here is now useless.
* decl.c (grokdeclarator): If the typedef'ed struct/class was
anonymous, set the proper type name to all its type variants.
* name-lookup.c (pushdecl_maybe_friend): Reuse the
set_underlying_type function to install typedef variant types.
* cp-tree.h (MEMBER_TYPES_NEEDING_ACCESS_CHECK): New template accessor
macro.
(append_type_to_template_for_access_check): New entry points.
* semantics.c (check_accessibility_of_qualified_id):
When a typedef that is a member of a class appears in a template,
add it to the template. It will be ...
* pt.c (instantiate_class_template, instantiate_template ): ... access
checked at template instantiation time.
(tsubst): Handle the case of being called with NULL args.
(resolve_type_name_type): The type name should be the name of the
main type variant.
(append_type_to_template_for_access_check): New entry point.

gcc/testsuite/ChangeLog
2009-01-21  Dodji Seketeli  <dodji@redhat.com>

PR c++/26693
* g++.dg/template/typedef11.C: New test.
* g++.dg/template/typedef12.C: Likewise.
* g++.dg/template/typedef13.C: Likewise.
* g++.dg/template/typedef14.C: Likewise.
* g++.dg/template/sfinae3.C: Compile this pedantically.
The only errors expected should be the one saying the typedef is ill
formed.
* g++.old-deja/g++.pt/typename8.C: Likewise.
* g++.dg/template/access11.C: Update this.

libstdc++-v3/ChangeLog:
2009-01-21  Dodji Seketeli  <dodji@redhat.com>

* include/ext/bitmap_allocator.h: the typedefs should be made public
if we want them to be accessible. This has been revealed by the patch
that fixes PR c++/26693 in g++.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143546 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago2009-01-21 Daniel Kraft <d@domob.eu>
domob [Wed, 21 Jan 2009 13:34:55 +0000 (13:34 +0000)]
2009-01-21  Daniel Kraft  <d@domob.eu>

* 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

15 years agocheck alias sets in add_inter_loop_mem_dep
revitale [Wed, 21 Jan 2009 11:39:19 +0000 (11:39 +0000)]
check alias sets in add_inter_loop_mem_dep

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143540 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago2009-01-20 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Wed, 21 Jan 2009 04:04:24 +0000 (04:04 +0000)]
2009-01-20  Benjamin Kosnik  <bkoz@redhat.com>
    Uros Bizjak  <ubizjak@gmail.com>

PR libstdc++/38834
* config/abi/pre/gnu.ver: Correct char16_t and char32_t exports.
* config/os/gnu-linux/ldbl-extra.ver: Tweak.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143538 138bc75d-0d04-0410-961f-82ee72b054a4

15 years agoDaily bump.
gccadmin [Wed, 21 Jan 2009 00:16:51 +0000 (00:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143536 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago PR other/38758
jsm28 [Tue, 20 Jan 2009 21:58:30 +0000 (21:58 +0000)]
PR other/38758
* longlong.h: Update copyright years.  Use soft-fp license
notice.  Sync __clz_tab declaration with glibc.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143531 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago2009-01-20 Paul Thomas <pault@gcc.gnu.org>
pault [Tue, 20 Jan 2009 21:56:49 +0000 (21:56 +0000)]
2009-01-20  Paul Thomas  <pault@gcc.gnu.org>

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

15 years ago2009-01-20 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Tue, 20 Jan 2009 19:30:51 +0000 (19:30 +0000)]
2009-01-20  Benjamin Kosnik  <bkoz@redhat.com>
            Rainer Emrich  <r.emrich@de.tecosim.com>

PR libstdc++/38919
* crossconfig.m4: Use GLIBCXX_CHECK_MATH_SUPPORT and
GLIBCXX_CHECK_STDLIB_SUPPORT for mingw crosses.
* configure: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143526 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago PR target/30687
sje [Tue, 20 Jan 2009 19:14:06 +0000 (19:14 +0000)]
PR target/30687
* doc/extend.texi (syscall_linkage): New.
(version_id): Modify.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143525 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago2009-01-20 Tobias Burnus <burnus@net-b.de>
burnus [Tue, 20 Jan 2009 18:46:30 +0000 (18:46 +0000)]
2009-01-20  Tobias Burnus  <burnus@net-b.de>

        * 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

15 years ago2009-01-20 Andrew Pinski <andrew_pinski@playstation.sony.com>
rguenth [Tue, 20 Jan 2009 17:10:40 +0000 (17:10 +0000)]
2009-01-20  Andrew Pinski  <andrew_pinski@playstation.sony.com>
Richard Guenther  <rguenther@suse.de>

PR tree-optimization/38747
PR tree-optimization/38748
* tree-ssa-forwprop.c (forward_propagate_addr_expr_1): Disable the VCE
conversion if the base address is an indirect reference and the
aliasing sets could cause issues.

* gcc.dg/tree-ssa/struct-aliasing-1.c: New test.
* gcc.dg/tree-ssa/struct-aliasing-2.c: Likewise.
* gcc.c-torture/execute/struct-aliasing-1.c: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143523 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago2009-01-20 Sebastian Pop <sebastian.pop@amd.com>
spop [Tue, 20 Jan 2009 15:01:14 +0000 (15:01 +0000)]
2009-01-20  Sebastian Pop  <sebastian.pop@amd.com>

* common.opt (fgraphite, fgraphite-identity): Add comment for
explaining why these options are not documented.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143518 138bc75d-0d04-0410-961f-82ee72b054a4

15 years ago2009-01-20 Sebastian Pop <sebastian.pop@amd.com>
spop [Tue, 20 Jan 2009 14:58:53 +0000 (14:58 +0000)]
2009-01-20  Sebastian Pop  <sebastian.pop@amd.com>

* graphite.c (stmt_simple_for_scop_p): Also handle cases when
gimple_call_lhs is NULL.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@143517 138bc75d-0d04-0410-961f-82ee72b054a4