1. 07 Jul, 2008 17 commits
  2. 06 Jul, 2008 9 commits
    • mips.h (TARGET_CPU_CPP_BUILTINS): Check mips_base_mips16 instead of TARGET_MIPS16. · 60730ade
      gcc/
      	* config/mips/mips.h (TARGET_CPU_CPP_BUILTINS): Check
      	mips_base_mips16 instead of TARGET_MIPS16.
      	(mips_base_mips16): Declare.
      	* config/mips/mips.c (mips_base_mips16): Make global.
      	(was_mips16_p): Remove GTY marker.
      	(was_mips16_pch_p): New variable.
      	(mips_set_mips16_mode): Check both was_mips16_p and was_mips16_pch_p.
      	(mips_override_options): Force to non-MIPS16 mode initially.
      	Do not complain about MIPS16 PIC incompatibilities here.
      	Only allow -mgpopt if -mexplicit-relocs is in force for
      	non-MIPS16 code.
      
      gcc/testsuite/
      	* gcc.target/mips/gcc-have-sync-compare-and-swap-1.c: Expect the
      	macros to be defined for MIPS16 too.
      	* gcc.target/mips/gcc-have-sync-compare-and-swap-2.c: Likewise.
      	* gcc.target/mips/gcc-have-sync-compare-and-swap-3.c: New test.
      	* gcc.target/mips/gcc-have-sync-compare-and-swap-4.c: Likewise.
      
      From-SVN: r137539
      Richard Sandiford committed
    • configure.ac: Check for caddr_t, define to char * if not defined. · bba09b5a
      2008-07-06  Andreas Tobler  <a.tobler@schweiz.org>
      
      	* configure.ac: Check for caddr_t, define to char * if not defined.
      	* configure: Regenerate.
      	* ggc-common.c (mmap_gt_pch_get_address): Fix -Wc++-compat warnings.
      	(mmap_gt_pch_use_address): Likewise.
      	* config/host-solaris.c (sol_gt_pch_use_address): Likewise.
      
      From-SVN: r137538
      Andreas Tobler committed
    • tree-ssa-structalias.c (struct variable_info): Remove has_union. · ee7d4b57
      2008-07-06  Richard Guenther  <rguenther@suse.de>
      
      	* tree-ssa-structalias.c (struct variable_info): Remove has_union.
      	(new_var_info): Deal with it.
      	(solution_set_add): Likewise.
      	(bitpos_of_field): Make signed, fix.
      	(struct fieldoff): Remove type and decl fields.  Make size field
      	unsigned HOST_WIDE_INT.  Add has_unknown_size and may_have_pointers
      	flags.
      	(fieldoff_compare): Deal with it.
      	(push_fields_onto_fieldstack): Remove has_union argument, glob
      	adjacent non-pointer fields together.
      	(create_function_info_for): Do not set has_union.
      	(create_variable_info_for): Simplify.
      
      	* gcc.dg/tree-ssa/pta-callused.c: Adjust testcase.
      
      From-SVN: r137530
      Richard Guenther committed
    • system_error (is_error_code_enum): Use identifier _Tp instead of _T to avoid… · c9faf465
      system_error (is_error_code_enum): Use identifier _Tp instead of _T to avoid conflict with system macro on Darwin.
      
      
      	* include/std/system_error (is_error_code_enum): Use identifier
      	_Tp instead of _T to avoid conflict with system macro on Darwin.
      	(is_error_condition_enum): Likewise.
      
      From-SVN: r137529
      Roger Sayle committed
    • config.gcc (extra_headers): Add cross-stdarg.h for target x86_64-*-* and i?86-*-*. · 35cbb299
      2008-07-06  Kai Tietz  <kai.tietz@onevision.com>
      
      	* config.gcc (extra_headers): Add cross-stdarg.h for target
      	x86_64-*-* and i?86-*-*.
      	* config/i386/cross-stdarg.h: New.
      	* builtins.c (std_fn_abi_va_list): New.
      	(std_canonical_va_list_type): New.
      	(stabilize_va_list): Replace va_list_type_node use by
      	mtarget.canonical_va_list_type.
      	(gimplify_va_arg_expr): Likewise.
      	(expand_builtin_va_copy): Replace va_list_type_node use by
      	mtarget.fn_abi_va_list.
      	* tree-sra.c (is_va_list_type): New helper.
      	(decl_can_be_decomposed_p): Replace
      	va_list_type_node use by is_va_list_type.
      	* tree-ssa-ccp.c (optimize_stdarg_builtin): Likewise.
      	* tree-stdarg.c (execute_optimize_stdarg): Likewise.
      	* c-common.c (c_common_nodes_and_builtins): Use TARGET_ENUM_VA_LIST.
      	* config/i386/i386-protos.h (ix86_get_valist_type): New.
      	(ix86_enum_va_list): New.
      	* config/i386/i386.c (sysv_va_list_type_node): New.
      	(ms_va_list_type_node): New.
      	(ix86_function_type_abi): Remove sorry.
      	(ix86_build_builtin_va_list_abi): New.
      	(ix86_build_builtin_va_list): Call ix86_build_builtin_va_list_abi
      	for 64-bit targets.
      	(ix86_va_start): Replace va_list_type_node by sysv_va_list_type_node.
      	(ix86_init_builtins_va_builtins_abi): New.
      	(ix86_init_builtins): Use ix86_init_builtins_va_builtins_abi
      	for 64-bit targets.
      	(ix86_handle_abi_attribute): New.
      	(attribute_spec): Add sysv_abi and ms_abi.
      	(ix86_fn_abi_va_list): New.
      	(ix86_canonical_va_list_type): New.
      	(ix86_enum_va_list): New.
      	(TARGET_FN_ABI_VA_LIST): New.
      	(TARGET_CANONICAL_VA_LIST_TYPE): New.
      	* config/i386/i386.h (TARGET_ENUM_VA_LIST): New.
      	* doc/tm.texi (TARGET_FN_ABI_VA_LIST): New.
      	(TARGET_CANONICAL_VA_LIST_TYPE): New.
      	(TARGET_ENUM_VA_LIST): New.
      	* expr.h (std_fn_abi_va_list): New.
      	(std_canonical_va_list_type): New.
      	* target-def.h (TARGET_FN_ABI_VA_LIST): New.
      	(TARGET_CANONICAL_VA_LIST_TYPE): New.
      	(TARGET_INITIALIZER): Add TARGET_FN_ABI_VA_LIST and
      	TARGET_CANONICAL_VA_LIST_TYPE.
      	* target.h (struct gcc_target): Add fn_abi_va_list hook
      	and canonical_va_list_type hook.
      
      From-SVN: r137525
      Kai Tietz committed
    • callabi.h: New. · b6b02c55
      2008-07-06  Kai Tietz  <kai.tietz@onevision.com>
      
      	* gcc.dg/callabi/callabi.h: New.
      	* gcc.dg/callabi/vaarg-1.c: New.
      	* gcc.dg/callabi/vaarg-2.c: New.
      	* gcc.dg/callabi/vaarg-3.c: New.
      	* gcc.dg/callabi/func-1.c: New.
      
      From-SVN: r137524
      Kai Tietz committed
    • jcf-io.c: Don't include fnmatch.h. · dcef3dac
      	* jcf-io.c: Don't include fnmatch.h.  Don't use JCF_USE_SCANDIR.
      	(compare_path): Remove.
      	(java_or_class_file): Likewise.
      	(memoized_dirlist_entry): Likewise.
      	(memoized_dirlist_hash): Likewise.
      	(memoized_dirlist_lookup_eq): Likewise.
      	(memoized_dirlists): Likewise.
      	(caching_stat): Likewise.
      	(find_class): Use stat.
      	* jcf.h (JCF_USE_SCANDIR): Remove.
      
      From-SVN: r137523
      Tom Tromey committed
    • Makefile.in (install-info): New stub target. · a0ed5099
      libobjc/
      	* Makefile.in (install-info): New stub target.
      
      From-SVN: r137522
      Ralf Wildenhues committed
    • Daily bump. · 3954ea9e
      From-SVN: r137515
      GCC Administrator committed
  3. 05 Jul, 2008 7 commits
  4. 04 Jul, 2008 7 commits