- May 17, 2009
-
-
davek authored
* win32_threads.c (GC_get_thread_stack_base): Implement for Cygwin. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@147641 138bc75d-0d04-0410-961f-82ee72b054a4
-
hjl authored
2009-05-17 Manuel López-Ibáñez <manu@gcc.gnu.org> PR c/40172 * c-common.c (warn_logical_operator): Don't warn if one of expression isn't always true or false. gcc/testscase/ 2009-05-17 H.J. Lu <hongjiu.lu@intel.com> PR c/40172 * gcc.dg/pr40172.c: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@147639 138bc75d-0d04-0410-961f-82ee72b054a4
-
jason authored
* pt.c (tsubst_qualified_id): Retain the type if we aren't dealing with a dependent type. Actually look up the destructor. * semantics.c (finish_id_expression): Fix logic. (finish_qualified_id_expr): Don't try to use 'this' if we aren't in a function. * typeck.c (build_x_unary_op): Diagnose taking the address of a constructor or destructor. * tree.c (get_first_fn): Handle OFFSET_REF. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@147638 138bc75d-0d04-0410-961f-82ee72b054a4
-
jsm28 authored
* tree.c (cxx_printable_name_internal): Allow consecutive translated and untranslated cached copies of the name of the current function. testsuite: * g++.dg/warn/translate-ice-1.C: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@147636 138bc75d-0d04-0410-961f-82ee72b054a4
-
fxcoudert authored
REAL64 and REAL128. * gfortran.h (gfc_get_int_kind_from_width_isofortranenv, gfc_get_real_kind_from_width_isofortranenv): New prototypes. * iso-c-binding.def: Update definitions for the INT*_T, INT_LEAST*_T and INT_FAST*_T named parameters. * trans-types.c (get_typenode_from_name, get_int_kind_from_name, gfc_get_real_kind_from_width_isofortranenv): New functions. * gfortran.dg/c_kind_int128_test1.f03: Also test C_INT_FAST128_T. * gfortran.dg/c_kind_int128_test2.f03: Update comment. * gfortran.dg/c_kind_params.f90: Also test int_fast*_t. * gfortran.dg/c_kinds.c: Add int_fast*_t arguments. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@147635 138bc75d-0d04-0410-961f-82ee72b054a4
-
jules authored
* pex-win32.c (pex_win32_exec_child): Fix logic to avoid closing standard handles (stdin, stdout, stderr) in parent. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@147634 138bc75d-0d04-0410-961f-82ee72b054a4
-
fxcoudert authored
* intrinsic.c (add_functions, add_subroutines): Fix argument names and wrap long lines. * intrinsic.texi: Fix documentation and argument names of LOG_GAMMA, DATAN2, DBESJN, DTIME, ETIME, FSTAT, STAT, LSTAT, GET_COMMAND, IDATE, LTIME, MOVE_ALLOC, NINT, OR, PRODUCT, SUM, RAND, RANDOM_SEED, REAL, SELECTED_INT_KIND, SELECTED_REAL_KIND and XOR. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@147633 138bc75d-0d04-0410-961f-82ee72b054a4
-
ktietz authored
* config/i386/biarch32.h: New file. * config.gcc: Add for target i386-w64-* the biarch32.h to tm_file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@147631 138bc75d-0d04-0410-961f-82ee72b054a4
-
nemet authored
*zero_extend<mode>_truncqi): Merge these into ... (*zero_extend<GPR:mode>_trunc<SHORT:mode>): ... this new pattern. Name the pattern following this as *zero_extendhi_truncqi. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@147630 138bc75d-0d04-0410-961f-82ee72b054a4
-
gccadmin authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@147629 138bc75d-0d04-0410-961f-82ee72b054a4
-
- May 16, 2009
-
-
hjl authored
PR middle-end/39301 * hwint.h: Add macro HOST_WIDEST_INT_PRINT. * bitmap.c (bitmap_descriptor): Make fields HOST_WIDEST_INT. (output_info): Make field HOST_WIDEST_INT. (print_statistics): Use HOST_WIDEST_INT_PRINT. (dump_bitmat_statistics): Same. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@147624 138bc75d-0d04-0410-961f-82ee72b054a4
-
fxcoudert authored
* config/darwin.h (SIG_ATOMIC_TYPE, INT8_TYPE, INT16_TYPE, INT32_TYPE, INT64_TYPE, UINT8_TYPE, UINT16_TYPE, UINT32_TYPE, UINT64_TYPE, INT_LEAST8_TYPE, INT_LEAST16_TYPE, INT_LEAST32_TYPE, INT_LEAST64_TYPE, UINT_LEAST8_TYPE, UINT_LEAST16_TYPE, UINT_LEAST32_TYPE, UINT_LEAST64_TYPE, INT_FAST8_TYPE, INT_FAST16_TYPE, INT_FAST32_TYPE, INT_FAST64_TYPE, UINT_FAST8_TYPE, UINT_FAST16_TYPE, UINT_FAST32_TYPE, UINT_FAST64_TYPE, INTPTR_TYPE, UINTPTR_TYPE): Define. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@147622 138bc75d-0d04-0410-961f-82ee72b054a4
-
fxcoudert authored
* intrinsic.c (add_functions): Use ERFC_SCALED simplification. * intrinsic.h (gfc_simplify_erfc_scaled): New prototype. * simplify.c (fullprec_erfc_scaled, asympt_erfc_scaled, gfc_simplify_erfc_scaled): New functions. * gfortran.dg/erf_2.F90: New test. * gfortran.dg/erfc_scaled_2.f90: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@147621 138bc75d-0d04-0410-961f-82ee72b054a4
-
fxcoudert authored
* resolve.c (resolve_substring): Don't allow too large substring indexes. (gfc_resolve_substring_charlen): Fix typo. (gfc_resolve_character_operator): Fix typo. (resolve_charlen): Catch unreasonably large string lengths. * simplify.c (gfc_simplify_len): Don't error out on LEN range checks. * gcc/testsuite/gfortran.dg/string_1.f90: New test. * gcc/testsuite/gfortran.dg/string_2.f90: New test. * gcc/testsuite/gfortran.dg/string_3.f90: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@147619 138bc75d-0d04-0410-961f-82ee72b054a4
-
jsm28 authored
tune_64. * config/mips/mips.h (MIPS_ABI_DEFAULT, MULTILIB_ABI_DEFAULT): Move definitions earlier. (OPT_ARCH64, OPT_ARCH32): Define. (OPTION_DEFAULT_SPECS): Add entries for arch_32, arch_64, tune_32 and tune_64. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@147617 138bc75d-0d04-0410-961f-82ee72b054a4
-
fxcoudert authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@147616 138bc75d-0d04-0410-961f-82ee72b054a4
-
fxcoudert authored
* decl.c (set_enum_kind): Use global short-enums flag. * gfortran.h (gfc_option_t): Remove short_enums flag. * lang.opt (-fshort-enums): Refer to C documentation. * options.c (gfc_init_options, gfc_handle_option): Use global short-enums flag. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@147615 138bc75d-0d04-0410-961f-82ee72b054a4
-
rearnsha authored
* arm.md (cstoresi_nltu_thumb1): Use a neg of ltu as the pattern name implies. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@147613 138bc75d-0d04-0410-961f-82ee72b054a4
-
rearnsha authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@147612 138bc75d-0d04-0410-961f-82ee72b054a4
-
billingd authored
* gfortran.dg/default_format_denormal_1.f90: XFAIL on cygwin. * gfortran.dg/default_format_1.f90: Revert change of 2009-05-12 Correct accidental commit of wrong file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@147610 138bc75d-0d04-0410-961f-82ee72b054a4
-
redi authored
* include/std/mutex: Move std::lock_error to ... * src/compatibility.cc: Here. * src/mutex.cc: Likewise. * testsuite/30_threads/headers/mutex/types_std_c++0x.cc: Add checks for lock types and remove std::lock_error check. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@147609 138bc75d-0d04-0410-961f-82ee72b054a4
-
jakub authored
* final.c (label_to_max_skip): New function. (label_to_alignment): Only use LABEL_TO_ALIGNMENT if CODE_LABEL_NUMBER <= max_labelno. * output.h (label_to_max_skip): New prototype. * config/i386/i386.c (ix86_avoid_jump_misspredicts): Renamed to... (ix86_avoid_jump_mispredicts): ... this. Don't define if ASM_OUTPUT_MAX_SKIP_ALIGN isn't defined. Update comment. Handle CODE_LABELs with >= 16 byte alignment or with max_skip == (1 << align) - 1. (ix86_reorg): Don't call ix86_avoid_jump_mispredicts if ASM_OUTPUT_MAX_SKIP_ALIGN isn't defined. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@147607 138bc75d-0d04-0410-961f-82ee72b054a4
-
jakub authored
* config/i386/x86-64.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Don't emit second .p2align 3 if MAX_SKIP is smaller than 7. * config/i386/linux.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@147606 138bc75d-0d04-0410-961f-82ee72b054a4
-
ian authored
* alias.c (struct alias_set_entry_d): Rename from struct alias_set_entry. Change all uses. * except.c (struct call_site_record_d): Rename from struct call_site_record. Change all uses. * except.h (struct eh_region_d): Rename from struct eh_region. Change all uses. * gcse.c (struct hash_table_d): Rename from struct hash_table. Change all uses. * graphite.c (struct ivtype_map_elt_d): Rename fromstruct ivtype_map_elt. Change all uses. (struct rename_map_elt_d): Rename fromstruct rename_map_elt. Change all uses. (struct ifsese_d): Rename fromstruct ifsese. Change all uses. * graphite.h (struct name_tree_d): Rename from struct name_tree. Change all uses. (struct sese_d): Rename from struct sese. Change all uses. * omega.h (struct eqn_d): Rename from struct eqn. Change all uses. (struct omega_pb_d): Rename from struct omega_pb. Change all uses. * optabs.h (struct optab_d): Rename from struct optab. Change all uses. (struct convert_optab_d): Rename from struct convert_optab. Change all uses. * tree-pass.h (struct ipa_opt_pass_d): Rename fromstruct ipa_opt_pass. Change all uses. * tree-predcom.c (struct dref_d): Rename from struct dref. Change all uses. * c-decl.c (pushtag): If -Wc++-compat, warn if the tag is already defined as a typedef. (grokdeclarator): If -Wc++-compat, warn if a typedef is already defined as a tag. gcc/cp/ChangeLog: * cp-tree.h (enum cp_lvalue_kind_flags): Rename from cp_lvalue_kind. Change all uses. (enum base_access_flags): Rename from enum base_access. Change all uses. * parser.c (enum cp_parser_flags): Remove enum tag. gcc/testsuite/ChangeLog: * gcc.dg/Wcxx-compat-10.c: New testcase. libcpp/ChangeLog: * include/cpplib.h (enum cpp_builtin_type): Rename from enum builtin_type. Change all uses. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@147605 138bc75d-0d04-0410-961f-82ee72b054a4
-
gccadmin authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@147604 138bc75d-0d04-0410-961f-82ee72b054a4
-
- May 15, 2009
-
-
paolo authored
* testsuite/21_strings/basic_string/40160.cc: Remove spurious double include. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@147600 138bc75d-0d04-0410-961f-82ee72b054a4
-
paolo authored
PR libstdc++/40160 * include/debug/formatter.h (_Parameter::_Parameter): Don't use typeid when __GXX_RTTI is undefined. * src/debug.cc (_Error_formatter::_Parameter::_M_print_field): Adjust for null _M_variant._M_iterator._M_type, _M_variant._M_iterator._M_seq_type, _M_variant._M_sequence._M_type. * testsuite/21_strings/basic_string/40160.cc: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@147599 138bc75d-0d04-0410-961f-82ee72b054a4
-
manu authored
PR 16302 * fold-const.c (make_range,build_range_check,merge_ranges): Move declaration to... (merge_ranges): Returns bool. * tree.h (make_range): .. to here. (build_range_check): Likewise. (merge_ranges): Likewise. Renamed from merge_ranges. * c-typeck.c (parser_build_binary_op): Update calls to warn_logical_operator. * c-common.c (warn_logical_operator): Add new warning. * c-common.h (warn_logical_operator): Update declaration. cp/ * call.c (build_new_op): Update calls to warn_logical_operator. testsuite/ * gcc.dg/pr16302.c: New. * g++.dg/warn/pr16302.C: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@147596 138bc75d-0d04-0410-961f-82ee72b054a4
-
manu authored
* ira-conflicts.c (add_insn_allocno_copies): Fix wrong conditional. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@147595 138bc75d-0d04-0410-961f-82ee72b054a4
-
ghazi authored
* gcc.dg/torture/builtin-math-6.c: New. * lib/target-supports.exp (check_effective_target_mpc): New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@147593 138bc75d-0d04-0410-961f-82ee72b054a4
-
ghazi authored
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@147592 138bc75d-0d04-0410-961f-82ee72b054a4
-
ghazi authored
(fold_builtin_cexp): Ensure we get a complex REAL_TYPE. Evaluate constant arguments. (fold_builtin_carg): Ensure we get a complex REAL_TYPE. (fold_builtin_1): Likewise, also evaluate constant arguments. Remove superfluous break. (do_mpc_ckconv): New. * real.h: Include mpc.h. * toplev.c (print_version): Output MPC version info if available. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@147591 138bc75d-0d04-0410-961f-82ee72b054a4
-
sandra authored
gcc/ * fold-const.c (fold_convert_const_real_from_real): Check for overflow. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@147589 138bc75d-0d04-0410-961f-82ee72b054a4
-
hjl authored
* config/i386/i386.c (ix86_reorg): Call optimize_function_for_speed_p only once. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@147588 138bc75d-0d04-0410-961f-82ee72b054a4
-
hubicka authored
* doc/invoke.texi (max-early-inliner-iterations): New flag. * ipa-inline.c (enum inlining_mode): New INLINE_SIZE_NORECURSIVE. (try_inline): Fix return value. (cgraph_decide_inlining_incrementally): Honor new value. (cgraph_early_inlining): Handle indirect inlining. * params.def (PARAM_EARLY_INLINER_MAX_ITERATIONS): New. * testsuite/gcc.dg/tree-ssa/inline-3.c: New testcase git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@147587 138bc75d-0d04-0410-961f-82ee72b054a4
-
hubicka authored
2009-05-15 Jan Hubicka <jh@suse.cz> * cgraph.h (struct cgraph_node): Add finalized_by_frotnend flag. * cgraphunit.c (cgraph_finalize_function): Set it. (cgraph_expand_function): Use it. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@147586 138bc75d-0d04-0410-961f-82ee72b054a4
-
hubicka authored
* gcc.target/i386/align-main-2.c (check): Mark noinline. * gcc.dg/ipa/ipa-4.c: Disable early inlining. * gcc.dg/vect/vect-iv-10.c (main1): Mark noinline. * gcc.dg/vect/costmodel/i386/costmodel-vect-33.c (main1): Mark noinline. * gcc.dg/vect/costmodel/x86_64/costmodel-vect-33.c (main1): Mark noinline. * gcc.dg/vect/pr31699.c (foo): Mark noinline. * gcc.dg/vect/pr18400.c (main1): Mark noinline. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@147585 138bc75d-0d04-0410-961f-82ee72b054a4
-
hubicka authored
* sibcall-6.c: Add no-ipa-cp argument and mark the function to be optimized by sibcall noinline. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@147584 138bc75d-0d04-0410-961f-82ee72b054a4
-
hubicka authored
* sibcall-2.c (track): Mark noinline. * sibcall-3.c (track): Mark noinline. * sibcall-4.c (track): Mark noinline. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@147583 138bc75d-0d04-0410-961f-82ee72b054a4
-
hubicka authored
* flatten-3.c: New test based on flatten-2.c. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@147582 138bc75d-0d04-0410-961f-82ee72b054a4
-