Joseph Myers [Tue, 22 Mar 2011 22:29:29 +0000 (22:29 +0000)]
arm.opt (mhard-float, [...]): Use Alias.
* config/arm/arm.opt (mhard-float, msoft-float): Use Alias.
* config/arm/arm.c (arm_handle_option): Don't handle -mhard-float
or -msoft-float here.
* config/arm/arm.h (CPP_SPEC): Handle -mfloat-abi=*, not
-msoft-float and -mhard-float.
(OPTION_DEFAULT_SPECS): Don't handle -mhard-float and
-msoft-float.
* config/arm/coff.h (MULTILIB_DEFAULTS): Use mfloat-abi=soft, not
msoft-float.
* config/arm/elf.h (ASM_SPEC): Don't handle -mhard-float and
-msoft-float.
(MULTILIB_DEFAULTS): Use mfloat-abi=soft, not msoft-float.
* config/arm/linux-elf.h (MULTILIB_DEFAULTS): Use mfloat-abi=hard,
not mhard-float.
(LIBGCC_SPEC): Don't handle -msoft-float.
* config/arm/netbsd-elf.h (SUBTARGET_ASM_FLOAT_SPEC): Don't handle
-mhard-float.
* config/arm/pe.h (MULTILIB_DEFAULTS): Use mfloat-abi=soft, not
msoft-float.
* config/arm/rtems-elf.h (SUBTARGET_EXTRA_ASM_SPEC): Handle
-mfloat-abi=*, not -msoft-float and -mhard-float.
* config/arm/semi.h((ASM_SPEC): Don't handle -mhard-float and
-msoft-float.
* config/arm/t-arm-elf (MULTILIB_OPTIONS, MULTILIB_EXCEPTIONS):
Use mfloat-abi=hard and mfloat-abi=soft in comments, not
mhard-float and msoft-float.
* config/arm/t-linux (MULTILIB_OPTIONS): Use mfloat-abi=hard and
mfloat-abi=soft in comments, not mhard-float and msoft-float.
* config/arm/t-rtems (MULTILIB_OPTIONS, MULTILIB_EXCEPTIONS): Use
mfloat-abi=soft and mfloat-abi=hard, not msoft-float and
mhard-float.
* config/arm/t-strongarm-elf (MULTILIB_OPTIONS): Use
mfloat-abi=hard and mfloat-abi=soft, not mhard-float and
msoft-float.
* config/arm/t-wince-pe (MULTILIB_OPTIONS): Use mfloat-abi=hard,
not mhard-float.
* config/arm/wince-pe.h (MULTILIB_DEFAULTS): Use mfloat-abi=soft,
not msoft-float.
From-SVN: r171313
Richard Henderson [Tue, 22 Mar 2011 22:28:18 +0000 (15:28 -0700)]
Remove alpha-winnt code from the backend.
From-SVN: r171312
Joseph Myers [Tue, 22 Mar 2011 22:26:37 +0000 (22:26 +0000)]
alpha.c (alpha_handle_option): Access target_flags via opts pointer.
* config/alpha/alpha.c (alpha_handle_option): Access target_flags
via opts pointer. Use error_at. Don't assert that global
structures are in use.
From-SVN: r171311
Joseph Myers [Tue, 22 Mar 2011 22:25:52 +0000 (22:25 +0000)]
i386.c (ix86_isa_flags_explicit): Remove.
* config/i386/i386.c (ix86_isa_flags_explicit): Remove.
(ix86_handle_option): Access ix86_isa_flags and
ix86_isa_flags_explicit via opts pointer. Don't assert that
global structures are in use.
(ix86_function_specific_save, ix86_function_specific_restore):
Update ix86_isa_flags_explicit field name.
* config/i386/i386.opt (ix86_isa_flags_explicit): New Variable
entry.
(ix86_isa_flags_explicit): Rename TargetSave entry to
x_ix86_isa_flags_explicit.
From-SVN: r171310
Richard Henderson [Tue, 22 Mar 2011 22:24:28 +0000 (15:24 -0700)]
Remove alpha-unicosmk code from the backend.
From-SVN: r171309
Joseph Myers [Tue, 22 Mar 2011 22:23:02 +0000 (22:23 +0000)]
target.def (handle_option): Take gcc_options and cl_decoded_option pointers and location_t.
* target.def (handle_option): Take gcc_options and
cl_decoded_option pointers and location_t.
* doc/tm.texi.in (TARGET_HANDLE_OPTION): Update documentation.
* doc/tm.texi: Regenerate.
* hooks.c (hook_bool_size_t_constcharptr_int_true): Remove.
* hooks.h (hook_bool_size_t_constcharptr_int_true): Don't declare.
* lto-opts.c (lto_reissue_options): Generate option structure for
targetm.handle_option call.
* opts.c (target_handle_option): Update call to
targetm.handle_option. Remove assertions about values now passed
down to hook.
* targhooks.c (default_target_handle_option): New.
* targhooks.h (default_target_handle_option): Declare.
* config/alpha/alpha.c: Include opts.h.
(alpha_handle_option): Update to new hook interface.
* config/arm/arm.c: Include opts.h.
(arm_handle_option): Update to new hook interface.
* config/arm/t-arm (arm.o): Update dependencies.
* config/bfin/bfin.c: Include opts.h.
(bfin_handle_option): Update to new hook interface.
* config/cris/cris.c: Include opts.h.
(cris_handle_option): Update to new hook interface.
* config/frv/frv.c: Include opts.h.
(frv_handle_option): Update to new hook interface.
* config/i386/i386.c: Include opts.h.
(ix86_handle_option): Update to new hook interface.
(ix86_valid_target_attribute_inner_p): Generate option structure
for call to ix86_handle_option.
* config/i386/t-i386 (i386.o): Update dependencies.
* config/ia64/ia64.c: Include opts.h.
(ia64_handle_option): Update to new hook interface.
* config/ia64/t-ia64 (ia64.o): Update dependencies.
* config/iq2000/iq2000.c: Include opts.h.
(iq2000_handle_option): Update to new hook interface.
* config/m32c/m32c.c: Include opts.h.
(m32c_handle_option): Update to new hook interface.
* config/m32r/m32r.c: Include opts.h.
(m32r_handle_option): Update to new hook interface.
* config/m68k/m68k.c: Include opts.h.
(m68k_handle_option): Update to new hook interface.
* config/mep/mep.c: Include opts.h.
(mep_handle_option): Update to new hook interface.
* config/microblaze/microblaze.c: Include opts.h.
(microblaze_handle_option): Update to new hook interface.
* config/mips/mips.c: Include opts.h.
(mips_handle_option): Update to new hook interface.
* config/mn10300/mn10300.c: Include opts.h.
(mn10300_handle_option): Update to new hook interface.
* config/pa/pa.c: Include opts.h.
(pa_handle_option): Update to new hook interface.
* config/pdp11/pdp11.c: Include opts.h.
(pdp11_handle_option): Update to new hook interface.
* config/rs6000/rs6000.c: Include opts.h.
(rs6000_handle_option): Update to new hook interface.
* config/rs6000/t-rs6000 (rs6000.o): Update dependencies.
* config/rx/rx.c: Include opts.h.
(rx_handle_option): Update to new hook interface.
* config/s390/s390.c: Include opts.h.
(s390_handle_option): Update to new hook interface.
* config/score/score.c: Include opts.h.
(score_handle_option): Update to new hook interface.
* config/sh/sh.c: Include opts.h.
(sh_handle_option): Update to new hook interface.
* config/sparc/sparc.c: Include opts.h.
(sparc_handle_option): Update to new hook interface.
* config/v850/v850.c: Include opts.h.
(v850_handle_option): Update to new hook interface.
From-SVN: r171308
Joseph Myers [Tue, 22 Mar 2011 22:19:01 +0000 (22:19 +0000)]
gcc.c (driver_unknown_option_callback): Only permit and save unknown -Wno- options.
* gcc.c (driver_unknown_option_callback): Only permit and save
unknown -Wno- options.
(driver_wrong_lang_callback): Save options directly instead of via
driver_unknown_option_callback.
From-SVN: r171307
Eric Botcazou [Tue, 22 Mar 2011 20:04:58 +0000 (20:04 +0000)]
combine.c (simplify_set): Try harder to find the best CC mode when simplifying a nested COMPARE on the RHS.
* combine.c (simplify_set): Try harder to find the best CC mode when
simplifying a nested COMPARE on the RHS.
From-SVN: r171304
Joseph Myers [Tue, 22 Mar 2011 20:03:41 +0000 (20:03 +0000)]
configure.ac (arm-semi-aof, [...]): Remove empty cases.
* configure.ac (arm-semi-aof, crx-*-*, parisc*-*-linux*,
i370-*-opened*, i[[
3456789]]86-moss-msdos | i[[
3456789]]86-*-moss*
| i[[
3456789]]86-*-uwin*, mcore-*-pe*): Remove empty cases.
* configure: Regenerate.
From-SVN: r171303
Joseph Myers [Tue, 22 Mar 2011 19:58:18 +0000 (19:58 +0000)]
MAINTAINERS (crx port, [...]): Remove.
* MAINTAINERS (crx port, m68hc11 port): Remove. Move maintainers
to Write After Approval.
* config-ml.in: Don't handle arc-*-elf*.
* configure.ac (arc-*-*, crx-*-*, i[[
3456789]]86-*-pe,
m68hc11-*-*|m6811-*-*|m68hc12-*-*|m6812-*-*, mcore-*-pe*): Don't
handle GCC libraries.
* configure: Regenerate.
contrib:
* compare-all-tests (all_targets): Remove crx and m68hc11.
fixincludes:
* mkfixinc.sh: Don't handle i?86-moss-msdos* or i?86-*-pe.
gcc:
* config/alpha/gnu.h: Remove.
* config/arc: Remove directory.
* config/arm/netbsd.h: Remove.
* config/arm/t-pe: Remove.
* config/crx: Remove directory.
* config/i386/netbsd.h: Remove.
* config/m68hc11: Remove directory.
* config/m68k/uclinux-oldabi.h: Remove.
* config/mcore/mcore-pe.h: Remove.
* config/mcore/t-mcore-pe: Remove.
* config/netbsd-aout.h: Remove.
* config/rs6000/gnu.h: Remove.
* config/sh/sh-symbian.h: Remove.
* config/sh/symbian-base.c: Remove.
* config/sh/symbian-c.c: Remove.
* config/sh/symbian-cxx.c: Remove.
* config/sh/symbian-post.h: Remove.
* config/sh/symbian-pre.h: Remove.
* config/sh/t-symbian: Remove.
* config/svr3.h: Remove.
* config/vax/netbsd.h: Remove.
* config.build: Don't handle i[34567]86-*-pe.
* config.gcc: Remove handling of deprecations for most deprecated
targets.
(m68k-*-uclinuxoldabi*): Add to second deprecated list.
(alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*, arm-*-pe*, crx-*-elf,
i[34567]86-*-netbsd*, i[34567]86-*-pe, m68hc11-*-*|m6811-*-*,
m68hc12-*-*|m6812-*-*, m68k-*-uclinuxoldabi*, mcore-*-pe*,
powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
Remove cases.
* config.host: Don't handle i[34567]86-*-pe.
* config/rs6000/linux64.h (LINK_OS_GNU_SPEC): Remove.
(ASM_SPEC32): Don't handle -mcall-gnu.
* config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Don't handle
-mcall-gnu.
(ASM_SPEC, CC1_SPEC, LINK_START_SPEC, LINK_OS_SPEC, CPP_SPEC,
STARTFILE_SPEC, LIB_SPEC, ENDFILE_SPEC): Don't handle -mcall-gnu.
(LIB_GNU_SPEC, STARTFILE_GNU_SPEC, ENDFILE_GNU_SPEC,
LINK_START_GNU_SPEC, LINK_OS_GNU_SPEC, CPP_OS_GNU_SPEC): Remove.
(SUBTARGET_EXTRA_SPECS): Remove *_gnu specs.
* config/sh/sh-protos.h, config/sh/sh.c: Remove all code
conditional on SYMBIAN.
* configure.ac: Don't handle powerpc*-*-gnu*.
* configure: Regenerate.
* doc/extend.texi (interrupt attribute): Don't mention CRX.
* doc/install-old.texi (m6811, m6812): Don't mention.
* doc/install.texi (arc-*-elf*): Don't document multilib option.
(arc-*-elf, CRX, m6811-elf, m6812-elf): Remove.
(m68k-uclinuxoldabi): Don't mention.
* doc/invoke.texi (ARC Options, CRX Options, M68hc1x Options):
Remove.
(-mcall-gnu): Remove.
* doc/md.texi (CRX Architecture, Motorola 68HC11 & 68HC12
families): Remove constraint documentation.
gcc/testsuite:
* gcc.c-torture/execute/920501-8.x: Remove.
* gcc.c-torture/execute/930513-1.x: Remove.
* gcc.c-torture/execute/960312-1.x: Remove.
* gcc.c-torture/compile/
20000804-1.c,
gcc.c-torture/compile/
20001205-1.c,
gcc.c-torture/compile/
20001226-1.c,
gcc.c-torture/compile/
20010518-2.c,
gcc.c-torture/compile/
20020312-1.c,
gcc.c-torture/compile/
20020604-1.c,
gcc.c-torture/compile/920501-12.c,
gcc.c-torture/compile/920501-4.c,
gcc.c-torture/compile/920520-1.c,
gcc.c-torture/compile/980506-1.c,
gcc.c-torture/execute/980709-1.x,
gcc.c-torture/execute/990826-0.x: Don't XFAIL or use special
options for m68hc11.
* gcc.dg/cpp/assert4.c: Don't handle ARC.
* gcc.dg/sibcall-3.c, gcc.dg/sibcall-4.c: Don't XFAIL for arc or
m68hc11.
libgcc:
* config.host (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*,
arm-*-pe*, crx-*-elf, i[34567]86-*-netbsd*, i[34567]86-*-pe,
m68hc11-*-*|m6811-*-*, m68hc12-*-*|m6812-*-*, mcore-*-pe*,
powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*,
sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*):
Remove cases.
libstdc++-v3:
* configure.ac: Don't handle powerpc*-*-gnu*.
* configure: Regenerate.
From-SVN: r171302
Marius Strobl [Tue, 22 Mar 2011 19:47:37 +0000 (19:47 +0000)]
freebsd.h (CPP_CPU64_DEFAULT_SPEC): Replace with...
* config/sparc/freebsd.h (CPP_CPU64_DEFAULT_SPEC): Replace with...
(FBSD_TARGET_CPU_CPP_BUILTINS): ...this.
(TARGET_GNU_TLS, TARGET_SUN_TLS): Define.
From-SVN: r171301
Georg-Johann Lay [Tue, 22 Mar 2011 19:37:35 +0000 (19:37 +0000)]
avr-protos.h (expand_epilogue): Change prototype
* config/avr/avr-protos.h (expand_epilogue): Change prototype
* config/avr/avr.h (struct machine_function): Add field sibcall_fails.
* config/avr/avr.c (init_cumulative_args)
(avr_function_arg_advance): Use it.
* config/avr/avr.c (expand_epilogue): Add bool parameter. Handle
sibcall epilogues.
(TARGET_FUNCTION_OK_FOR_SIBCALL): Define to...
(avr_function_ok_for_sibcall): ...this new function.
(avr_lookup_function_attribute1): New static Function.
(avr_naked_function_p, interrupt_function_p)
(signal_function_p, avr_OS_task_function_p)
(avr_OS_main_function_p): Use it.
* config/avr/avr.md ("sibcall", "sibcall_value")
("sibcall_epilogue"): New expander.
("*call_insn", "*call_value_insn"): New insn.
("call_insn", "call_value_insn"): Remove
("call", "call_value", "epilogue"): Change expander to handle
sibling calls.
From-SVN: r171300
Nick Clifton [Tue, 22 Mar 2011 16:18:34 +0000 (16:18 +0000)]
target-supports.exp (check_profiling_available): Add MN10300 to the list of targets that do not support profiling.
* lib/target-supports.exp (check_profiling_available): Add MN10300
to the list of targets that do not support profiling. Restore
alpha sorting to this list.
From-SVN: r171299
Nick Clifton [Tue, 22 Mar 2011 16:14:50 +0000 (16:14 +0000)]
invoke.texi (Overall Options): Move closing brace to end of options list.
* doc/invoke.texi (Overall Options): Move closing brace to end of
options list.
(Optimization Options): Add missing @gol.
(Directory Options): Likewise.
(i386 and x86-64 Options): Likewise.
(RS6000 and PowerPC Options): Likewise.
(i386 and x86-64 Windows Options): Likewise.
(V850 Options): Add text missing from descriptions.
From-SVN: r171298
Richard Henderson [Tue, 22 Mar 2011 16:02:59 +0000 (09:02 -0700)]
* dwarf2out.c (dwarf2out_frame_debug_expr) [rule 11]: Handle post_dec.
From-SVN: r171296
Richard Henderson [Tue, 22 Mar 2011 16:02:51 +0000 (09:02 -0700)]
avr.c (TARGET_EXCEPT_UNWIND_INFO): New.
* config/avr/avr.c (TARGET_EXCEPT_UNWIND_INFO): New.
(avr_incoming_return_addr_rtx): New.
(emit_push_byte): New.
(expand_prologue): Use it. Remove incorrect dwarf annotation for
SREG, RAMPZ, zero register. Push frame pointer by bytes. Add dwarf
annotation for __prologue_saves__. Fixup dwarf annotation for CFA.
(emit_pop_byte): New.
(expand_epilogue): Use it. Pop frame pointer by bytes.
* config/avr/avr.h (FRAME_POINTER_CFA_OFFSET): Remove.
(INCOMING_RETURN_ADDR_RTX): New.
(INCOMING_FRAME_SP_OFFSET): New.
(ARG_POINTER_CFA_OFFSET): New.
* config/avr/avr.md (*pushqi): Fix mode of auto-inc.
(*pushhi, *pushsi, *pushsf, popqi): Likewise.
(pophi): Remove.
From-SVN: r171295
Paolo Carlini [Tue, 22 Mar 2011 15:25:01 +0000 (15:25 +0000)]
moveable2.cc: Tweak Copyright years.
2011-03-22 Paolo Carlini <paolo.carlini@oracle.com>
* testsuite/21_strings/basic_string/cons/char/moveable2.cc: Tweak
Copyright years.
* testsuite/21_strings/basic_string/cons/wchar_t/moveable2.cc:
Likewise.
From-SVN: r171294
Paolo Carlini [Tue, 22 Mar 2011 15:15:03 +0000 (15:15 +0000)]
shared_ptr.h (operator>, [...]): Add, per DR 1401.
2011-03-22 Paolo Carlini <paolo.carlini@oracle.com>
* include/bits/shared_ptr.h (operator>, operator<=, operator>=): Add,
per DR 1401.
(operator==, operator!=, operator<): Fix per the letter of DR 1401.
* include/bits/shared_ptr_base.h: Likewise for __shared_ptr.
* include/bits/unique_ptr.h (operator==, operator!=, operator<,
operator<=, operator>, operator>=): Fix per the letter of DR 1401.
* testsuite/20_util/shared_ptr/comparison/dr1401.cc: New.
* testsuite/20_util/unique_ptr/comparison/dr1401.cc: Likewise.
* testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust.
From-SVN: r171293
Jakub Jelinek [Tue, 22 Mar 2011 15:05:23 +0000 (16:05 +0100)]
gnu.ver (GLIBCXX_3.4.15): Export _ZNSsC2EOSs and _ZNSbIwSt11char_traitsIwESaIwEEC2EOS2_.
* config/abi/pre/gnu.ver (GLIBCXX_3.4.15): Export _ZNSsC2EOSs
and _ZNSbIwSt11char_traitsIwESaIwEEC2EOS2_.
* config/abi/post/solaris2.8/baseline_symbols.txt: Regenerated.
* config/abi/post/solaris2.8/sparcv9/baseline_symbols.txt: Likewise.
* config/abi/post/s390x-linux-gnu/baseline_symbols.txt: Likewise.
* config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Likewise.
* config/abi/post/x86_64-linux-gnu/32/baseline_symbols.txt: Likewise.
* config/abi/post/powerpc-linux-gnu/baseline_symbols.txt: Likewise.
* config/abi/post/powerpc64-linux-gnu/baseline_symbols.txt: Likewise.
* config/abi/post/powerpc64-linux-gnu/32/baseline_symbols.txt:
Likewise.
* config/abi/post/solaris2.10/baseline_symbols.txt: Likewise.
* config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Likewise.
* config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise.
* config/abi/post/i486-linux-gnu/baseline_symbols.txt: Likewise.
* config/abi/post/i386-linux-gnu/baseline_symbols.txt: Likewise.
* config/abi/post/s390-linux-gnu/baseline_symbols.txt: Likewise.
* testsuite/21_strings/basic_string/cons/char/moveable2.cc: New test.
* testsuite/21_strings/basic_string/cons/wchar_t/moveable2.cc: New
test.
From-SVN: r171291
Michael Meissner [Tue, 22 Mar 2011 14:36:11 +0000 (14:36 +0000)]
Make vector-{1,2}.c run correctly on PowerPC 32-bit
From-SVN: r171289
Nathan Froyd [Tue, 22 Mar 2011 12:55:47 +0000 (12:55 +0000)]
tree.c (build_call_1): New function.
* tree.c (build_call_1): New function.
(build_call_valist, build_call_array_loc, build_call_vec): Call it.
From-SVN: r171288
Richard Guenther [Tue, 22 Mar 2011 12:40:09 +0000 (12:40 +0000)]
re PR tree-optimization/48228 (incorrect signed overflow warning when only 0 and 1 are used)
2011-03-22 Richard Guenther <rguenther@suse.de>
PR tree-optimization/48228
* tree-vrp.c (vrp_visit_phi_node): Do not stop propagating
for single-arg PHIs.
* gcc.dg/Wstrict-overflow-23.c: New testcase.
From-SVN: r171287
Andrey Belevantsev [Tue, 22 Mar 2011 12:33:53 +0000 (15:33 +0300)]
re PR rtl-optimization/48143 (ICE: in reset_sched_cycles_in_current_ebb, at sel-sched.c:7114 with custom flags)
PR rtl-optimization/48143
* config/i386/sse.md (*sse2_cvtpd2dq): Add athlon_decode attribute.
(*sse2_cvttpd2dq, sse2_cvtss2sd, *sse2_cvtpd2ps,
sse2_cvtps2pd): Likewise.
From-SVN: r171286
Andreas Krebbel [Tue, 22 Mar 2011 11:19:11 +0000 (11:19 +0000)]
recog.c (canonicalize_change_group): Use validate_unshare_change.
2011-03-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
* recog.c (canonicalize_change_group): Use validate_unshare_change.
From-SVN: r171285
Richard Guenther [Tue, 22 Mar 2011 11:12:57 +0000 (11:12 +0000)]
gimple.c (gimple_rhs_class_table): POLYNOMIAL_CHREC is not a valid RHS.
2011-03-22 Richard Guenther <rguenther@suse.de>
* gimple.c (gimple_rhs_class_table): POLYNOMIAL_CHREC is not
a valid RHS. Make DOT_PROD_EXPR and REALIGN_LOAD_EXPR ternary.
* tree-cfg.c (verify_gimple_assign_ternary): Allow DOT_PROD_EXPR
and REALIGN_LOAD_EXPR.
(verify_gimple_assign_single): Do not allow POLYNOMIAL_CHREC,
DOT_PROD_EXPR or REALIGN_LOAD_EXPR.
* expr.c (expand_expr_real_1): Move REALIGN_LOAD_EXPR and
DOT_PROD_EXPR case ...
(expand_expr_real_2): ... here.
* gimple-pretty-print.c (dump_ternary_rhs): Handle DOT_PROD_EXPR
and REALIGN_LOAD_EXPR.
* tree-data-ref.c (split_constant_offset): Bail out for all CHRECs.
* tree-vect-loop.c (vect_model_reduction_cost): Handle ternaries.
(vect_create_epilog_for_reduction): Likewise.
(vectorizable_reduction): Likewise.
* tree-vect-patterns.c (vect_recog_dot_prod_pattern): Adjust.
* tree-vect-stmts.c (vectorizable_load): Likewise.
From-SVN: r171284
Eric Botcazou [Tue, 22 Mar 2011 10:26:52 +0000 (10:26 +0000)]
* c-ada-spec.c (dump_ada_template): Skip non-class instances.
From-SVN: r171283
Eric Botcazou [Tue, 22 Mar 2011 10:14:07 +0000 (10:14 +0000)]
* gimplify.c (gimplify_cond_expr): Gimplify COMPOUND_EXPR conditions.
From-SVN: r171282
Andreas Krebbel [Tue, 22 Mar 2011 09:07:26 +0000 (09:07 +0000)]
s390.c (s390_delegitimize_address): Fix offset handling for PLTOFF/GOTOFF.
2011-03-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
* config/s390/s390.c (s390_delegitimize_address): Fix offset
handling for PLTOFF/GOTOFF.
From-SVN: r171281
Nick Clifton [Tue, 22 Mar 2011 09:04:11 +0000 (09:04 +0000)]
cygming.h (SUBTARGET_OVERRIDE_OPTIONS): Remove trailing backslash from the end of the macro definition.
* config/i386/cygming.h (SUBTARGET_OVERRIDE_OPTIONS): Remove
trailing backslash from the end of the macro definition.
From-SVN: r171280
Andreas Krebbel [Tue, 22 Mar 2011 07:29:53 +0000 (07:29 +0000)]
s390.c (s390_delegitimize_address): Handle PLTOFF and PLT unspecs.
2011-03-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
* config/s390/s390.c (s390_delegitimize_address): Handle PLTOFF
and PLT unspecs.
From-SVN: r171279
GCC Administrator [Tue, 22 Mar 2011 00:19:00 +0000 (00:19 +0000)]
Daily bump.
From-SVN: r171278
Ian Lance Taylor [Mon, 21 Mar 2011 22:01:53 +0000 (22:01 +0000)]
libgo: Add GOTESTFLAGS variable used when testing.
From Rainer Orth.
From-SVN: r171272
Richard Sandiford [Mon, 21 Mar 2011 21:38:56 +0000 (21:38 +0000)]
expr.h (prepare_operand): Move to...
gcc/
2011-03-21 Richard Sandiford <richard.sandiford@linaro.org>
* expr.h (prepare_operand): Move to...
* optabs.h (prepare_operand): ...here and change the insn code
parameter from "int" to "enum insn_code".
(insn_operand_matches): Declare.
* expr.c (init_expr_target): Use insn_operand_matches.
(compress_float_constant): Likewise.
* function.c (safe_insn_predicate, assign_parm_setup_reg): Likewise.
* optabs.c (can_compare_p, prepare_cmp_insn): Likewise.
(emit_cmp_and_jump_insn_1, gen_add2_insn, gen_add3_insn): Likewise.
(have_add2_insn, gen_sub2_insn, gen_sub3_insn, have_sub2_insn): Likewise.
(gen_cond_trap): Likewise.
(prepare_operand): Likewise. Change icode to an insn_code.
(insn_operand_matches): New function.
* reload.c (find_reloads_address_1): Use insn_operand_matches.
* reload1.c (gen_reload): Likewise.
* targhooks.c (default_secondary_reload): Likewise.
From-SVN: r171270
Uros Bizjak [Mon, 21 Mar 2011 20:50:35 +0000 (21:50 +0100)]
alpha.md (unspec): New define_c_enum.
* config/alpha/alpha.md (unspec): New define_c_enum.
(unspecv): Ditto.
From-SVN: r171268
Uros Bizjak [Mon, 21 Mar 2011 20:09:45 +0000 (21:09 +0100)]
alpha.c (alpha_pad_noreturn): Do not emit an unop between a call and its CALL_ARG_LOCATION note.
* config/alpha/alpha.c (alpha_pad_noreturn): Do not emit an unop
between a call and its CALL_ARG_LOCATION note.
From-SVN: r171266
Jack Howarth [Mon, 21 Mar 2011 19:13:05 +0000 (19:13 +0000)]
prune.exp (prune_gcc_output): Prune "could not create compact unwind for" warnings.
gcc:
2011-03-21 Jack Howarth <howarth@bromo.med.uc.edu>
* lib/prune.exp (prune_gcc_output): Prune "could not create
compact unwind for" warnings.
libstdc++:
2011-03-21 Jack Howarth <howarth@bromo.med.uc.edu>
* testsuite/lib/prune.exp (libstdc++-dg-prune): Prune "could not
create compact unwind for" warnings.
From-SVN: r171263
Jakub Jelinek [Mon, 21 Mar 2011 19:06:11 +0000 (20:06 +0100)]
baseline_symbols.txt: Update.
* config/abi/post/i386-linux-gnu/baseline_symbols.txt: Update.
* config/abi/post/i486-linux-gnu/baseline_symbols.txt: Likewise.
* config/abi/post/powerpc64-linux-gnu/32/baseline_symbols.txt:
Likewise.
* config/abi/post/powerpc64-linux-gnu/baseline_symbols.txt: Likewise.
* config/abi/post/powerpc-linux-gnu/baseline_symbols.txt: Likewise.
* config/abi/post/s390-linux-gnu/baseline_symbols.txt: Likewise.
* config/abi/post/s390x-linux-gnu/baseline_symbols.txt: Likewise.
* config/abi/post/x86_64-linux-gnu/32/baseline_symbols.txt: Likewise.
* config/abi/post/x86_64-linux-gnu/baseline_symbols.txt: Likewise.
* config/abi/post/solaris2.8/sparcv9/baseline_symbols.txt: Likewise.
* config/abi/post/solaris2.10/amd64/baseline_symbols.txt: Likewise.
* config/abi/post/solaris2.10/sparcv9/baseline_symbols.txt: Likewise.
From-SVN: r171258
Jakub Jelinek [Mon, 21 Mar 2011 19:00:52 +0000 (20:00 +0100)]
testsuite_abi.cc (check_version): Set incompatible even when adding symbols to CXXABI_1.3...
* testsuite/util/testsuite_abi.cc (check_version): Set incompatible
even when adding symbols to CXXABI_1.3, GLIBCXX_LDBL_3.4 and
CXXABI_LDBL_1.3 versions.
From-SVN: r171257
Benjamin Kosnik [Mon, 21 Mar 2011 19:00:03 +0000 (19:00 +0000)]
* config/abi/pre/gnu.ver: Remove typeinfo name exports for C++0x types.
From-SVN: r171256
Jakub Jelinek [Mon, 21 Mar 2011 18:59:12 +0000 (19:59 +0100)]
gnu.ver (CXXABI_1.3): Don't export _ZT[IS][PK]*[no].
* config/abi/pre/gnu.ver (CXXABI_1.3): Don't export _ZT[IS][PK]*[no].
(CXXABI_1.3.5): Export _ZTI[PK]*[no].
From-SVN: r171255
Eric Botcazou [Mon, 21 Mar 2011 18:19:47 +0000 (18:19 +0000)]
re PR bootstrap/48216 (IRIX 6 Ada bootstrap broken: gnu_decl uninitialized in gcc-interface/decl.c:elaborate_expression_1)
PR bootstrap/48216
* gcc-interface/decl.c (elaborate_expression_1): Localize GNU_DECL.
From-SVN: r171254
Eric Botcazou [Mon, 21 Mar 2011 18:04:50 +0000 (18:04 +0000)]
* gimplify.c (gimplify_vla_decl): Set TREE_THIS_NOTRAP flag.
From-SVN: r171253
Jakub Jelinek [Mon, 21 Mar 2011 17:57:34 +0000 (18:57 +0100)]
re PR c/42544 (Bad codegen with signed short cast to unsigned int, then promoted to unsigned long long)
PR c/42544
PR c/48197
* c-common.c (shorten_compare): If primopN is first sign-extended
to opN and then zero-extended to result type, set primopN to opN.
* gcc.c-torture/execute/pr42544.c: New test.
* gcc.c-torture/execute/pr48197.c: New test.
From-SVN: r171252
Daniel Jacobowitz [Mon, 21 Mar 2011 17:19:19 +0000 (17:19 +0000)]
unwind-arm.c (__gnu_unwind_pr_common): Correct test for barrier handlers.
2011-03-21 Daniel Jacobowitz <dan@codesourcery.com>
gcc/
* config/arm/unwind-arm.c (__gnu_unwind_pr_common): Correct test
for barrier handlers.
From-SVN: r171251
Ramana Radhakrishnan [Mon, 21 Mar 2011 17:11:12 +0000 (17:11 +0000)]
Fix PR number in changelog entry.
From-SVN: r171250
Michael Meissner [Mon, 21 Mar 2011 16:21:30 +0000 (16:21 +0000)]
Make UNSPEC/UNSPECV constants use the enum; Fix 48192; Add test case for 48053
From-SVN: r171247
Richard Guenther [Mon, 21 Mar 2011 15:33:46 +0000 (15:33 +0000)]
params.def (lto-min-partition): Fix typo.
2011-03-21 Richard Guenther <rguenther@suse.de>
* params.def (lto-min-partition): Fix typo.
From-SVN: r171246
Richard Guenther [Mon, 21 Mar 2011 15:32:21 +0000 (15:32 +0000)]
re PR c/47939 (Missing DW_TAG_typedef for qualified types)
2011-03-21 Richard Guenther <rguenther@suse.de>
PR c/47939
* c-decl.c (grokdeclarator): Drop to the main variant only
for array types. Drop flag_gen_aux_info check.
* gcc.dg/debug/dwarf2/pr47939-1.c: New testcase.
* gcc.dg/debug/dwarf2/pr47939-2.c: Likewise.
* gcc.dg/debug/dwarf2/pr47939-3.c: Likewise.
* gcc.dg/debug/dwarf2/pr47939-4.c: Likewise.
From-SVN: r171245
Richard Guenther [Mon, 21 Mar 2011 15:30:03 +0000 (15:30 +0000)]
re PR translation/47911 (gettext string typo: params.def:861: parition)
2011-03-21 Richard Guenther <rguenther@suse.de>
PR translation/47911
* params.def (lto-partitions): Fix typo.
(lto-min-partition): Fix wording.
From-SVN: r171244
Andreas Tobler [Mon, 21 Mar 2011 15:28:22 +0000 (16:28 +0100)]
t-freebsd: Remove duplication from file.
2011-03-21 Andreas Tobler <andreast@fgznet.ch>
* config/rs6000/t-freebsd: Remove duplication from file.
From-SVN: r171243
Richard Guenther [Mon, 21 Mar 2011 13:50:26 +0000 (13:50 +0000)]
re PR middle-end/47661 (predict is confused by FP comparisons when math can trap)
2011-03-21 Richard Guenther <rguenther@suse.de>
PR middle-end/47661
* gimple.c (is_gimple_condexpr): Use tree_could_throw_p.
From-SVN: r171236
Richard Guenther [Mon, 21 Mar 2011 13:42:27 +0000 (13:42 +0000)]
re PR lto/48210 (ICE: SIGFPE with -flto --param lto-partitions=0 on basic code)
2011-03-21 Richard Guenther <rguenther@suse.de>
PR lto/48210
* params.def (lto-partitions): Require at least 1 partition.
From-SVN: r171234
Rainer Orth [Mon, 21 Mar 2011 13:38:19 +0000 (13:38 +0000)]
14220.cc: Don't xfail on sparc*-sun-solaris2.10 && lp64.
* testsuite/22_locale/num_put/put/char/14220.cc: Don't xfail on
sparc*-sun-solaris2.10 && lp64.
From-SVN: r171231
Rainer Orth [Mon, 21 Mar 2011 12:33:34 +0000 (12:33 +0000)]
gthr-solaris.h: Remove.
gcc:
* gthr-solaris.h: Remove.
* gthr.h (_SOLARIS_THREADS): Don't include gthr-solaris.h, remove.
* config/sol2.h (CPP_SUBTARGET_SPEC): Remove -threads support.
(LIB_SPEC): Likewise.
* config/sol2.opt (threads): Remove.
* config.gcc (i[34567]86-*-solaris2*): Remove solaris threads
support.
(sparc*-*-solaris2*): Likewise.
* configure.ac (enable_threads): Enable solaris support.
* configure: Regenerate.
* doc/invoke.texi (Option Summary, Solaris 2 Options): Remove
-threads.
* doc/install.texi (Configuration, --enable-threads=lib): Remove
solaris.
boehm-gc:
* configure.ac (THREADS): Remove solaris.
* configure: Regenerate.
libjava:
* configure.ac (THREADS): Remove solaris.
* configure: Regenerate.
From-SVN: r171229
Eric Botcazou [Mon, 21 Mar 2011 12:31:12 +0000 (12:31 +0000)]
decl.c (components_to_record): Add REORDER parameter...
* gcc-interface/decl.c (components_to_record): Add REORDER parameter,
rename DEBUG_INFO_P into DEBUG_INFO and move P_GNU_REP_LIST parameter
to the end of the list. Adjust recursive call. Rename local variable.
If REORDER is true, reorder components of the record type.
(gnat_to_gnu_entity): Pass OK_To_Reorder_Components flag as argument to
components_to_record and adjust the parameter list.
From-SVN: r171228
Rainer Orth [Mon, 21 Mar 2011 12:28:38 +0000 (12:28 +0000)]
config.gcc: Obsolete *-*-solaris2.8*.
* config.gcc: Obsolete *-*-solaris2.8*.
* doc/install.texi (Specific, *-*-solaris2*): Document it.
From-SVN: r171226
Rainer Orth [Mon, 21 Mar 2011 12:26:30 +0000 (12:26 +0000)]
re PR bootstrap/48120 (libpwl test must use g++)
PR bootstrap/48120:
* configure.ac (pwllib): Use LIBS instead of LDFLAGS.
Add -lstdc++ -lm to LIBS.
* configure: Regenerate.
From-SVN: r171225
Rainer Orth [Mon, 21 Mar 2011 12:24:17 +0000 (12:24 +0000)]
re PR bootstrap/48135 (build fails on Solaris2.8 due to Glob.pm not found within /usr/perl5)
libgfortran:
PR bootstrap/48135
* configure.ac (gfortran_use_symver): Handle --disable-symvers.
* configure: Regenerate.
libgomp:
PR bootstrap/48135
* acinclude.m4 (enable_symvers): Handle --disable-symvers.
* configure: Regenerate.
libjava:
PR bootstrap/48135
* configure.ac (libjava_cv_anon_version_script): Handle
--disable-symvers.
* configure: Regenerate.
libquadmath:
PR bootstrap/48135
* configure.ac (quadmath_use_symver): Handle --disable-symvers.
* configure: Regenerate.
libssp:
PR bootstrap/48135
* configure.ac (ssp_use_symver): Handle --disable-symvers.
* configure: Regenerate.
From-SVN: r171224
Rainer Orth [Mon, 21 Mar 2011 12:17:10 +0000 (12:17 +0000)]
re PR bootstrap/48135 (build fails on Solaris2.8 due to Glob.pm not found within /usr/perl5)
contrib:
PR bootstrap/48135
* make_sunver.pl: Don't use File::Glob.
gcc:
PR bootstrap/48135
* doc/install.texi (Prerequisites, Perl): Remove Glob.pm
reference. Solaris 8 perl works.
From-SVN: r171223
Rainer Orth [Mon, 21 Mar 2011 12:12:19 +0000 (12:12 +0000)]
re PR bootstrap/48135 (build fails on Solaris2.8 due to Glob.pm not found within /usr/perl5)
PR bootstrap/48135
* doc/install.texi (Prerequisites): Move jar etc. up.
Explain support library version requirements.
From-SVN: r171221
Eric Botcazou [Mon, 21 Mar 2011 12:11:06 +0000 (12:11 +0000)]
decl.c (elaborate_expression_1): When optimization is disabled, use the variable for bounds of loop iteration scheme.
* gcc-interface/decl.c (elaborate_expression_1): When optimization is
disabled, use the variable for bounds of loop iteration scheme.
From-SVN: r171220
Rainer Orth [Mon, 21 Mar 2011 12:09:28 +0000 (12:09 +0000)]
re PR bootstrap/48135 (build fails on Solaris2.8 due to Glob.pm not found within /usr/perl5)
PR bootstrap/48135
* doc/install.texi (Prerequisites): Move Perl to build
requirements. Always necessary on Solaris 2 with Sun ld.
From-SVN: r171218
Rainer Orth [Mon, 21 Mar 2011 12:03:41 +0000 (12:03 +0000)]
install.texi (Specific, [...]): Update for binutils 2.21.
* doc/install.texi (Specific, alpha*-dec-osf5.1): Update for
binutils 2.21.
(Specific, i?86-*-solaris2.[89]): Likewise.
(Specific, i?86-*-solaris2.10): Likewise.
(Specific, mips-sgi-irix6): Likewise.
(Specific, *-*-solaris2*): Remove Sun Studio download URL.
Update for binutils 2.21.
From-SVN: r171216
Rainer Orth [Mon, 21 Mar 2011 10:57:51 +0000 (10:57 +0000)]
configure.ac (gcc_cv_lto_plugin): Fix typo.
* configure.ac (gcc_cv_lto_plugin): Fix typo.
Allow -fuse-linker-plugin for non-default plugin linker.
* configure: Regenerate.
From-SVN: r171215
Nicola Pero [Mon, 21 Mar 2011 10:25:38 +0000 (10:25 +0000)]
In gcc/: 2011-03-21 Nicola Pero <nicola.pero@meta-innovation.com>
In gcc/:
2011-03-21 Nicola Pero <nicola.pero@meta-innovation.com>
PR bootstrap/48167
* gengtype.c (files_rules): Added rule for cp/parser.h.
In gcc/objcp/:
2011-03-21 Nicola Pero <nicola.pero@meta-innovation.com>
PR bootstrap/48167
* Make-lang.in (START_HDRS): Added CXX_PARSER_H and
CXX_PRETTY_PRINT_H.
* config-lang.in (gtfiles): Added cp/parser.h and reorganized list
so that it is more obvious that it is identical to the C++ one
with the addition of some files at the end.
From-SVN: r171214
Jakub Jelinek [Mon, 21 Mar 2011 09:25:47 +0000 (10:25 +0100)]
re PR target/48213 (ICE in simplify_subreg called from s390_delegitimize_address)
PR target/48213
* config/s390/s390.c (s390_delegitimize_address): Don't call
lowpart_subreg if orig_x has BLKmode.
* gcc.dg/pr48213.c: New test.
From-SVN: r171211
Kai Tietz [Mon, 21 Mar 2011 08:32:50 +0000 (09:32 +0100)]
ChangeLog gcc/c-family
2011-03-21 Kai Tietz <ktietz@redhat.com>
PR target/12171
* c-pretty-print.c (pp_c_specifier_qualifier_list):
Display allowed attributes for function pointer types.
(pp_c_attributes_display): New function to display
attributes having affects_type_identity flag set to true.
* c-pretty-print.h (pp_c_attributes_display): New prototype.
ChangeLog gcc/cp
2011-03-21 Kai Tietz <ktietz@redhat.com>
PR target/12171
* cxx-pretty-print.c (pp_cxx_ptr_operator):
Display allowed attributes for function pointer types.
* error.c (dump_type_prefix): Likewise.
From-SVN: r171210
Kai Tietz [Mon, 21 Mar 2011 08:29:36 +0000 (09:29 +0100)]
ChangeLog gcc/
2011-03-21 Kai Tietz <ktietz@redhat.com>
PR target/12171
* doc/plugins.texi: Adjust documentation
for plugin register_callback.
* tree.h (attribute_spec): Add new member
affects_type_identity.
- Zitierten Text anzeigen -
* attribs.c (empty_attribute_table): Adjust
attribute_spec initializers.
* config/alpha/alpha.c: Likewise.
* config/arc/arc.c: Likewise.
* config/arm/arm.c: Likewise.
* config/avr/avr.c: Likewise.
* config/bfin/bfin.c: Likewise.
* config/crx/crx.c: Likewise.
* config/darwin.h: Likewise.
* config/h8300/h8300.c: Likewise.
* config/i386/cygming.h: Likewise.
* config/i386/i386.c: Likewise.
* config/ia64/ia64.c: Likewise.
* config/m32c/m32c.c: Likewise.
* config/m32r/m32r.c: Likewise.
* config/m68hc11/m68hc11.c: Likewise.
* config/m68k/m68k.c: Likewise.
* config/mcore/mcore.c: Likewise.
* config/mep/mep.c: Likewise.
* config/microblaze/microblaze.c: Likewise.
* config/mips/mips.c: Likewise.
* config/rs6000/rs6000.c: Likewise.
* config/rx/rx.c: Likewise.
* config/sh/sh.c: Likewise.
* config/sol2.h: Likewise.
* config/sparc/sparc.c: Likewise.
* config/spu/spu.c: Likewise.
* config/stormy16/stormy16.c: Likewise.
* config/v850/v850.c: Likewise.
ChangeLog gcc/cp
2011-03-21 Kai Tietz <ktietz@redhat.com>
PR target/12171
* tree.c (cxx_attribute_table): Adjust table.
ChangeLog gcc/testsuite
2011-03-21 Kai Tietz <ktietz@redhat.com>
PR target/12171
* g++.dg/plugin/attribute_plugin.c: Adjust test.
ChangeLog gcc/java
2011-03-21 Kai Tietz <ktietz@redhat.com>
PR target/12171
* lang.c (java_attribute_table): Adjust table.
ChangeLog gcc/lto
2011-03-21 Kai Tietz <ktietz@redhat.com>
PR target/12171
* lto-lang.c (lto_attribute_table): Adjust table.
ChangeLog gcc/ada
2011-03-21 Kai Tietz <ktietz@redhat.com>
PR target/12171
* gcc-interface/utils.c (gnat_internal_attribute_table):
Add new element.
ChangeLog gcc/c-family
2011-03-17 Kai Tietz
PR target/12171
* c-common.c (c_common_attribute_table):
Add new element.
(c_common_format_attribute_table): Likewise.
From-SVN: r171209
Chung-Lin Tang [Mon, 21 Mar 2011 07:27:03 +0000 (07:27 +0000)]
simplify-rtx.c (simplify_binary_operation_1): Handle (xor (and A B) C) case when B and C are both constants.
2011-03-21 Chung-Lin Tang <cltang@codesourcery.com>
* simplify-rtx.c (simplify_binary_operation_1): Handle
(xor (and A B) C) case when B and C are both constants.
testsuite/
* gcc.target/arm/xor-and.c: New.
From-SVN: r171208
Thomas Koenig [Mon, 21 Mar 2011 07:14:42 +0000 (07:14 +0000)]
re PR fortran/22572 (Double occurrence of matmul intrinsic not optimised)
2010-03-21 Thomas Koenig <tkoenig@gcc.gnu.org>
PR fortran/22572
* gfortran.h (gfc_option_t) : Add
flag_aggressive_function_elimination.
(gfc_dep_compare_functions): Add prototype.
* lang.opt: Add faggressive-function-elimination.
* invoke.texi: Document -faggressive-function-elimination.
* frontend_passes (expr_array): New static variable.
(expr_size): Likewise.
(expr_count): Likewise.
(current_code): Likewise.
(current_ns): Likewise.
(gfc_run_passes): Allocate and free space for expressions.
(cfe_register_funcs): New function.
(create_var): New function.
(cfc_expr_0): New function.
(cfe_code): New function.
(optimize_namespace): Invoke gfc_code_walker with cfe_code
and cfe_expr_0.
* dependency.c (gfc_dep_compare_functions): New function.
(gfc_dep_compare_expr): Use it.
* options.c (gfc_init_options): Handle
flag_aggressive_function_elimination.
(gfc_handle_option): Likewise.
2010-03-21 Thomas Koenig <tkoenig@gcc.gnu.org>
PR fortran/22572
* gfortran.dg/function_optimize_1.f90: New test.
* gfortran.dg/function_optimize_2.f90: New test.
From-SVN: r171207
Mingjie Xing [Mon, 21 Mar 2011 06:25:44 +0000 (06:25 +0000)]
Fix typo in comment.
From-SVN: r171206
H.J. Lu [Mon, 21 Mar 2011 03:28:40 +0000 (03:28 +0000)]
Add 2 testcases for PR rtl-optimization/47502.
From-SVN: r171205
GCC Administrator [Mon, 21 Mar 2011 00:18:49 +0000 (00:18 +0000)]
Daily bump.
From-SVN: r171202
Eric Botcazou [Sun, 20 Mar 2011 21:50:20 +0000 (21:50 +0000)]
re PR bootstrap/48168 (Solaris 2/SPARC bootstrap broken: ICE in sparc_function_arg_1, at config/sparc/sparc.c:5721)
PR bootstrap/48168
* config/sparc/sparc.c (sparc_delegitimize_address): Add new pattern.
From-SVN: r171197
Jakub Jelinek [Sun, 20 Mar 2011 15:25:55 +0000 (16:25 +0100)]
re PR rtl-optimization/48156 (wrong code with -fcrossjumping)
PR rtl-optimization/48156
* df-core.c (df_get_bb_dirty): Use df_lr if df_live is NULL,
assume df and df_lr are not NULL.
* gcc.dg/pr48156.c: New test.
From-SVN: r171195
Ramana Radhakrishnan [Sun, 20 Mar 2011 07:59:54 +0000 (07:59 +0000)]
Fix PR debug/48203
From-SVN: r171193
GCC Administrator [Sun, 20 Mar 2011 00:17:57 +0000 (00:17 +0000)]
Daily bump.
From-SVN: r171190
Kaz Kojima [Sat, 19 Mar 2011 23:22:18 +0000 (23:22 +0000)]
sh.c (find_barrier): Don't emit a constant pool between a call and its corresponding...
* config/sh/sh.c (find_barrier): Don't emit a constant pool
between a call and its corresponding CALL_ARG_LOCATION note.
From-SVN: r171185
Paolo Carlini [Sat, 19 Mar 2011 19:49:16 +0000 (19:49 +0000)]
libstdc++.exp (check_v3_target_c99_math): Rename to check_v3_target_cmath.
2011-03-19 Paolo Carlini <paolo.carlini@oracle.com>
* testsuite/lib/libstdc++.exp (check_v3_target_c99_math): Rename
to check_v3_target_cmath.
* testsuite/lib/dg-options.exp (dg-require-c99_math): Rename
to dg-require-cmath.
* testsuite/26_numerics/random/binomial_distribution/
operators/values.cc: Adjust.
From-SVN: r171184
Anatoly Sokolov [Sat, 19 Mar 2011 17:33:45 +0000 (20:33 +0300)]
cfgcleanup.c (mark_effect): Use bitmap_set_range/bitmap_clear_range instead of loop.
* cfgcleanup.c (mark_effect): Use bitmap_set_range/bitmap_clear_range
instead of loop. Use HARD_REGISTER_NUM_P predicate.
* haifa-sched.c (setup_ref_regs): Ditto.
* caller-save.c (add_used_regs_1): Ditto.
* dse.c (look_for_hardregs): Ditto.
* df-problems.c (df_simulate_one_insn_forwards): Ditto.
* sched-rgn.c (check_live_1): Ditto.
From-SVN: r171183
John David Anglin [Sat, 19 Mar 2011 17:25:18 +0000 (17:25 +0000)]
re PR libfortran/35667 (HP-UX 10 has broken strtod)
PR fortran/35667
* io/io.h (convert_infnan): Declare.
* io/read.c (convert_infnan): New.
(read_f): Use convert_infnan to convert INFs and NANs.
* list_read.c (parse_real, read_real): Likewise.
From-SVN: r171182
Francois-Xavier Coudert [Sat, 19 Mar 2011 14:35:05 +0000 (14:35 +0000)]
re PR libfortran/47439 (Fun with scratch files on Windows MKTEMP only allows for 26 files)
PR libfortran/47439
* gfortran.dg/scratch_1.f90: Adjust test.
From-SVN: r171180
Francois-Xavier Coudert [Sat, 19 Mar 2011 12:09:27 +0000 (12:09 +0000)]
re PR libfortran/47439 (Fun with scratch files on Windows MKTEMP only allows for 26 files)
PR libfortran/47439
* io/unix.c (tempfile): Work around poor mktemp() implementations.
* gfortran.dg/scratch_1.f90: New test.
From-SVN: r171178
GCC Administrator [Sat, 19 Mar 2011 00:18:08 +0000 (00:18 +0000)]
Daily bump.
From-SVN: r171177
Joseph Myers [Fri, 18 Mar 2011 23:26:16 +0000 (23:26 +0000)]
c-decl.c (diagnose_mismatched_decls): Give an error for redefining a typedef with variably modified type.
* c-decl.c (diagnose_mismatched_decls): Give an error for
redefining a typedef with variably modified type.
testsuite:
* gcc.dg/c1x-typedef-1.c: Expect errors for redefinitions of
variably modified typedefs.
* gcc.dg/c1x-typedef-2.c: Remove.
From-SVN: r171172
Joseph Myers [Fri, 18 Mar 2011 21:16:31 +0000 (21:16 +0000)]
c-decl.c (grokfield): Don't allow typedefs for structures or unions with no tag by default.
* c-decl.c (grokfield): Don't allow typedefs for structures or
unions with no tag by default.
* doc/extend.texi (Unnamed Fields): Update.
testsuite:
* gcc.dg/c1x-anon-struct-1.c: Don't test use of typedefs.
* gcc.dg/c1x-anon-struct-3.c: New test.
* gcc.dg/anon-struct-11.c: Update.
From-SVN: r171170
Uros Bizjak [Fri, 18 Mar 2011 20:54:25 +0000 (21:54 +0100)]
i386.md (float<SSEMODEI24:mode><X87MODEF:mode>2): Rewrite using indirect functions.
* config/i386/i386.md (float<SSEMODEI24:mode><X87MODEF:mode>2):
Rewrite using indirect functions.
(lwp_slwpcb): Ditto.
* config/i386/sse.md (avx_vextractf128<mode>): Ditto.
(avx_vinsertf128<mode>): Ditto.
From-SVN: r171169
Jason Merrill [Fri, 18 Mar 2011 20:27:33 +0000 (16:27 -0400)]
tweak fconstexpr-depth docs
From-SVN: r171168
Jason Merrill [Fri, 18 Mar 2011 20:23:48 +0000 (16:23 -0400)]
c.opt (fconstexpr-depth): Add Var(max_constexpr_depth).
* c.opt (fconstexpr-depth): Add Var(max_constexpr_depth).
* c-common.h: Don't declare it here.
* c-common.c: Or define it here.
* c-opts.c (c_common_handle_option): Or set it here.
From-SVN: r171166
Richard Henderson [Fri, 18 Mar 2011 20:20:35 +0000 (13:20 -0700)]
re PR bootstrap/45381 (Bootstrap failure for powerpc-apple-darwin9: error: AltiVec argument passed to unprototyped function)
PR bootstrap/45381
* lex.c [ALTIVEC] (search_line_fast): Require gcc version 4.5.
From-SVN: r171165
Diego Novillo [Fri, 18 Mar 2011 19:54:32 +0000 (15:54 -0400)]
mixed-mode-arith_neg.cc: Rename from mixed-mode_neg.cc
* mixed-mode-arith_neg.cc: Rename from mixed-mode_neg.cc
* mixed-mode-cmp_neg.cc: Factor out of mixed-mode-arith_neg.cc
From-SVN: r171161
David Edelsohn [Fri, 18 Mar 2011 17:42:07 +0000 (17:42 +0000)]
config.guess: Update to version 2011-02-02
* config.guess: Update to version 2011-02-02
* config.sub: Update to version 2011-02-24
From-SVN: r171158
Andreas Krebbel [Fri, 18 Mar 2011 17:32:29 +0000 (17:32 +0000)]
s390.c (s390_delegitimize_address): Handle GOTOFF unspecs.
2011-03-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
* config/s390/s390.c (s390_delegitimize_address): Handle GOTOFF
unspecs.
From-SVN: r171157
Andreas Krebbel [Fri, 18 Mar 2011 17:31:39 +0000 (17:31 +0000)]
s390.c (s390_chunkify_start): Prevent literal pool splitting between a call and its corresponding...
2011-03-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
* config/s390/s390.c (s390_chunkify_start): Prevent literal pool
splitting between a call and its corresponding CALL_ARG_LOCATION
note.
From-SVN: r171156
Maxim Kuvyrkov [Fri, 18 Mar 2011 17:12:19 +0000 (17:12 +0000)]
re PR rtl-optimization/48170 (ICE: in hoist_code, at gcse.c:4524 with -fgcse --param max-hoist-depth={0,1})
PR rtl-optimization/48170
* gcse.c (hoist_code): Remove bogus asserts.
From-SVN: r171155
Jeff Law [Fri, 18 Mar 2011 17:05:27 +0000 (11:05 -0600)]
ira-color.c (assign_hard_reg): Honor LOCAL_REGNO in cost computation for prologue/epilogue.
* ira-color.c (assign_hard_reg): Honor LOCAL_REGNO in cost
computation for prologue/epilogue.
From-SVN: r171154
Rainer Orth [Fri, 18 Mar 2011 16:58:25 +0000 (16:58 +0000)]
* Makefile.in (check-consistency): Remove.
From-SVN: r171153
Rainer Orth [Fri, 18 Mar 2011 16:23:39 +0000 (16:23 +0000)]
slp-multitypes-2.c: Replace dg-do run with dg-xfail-run-if.
* gcc.dg/vect/slp-multitypes-2.c: Replace dg-do run with
dg-xfail-run-if.
Only xfail with gas.
From-SVN: r171152
Jakub Jelinek [Fri, 18 Mar 2011 16:18:05 +0000 (17:18 +0100)]
re PR debug/48176 (.debug_aranges is no longer emitted)
PR debug/48176
* dwarf2out.c (dwarf2out_finish): Call output_aranges even when
arange_table_in_use is 0, but either text_section_used or
cold_text_section_used is true. Don't call it if
!info_section_emitted.
From-SVN: r171150
Anatoly Sokolov [Fri, 18 Mar 2011 15:27:10 +0000 (18:27 +0300)]
avr.h (RET_REGISTER, [...]): Remove.
* config/avr/avr.h (RET_REGISTER, LIBCALL_VALUE,
FUNCTION_VALUE_REGNO_P): Remove.
* config/avr/avr-protos.h (avr_ret_register, avr_libcall_value):
Remove.
* config/avr/avr.c (avr_ret_register): Make static inline.
(avr_function_value_regno_p): New function.
(avr_libcall_value): Make static. Add 'func' argument.
(avr_function_value): Make static. Rename 'func' argument to
'fn_decl_or_type', forward it to avr_libcall_value. Call
avr_ret_register function instead of RET_REGISTER macro.
(TARGET_LIBCALL_VALUE, TARGET_FUNCTION_VALUE_REGNO_P): Define.
From-SVN: r171149