- 07 Jul, 2008 17 commits
-
-
* gcc.c (print_sysroot): New. (option_map, display_help, process_command): Handle the -print-sysroot option. (main): Print the sysroot if requested. * doc/invoke.texi (Debugging Options): Document -print-sysroot. From-SVN: r137584
Vladimir Prus committed -
gcc/ PR target/34780 * unwind-pe.h (size_of_encoded_value): add attribute unused. From-SVN: r137582
Ralf Wildenhues committed -
* safe-ctype.h: Add #include of ctype.h before redefining the ctype.h macros. From-SVN: r137580
Joel Brobecker committed -
2008-07-07 H.J. Lu <hongjiu.lu@intel.com> * config/i386/64/_divtc3-compat.c: Moved to ... * config/i386/64/_divtc3.c: Here. * config/i386/64/_multc3-compat.c: Moved to ... * config/i386/64/_multc3.c: Here. * config/i386/64/_powitf2-compat.c: Moved to ... * config/i386/64/_powitf2.c: Here. * config/i386/64/t-softfp-compat (libgcc2-tf-compats): Add .c suffix instead of -compat.c. From-SVN: r137579
H.J. Lu committed -
* function.c (assign_parm_remove_parallels): Check mode of entry_parm. (assign_parm_setup_block_p): Also check mode of entry_parm. From-SVN: r137575
Daniel Jacobowitz committed -
2008-07-07 Richard Guenther <rguenther@suse.de> * tree-ssa-structalias.h (set_used_smts): Remove. * tree-ssa-structalias.c (used_smts): Likewise. (set_used_smts): Likewise. * tree-ssa-alias.c (compute_flow_sensitive_aliasing): Remove call to set_used_smts. From-SVN: r137574
Richard Guenther committed -
2008-07-07 Richard Guenther <rguenther@suse.de> * tree-ssa-structalias.c (struct variable_info): Add is_full_var flag. (new_var_info): Set it to false. (solution_set_add): Correctly handle pointers outside a var and inside a field. (type_safe): Treat variables with is_full_var properly. (do_sd_constraint): Likewise. (do_ds_constraint): Likewise. (process_constraint): Remove zeroing offset for !use_field_sensitive. (get_constraint_for_ptr_offset): New function. (get_constraint_for_component_ref): For addresses at least include the last field of the variable. Handle is_full_vars properly. (get_constraint_for_1): Factor common code, handle POINTER_PLUS_EXPR. (handle_ptr_arith): Remove. (find_func_aliases): Simplify assignment handling. (create_function_info_for): For parameter and result varinfos set is_full_var flag. (create_variable_info_for): Set is_full_var flag whenever we just created a single varinfo for a decl. (init_alias_vars): Initialize use_field_sensitive from max-fields-for-field-sensitive parameter. * gcc.dg/torture/pta-ptrarith-1.c: New testcase. * gcc.dg/torture/pta-ptrarith-2.c: Likewise. * gcc.dg/torture/ipa-pta-1.c: Likewise. From-SVN: r137573
Richard Guenther committed -
PR middle-end/36726 * f95-lang.c (poplevel): Don't ever add subblocks to global_binding_level. * gfortran.dg/gomp/pr36726.f90: New test. From-SVN: r137572
Jakub Jelinek committed -
2008-07-07 Richard Guenther <rguenther@suse.de> PR tree-optimization/36713 * tree-flow-inline.h (is_call_used): New function. * tree-nrv.c (dest_safe_for_nrv_p): Use it. * tree-tailcall.c (suitable_for_tail_opt_p): Likewise. * tree-outof-ssa.c (create_temp): Set call-used flag if required. From-SVN: r137571
Richard Guenther committed -
From-SVN: r137559
Maxim Kuvyrkov committed -
From-SVN: r137558
Mark Shinwell committed -
* config.gcc (m68k-*-linux*): Add with_arch. Add sysroot-suffix.h to tm_file. Add m68k/t-floatlib, m68k/t-linux & m68k/t-mlibs to tmake_file. * config/m68k/t-linux: New. * doc/install.texi: Document m68k-*-linux is now multilibbed by default. From-SVN: r137557
Nathan Sidwell committed -
* config/m68k/t-cf (MULTILIB_EXTRA_OPTS): Add no-mac. * config/m68k/m68k-devices.def: Remove multilibs that only differ by MAC/EMAC. From-SVN: r137556
Nathan Sidwell committed -
libjava/ * gnu/gcj/convert/make-trie.h: New. * gnu/gcj/convert/gen-from-JIS.c: Include it. * gnu/gcj/convert/make-trie.c: Likewise. Fix typos and compiler warnings, diagnose a missing argument. * Makefile.am (gen_from_JIS_SOURCES): Add gnu/gcj/convert/make-trie.h. * Makefile.in: Regenerate. From-SVN: r137553
Ralf Wildenhues committed -
* gcc.c (execute): Fix -Wc++-compat warning. From-SVN: r137548
Kaveh R. Ghazi committed -
2008-07-06 H.J. Lu <hongjiu.lu@intel.com> PR target/36720 * config/ia64/ia64.c (ia64_split_tmode): Fix typo in TImode constant for little endian. From-SVN: r137547
H.J. Lu committed -
From-SVN: r137545
GCC Administrator committed
-
- 06 Jul, 2008 9 commits
-
-
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 -
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 -
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 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 -
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 -
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. 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 -
libobjc/ * Makefile.in (install-info): New stub target. From-SVN: r137522
Ralf Wildenhues committed -
From-SVN: r137515
GCC Administrator committed
-
- 05 Jul, 2008 7 commits
-
-
2008-07-05 Andrew Pinski <andrew_pinski@playstation.sony.com> * g++.dg/tree-ssa/ptrmemfield.C: New testcase. 2008-07-05 Andrew Pinski <andrew_pinski@playstation.sony.com> * fold-const.c (fold_convert_const): Treat OFFSET_TYPE the same as integral and pointer types. From-SVN: r137510
Andrew Pinski committed -
* config/i386/32/sfp-machine.h (_FP_MUL_MEAT_S): Remove. (_FP_MUL_MEAT_D): Ditto. (_FP_DIV_MEAT_S): Ditto. (_FP_DIV_MEAT_D): Ditto. From-SVN: r137508
Uros Bizjak committed -
2008-07-05 Paolo Carlini <paolo.carlini@oracle.com> * include/bits/postypes.h: Do not include <stdint.h>. * include/Makefile.am: Reorder. From-SVN: r137505
Paolo Carlini committed -
2008-07-05 Paolo Carlini <paolo.carlini@oracle.com> * include/std/ratio: Prefer __INTMAX_MAX__ to INTMAX_MAX (INTMAX_MIN). 2008-07-05 Chris Fairles <chris.fairles@gmail.com> * include/std/ratio: Documentation for std::ratio class. Add conditions to ratio_less to prevent overflow. * testsuite/20_util/ratio/comparisons/comp2.cc: New. * testsuite/20_util/ratio/cons/cons_overflow.cc: Update dg-error line numbers. From-SVN: r137504
Paolo Carlini committed -
* lib/gcc-dg.exp (remove-build-file): Remove files on remote host as well as on build. From-SVN: r137503
Joseph Myers committed -
host-darwin.c (darwin_rs6000_extra_siganls): Cast the "void*" result of xmalloc to "char*" to fix bootstrap breakage. * config/rs6000/host-darwin.c (darwin_rs6000_extra_siganls): Cast the "void*" result of xmalloc to "char*" to fix bootstrap breakage. From-SVN: r137500
Roger Sayle committed -
From-SVN: r137498
GCC Administrator committed
-
- 04 Jul, 2008 7 commits
-
-
PR target/36684 * config/sh/sh.h (OVERRIDE_OPTIONS): Disable -fschedule-insns for PIC. From-SVN: r137487
Kaz Kojima committed -
2008-07-04 Chris Fairles <chris.fairles@gmail.com> * include/std/ratio: New, per N2661. * include/Makefile.am: Update. * include/Makefile.in: Regenerate. * testsuite/20_util/ratio/cons/cons1.cc: New. * testsuite/20_util/ratio/cons/cons_overflow.cc: Likewise. * testsuite/20_util/ratio/operations/ops1.cc: Likewise. * testsuite/20_util/ratio/operations/ops2.cc: Likewise. * testsuite/20_util/ratio/operations/ops3.cc: Likewise. * testsuite/20_util/ratio/operations/ops_overflow.cc: Likewise. * testsuite/20_util/ratio/comparisons/comp1.cc: Likewise. From-SVN: r137482
Chris Fairles committed -
* safe-ctype.h: Remove #error when detecting that ctype.h has been included. Redefine the various macros provided by ctype.h as undefined variables. From-SVN: r137480
Joel Brobecker committed -
2008-07-04 Paolo Carlini <paolo.carlini@oracle.com> PR libstdc++/36616 * testsuite/22_locale/time_put/put/char/4.cc: Just use es_ES instead. * testsuite/22_locale/time_put/put/wchar_t/4.cc: Likewise. From-SVN: r137467
Paolo Carlini committed -
* crontab: Remove 4.1 snapshots job. * update_version: Remove. * gcc_release: Remove support for g77 and release status in version.c. * update_version_svn: Ignore 4.1 branch. Remove support for updating files other than DATESTAMP. * update_web_docs_svn: Remove support for g77 manual. From-SVN: r137462
Joseph Myers committed -
From-SVN: r137458
Kai Tietz committed -
From-SVN: r137457
Kai Tietz committed
-