OSDN Git Service
steven [Sat, 1 Jan 2005 16:19:35 +0000 (16:19 +0000)]
Rotate ChangeLog
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92785
138bc75d-0d04-0410-961f-
82ee72b054a4
steven [Sat, 1 Jan 2005 16:15:23 +0000 (16:15 +0000)]
* emit-rtl.c (add_insn_before): Fix comment typo.
PR middle-end/17544
* c-decl.c (finish_function): If compiling C99, annotate the
compiler generated return with the current file name and line 0.
* tree-cfg.c (remove_useless_stmts_warn_notreached): Only warn if
the source line is greater than 0.
(remove_bb): Likewise.
cp/
PR middle-end/17544
* decl.c (finish_function): Fix comment. Annotate the compiler
generated return with the current file name and line 0.
testsuite/
* gcc.dg/
20041231-1.C: New test.
* g++.dg/warn/Wunreachable-code-1.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92784
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sat, 1 Jan 2005 02:38:06 +0000 (02:38 +0000)]
PR tree-opt/19042
* tree-sra.c (decide_block_copy): Force use_block_copy false
for complex values.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92782
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sat, 1 Jan 2005 01:43:12 +0000 (01:43 +0000)]
PR middle-end/17799
* function.c (use_register_for_decl): Check DECL_IGNORED_P instead
of DECL_ARTIFICIAL.
(assign_parms_augmented_arg_list): Set DECL_IGNORED_P.
* c-decl.c (build_compound_literal): Likewise.
* dwarf2asm.c (dw2_force_const_mem): Likewise.
* gimplify.c (create_artificial_label): Likewise.
* tree-inline.c (expand_call_inline): Likewise.
* var-tracking.c (vt_initialize): Likewise.
* tree-outof-ssa.c (create_temp): Copy DECL_IGNORED_P.
cp/
* call.c (make_temporary_var_for_ref_to_temp): Set DECL_IGNORED_P.
* class.c (build_vtable): Don't conditionallize setting it
based on DWARF2_DEBUG.
(layout_class_type): Set DECL_IGNORED_P.
* decl2.c (get_guard): Likewise.
* rtti.c (get_tinfo_decl, build_lang_decl): Likewise.
* tree.c (build_local_temp): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92781
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sat, 1 Jan 2005 00:16:16 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92779
138bc75d-0d04-0410-961f-
82ee72b054a4
pinskia [Fri, 31 Dec 2004 22:07:47 +0000 (22:07 +0000)]
2004-12-31 Andrew Pinski <pinskia@physics.uc.edu>
PR target/19211
* config/darwin.c (machopic_legitimize_pic_address): If the orig
is subregister return orig.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92776
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Fri, 31 Dec 2004 22:04:30 +0000 (22:04 +0000)]
* src/types.c (FFI_AGGREGATE_TYPEDEF): Remove.
(FFI_TYPEDEF): Rename from FFI_INTEGRAL_TYPEDEF. Replace size and
offset parameters with a type parameter; deduce size and structure
alignment. Update all users.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92775
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Fri, 31 Dec 2004 20:11:17 +0000 (20:11 +0000)]
* src/types.c (FFI_TYPE_POINTER): Define with sizeof.
(FFI_TYPE_LONGDOUBLE): Fix for ia64.
* src/ia64/ffitarget.h (struct ffi_ia64_trampoline_struct): Move
into ffi_prep_closure.
* src/ia64/ia64_flags.h, src/ia64/ffi.c, src/ia64/unix.S: Rewrite
from scratch.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92774
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Fri, 31 Dec 2004 18:15:22 +0000 (18:15 +0000)]
2004-12-31 Paolo Carlini <pcarlini@suse.de>
* include/tr1/type_traits (is_member_function_pointer): Provide a
workaround for c++/19076, correct for functions with up to 15
arguments.
* testsuite/tr1/4_metaprogramming/composite_type_traits/
is_member_pointer/is_member_pointer.cc: Uncomment "XFAILed" tests;
add a test for variadic functions.
* testsuite/tr1/4_metaprogramming/composite_type_traits/
is_scalar/is_scalar.cc: Uncomment "XFAILed" tests.
* testsuite/tr1/4_metaprogramming/primary_type_categories/
is_enum/is_enum.cc: Likewise.
* testsuite/tr1/4_metaprogramming/primary_type_categories/
is_member_function_pointer/is_member_function_pointer.cc: Likewise;
add a test for variadic functions.
* testsuite/tr1/4_metaprogramming/primary_type_categories/
is_member_object_pointer/is_member_object_pointer.cc: Likewise.
* testsuite/tr1/4_metaprogramming/type_properties/
has_nothrow_assign/has_nothrow_assign.cc: Uncomment "XFAILed" tests.
* testsuite/tr1/4_metaprogramming/type_properties/
has_nothrow_constructor/has_nothrow_constructor.cc: Likewise.
* testsuite/tr1/4_metaprogramming/type_properties/
has_nothrow_copy/has_nothrow_copy.cc: Likewise.
* testsuite/tr1/4_metaprogramming/type_properties/
has_trivial_assign/has_trivial_assign.cc: Likewise.
* testsuite/tr1/4_metaprogramming/type_properties/
has_trivial_constructor/has_trivial_constructor.cc: Likewise.
* testsuite/tr1/4_metaprogramming/type_properties/
has_trivial_copy/has_trivial_copy.cc: Likewise.
* testsuite/tr1/4_metaprogramming/type_properties/
has_trivial_destructor/has_trivial_destructor.cc: Likewise.
* testsuite/tr1/4_metaprogramming/type_properties/
is_pod/is_pod.cc: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92769
138bc75d-0d04-0410-961f-
82ee72b054a4
rakdver [Fri, 31 Dec 2004 18:03:28 +0000 (18:03 +0000)]
* tree-scalar-evolution.c (instantiate_parameters_1): Copy the
expression only if needed.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92768
138bc75d-0d04-0410-961f-
82ee72b054a4
danglin [Fri, 31 Dec 2004 17:00:09 +0000 (17:00 +0000)]
* pa-hpux.h (HANDLE_SYSV_PRAGMA, HANDLE_PRAGMA_PACK_PUSH_POP): Define.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92767
138bc75d-0d04-0410-961f-
82ee72b054a4
hp [Fri, 31 Dec 2004 16:28:34 +0000 (16:28 +0000)]
PR target/18701
* combine.c (combine_simplify_rtx): Do not allow paradoxical
subregs of MEM.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92762
138bc75d-0d04-0410-961f-
82ee72b054a4
hp [Fri, 31 Dec 2004 16:24:48 +0000 (16:24 +0000)]
PR target/18701
* combine.c (gen_lowpart_for_combine): When stripping SUBREG of
MEM, adjust imode and isize.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92760
138bc75d-0d04-0410-961f-
82ee72b054a4
aj [Fri, 31 Dec 2004 12:34:18 +0000 (12:34 +0000)]
* testsuite/lib/libjava.exp (libjava_find_gij): Handle multilibs.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92758
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Fri, 31 Dec 2004 00:16:20 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92752
138bc75d-0d04-0410-961f-
82ee72b054a4
spop [Fri, 31 Dec 2004 00:11:08 +0000 (00:11 +0000)]
* update_version (ADD_BRANCHES): Replace lno-branch with
autovect-branch.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92747
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Thu, 30 Dec 2004 23:29:33 +0000 (23:29 +0000)]
* cp-tree.h (cp_declarator): Split "name" field into
qualifying_scope and unqualified_name.
* decl.c (get_scope_of_declarator): Adjust accordingly.
(grokdeclarator): Likewise.
* decl2.c (grokfield): Likewise, and adjust call to
do_class_using_decl.
* name-lookup.c (do_class_using_decl): Split "decl" into
"scope" and "name". Remove unnecessary code.
* name-lookup.h (do_class_using_decl): Adjust declaration.
* parser.c (make_id_declarator): Split "id" into qualifying_scope
and unqualified_name.
(cp_parser_using_declaration): Adjust call to do_class_using_decl.
(cp_parser_direct_declarator): Adjust to handle the fact that
cp_parser_declarator_id no longer returns a SCOPE_REF.
(cp_parser_direct_declarator): Likewise.
(cp_parser_declarator_id): Do not create a SCOPE_REF for qualified
names.
(cp_parser_member_declaration): Adjust call to make_id_declarator.
(cp_parser_check_declarator_template_parameters): Do not expect a
SCOPE_REF.
* decl.c (duplicate_decls): Call ggc_free on declarations we will
not be needing any longer.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92746
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Thu, 30 Dec 2004 23:27:28 +0000 (23:27 +0000)]
2004-12-30 Paolo Carlini <pcarlini@suse.de>
* include/tr1/type_traits: Add has_trivial_copy, has_trivial_assign,
has_nothrow_copy, has_nothrow_assign.
* testsuite/testsuite_tr1.h: Add test_copy_property and
test_assign_property.
* testsuite/tr1/4_metaprogramming/type_properties/
has_nothrow_assign/has_nothrow_assign.cc: New.
* testsuite/tr1/4_metaprogramming/type_properties/
has_nothrow_assign/typedefs.cc: Likewise.
* testsuite/tr1/4_metaprogramming/type_properties/
has_nothrow_copy/has_nothrow_copy.cc: Likewise.
* testsuite/tr1/4_metaprogramming/type_properties/
has_nothrow_copy/typedefs.cc: Likewise.
* testsuite/tr1/4_metaprogramming/type_properties/
has_trivial_assign/has_trivial_assign.cc: Likewise.
* testsuite/tr1/4_metaprogramming/type_properties/
has_trivial_assign/typedefs.cc: Likewise.
* testsuite/tr1/4_metaprogramming/type_properties/
has_trivial_copy/has_trivial_copy.cc: Likewise.
* testsuite/tr1/4_metaprogramming/type_properties/
has_trivial_copy/typedefs.cc: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92745
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Thu, 30 Dec 2004 20:47:55 +0000 (20:47 +0000)]
* config/ia64/ia64.c (hfa_element_mode): Return false for
zero-sized top-level aggregates.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92741
138bc75d-0d04-0410-961f-
82ee72b054a4
dje [Thu, 30 Dec 2004 17:16:39 +0000 (17:16 +0000)]
* gfortran.fortran-torture/execute/read_eof.f90: Open scratch
file, not /dev/null. Abort on error.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92737
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Thu, 30 Dec 2004 13:16:13 +0000 (13:16 +0000)]
PR target/18019
* i386.md (movqi_1): Fix -Os instruction choice.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92733
138bc75d-0d04-0410-961f-
82ee72b054a4
aj [Thu, 30 Dec 2004 11:24:06 +0000 (11:24 +0000)]
2004-12-30 Sohail Somani <sohail@sohailsomani.com>
PR ada/19128
* trans.c (gnat_to_gnu): Fix typo: Use correct return variable.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92732
138bc75d-0d04-0410-961f-
82ee72b054a4
zlaski [Thu, 30 Dec 2004 10:18:18 +0000 (10:18 +0000)]
[gcc/objc/ChangeLog]
2004-12-30 Ziemowit Laski <zlaski@apple.com>
PR objc/18971
* objc-act.c (get_arg_type_list, start_method_def): Decay
array arguments into pointers.
(gen_type_name_0): Learn to pretty-print array types.
[gcc/testsuite/ChangeLog]
2004-12-30 Alexander Malmberg <alexander@malmberg.org>
Ziemowit Laski <zlaski@apple.com>
PR objc/18971
* objc.dg/encode-5.m: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92731
138bc75d-0d04-0410-961f-
82ee72b054a4
steven [Thu, 30 Dec 2004 09:09:07 +0000 (09:09 +0000)]
* global.c (regclass_intersect): Remove.
(mark_reg_use_for_earlyclobber): Use reg_classes_intersect_p instead.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92729
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Thu, 30 Dec 2004 08:59:15 +0000 (08:59 +0000)]
* config/ia64/ia64.c (ia64_function_value): Use PARALLEL for
aggregates with XF/XCmode.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92728
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Thu, 30 Dec 2004 05:22:35 +0000 (05:22 +0000)]
* gcc.dg/
20040813-1.c: Disable for alpha and ia64.
* objc.dg/stabs-1.m: Disable for ia64.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92727
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Thu, 30 Dec 2004 03:08:18 +0000 (03:08 +0000)]
* target.h (targetm.calls.arg_partial_bytes): New.
* target-def.h (TARGET_ARG_PARTIAL_BYTES): New.
* calls.c (store_unaligned_arguments_into_pseudos): Update for
partial in bytes.
(load_register_parameters): Likewise.
(store_one_arg): Likewise.
(initialize_argument_information): Use targetm.calls.arg_partial_bytes.
(emit_library_call_value_1): Likewise.
* expr.c (block_move_libcall_safe_for_call_parm): Likewise.
(emit_push_insn): Update for partial in bytes.
* expr.h (FUNCTION_ARG_PARTIAL_NREGS): Remove.
* function.c (assign_parm_find_entry_rtl): Use
targetm.calls.arg_partial_bytes. Update for result in bytes.
(locate_and_pad_parm): Update for partial in bytes.
* system.h (FUNCTION_ARG_PARTIAL_NREGS): Poison.
* targhooks.c (hook_int_CUMULATIVE_ARGS_mode_tree_bool_0): New.
* targhooks.h (hook_int_CUMULATIVE_ARGS_mode_tree_bool_0): Declare.
* doc/tm.texi (TARGET_ARG_PARTIAL_BYTES): Rename and update from
FUNCTION_ARG_PARTIAL_NREGS.
* config/arc/arc.h, config/c4x/c4x.h, config/i386/i386.h,
config/i860/i860.h, config/m68hc11/m68hc11.h, config/m68k/m68k.h,
config/pdp11/pdp11.h, config/s390/s390.h, config/stormy16/stormy16.h,
config/xtensa/xtensa.h (FUNCTION_ARG_PARTIAL_NREGS): Remove.
* config/alpha/alpha.c (alpha_arg_partial_bytes): New.
(TARGET_ARG_PARTIAL_BYTES): New.
* config/alpha/alpha.h, config/alpha/unicosmk.h,
config/alpha/vms.h (FUNCTION_ARG_PARTIAL_NREGS): Remove.
* config/arm/arm.h (FUNCTION_ARG_PARTIAL_NREGS): Move ...
* config/arm/arm.c (arm_arg_partial_bytes): ... here.
(TARGET_ARG_PARTIAL_BYTES): New.
* config/cris/cris.h (FUNCTION_ARG_PARTIAL_NREGS): Move ...
* config/cris/cris.c (cris_arg_partial_bytes): ... here.
(TARGET_ARG_PARTIAL_BYTES): New.
* config/fr30/fr30.h (FUNCTION_ARG_PARTIAL_NREGS): Remove.
* config/fr30/fr30.c (fr30_arg_partial_bytes): Rename from
fr30_function_arg_partial_nregs. Adjust to return bytes.
(TARGET_ARG_PARTIAL_BYTES): New.
* config/fr30/fr30-protos.h: Update.
* config/frv/frv.h (FUNCTION_ARG_PARTIAL_NREGS): Remove.
* config/frv/frv.c (frv_arg_partial_bytes): Rename from
frv_function_arg_partial_nregs. Adjust to return bytes.
(TARGET_ARG_PARTIAL_BYTES): New.
* config/frv/frv-protos.h: Update.
* config/ia64/ia64.h (FUNCTION_ARG_PARTIAL_NREGS): Remove.
* config/ia64/ia64.c (ia64_arg_partial_bytes): Rename from
ia64_function_arg_partial_nregs. Adjust to return bytes.
(TARGET_ARG_PARTIAL_BYTES): New.
* config/ia64/ia64-protos.h: Update.
* config/iq2000/iq2000.h (FUNCTION_ARG_PARTIAL_NREGS): Remove.
* config/iq2000/iq2000.c (iq2000_arg_partial_bytes): Rename from
function_arg_partial_nregs. Adjust to return bytes.
(TARGET_ARG_PARTIAL_BYTES): New.
* config/iq2000/iq2000-protos.h: Update.
* config/m32r/m32r.h (FUNCTION_ARG_PARTIAL_NREGS): Remove.
* config/m32r/m32r.c (m32r_arg_partial_bytes): Rename from
function_arg_partial_nregs. Adjust to return bytes.
(TARGET_ARG_PARTIAL_BYTES): New.
* config/m32r/m32r-protos.h: Update.
* config/mcore/mcore.h (FUNCTION_ARG_PARTIAL_NREGS): Remove.
* config/mcore/mcore.c (mcore_arg_partial_bytes): Rename from
mcore_function_arg_partial_nregs. Adjust to return bytes.
(TARGET_ARG_PARTIAL_BYTES): New.
* config/mcore/mcore-protos.h: Update.
* config/mips/mips.h (FUNCTION_ARG_PARTIAL_NREGS): Remove.
* config/mips/mips.c (mips_arg_partial_bytes): Rename from
function_arg_partial_nregs. Adjust to return bytes.
(TARGET_ARG_PARTIAL_BYTES): New.
* config/mips/mips-protos.h: Update.
* config/mn10300/mn10300.h (FUNCTION_ARG_PARTIAL_NREGS): Remove.
* config/mn10300/mn10300.c (mn10300_arg_partial_bytes): Rename from
function_arg_partial_nregs. Adjust to return bytes.
(TARGET_ARG_PARTIAL_BYTES): New.
* config/mn10300/mn10300-protos.h: Update.
* config/ns32k/ns32k.h (FUNCTION_ARG_PARTIAL_NREGS): Move ...
* config/ns32k/ns32k.c (ns32k_arg_partial_bytes): ... here.
(TARGET_ARG_PARTIAL_BYTES): New.
* config/pa/pa.h (FUNCTION_ARG_PARTIAL_NREGS): Remove.
* config/pa/pa.c (pa_arg_partial_bytes): Rename from
function_arg_partial_nregs. Handle 32-bit. Adjust to return bytes.
(TARGET_ARG_PARTIAL_BYTES): New.
* config/pa/pa-protos.h: Update.
* config/rs6000/rs6000.h (FUNCTION_ARG_PARTIAL_NREGS): Remove.
* config/rs6000/rs6000.c (rs6000_arg_partial_bytes): Rename from
function_arg_partial_nregs. Adjust to return bytes.
(TARGET_ARG_PARTIAL_BYTES): New.
* config/rs6000/rs6000-protos.h: Update.
* config/sh/sh.h (FUNCTION_ARG_PARTIAL_NREGS): Move ...
* config/sh/sh.c (sh_arg_partial_bytes): ... here.
(TARGET_ARG_PARTIAL_BYTES): New.
* config/sparc/sparc.h (FUNCTION_ARG_PARTIAL_NREGS): Remove.
* config/sparc/sparc.c (sparc_arg_partial_bytes): Rename from
function_arg_partial_nregs. Adjust to return bytes.
(TARGET_ARG_PARTIAL_BYTES): New.
* config/sparc/sparc-protos.h: Update.
* config/v850/v850.h (FUNCTION_ARG_PARTIAL_NREGS): Remove.
* config/v850/v850.c (v850_arg_partial_bytes): Rename from
function_arg_partial_nregs. Adjust to return bytes.
(TARGET_ARG_PARTIAL_BYTES): New.
* config/v850/v850-protos.h: Update.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92726
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Thu, 30 Dec 2004 02:32:04 +0000 (02:32 +0000)]
2004-12-29 Jonathan Wakely <redi@gcc.gnu.org>
* include/bits/vector.tcc (erase(iterator, iterator),
operator=, _M_assign_aux(_ForwardIterator, _ForwardIterator,
forward_iterator_tag)): Qualify all calls to std::copy().
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92724
138bc75d-0d04-0410-961f-
82ee72b054a4
hp [Thu, 30 Dec 2004 01:16:09 +0000 (01:16 +0000)]
* config/mmix/mmix.h (ASM_OUTPUT_INTERNAL_LABEL): Define.
* config/mmix/mmix.c (mmix_asm_output_internal_label): New
function.
* config/mmix/mmix-protos.h (mmix_asm_output_internal_label):
Prototype.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92723
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Thu, 30 Dec 2004 00:42:16 +0000 (00:42 +0000)]
* config/sparc/sparc.c (TARGET_RELAXED_ORDERING): True.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92722
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Thu, 30 Dec 2004 00:31:00 +0000 (00:31 +0000)]
PR c++/19190
* cvt.c (convert_to_void): Do not use STRIP_NOPs.
PR c++/19190
* g++.dg/warn/Wunused-10.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92721
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Thu, 30 Dec 2004 00:21:10 +0000 (00:21 +0000)]
2004-12-29 Paolo Carlini <pcarlini@suse.de>
Minimal fixes for -fno-exceptions.
* src/bitmap_allocator.cc (free_list::_M_get): Use
__throw_exception_again, instead of plain throw.
* testsuite/testsuite_abi.cc (get_symbol, examine_symbol,
create_symbols): Likewise.
* testsuite/testsuite_hooks.cc (verify_demangle,
run_tests_wrapped_locale, run_tests_wrapped_env): Likewise.
(try_named_locale): Wrap the whole catch in __EXCEPTIONS.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92720
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Thu, 30 Dec 2004 00:16:33 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92718
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 29 Dec 2004 19:21:07 +0000 (19:21 +0000)]
* tree-outof-ssa.c (insert_backedge_copies): New function.
(rewrite_out_of_ssa): Use it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92711
138bc75d-0d04-0410-961f-
82ee72b054a4
dorit [Wed, 29 Dec 2004 13:54:29 +0000 (13:54 +0000)]
* tree-vectorizer.c (vect_get_base_and_offset): Adjust call too
get_inner_reference (missing argument).
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92705
138bc75d-0d04-0410-961f-
82ee72b054a4
dorit [Wed, 29 Dec 2004 13:38:30 +0000 (13:38 +0000)]
2004-12-29 Ira Rosen <irar@il.ibm.com>
PR tree-optimization/18179
* tree-vectorizer.c (vect_get_base_and_offset): Call get_inner_reference
and vect_analyze_offset_expr.
(vect_create_addr_base_for_vector_ref): Build address_base by combining
base and initial_offset fields of vect_stmt_info.
(vect_update_inits_of_dr): Update offset of data-ref instead of its
access-fn. Remove argument.
(vect_update_inits_of_drs): Call vect_update_inits_of_dr with new
arguments.
(vect_compute_data_ref_alignment): Check misalignment info in
vect_stmt_info. Remove argument.
(vect_compute_data_refs_alignment): Call vect_compute_data_ref_alignment
with correct argument.
(vect_analyze_data_ref_access): Check access info in vect_stmt_info.
(vect_analyze_pointer_ref_access): Update step and initial_offset fields
of vect_stmt_info.
(vect_get_memtag_and_dr): Call vect_get_base_and_offset and set the
fields of stmt_vec_info.
(vect_analyze_data_refs): Find vectype and pass it to
vect_get_memtag_and_dr.
(vect_get_first_index): Remove.
(vect_compute_array_base_alignment): Remove.
(vect_compute_array_ref_alignment): Remove
(vect_create_data_ref_ptr): Use TYPE_SIZE_UNIT instead GET_MODE_SIZE.
(vect_gen_niters_for_prolog_loop): Use TREE_CONSTANT instead
host_integerp.
(vectorizable_load): Use size arithmetics.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92704
138bc75d-0d04-0410-961f-
82ee72b054a4
dorit [Wed, 29 Dec 2004 13:20:35 +0000 (13:20 +0000)]
2004-12-29 Ira Rosen <irar@il.ibm.com>
PR tree-optimization/18179
* tree-vectorizer.c (vect_get_base_and_offset): Rename (previous name
vect_get_base_and_bit_offset).
(vect_get_memtag_and_dr): Rename (previous name vect_get_symbl_and_dr).
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92702
138bc75d-0d04-0410-961f-
82ee72b054a4
dorit [Wed, 29 Dec 2004 13:16:07 +0000 (13:16 +0000)]
2004-12-29 Ira Rosen <irar@il.ibm.com>
PR tree-optimization/18179
* tree-vectorizer.h (struct _stmt_vec_info): Add new fields:
initial_offset, step, misalignment and base_aligned_p and macros
to access them.
* tree-vectorizer.c (vect_analyze_offset_expr): New function.
(new_stmt_vec_info): Initialize the new fields of stmt_vec_info.
(vect_create_data_ref_ptr): Fix printings.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92701
138bc75d-0d04-0410-961f-
82ee72b054a4
dorit [Wed, 29 Dec 2004 13:11:58 +0000 (13:11 +0000)]
2004-12-29 Ira Rosen <irar@il.ibm.com>
PR tree-optimization/18179
* tree-vectorizer.c (vect_get_symbl_and_dr): Reorganize. Add memtag
retrieval.
(vect_analyze_data_refs): Remove memtag retrieval.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92700
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Wed, 29 Dec 2004 12:11:27 +0000 (12:11 +0000)]
2004-12-29 Paolo Carlini <pcarlini@suse.de>
* include/tr1/type_traits: Add has_nothrow_constructor.
* testsuite/tr1/4_metaprogramming/type_properties/
has_nothrow_constructor/has_nothrow_constructor.cc: New.
* testsuite/tr1/4_metaprogramming/type_properties/
has_nothrow_constructor/typedefs.cc: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92699
138bc75d-0d04-0410-961f-
82ee72b054a4
tobi [Wed, 29 Dec 2004 02:48:27 +0000 (02:48 +0000)]
2004-12-29 Steven G. Kargl <kargls@comcast.net>
* gfortran.h (gfc_case): fix typo in comment.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92695
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Wed, 29 Dec 2004 01:43:00 +0000 (01:43 +0000)]
* objc.dg/stabs-1.m: Disable for alpha.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92694
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Wed, 29 Dec 2004 01:22:15 +0000 (01:22 +0000)]
PR inline-asm/15740
* gimplify.c (gimplify_asm_expr): Move resolve asm names ...
* c-typeck.c (build_asm_expr): ... here. Validate input
constraints. Mark memory inputs addressable.
* semantics.c (finish_asm_stmt): Resolve asm names. Validate input
constraints. Mark memory inputs addressable.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92693
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Wed, 29 Dec 2004 00:16:14 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92691
138bc75d-0d04-0410-961f-
82ee72b054a4
hp [Tue, 28 Dec 2004 23:19:12 +0000 (23:19 +0000)]
PR target/18321
* config/mmix/mmix.c (mmix_expand_epilogue): Change type of
variable offset to HOST_WIDE_INT. Remove obsolete comment. Fix
spacing.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92685
138bc75d-0d04-0410-961f-
82ee72b054a4
bonzini [Tue, 28 Dec 2004 17:40:40 +0000 (17:40 +0000)]
2004-12-28 Paolo Bonzini <bonzini@gnu.org>
PR bootstrap/17383
* Makefile.def (target_modules): Remove stage parameter,
it is always true now.
* Makefile.tpl (configure-build-[+module+],
configure-target-[+module+]): Always build symlink tree
for the directory and for include. BUILD_SUBDIR and
TARGET_SUBDIR cannot be . anymore.
* Makefile.in: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92674
138bc75d-0d04-0410-961f-
82ee72b054a4
dje [Tue, 28 Dec 2004 16:34:16 +0000 (16:34 +0000)]
* configure.host (aix4*|aix5*): Add atomic_word_dir.
* config/os/aix/atomic_word.h: New file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92673
138bc75d-0d04-0410-961f-
82ee72b054a4
pinskia [Tue, 28 Dec 2004 15:56:51 +0000 (15:56 +0000)]
2004-12-28 Andrew Pinski <pinskia@physics.uc.edu>
* fold-const.c (fold_build_cleanup_point_expr): For a RETURN_EXPR,
we only need a cleanup point expression when the expression on the
left hand side of the MODIFIY_EXPR inside the return has side
effects.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92672
138bc75d-0d04-0410-961f-
82ee72b054a4
dorit [Tue, 28 Dec 2004 12:44:29 +0000 (12:44 +0000)]
* tree-vectorizer.c (vect_mark_relevant) First argument changed from
varray_type to varray_type*.
(vect_mark_stmts_to_be_vectorized): Pass &worklist instead of worklist
when calling vect_mark_relevant.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92671
138bc75d-0d04-0410-961f-
82ee72b054a4
amodra [Tue, 28 Dec 2004 11:24:21 +0000 (11:24 +0000)]
* config/rs6000/rs6000.c (rs6000_legitimize_reload_address): Don't
generate non-offsettable DImode lo_sum addresses.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92670
138bc75d-0d04-0410-961f-
82ee72b054a4
rakdver [Tue, 28 Dec 2004 10:33:39 +0000 (10:33 +0000)]
PR rtl-optimization/19103
* loop-iv.c (iv_number_of_iterations): Fix typo.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92669
138bc75d-0d04-0410-961f-
82ee72b054a4
aj [Tue, 28 Dec 2004 07:56:09 +0000 (07:56 +0000)]
* genrecog.c (compute_predicate_codes): Avoid warning.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92668
138bc75d-0d04-0410-961f-
82ee72b054a4
danglin [Tue, 28 Dec 2004 07:51:17 +0000 (07:51 +0000)]
* vax.c (vax_address_cost, vax_rtx_cost): Correct casts.
(vax_rtx_cost): Handle small offsets for both PLUS and MINUS.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92667
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Tue, 28 Dec 2004 06:34:55 +0000 (06:34 +0000)]
* tree-ssa-dom.c (thread_across_edge): Remove broken code to
avoid threading into a loop.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92666
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Tue, 28 Dec 2004 05:26:23 +0000 (05:26 +0000)]
PR target/17406
* config/i386/i386.c (ix86_expand_prologue): Add REG_FRAME_RELATED_EXPR
note for allocate_stack_worker insn.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92662
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Tue, 28 Dec 2004 04:36:54 +0000 (04:36 +0000)]
libstdc++:
Add memory barriers to the double-checked locking used for static
initialization.
* libsupc++/guard.cc (__test_and_acquire): Define default.
(_GLIBCXX_GUARD_TEST_AND_ACQUIRE, __set_and_release)
(_GLIBCXX_GUARD_SET_AND_RELEASE): Likewise.
(recursion_push, recursion_pop): New abstraction functions.
(__cxa_guard_acquire): Use _GLIBCXX_GUARD_TEST_AND_ACQUIRE.
(__cxa_guard_release): Use _GLIBCXX_GUARD_SET_AND_RELEASE.
* config/cpu/generic/cxxabi_tweaks.h (_GLIBCXX_GUARD_TEST): Rename
from _GLIBCXX_GUARD_ACQUIRE and reverse sense.
(_GLIBCXX_GUARD_SET): Rename from _GLIBCXX_GUARD_RELEASE.
* config/cpu/arm/cxxabi_tweaks.h: Likewise.
* config/cpu/alpha/atomic_word.h (_GLIBCXX_READ_MEM_BARRIER)
(_GLIBCXX_WRITE_MEM_BARRIER): Define.
* config/cpu/powerpc/atomic_word.h: Likewise.
* config/cpu/sparc/atomic_word.h: Likewise.
* config/cpu/generic/atomic_word.h: Define them, commented out.
* include/bits/atomicity.h: Define defaults.
* config/cpu/ia64/atomic_word.h (__test_and_acquire)
(__set_and_release): New inlines.
(_GLIBCXX_GUARD_TEST_AND_ACQUIRE): Define.
(_GLIBCXX_GUARD_SET_AND_RELEASE): Define.
* libsupc++/guard.cc (acquire_1): Use __builtin_trap instead of
abort();
gcc:
* doc/tm.texi (TARGET_RELAXED_ORDERING): Document.
* target.h (struct gcc_target): Add relaxed_ordering field.
* target-def.h (TARGET_RELAXED_ORDERING): Define default.
(TARGET_INITIALIZER): Add it.
* config/alpha/alpha.c (TARGET_RELAXED_ORDERING): Define.
* config/ia64/ia64.c (TARGET_RELAXED_ORDERING): Define.
* config/rs6000/rs6000.c (TARGET_RELAXED_ORDERING): Define.
* config/sparc/sparc.c (TARGET_RELAXED_ORDERING): Define.
* cp/decl.c (expand_static_init): Don't use shortcut if
targetm.relaxed_ordering.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92659
138bc75d-0d04-0410-961f-
82ee72b054a4
sayle [Tue, 28 Dec 2004 04:24:30 +0000 (04:24 +0000)]
PR driver/16118
* doc/invoke.texi: Document the interaction between -save-temps
and -x.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92658
138bc75d-0d04-0410-961f-
82ee72b054a4
dje [Tue, 28 Dec 2004 00:39:18 +0000 (00:39 +0000)]
* config/rs6000/rs6000.c (rs6000_eliminate_indexed_memrefs):
Do not break apart constant pool addresses.
(rs6000_emit_move): Only force source into REG if target is MEM.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92657
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Tue, 28 Dec 2004 00:16:20 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92655
138bc75d-0d04-0410-961f-
82ee72b054a4
hjl [Mon, 27 Dec 2004 21:00:12 +0000 (21:00 +0000)]
2004-12-27 H.J. Lu <hongjiu.lu@intel.com>
* Makefile.in: Undo to 2004-12-17.
* aclocal.m4: Likewise.
* config.table: Likewise.
* configure.ac: Likewise.
* maint-tool: Likewise.
* configure: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92651
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Mon, 27 Dec 2004 19:03:16 +0000 (19:03 +0000)]
PR c++/19149
* decl.c (check_tag_decl): Robustify.
PR c++/19149
* g++.dg/parse/error23.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92648
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Mon, 27 Dec 2004 18:51:12 +0000 (18:51 +0000)]
2004-12-27 Paolo Carlini <pcarlini@suse.de>
* include/tr1/type_traits: Rework the _DEFINE_SPEC* macros.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92647
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Mon, 27 Dec 2004 18:01:58 +0000 (18:01 +0000)]
* g++.dg/opt/temp1.C (memcpy): Return a value.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92646
138bc75d-0d04-0410-961f-
82ee72b054a4
tobi [Mon, 27 Dec 2004 17:13:07 +0000 (17:13 +0000)]
fortran/
PR fortran/19032
* trans-intrinsic.c (gfc_conv_intrinsic_mod): Update comment
in front of function to match the standard. Correct handling
of MODULO.
testsuite/
PR fortran/19032
* gfortran.dg/intrinsic_modulo_1.f90: New.
* gfortran.fortran-torture/execute/intrinsic_mod_ulo.f90: Add
tests with divisor -1.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92645
138bc75d-0d04-0410-961f-
82ee72b054a4
pinskia [Mon, 27 Dec 2004 16:56:38 +0000 (16:56 +0000)]
2004-12-27 Andrew Pinski <pinskia@physics.uc.edu>
* trans-expr.c (gfc_conv_cst_int_power): Only check for
flag_unsafe_math_optimizations if we have a float type.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92644
138bc75d-0d04-0410-961f-
82ee72b054a4
tobi [Mon, 27 Dec 2004 16:43:47 +0000 (16:43 +0000)]
Fix typo in ChangeLog
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92643
138bc75d-0d04-0410-961f-
82ee72b054a4
tobi [Mon, 27 Dec 2004 16:43:25 +0000 (16:43 +0000)]
gcc/fortran/
* trans-intrinsic.c (gfc_conv_intrinsic_ishft): Change to
logicalshift. Call fold. Remove 0-bit shift shortcut.
(gfc_conv_intrinsic_ishftc): Convert first argument to at least
4 bytes bits. Convert 2nd and 3rd argument to 4 bytes. Convert
result if width(arg 1) < 4 bytes. Call fold.
libgfortran/
* libgfortran/libgfortran.h (GFC_UINTEGER_1, GFC_UINTEGER_2):
Define.
* intrinsics/ishftc.c: Update copyright years.
(ishftc8): Change 'shift' and 'size' to GFC_INTEGER_4.
* intrinsics/mvbits.c: Correcty non-ASCII character in my name.
Add implementations for GFC_INTEGER_1 and GFC_INTEGER_2.
gcc/testsuite/
* gfortran.dg/g77/f90-intrinsic-bit.f: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92642
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Mon, 27 Dec 2004 16:13:45 +0000 (16:13 +0000)]
PR c++/19148
* g++.dg/expr/cond7.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92641
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Mon, 27 Dec 2004 16:06:13 +0000 (16:06 +0000)]
PR c++/19148
* gimplify.c (gimplify_cond_expr): Add post_p parameter.
(gimplify_modify_expr_rhs): Adjust call to gimplify_cond_expr.
(gimplify_expr): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92640
138bc75d-0d04-0410-961f-
82ee72b054a4
pbrook [Mon, 27 Dec 2004 15:29:14 +0000 (15:29 +0000)]
* gfortran.dg/g77/select_no_compile.f: Remove.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92639
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Mon, 27 Dec 2004 09:35:54 +0000 (09:35 +0000)]
* config/i386/i386.h (UNITS_PER_SIMD_WORD): Don't use MMX/3DNOW.
* gcc.dg/vect/vect-27a.c, gcc.dg/vect/vect-29a.c,
gcc.dg/vect/vect-48a.c, gcc.dg/vect/vect-56a.c,
gcc.dg/vect/vect-72a.c, gcc.dg/vect/vect-77a.c: Remove.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92637
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Mon, 27 Dec 2004 09:20:10 +0000 (09:20 +0000)]
* src/x86/unix64.S: Fix typo in unwind info.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92636
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Mon, 27 Dec 2004 04:27:09 +0000 (04:27 +0000)]
* gcc.dg/compat/compat-common.h (CINT, CDBL): Use multiplication
by 1i instead of token pasting.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92635
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Mon, 27 Dec 2004 03:50:51 +0000 (03:50 +0000)]
* config/i386/i386.md (mov<MMXMODEI>_internal_rex64): New.
(movv2sf_internal_rex64): New.
(mov<MMXMODEI>_internal): Use no register preferences at all.
(movv2sf_internal): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92634
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Mon, 27 Dec 2004 03:50:27 +0000 (03:50 +0000)]
* config/i386/i386.c (ix86_gimplify_va_arg): Also pass the result
of type_natural_mode to examine_argument.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92633
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Mon, 27 Dec 2004 03:31:49 +0000 (03:31 +0000)]
* simplify-rtx.c (simplify_relational_operation_1): Don't simplify
plus/minus across EQ for floating-point.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92631
138bc75d-0d04-0410-961f-
82ee72b054a4
danglin [Mon, 27 Dec 2004 01:08:09 +0000 (01:08 +0000)]
PR target/17643
* pa.c (pa_function_ok_for_sibcall): Sibcalls are not ok when
generating code for the portable runtime.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92629
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Mon, 27 Dec 2004 00:16:18 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92626
138bc75d-0d04-0410-961f-
82ee72b054a4
danglin [Sun, 26 Dec 2004 20:49:14 +0000 (20:49 +0000)]
PR tree-optimization/17578
* gcc.c-torture/execute/ieee/compare-fp-3.x: Append -fno-trapping-math
to additional_flags.
* gcc.c-torture/execute/ieee/compare-fp-4.x: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92623
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Sun, 26 Dec 2004 19:05:47 +0000 (19:05 +0000)]
2004-12-26 Paolo Carlini <pcarlini@suse.de>
* include/tr1/type_traits (__is_enum_helper): Slightly simplify,
make __convert non template.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92622
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Sun, 26 Dec 2004 11:08:47 +0000 (11:08 +0000)]
2004-12-26 Paolo Carlini <pcarlini@suse.de>
* include/tr1/type_traits: Implement is_pod, has_trivial_constructor,
and has_trivial_destructor.
* testsuite/tr1/4_metaprogramming/type_properties/
has_trivial_constructor/has_trivial_constructor.cc: New.
* testsuite/tr1/4_metaprogramming/type_properties/
has_trivial_constructor/typedefs.cc: Likewise.
* testsuite/tr1/4_metaprogramming/type_properties/
has_trivial_destructor/has_trivial_destructor.cc: Likewise.
* testsuite/tr1/4_metaprogramming/type_properties/
has_trivial_destructor/typedefs.cc: Likewise.
* testsuite/tr1/4_metaprogramming/type_properties/
is_pod/is_pod.cc: Likewise.
* testsuite/tr1/4_metaprogramming/type_properties/
is_pod/typedefs.cc: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92618
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sun, 26 Dec 2004 03:59:28 +0000 (03:59 +0000)]
* expr.c (clear_storage): Validate CONST0_RTX extant. Special case
complex modes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92615
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sun, 26 Dec 2004 03:57:04 +0000 (03:57 +0000)]
* lib/target-supports.exp (check_effective_target_vect_no_bitwise):
Remove Alpha.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92614
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sun, 26 Dec 2004 00:16:13 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92612
138bc75d-0d04-0410-961f-
82ee72b054a4
dje [Sun, 26 Dec 2004 00:07:54 +0000 (00:07 +0000)]
Revert 2004-12-08 Makefile changes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92609
138bc75d-0d04-0410-961f-
82ee72b054a4
rakdver [Sat, 25 Dec 2004 22:53:54 +0000 (22:53 +0000)]
PR rtl-optimization/19078
* tree-ssa-loop-ivopts.c (determine_use_iv_cost_generic,
determine_use_iv_cost_outer): Fix computing of cost for the original
bivs.
(dump_use): Handle case related_cands == NULL.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92608
138bc75d-0d04-0410-961f-
82ee72b054a4
marekm [Sat, 25 Dec 2004 22:20:04 +0000 (22:20 +0000)]
PR target/19059
* config/avr/avr.c (avr_mcu_types): Move attiny{13,2313} from avr4
to avr2.
* config/avr/avr.h (LINK_SPEC): Ditto.
* config/avr/t-avr (MULTILIB_MATCHES): Ditto.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92607
138bc75d-0d04-0410-961f-
82ee72b054a4
danglin [Sat, 25 Dec 2004 17:01:52 +0000 (17:01 +0000)]
* gcc.dg/pr17055-1.c (dg-options): Add -fno-common to options on
hppa*-*-hpux*.
* gcc.dg/pr17957.c (dg-options): Likewise.
* gcc.dg/struct-ret-1.c: Add prototype for abort.
* gcc.dg/tree-ssa/asm-2.c, gcc.dg/tree-ssa/asm-3.c: Use register 1
instead of 0 on __hppa__.
* gcc.dg/tree-ssa/loop-1.c (dg-final): Check for five instances of
"foo,%r" on hppa*-*-*.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92606
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Sat, 25 Dec 2004 15:39:43 +0000 (15:39 +0000)]
2004-12-25 Paolo Carlini <pcarlini@suse.de>
* include/tr1/type_traits (is_enum): Minor tweak.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92605
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Sat, 25 Dec 2004 15:24:36 +0000 (15:24 +0000)]
2004-12-25 Paolo Carlini <pcarlini@suse.de>
* include/tr1/type_traits: Implement is_enum (usual caveats about
the nasty consequences of c++/19076...).
* testsuite/testsuite_tr1.h: Add ConvType.
* testsuite/tr1/4_metaprogramming/composite_type_traits/
is_scalar/is_scalar.cc: New.
* testsuite/tr1/4_metaprogramming/composite_type_traits/
is_scalar/typedefs.cc: Likewise.
* testsuite/tr1/4_metaprogramming/primary_type_categories/
is_enum/is_enum.cc: Likewise.
* testsuite/tr1/4_metaprogramming/primary_type_categories/
is_enum/typedefs.cc: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92604
138bc75d-0d04-0410-961f-
82ee72b054a4
amodra [Sat, 25 Dec 2004 12:41:02 +0000 (12:41 +0000)]
PR target/19137
* config/rs6000/rs6000.md (movti_power, movti_string): Relax
operand[1] predicate to input_operand, and add r<-n alternative.
Move TImode const_double_operand splitter to where it belongs.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92603
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sat, 25 Dec 2004 09:54:40 +0000 (09:54 +0000)]
* src/x86/ffi64.c (struct register_args): Rename from stackLayout.
(enum x86_64_reg_class): Add X86_64_COMPLEX_X87_CLASS.
(merge_classes): Check for it.
(SSE_CLASS_P): New.
(classify_argument): Pass byte_offset by value; perform all updates
inside struct case.
(examine_argument): Add classes argument; handle
X86_64_COMPLEX_X87_CLASS.
(ffi_prep_args): Merge into ...
(ffi_call): ... here. Share stack frame with ffi_call_unix64.
(ffi_prep_cif_machdep): Setup cif->flags for proper structure return.
(ffi_fill_return_value): Remove.
(ffi_prep_closure): Remove dead assert.
(ffi_closure_unix64_inner): Rename from ffi_closure_UNIX64_inner.
Rewrite to use struct register_args instead of va_list. Create
flags for handling structure returns.
* src/x86/unix64.S: Remove dead strings.
(ffi_call_unix64): Rename from ffi_call_UNIX64. Rewrite to share
stack frame with ffi_call. Handle structure returns properly.
(float2sse, floatfloat2sse, double2sse): Remove.
(sse2float, sse2double, sse2floatfloat): Remove.
(ffi_closure_unix64): Rename from ffi_closure_UNIX64. Rewrite
to handle structure returns properly.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92602
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sat, 25 Dec 2004 00:16:31 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92600
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Fri, 24 Dec 2004 23:38:27 +0000 (23:38 +0000)]
2004-12-24 Paolo Carlini <pcarlini@suse.de>
* include/tr1/type_traits: Add missing undef.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92597
138bc75d-0d04-0410-961f-
82ee72b054a4
amodra [Fri, 24 Dec 2004 23:00:08 +0000 (23:00 +0000)]
PR target/19147
* config/rs6000/rs6000.md (andsi3_internal7, andsi3_internal8): Delete.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92594
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Fri, 24 Dec 2004 20:33:56 +0000 (20:33 +0000)]
2004-12-24 Paolo Carlini <pcarlini@suse.de>
* include/tr1/type_traits: Implement is_member_object_pointer,
is_member_function_pointer. N.B. Due to c++/19076, the latter
doesn't really work at the moment (a rather ugly work around
will be provided in case the front-end bug doesn't get fixed
soon); generalize and extend the _DEFINE_SPEC macros.
* testsuite/tr1/4_metaprogramming/composite_type_traits/
is_member_pointer/is_member_pointer.cc: New.
* testsuite/tr1/4_metaprogramming/composite_type_traits/
is_member_pointer/typedefs.cc: Likewise.
* testsuite/tr1/4_metaprogramming/primary_type_categories/
is_member_function_pointer/is_member_function_pointer.cc: Likewise.
* testsuite/tr1/4_metaprogramming/primary_type_categories/
is_member_function_pointer/typedefs.cc: Likewise.
* testsuite/tr1/4_metaprogramming/primary_type_categories/
is_member_object_pointer/is_member_object_pointer.cc: Likewise.
* testsuite/tr1/4_metaprogramming/primary_type_categories/
is_member_object_pointer/typedefs.cc: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92593
138bc75d-0d04-0410-961f-
82ee72b054a4
uros [Fri, 24 Dec 2004 06:49:34 +0000 (06:49 +0000)]
* config/i386/i386.md (*fix_trunc{d,s,h}i_1):
Rename to *fix_trunc{d,s,h}i_i387.
(fix_trunc{d,s}fdi2): Reorder tests.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92586
138bc75d-0d04-0410-961f-
82ee72b054a4
dberlin [Fri, 24 Dec 2004 05:23:10 +0000 (05:23 +0000)]
2004-12-24 Daniel Berlin <dberlin@dberlin.org>
Fix PR debug/14638
* tree.h (DECL_DEBUG_ALIAS_OF): New macro.
* var-tracking.c (track_expr_p): Don't disqualify tracking of variables
that are aliases of variables we want to track, unless the
original variable is also ignored for debugging purposes.
(VARIABLE_HASH_VAL): Use DECL_UID, so that this is deterministic.
* tree-outof-ssa.c (create_temp): Note who we are a debug alias of.
* dwarf2out.c (dwarf2out_var_location): Add us to the location of
the decl we are an alias of.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92585
138bc75d-0d04-0410-961f-
82ee72b054a4
bdavis [Fri, 24 Dec 2004 03:17:13 +0000 (03:17 +0000)]
2004-12-23 Bud Davis <bdavis9659@comcast.net>
* gfortran.dg/complex_write.f90: removed extraneous comma.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92584
138bc75d-0d04-0410-961f-
82ee72b054a4
amodra [Fri, 24 Dec 2004 01:51:04 +0000 (01:51 +0000)]
PR target/19142
* config/rs6000/rs6000.c (legitimate_lo_sum_address_p): Allow
DFmode for 32-bit again.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92583
138bc75d-0d04-0410-961f-
82ee72b054a4