Age | Commit message (Collapse) | Author | Files | Lines |
|
a NULL pointer in the code??))
PR tree-optimization/38104
* gimplify.c (gimple_regimplify_operands): Add referenced vars
before calling mark_symbols_for_renaming, not after it.
* g++.dg/tree-ssa/pr38104.C: New test.
From-SVN: r141857
|
|
* gcc.target/sh/pr37514.c: Remove.
From-SVN: r141856
|
|
* config/sh/sh.h (OPTIMIZATION_OPTIONS): Revert last change.
(OVERRIDE_OPTIONS): Likewise.
* gcc.target/sh/pr37514.c: Remove.
From-SVN: r141855
|
|
PR testsuite/37517
* gcc.target/i386/quad-sse.c: Tighten scan-assembler-not pattern.
From-SVN: r141854
|
|
could be used)
2008-11-14 Maxim Kuvyrkov <maxim@codesourcery.com>
Andrew Stubbs <ams@codesourcery.com>
Gunnar Von Boehn <gunnar@genesi-usa.com>
gcc/
PR target/36134
* config/m68k/m68k.md (addsi3_5200): Add a new alternative preferring
the shorter LEA insn over ADD.L where possible.
gcc/testsuite/
PR target/36134
* gcc.target/m68k/pr36134.c: New test.
Co-Authored-By: Andrew Stubbs <ams@codesourcery.com>
Co-Authored-By: Gunnar Von Boehn <gunnar@genesi-usa.com>
From-SVN: r141853
|
|
* gcc.dg/compat/struct-layout-1.h: Do not include <mmintrin.h> and
<xmmintrin.h>, define __m64 and __m128 directly.
From-SVN: r141852
|
|
2008-11-14 Thomas Schwinge <tschwinge@gnu.org>
* configure.ac (gcc_cv_libc_provides_ssp): Also consider GNU/Hurd
systems, which are assumend to always provide SSP-support in glibc.
* configure: Regenerate.
From-SVN: r141851
|
|
GNU/kNetBSD systems in the `*-*-linux*' case.
2008-11-14 Thomas Schwinge <tschwinge@gnu.org>
* configure.ac (gcc_cv_libc_provides_ssp): Also consider GNU/kFreeBSD,
GNU/kNetBSD systems in the `*-*-linux*' case.
* configure: Regenerate.
From-SVN: r141850
|
|
verify_gimple_expr, at tree-cfg.c:3962)
PR middle-end/36125
* function.c (gimplify_parameters): For callee copies parameters,
move TREE_ADDRESSABLE flag from the PARM_DECL to the local copy.
* gcc.c-torture/compile/pr36125.c: New test.
From-SVN: r141848
|
|
PR c++/37932
* typeck2.c (process_init_constructor_record): Update bitfield
handling.
(check_narrowing): Update bitfield handling, print source type.
From-SVN: r141843
|
|
From-SVN: r141841
|
|
2008-11-13 Thomas Schwinge <tschwinge@gnu.org>
PR target/28102
* config.gcc (*-*-gnu*): Move Alpha parts into the `alpha*-*-gnu*', x86
parts into the `i[34567]86-*-linux*' and parts that are independent of
the processor architecture into the `*-*-linux*' cases.
(*-*-linux*): Consider `linux.opt' only for Linux-based configurations.
* config/i386/gnu.h (GLIBC_DYNAMIC_LINKER): Redefine.
(TARGET_OS_CPP_BUILTINS, LINK_SPEC): Don't redefine.
[TARGET_LIBC_PROVIDES_SSP] (TARGET_THREAD_SSP_OFFSET): Undefine.
* config/gnu.h (NO_IMPLICIT_EXTERN_C): Don't redefine.
(HURD_TARGET_OS_CPP_BUILTINS): Don't define, but instead...
(LINUX_TARGET_OS_CPP_BUILTINS): Redefine.
From-SVN: r141838
|
|
From-SVN: r141837
|
|
gcc/testsuite/
* gcc.target/mips/loongson-muldiv-1.c: New test.
* gcc.target/mips/loongson-muldiv-2.c: Likewise.
From-SVN: r141836
|
|
gcc/
2008-11-13 Ruan Beihong <ruanbeihong@gmail.com>
* config/mips/loongson.md (<u>div<mode>3, <u>mod<mode>3): New patterns.
* config/mips/loongson2ef.md (ls2_imult): Handle imul3nc.
(ls2_idiv): Likewise idiv3.
(ls2_prefetch): New reservation.
* config/mips/mips.h (ISA_HAS_PREFETCH): Add TARGET_LOONGSON_2EF.
* config/mips/mips.md (type): Add imul3nc and idiv3.
(length): Handle idiv3.
(any_mod): New code_iterator.
(u): Handle MOD and UMOD.
(mul<mode>3): Generate mul<mode>3_mul3_ls2ef on Loongson targets.
(prefetch): Handle TARGET_LOONGSON_2EF.
From-SVN: r141835
|
|
emitted)
PR c++/27017
* dwarf2out.c (prune_unused_types_walk_local_classes): New function.
(prune_unused_types_walk): Call it for non-perennial local classes.
Set die_mark to 2 if recursing on children. If die_mark is 1 on
entry, just set it to 2 and recurse on children, don't walk attributes
again.
* g++.dg/debug/dwarf2/localclass1.C: New test.
* g++.dg/debug/dwarf2/localclass2.C: New test.
From-SVN: r141829
|
|
in warning.
From-SVN: r141826
|
|
x86_64-*-* targets
* gcc.dg/compat/struct-layout-1_generate.c (dg-options): Add -mno-mmx
for i?86-*-* and x86_64-*-* targets
* g++.dg/compat/struct-layout-1_generate.c (dg-options): Add
-fno-common for *-*-darwin* *-*-mingw32* *-*-cygwin* targets.
From-SVN: r141825
|
|
2008-11-13 Paul Brook <paul@codesourcery.com>
gcc/
* doc/invoke.texi: Document --fix-cortex-m3.
* config/arm/arm.c (arm_override_options): Set fix_cm3_ldrd if
Cortex-M3 cpu is selected.
(output_move_double): Avoid overlapping base register and first
destination register when fix_cm3_ldrd.
* config/arm/arm.opt: Add mfix-cortex-m3-ldrd.
From-SVN: r141822
|
|
CONST when...
ada/
* gcc-interface/decl.c (gnat_to_gnu_entity) <case E_Function>:
Turn Ada Pure on subprograms back into GCC CONST when eh constructs
are explicit to the middle-end. Tidy.
testsuite/
* gnat.dg/test_raise_from_pure.adb: Adjust to match revised intent.
* gnat.dg/wrap_raise_from_pure.ad[bs]: Remove.
* gnat.dg/handle_raise_from_pure.adb: New test.
From-SVN: r141821
|
|
gimple_check_failed error)
PR bootstrap/38100
* gimple.h (gimple_range_check_failed): Remove prototype.
* gimple.c (gimple_check_failed): Don't check GCC_VERSION
in guarding #if.
(gimple_range_check_failed): Removed.
From-SVN: r141820
|
|
PR debug/27574
* cgraph.h: New abstract_and_needed member to struct cgraph_node.
* cgraphunit.c (cgraph_analyze_functions): Flag abstract functions
- which clones are reachable - as "abstract and needed".
* cgraph.c (cgraph_release_function_body): If a node is
"abstract and needed", do not release its DECL_INITIAL() content
that will be needed to emit debug info.
From-SVN: r141819
|
|
__LONG_LONG_MAX__ error)
PR bootstrap/38088
* mcf.c (CAP_INFINITY): Use HOST_WIDEST_INT maximum, not GCC specific
__LONG_LONG_MAX__.
From-SVN: r141818
|
|
From-SVN: r141816
|
|
2008-11-12 Tobias Burnus <burnus@net-b.de>
PR fortran/38094
* gfortran.dg/private_type_4.f90: Fix dg-error pattern.
From-SVN: r141811
|
|
PR c++/36478
Revert:
2007-05-07 Mike Stump <mrs@apple.com>
* doc/invoke.texi (Warning Options): Document that -Wempty-body
also checks for and while statements in C++.
Revert:
2007-05-07 Mike Stump <mrs@apple.com>
* parser.c (check_empty_body): Add.
(cp_parser_iteration_statement): Add call to check_empty_body.
* g++.old-deja/g++.mike/empty.C: Remove.
From-SVN: r141810
|
|
constructor)
gcc/ChangeLog:
2008-11-12 Dodji Seketeli <dodji@redhat.com>
PR debug/27574
* cgraph.h: New abstract_and_needed member to struct cgraph_node.
* cgraphunit.c (cgraph_analyze_functions): Flag abstract functions
- which clones are reachable - as "abstract and needed".
* cgraph.c (cgraph_release_function_body): If a node is "abstract and needed",
do not release its DECL_INITIAL() content because that will be needed to emit
debug info.
gcc/testsuite/ChangeLog:
2008-11-12 Dodji Seketeli <dodji@redhat.com>
PR debug/27574
* g++.dg/debug/dwarf2/local-var-in-contructor.C: New test.
From-SVN: r141807
|
|
* gcc.c-torture/execute/20081112-1.c: New test.
* gnat.dg/concat1.adb: Likewise.
* gnat.dg/concat1_pkg.ad[sb]: New helper.
From-SVN: r141806
|
|
PR target/27880
* configure.ac (GCC_CHECK_UNWIND_GETIPINFO): Use this macro
to set HAVE_GETIPINFO.
* aclocal.m4: Include ../config/unwind_ipinfo.m4.
* configure: Regenerate.
* config.in: Regenerate.
From-SVN: r141805
|
|
2008-11-12 Jack Howarth <howarth@bromo.med.uc.edu>
PR bootstrap/38010
* gcc/config.gcc: Use darwin9.h on darwin10 as well.
From-SVN: r141803
|
|
Revert:
2008-10-21 Jakub Jelinek <jakub@redhat.com>
* gimplify.c (gimplify_expr): Drop TREE_OVERFLOW from
INTEGER_CSTs.
From-SVN: r141802
|
|
mode, causing symbol already defined assembler error)
PR c++/38007
gcc/cp/
* typeck.c (cp_build_modify_expr): Update bitfield handling.
gcc/
* c-common.c (c_common_signed_or_unsigned_type): Remove C++
special casing.
gcc/testsuite/
* g++.dg/conversion/bitfield10.C: New test.
* g++.dg/warn/pr35635.C (func1): Accept additional warning.
* g++.old-deja/g++.mike/enum1.C: Expect warn about assignment.
* g++.dg/expr/bitfield9.C: Pass -Wno-overflow.
From-SVN: r141800
|
|
* config/avr/avr.c (avr_mcu_t): Add atmega16hvb, atmega32hvb,
atmega4hvd, atmega8hvd, atmega64c1, atmega64m1, atmega16u4 and
atmega32u6 devices.
* config/avr/avr.h (LINK_SPEC, CRT_BINUTILS_SPECS): (Ditto.).
* config/avr/t-avr (MULTILIB_MATCHES): (Ditto.).
From-SVN: r141799
|
|
2008-11-12 Tobias Burnus <burnus@net-b.de>
PR fortran/38065
PR fortran/38094
* gfortran.dg/private_type_4.f90: Add -std=f95 option.
From-SVN: r141798
|
|
2008-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
* gcc/config/s390/s390.h (INITIAL_FRAME_ADDRESS_RTX): Remove
packed-stack special handling.
(FRAME_ADDR_RTX): Add definition.
2008-11-12 Andreas Krebbel <krebbel1@de.ibm.com>
* gcc.target/s390/frame-addr1.c: New testcase.
* gcc.target/s390/frame-addr2.c: New testcase.
* gcc.target/s390/return-addr1.c: New testcase.
* gcc.target/s390/return-addr2.c: New testcase.
From-SVN: r141796
|
|
(gcc/testsuite/gcc.c-torture/execute/builtins/lib/sprintf.c unportable)
2008-11-12 Jack Howarth <howarth@bromo.med.uc.edu>
PR testsuite/38008
* gcc.c-torture/execute/builtins/lib/sprintf.c: Make
sprintf call more portable for darwin10.
From-SVN: r141795
|
|
2008-11-12 Jack Howarth <howarth@bromo.med.uc.edu>
PR testsuite/37202
* gcc.dg/visibility-14.c: Skip on *-*-darwin*.
* gcc.dg/visibility-15.c: Same.
* gcc.dg/visibility-16.c: Same.
* gcc.dg/visibility-17.c: Same.
* gcc.dg/visibility-18.c: Same.
* gcc.dg/visibility-19.c: Same.
From-SVN: r141794
|
|
PR c++/34269
* parser.c (cp_parser_simple_declaration): Don't commit
to tentative parse if parse errors were seen.
* g++.dg/cpp0x/decltype13.C: New test.
* g++.dg/cpp0x/decltype-33837.C: Adjust dg-error pattern.
* g++.dg/cpp0x/pr33839.C: Likewise.
From-SVN: r141793
|
|
powerpc-apple-darwin9)
PR target/35366
PR fortran/33759
* fold-const.c (native_encode_string): New function.
(native_encode_expr): Use it for STRING_CST.
* trans-const.c (gfc_conv_constant_to_tree): Warn when
converting an integer outside of LOGICAL's range to
LOGICAL.
* trans-intrinsic.c (gfc_conv_intrinsic_function,
gfc_conv_intrinsic_array_transfer, gfc_conv_intrinsic_transfer):
Use INTEGER_TYPE instead of BOOLEAN_TYPE for TRANSFER as
argument of another TRANSFER.
* gfortran.dg/hollerith.f90: Don't assume a 32-bit value
stored into logical variable will be preserved.
* gfortran.dg/transfer_simplify_4.f90: Remove undefined
cases. Run at all optimization levels. Add a couple of
new tests.
* gfortran.dg/hollerith5.f90: New test.
* gfortran.dg/hollerith_legacy.f90: Add dg-warning.
From-SVN: r141790
|
|
intermediate value will be used later.
* config/m32c/cond.md (cond_to_int peephole2): Don't eliminate the
insns if the intermediate value will be used later.
From-SVN: r141788
|
|
representation of real values.
* config/m68k/m68k.c (print_operand): Mask off extra extension
bits when writing out the representation of real values.
From-SVN: r141787
|
|
-ftree-vectorizer-verbose=9)
PR tree-optimization/38079
* tree-vect-analyze.c (vect_analyze_data_refs): Replace dump_file
with vect_dump.
From-SVN: r141785
|
|
PR c++/35334
* c-pretty-print.c (pp_c_complex_expr): New function.
(pp_c_postfix_expression) <case COMPLEX_EXPR>: Call it.
* error.c (dump_expr): Handle COMPLEX_EXPR.
* gcc.dg/pr35334.c: New test.
* g++.dg/other/error29.C: New test.
From-SVN: r141783
|
|
powerpc-apple-darwin9)
PR target/35366
* expr.c (expand_expr_addr_expr_1): If EXP needs bigger alignment
than INNER and INNER is a constant, forcibly align INNER as much
as needed.
From-SVN: r141782
|
|
2008-11-12 Tobias Burnus <burnus@net-b.de>
PR fortran/38065
* resolve.c (resolve_fntype): Fix private derived type checking.
2008-11-12 Tobias Burnus <burnus@net-b.de>
PR fortran/38065
* gfortran.dg/private_type_11.f90: New test.
* gfortran.dg/private_type_12.f90: New test.
From-SVN: r141780
|
|
From-SVN: r141778
|
|
gcc/
* cse.c (fold_rtx): Remove redundant gen_rtx_CONST.
From-SVN: r141775
|
|
gcc/
PR rtl-optimization/37363
* simplify-rtx.c (simplify_plus_minus): Don't create (const (minus ...))
expresisons.
From-SVN: r141774
|
|
* ira-lives.c (process_bb_node_lives): Restore EH_RETURN_DATA_REGNO
handling.
From-SVN: r141772
|
|
From-SVN: r141762
|