- 04 Nov, 2009 7 commits
-
-
2009-11-04 Richard Guenther <rguenther@suse.de> PR tree-optimization/41919 * tree-vrp.c (test_for_singularity): Properly compare values. * gcc.c-torture/execute/pr41919.c: New testcase. From-SVN: r153891
Richard Guenther committed -
2009-11-04 Maxim Kuvyrkov <maxim@codesourcery.com> PR target/41302 * config/m68k/m68k.c (m68k_reg_present_p): New static function. (m68k_ok_for_sibcall_p): Handle different result return locations. 2009-11-04 Carlos O'Donell <carlos@codesourcery.com> PR target/41302 * gcc.target/m68k/pr41302.c: New test. From-SVN: r153890
Maxim Kuvyrkov committed -
2009-11-04 Richard Guenther <rguenther@suse.de> * c-opts.c (c_common_post_options): Move LTO option processing code ... * opts.c (decode_options): ... here. fortran/ * options.c (gfc_post_options): Rely on common code processing LTO options. Only enable -fwhole-file here. From-SVN: r153889
Richard Guenther committed -
* c-common.c (fold_offsetof_1): Use %wd instead of HOST_WIDE_INT_PRINT_DEC. From-SVN: r153887
Jakub Jelinek committed -
From-SVN: r153886
GCC Administrator committed -
* config/vax/linux.h (TARGET_OS_CPP_BUILTINS): Don't define __pic__ or __PIC__. From-SVN: r153883
Maciej W. Rozycki committed -
* config.gcc (vax-*-linux*): Keep the original contents of tmake_file while adding vax/t-linux. From-SVN: r153882
Maciej W. Rozycki committed
-
- 03 Nov, 2009 27 commits
-
-
PR c++/36959 * decl2.c (cxx_callgraph_analyze_expr): Don't reference a function just because a static variable in it is needed unless -frepo. From-SVN: r153878
Jason Merrill committed -
PR target/10127 PR ada/20548 * expr.h (STACK_CHECK_PROBE_INTERVAL): Delete. (STACK_CHECK_PROBE_INTERVAL_EXP): New macro. (STACK_CHECK_MOVING_SP): Likewise. * system.h (STACK_CHECK_PROBE_INTERVAL): Poison it. * doc/tm.texi (Stack Checking): Delete STACK_CHECK_PROBE_INTERVAL. Document STACK_CHECK_PROBE_INTERVAL_EXP and STACK_CHECK_MOVING_SP. * doc/md.texi (Standard Pattern Names): Tweak entry of CHECK_STACK. Document PROBE_STACK. * explow.c (anti_adjust_stack_and_probe): New function. (allocate_dynamic_stack_space): Do not directly allocate space if STACK_CHECK_MOVING_SP, instead invoke above function. (emit_stack_probe): Handle probe_stack insn. (PROBE_INTERVAL): New macro. (STACK_GROW_OPTAB): Likewise. (STACK_GROW_OFF): Likewise. (probe_stack_range): Use Pmode and memory_address consistently. Fix loop condition in the small constant case. Rewrite in the general case to be immune to wraparounds. Make sure the address of probes is valid. Try to use [base + disp] addressing mode if possible. * ira.c (setup_eliminable_regset): Set frame_pointer_needed if stack checking is enabled and STACK_CHECK_MOVING_SP. * rtlanal.c (may_trap_p_1) <MEM>: If stack checking is enabled, return 1 for volatile references to the stack pointer. * tree.c (build_common_builtin_nodes): Do not set ECF_NOTHROW on __builtin_alloca if stack checking is enabled. * unwind-dw2.c (uw_identify_context): Take into account whether the context is that of a signal frame or not. * config/i386/linux.h (STACK_CHECK_MOVING_SP): Define to 1. * config/i386/linux64.h (STACK_CHECK_MOVING_SP): Likewise. From-SVN: r153877
Eric Botcazou committed -
PR rtl-optimization/41917 * rtlanal.c (num_sign_bit_copies1) <case UMOD>: If sign bit of second operand isn't known to be 0, return 1. * gcc.c-torture/execute/pr41917.c: New test. From-SVN: r153874
Jakub Jelinek committed -
* gcc.target/i386/pr41900.c: Make test compile only. Scan assembler dump to not include "call *%esp". From-SVN: r153871
Uros Bizjak committed -
gcc/ * config/mips/mips.md: Fix typos. From-SVN: r153870
Richard Sandiford committed -
gcc/ * doc/invoke.texi: Fix typo. From-SVN: r153869
Richard Sandiford committed -
PR c++/39786 * g++.dg/lookup/using22.C: New. From-SVN: r153865
Jason Merrill committed -
PR c++/41876 * parser.c (cp_parser_type_specifier_seq): Rename is_condition to is_declaration. (cp_parser_exception_declaration): Pass true. (cp_parser_omp_for_loop): Likewise. From-SVN: r153864
Jason Merrill committed -
PR c++/41927 * typeck.c (build_x_binary_op): Don't do warn_parentheses if we're in a SFINAE context. From-SVN: r153863
Jason Merrill committed -
PR c++/41815 * call.c (build_call_a): Strip cv-quals from rvalue result. From-SVN: r153862
Jason Merrill committed -
2009-11-03 David Krauss <potswa@mac.com> Paolo Carlini <paolo.carlini@oracle.com> PR libstdc++/41351 * include/bits/stl_algo.h (__rotate(_RandomAccessIterator, _RandomAccessIterator, _RandomAccessIterator, random_access_iterator_tag)): Rewrite to use only std::swap in general and std::copy/std::copy_backward when safe. Co-Authored-By: Paolo Carlini <paolo.carlini@oracle.com> From-SVN: r153860
David Krauss committed -
2009-11-03 Paul Brook <paul@codesourcery.com> gcc/ * config/arm/neon.ml (vectype): Add T_floatSF. (string_of_vectype): Ditto. * config/arm/neon-gen.ml (signed_ctype): Add T_floatSF. (deftypes): Use float for float32_t. * config/arm/arm_neon.h: Regenerate. From-SVN: r153858
Paul Brook committed -
PR c++/40944 * call.c (initialize_reference): Add complain parm. * typeck.c (convert_for_initialization): Pass it. * decl.c (grok_reference_init): Likewise. * cp-tree.h: Declare it. From-SVN: r153856
Jason Merrill committed -
PR c++/40687 * pt.c (do_auto_deduction): Diagnose inconsistent deduction. From-SVN: r153855
Jason Merrill committed -
2009-11-03 Tobias Burnus <burnus@net-b.de> PR fortran/41907 * trans-expr.c (gfc_conv_procedure_call): Fix presence check for optional arguments. 2009-11-03 Tobias Burnus <burnus@net-b.de> PR fortran/41907 * gfortran.dg/missing_optional_dummy_6.f90: New test. From-SVN: r153854
Tobias Burnus committed -
* config/rx/predicates.md (rx_store_multiple_vector): Reverse order of expected registers. (rx_load_multiple_vector): Likewise. (rx_rtsd_vector): Likewise. * config/rx/rx.c (rx_cpu_type): New variable. (rx_print_operand): Fix bug printing 64-bit constant values. (rx_emit_stack_pushm): Reverse order of pushed registers. (gen_rx_store_vector): Likewise. (is_fast_interrupt_func): Only accept "fast_interrupt" as the attribute name. (is_exception_func): Rename to is_interrupt_func and only accept "interrupt" as the attribute name. (rx_get_stack_layout): Use new function name. (rx_func_attr_inlinable): Likewise. (rx_attribute_table): Remove "exception". (rx_expand_prologue): If necessary push the accumulator register in the prologue of interrupt functions. (rx_expand_epilogue): If necessary pop the accumulator. (rx_builtins): Add RX_BUILTIN_MVTIPL. (rx_expand_builtin_stz): Remove. (rx_expand_builtin_mvtipl): New function. (rx_init_builtins): Handle RX_BUILTIN_MVTIPL. (rx_expand_builtin): Likewise. (rx_enable_fpu): New variable. (rx_handle_option): Handle -fpu, -nofpu, -mcpu and -patch. * config/rx/rx.h (TARGET_CPU_CPP_BUILTINS): Assert machine based on rx_cpu_type. Define __RX_FPU_INSNS__ if FPU insns are allowed. (enum rx_cpu_types): Define. (ASM_SPEC): Pass -m32bit-doubles on to assembler. (INCOMING_FRAME_SP_OFFSET): Define. (ARG_POINTER_CFA_OFFSET): Define. (FRAME_POINTER_CFA_OFFSET): Define. (OVERRIDE_OPTIONS): Enable fast math if RX FPU insns are enabled. (ALLOW_RX_FPU_INSNS): Define. * config/rx/rx.md: Test ALLOW_RX_FPU_INSNS instead of fast_math_flags_set_p. (UNSPEC_BUILTIN_MVTIPL): Define. (revl): Rename to bswapsi2. (bswaphi2): New pattern. (mvtachi): Mark as volatile because it uses a register unknown to GCC. (mvtaclo): Likewise. (racw): Likewise. (mvtc): Remove clobber of cc0. (mvtcp): Delete. (opecp): Delete. * config/rx/rx.opt (mieee): Remove. (fpu): Add. (nofpu): Add. (mcpu=): Add. (patch=): Add. (msave-acc-in-interrupts): Add. * config/rx/t-rx (MULTILIB_OPTIONS): Change default to 64bit doubles. (MULTILIB_DIRS): Likewise. (MULTILIB_MATCHES): Treat -fpu as an alias for -m32bit-doubles. * doc/extend.texi: Remove description of "exception" function attribute. * doc/invoke.texi: Document -fpu, -nofpu, -mcpu=, -patch= and -msave-acc-in-interrupts options. * gcc.target/rx/builtins,c: Remove redundant tests. Add test of MVTIPL instruction. * gcc.target/rx/interrupts.c: Use fast_interrupt and interrupt function attributes. Add -msave-acc-in-interrupts option to the command line. Co-Authored-By: Kevin Buettner <kevinb@redhat.com> From-SVN: r153853
Nick Clifton committed -
* g++.dg/torture/pr36191.C: Don't run with -fomit-frame-pointer on sh, m68k and fido. Co-Authored-By: Maxim Kuvyrkov <maxim@codesourcery.com> From-SVN: r153852
Andrew Stubbs committed -
PR c++/38699 * c-c++-common/dfp/builtin-offsetof.c: Moved to ... * c-c++-common/builtin-offsetof.c: ... here. From-SVN: r153848
Dodji Seketeli committed -
2009-11-03 Richard Guenther <rguenther@suse.de> * c-common.c (fold_offsetof_1): Use HOST_WIDE_INT_PRINT_DEC. From-SVN: r153846
Richard Guenther committed -
From-SVN: r153845
Uros Bizjak committed -
Fix PR c++/38699 gcc/ChangeLog: PR c++/38699 * c-common.c (fold_offsetof_1): Issue errors when the member designator of the offsetoff expression is not legitimate. gcc/testsuite/ChangeLog: * c-c++-common/dfp/builtin-offsetof.c: New test. * g++.dg/other/offsetof6.C: Likewise. From-SVN: r153843
Dodji Seketeli committed -
* config/i386/i386.md (*call_value_1_rex64_ms_sysv): Use register names instead of numerical constants. (sse_prologue_save): Ditto. (*sse_prologue_save_insn): Ditto. From-SVN: r153840
Uros Bizjak committed -
PR target/41900 * config/i386/i386.h (ix86_arch_indices) <X86_ARCH_CALL_ESP>: New. (TARGET_CALL_ESP): New define. * config/i386/i386.c (initial_ix86_tune_features): Initialize X86_ARCH_CALL_ESP. * config/i386/i386.md (*call_pop_1_esp, *call_1_esp, *call_value_pop_1_esp, *call_value_1_esp): Rename from *call_pop_1, *call_1, *call_value_pop_1 and *call_value_1. Depend on TARGET_CALL_ESP. (*call_pop_1, *call_1, *call_value_pop_1, *call_value_1): New patterns, use "lsm" as operand 1 constraint. * config/i386/predicates.md (call_insn_operand): Depend on index_register_operand for !TARGET_CALL_ESP to avoid %esp register. testsuite/ChangeLog: PR target/41900 * gcc.target/i386/pr41900.c: New test. From-SVN: r153838
Uros Bizjak committed -
From-SVN: r153835
Andy Hutchinson committed -
2009-11-02 Benjamin Kosnik <bkoz@redhat.com> * include/std/future: Use base class with nested types. (__future_base): New. (__future_base::_Result_base): From _Future_result_base. (__future_base::_Result): From _Future_result. (__future_base::_Move_result): From _Move_future_result. (__future_base::_Ptr): From _Future_ptr. (__future_base::_State): From _Future_state. (__basic_future): From _Future_impl. * testsuite/30_threads/packaged_task/cons/assign_neg.cc: Adjust line numbers. * testsuite/30_threads/packaged_task/cons/copy_neg.cc: Same. * testsuite/30_threads/shared_future/cons/assign_neg.cc: Same. * testsuite/30_threads/unique_future/cons/assign_neg.cc: Same. * testsuite/30_threads/unique_future/cons/copy_neg.cc: Same. * testsuite/30_threads/promise/cons/assign_neg.cc: Same. * testsuite/30_threads/promise/cons/copy_neg.cc: Same. From-SVN: r153834
Benjamin Kosnik committed -
2009-11-02 Benjamin Kosnik <bkoz@redhat.com> * MAINTAINERS: Add Jonathan Wakely under Various Maintainers, move Phil Edwards to Write-After Approval. From-SVN: r153833
Benjamin Kosnik committed -
From-SVN: r153832
GCC Administrator committed
-
- 02 Nov, 2009 6 commits
-
-
Fix PR c++/41856 PR c++/41856 * g++.dg/lookup/extern-c-redecl3.C: Make the test x86 only. * g++.dg/lookup/extern-c-redecl4.C: Likewise. From-SVN: r153829
Dodji Seketeli committed -
From-SVN: r153827
Janne Blomqvist committed -
From-SVN: r153825
Janne Blomqvist committed -
2009-11-02 Andreas Tobler <a.tobler@schweiz.org> PR libffi/41908 * testsuite/libffi.call/testclosure.c: New test. From-SVN: r153824
Andreas Tobler committed -
Fix PR c++/37093 gcc/cp/ChangeLog: PR c++/37093 * pt.c (check_valid_ptrmem_cst_expr): New function. (convert_nontype_argument): Use it to output an error for illegal pointer to member expressions used as template arguments. gcc/testsuite/ChangeLog: PR c++/37093 * g++.dg/other/ptrmem10.C: New test. * g++.dg/other/ptrmem11.C: Likewise. From-SVN: r153822
Dodji Seketeli committed -
PR testsuite/41878 * gfortran.dg/vect/vect-2.f90: Fix effective-target expression, add spaces in some expressions. From-SVN: r153821
Janis Johnson committed
-