GCC Administrator
a6d3e197fb
Daily bump.
...
From-SVN: r184185
2012-02-14 00:18:28 +00:00
Jakub Jelinek
9a76e83d80
re PR bootstrap/52172 (stage 3 Bootstrap comparison failure on FreeBSD ia64)
...
PR bootstrap/52172
* cselib.h (cselib_subst_to_values_from_insn): New prototype.
* cselib.c (cselib_subst_to_values_from_insn): New function.
* sched-deps.c (add_insn_mem_dependence,
sched_analyze_1, sched_analyze_2): Use it.
From-SVN: r184181
2012-02-14 00:31:48 +01:00
Jan Hubicka
993716bdca
re PR middle-end/52214 (FAIL: g++.dg/tree-ssa/pr44706.C -std=gnu++* scan-tree-dump-not fnsplit "Splitting function")
...
PR middle-end/52214
* predict.c (predict_paths_for_bb): Fix thinko in prevoius patch.
From-SVN: r184180
2012-02-13 23:29:34 +00:00
Eric Botcazou
f3f5e3c32e
configure.tgt (target_cpu): Handle sparc and sparc64 & sparcv9.
...
* configure.tgt (target_cpu): Handle sparc and sparc64 & sparcv9.
* config/sparc/cacheline.h: New file.
* config/sparc/target.h: Likewise.
* config/sparc/sjlj.S: Likewise.
* config/linux/sparc/futex_bits.h: Likewise.
From-SVN: r184177
2012-02-13 21:51:44 +00:00
Eric Botcazou
255a9a1bb5
gcc.c (LINK_COMMAND_SPEC): Deal with -fgnu-tm.
...
gcc/
* gcc.c (LINK_COMMAND_SPEC): Deal with -fgnu-tm.
(GTM_SELF_SPECS): Define if not already defined.
(driver_self_specs): Add GTM_SELF_SPECS.
* config/darwin.h (LINK_COMMAND_SPEC_A): Deal with -fgnu-tm.
(GTM_SELF_SPECS): Define.
* config/i386/cygwin.h (GTM_SELF_SPECS): Likewise.
* config/i386/mingw32.h (GTM_SELF_SPECS): Likewise.
libitm/
* configure.ac (link_itm): Fix comment.
* configure: Regenerate.
* testsuite/lib/libitm.exp: Do not pass -litm for the link.
From-SVN: r184174
2012-02-13 21:46:38 +00:00
Richard Henderson
b2cb69647e
PR libstdc++/51798 continued
...
PR libstdc++/51798 continued
* include/bits/shared_ptr_base.h
(_Sp_counted_base<_S_atomic>::_M_add_ref_lock): Hoist initial load
outside compare_exchange loop.
* include/tr1/shared_ptr.h: Same.
* include/parallel/compatibility.h (__compare_and_swap_32): Use strong
version of compare_exchange.
(__compare_and_swap_64): Same.
* include/profile/impl/profiler_state.h (__gnu_profile::__turn): Same.
* libsupc++/guard.cc (__cxa_guard_acquire): Same.
From-SVN: r184171
2012-02-13 13:30:31 -08:00
Jakub Jelinek
67b977ada8
cselib.c (expand_loc): Return sp, fp, hfp or cfa base reg right away if seen.
...
* cselib.c (expand_loc): Return sp, fp, hfp or cfa base reg right
away if seen.
From-SVN: r184169
2012-02-13 21:14:25 +01:00
Jakub Jelinek
4228697645
cselib.c (dump_cselib_val): Don't assume l->setting_insn is non-NULL.
...
* cselib.c (dump_cselib_val): Don't assume l->setting_insn is
non-NULL.
From-SVN: r184168
2012-02-13 21:13:49 +01:00
Jakub Jelinek
e3793c6fb9
re PR c++/52215 (__atomic_compare_exchange_n for enumeration type changes signature with -m32)
...
PR c++/52215
* c-common.c (sync_resolve_params): Don't decide whether to convert
or not based on TYPE_SIZE comparison, convert whenever arg_type
is unsigned INTEGER_TYPE.
* g++.dg/ext/atomic-1.C: New test.
From-SVN: r184167
2012-02-13 21:12:54 +01:00
Jakub Jelinek
9abd5ed90b
re PR middle-end/52230 (OpenMP: Simple C program triggers SIGSEGV at execution)
...
PR middle-end/52230
* omp-low.c (expand_omp_for): If a static schedule without
chunk size has NULL region->cont, force fd.chunk_size to be
integer_zero_node.
From-SVN: r184165
2012-02-13 20:57:24 +01:00
Joseph Myers
a905672b22
* de.po: Update.
...
From-SVN: r184161
2012-02-13 17:51:21 +00:00
Joseph Myers
f268979d76
* de.po: Update.
...
From-SVN: r184160
2012-02-13 16:59:30 +00:00
Joseph Myers
9282483d3a
* sv.po: Update.
...
From-SVN: r184159
2012-02-13 16:57:35 +00:00
Andreas Krebbel
ce9b1fbd5c
Fix changelog entry.
...
From-SVN: r184158
2012-02-13 15:46:15 +00:00
Andreas Krebbel
fecc70de1d
pr51933.c: Disable for s390 31 bit.
...
2012-02-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
* gcc.c-torture/execute/pr51933.c: Disable for s390 31 bit.
From-SVN: r184157
2012-02-13 15:44:38 +00:00
Andrew MacLeod
8ca1b3428a
re PR c/52190 (question about atomic intrinsics -- test and documentation vary -- please clarify)
...
2012-02-13 Andrew MacLeod <amacleod@redhat.com>
PR c/52190
* doc/extend.texi : Fix another __atomic_compare_exchange typo.
From-SVN: r184156
2012-02-13 15:37:33 +00:00
Kai Tietz
d86c2d9495
re PR libffi/52221 ([libffi] r183675,r184021 needs to be fixed.)
...
PR libffi/52221
* src/x86/ffi.c (ffi_prep_raw_closure_loc): Add thiscall
support for X86_WIN32.
(FFI_INIT_TRAMPOLINE_THISCALL): Fix displacement.
From-SVN: r184155
2012-02-13 16:18:14 +01:00
Richard Guenther
1eb3478fe8
re PR translation/52211 (Typo in translatable string: "-fdisble" ("-fdisable"))
...
2012-02-13 Richard Guenther <rguenther@suse.de>
PR translation/52211
* passes.c (enable_disable_pass): Fix typo.
From-SVN: r184152
2012-02-13 11:31:00 +00:00
Jakub Jelinek
205ec405fc
re PR middle-end/52209 (wrong code at -O0)
...
PR middle-end/52209
* expr.c (expand_expr_real_2) <case BIT_NOT_EXPR>: Only expand using
XOR for reduce_bit_field if type is unsigned.
* gcc.c-torture/execute/pr52209.c: New test.
From-SVN: r184151
2012-02-13 11:37:35 +01:00
GCC Administrator
5ac5049603
Daily bump.
...
From-SVN: r184150
2012-02-13 00:19:19 +00:00
Gerald Pfeifer
98a5b2c9cb
MAINTAINERS (Various Maintainers): Add Diego Novillo...
...
* MAINTAINERS (Various Maintainers): Add Diego Novillo,
Gerald Pfeifer and Joseph Myers as docstring relicensing
maintainers.
From-SVN: r184145
2012-02-12 22:30:41 +00:00
Eric Botcazou
31d7b43969
sparc.h (CANNOT_CHANGE_MODE_CLASS): In 64-bit mode, disallow changes from SFmode to mode with different size in FP regs.
...
* config/sparc/sparc.h (CANNOT_CHANGE_MODE_CLASS): In 64-bit mode,
disallow changes from SFmode to mode with different size in FP regs.
From-SVN: r184144
2012-02-12 20:42:45 +00:00
Joseph Myers
5b4a7d0d8a
* de.po: Update.
...
From-SVN: r184143
2012-02-12 17:04:02 +00:00
Mikael Morin
9436b221f2
re PR fortran/50981 ([OOP] Wrong-code for scalarizing ELEMENTAL call with absent OPTIONAL argument)
...
gcc/fortran/
PR fortran/50981
* trans-stmt.c (gfc_get_proc_ifc_for_call): New function.
(gfc_trans_call): Use gfc_get_proc_ifc_for_call.
gcc/testsuite/
PR fortran/50981
* gfortran.dg/elemental_optional_args_5.f03: New test.
From-SVN: r184142
2012-02-12 15:46:14 +00:00
Mikael Morin
dec131b6ad
trans-array.c (gfc_walk_elemental_function_args, [...]): Move call to gfc_get_proc_ifc_for_expr out of gfc_walk_elemental_function_args.
...
* trans-array.c (gfc_walk_elemental_function_args,
gfc_walk_function_expr): Move call to gfc_get_proc_ifc_for_expr out
of gfc_walk_elemental_function_args.
* trans-stmt.c (gfc_trans_call): Ditto.
* trans-array.h (gfc_get_proc_ifc_for_expr): New prototype.
(gfc_walk_elemental_function_args): Update prototype.
From-SVN: r184141
2012-02-12 15:22:34 +00:00
Iain Sandoe
3e4c98438a
re PR testsuite/50076 (FAIL: c-c++-common/cxxbitfields-3.c scan-assembler movl.*, var on x86_64-apple-darwin10)
...
gcc/testsuite:
PR testsuite/50076
* c-c++-common/cxxbitfields-3.c: Adjust scan assembler for nonpic
cases.
From-SVN: r184140
2012-02-12 15:20:46 +00:00
Mikael Morin
58b29fa342
trans-array.c (gfc_get_proc_ifc_for_expr): New function.
...
* trans-array.c (gfc_get_proc_ifc_for_expr): New function.
(gfc_walk_elemental_function_args): Move code to
gfc_get_proc_ifc_for_expr and call it.
From-SVN: r184139
2012-02-12 15:12:21 +00:00
Ian Lance Taylor
12e3c39614
re PR go/52084 (go tests fail to link on powerpc-linux-gnu (undefined reference to __sync_add_and_fetch_8))
...
PR go/52084
libgo: Provide more __sync functions if required.
From-SVN: r184138
2012-02-12 06:23:08 +00:00
Ian Lance Taylor
22d8782978
re PR go/51874 (Many libgo testsuite failures on IRIX)
...
PR go/51874
* go.test/go-test.exp (go-gc-tests): Don't run nilptr test on
SPARC Solaris. Don't run the test at all on systems where it may
not work, rather than xfailing it.
From-SVN: r184137
2012-02-12 06:00:34 +00:00
Ian Lance Taylor
14e50d352e
sync/atomic: Disable tests which can't run based on pointer size.
...
From-SVN: r184136
2012-02-12 05:57:02 +00:00
Robert Millan
56c534c50d
stddef.h [...] (__size_t): Do not define.
...
* ginclude/stddef.h [__FreeBSD_kernel__] (__size_t): Do not define.
Tweak comment.
Co-Authored-By: Gerald Pfeifer <gerald@pfeifer.com>
From-SVN: r184135
2012-02-12 01:06:04 +00:00
GCC Administrator
9e0c351dcd
Daily bump.
...
From-SVN: r184134
2012-02-12 00:18:16 +00:00
Mike Stump
44414d2f82
* compare_tests (exit_status): Fix.
...
From-SVN: r184130
2012-02-11 14:15:22 +00:00
Eric Botcazou
a0dfc1fed5
* src/sparc/v9.S (STACKFRAME): Bump to 176.
...
From-SVN: r184129
2012-02-11 11:00:40 +00:00
Richard Sandiford
4cb0fdbca0
re PR rtl-optimization/52175 (ICE in maybe_record_trace_start after invalid dbr_schedule transformation)
...
gcc/
PR rtl-optimization/52175
* reorg.c (fill_slots_from_thread): Don't apply add/sub optimization
to frame-related instructions.
gcc/testsuite/
PR rtl-optimization/52175
* gcc.c-torture/compile/pr52175.c: New test.
From-SVN: r184128
2012-02-11 09:00:42 +00:00
Jason Merrill
4e92c31f3a
re PR c++/51910 (-frepo linking failure)
...
PR c++/51910
* tlink.c (demangled_hash_entry): Change mangled to a VEC.
(demangle_new_symbols): Fill it.
(scan_linker_output): Walk it.
(start_tweaking): Split out from scan_linker_output.
(maybe_tweak): Update sym->chosen.
* Makefile.in (COLLECT2_OBJS): Add vec.o and gcc-none.o
From-SVN: r184127
2012-02-11 03:50:23 -05:00
Jakub Jelinek
bd0ba05d4c
re PR debug/52132 (ICE in loc_descriptor)
...
PR debug/52132
* reg-stack.c (subst_stack_regs_in_debug_insn): Don't use
get_true_reg.
* gcc.dg/pr52132.c: New test.
From-SVN: r184126
2012-02-11 09:27:30 +01:00
Uros Bizjak
28f7ff45ec
compare-elim.c (find_comparisons_in_bb): Eliminate only compares having the same mode as previous compare.
...
* compare-elim.c (find_comparisons_in_bb): Eliminate only compares
having the same mode as previous compare.
From-SVN: r184124
2012-02-11 09:11:34 +01:00
Ian Lance Taylor
83a5c149a6
runtime: Handle FFI promoting result types.
...
From-SVN: r184123
2012-02-11 07:08:13 +00:00
Eric Botcazou
edb7412e0e
aggr4.ads: New test.
...
* gnat.dg/specs/aggr4.ads: New test.
* gnat.dg/specs/aggr4_pkg.ads: New helper.
From-SVN: r184122
2012-02-11 00:26:37 +00:00
GCC Administrator
db4c6b79ff
Daily bump.
...
From-SVN: r184121
2012-02-11 00:19:07 +00:00
Ian Lance Taylor
96431d5772
runtime: Tweak __go_can_recover for SPARC.
...
From-SVN: r184117
2012-02-11 00:15:54 +00:00
Eric Botcazou
8c92f3e81b
sparc.c (sparc_flat_expand_prologue): Use emit_use.
...
* config/sparc/sparc.c (sparc_flat_expand_prologue): Use emit_use.
* config/sparc/sparc.md (UNSPECV_GOTO): Delete.
(nonlocal_goto_internal): Likewise.
(nonlocal_goto): Emit a use and an indirect jump directly.
From-SVN: r184116
2012-02-11 00:14:08 +00:00
Ian Lance Taylor
41da64ed3a
runtime: Fix chan code for big-endian strict-alignment systems
...
From-SVN: r184115
2012-02-11 00:03:10 +00:00
H.J. Lu
c3b0c721e8
Add the testcase for PR 52146
...
From-SVN: r184113
2012-02-10 12:03:08 -08:00
Andrew MacLeod
9ac1504be0
re PR c/52190 (question about atomic intrinsics -- test and documentation vary -- please clarify)
...
2012-02-10 Andrew MacLeod <amacleod@redhat.com>
PR c/52190
* doc/extend.texi : Update comments for __atomic_compare_exchange and
__atomic_{is,always}_lock_free.
From-SVN: r184112
2012-02-10 18:37:18 +00:00
H.J. Lu
877fb4507b
Disallow negative constant address for x32
...
gcc/
2012-02-10 Uros Bizjak <ubizjak@gmail.com>
PR target/52146
* config/i386/i386.c (ix86_legitimate_address_p): Disallow
negative constant address for x32.
gcc/testsuite/
2012-02-10 H.J. Lu <hongjiu.lu@intel.com>
PR target/52146
* gcc.target/i386/pr52146.c: New.
From-SVN: r184111
2012-02-10 10:23:12 -08:00
Benjamin Kosnik
75cee7c62a
PR libstdc++/51798 continued.
...
2012-02-10 Benjamin Kosnik <bkoz@redhat.com>
Jonathan Wakely <jwakely.gcc@gmail.com>
PR libstdc++/51798 continued.
* acinclude.m4 (GLIBCXX_ENABLE_ATOMIC_BUILTINS): Use __atomic_*
builtins instead of __sync_* builtins for atomic functionality.
* include/bits/shared_ptr_base.h: Same.
* include/parallel/compatibility.h: Same.
* include/profile/impl/profiler_state.h: Same.
* include/tr1/shared_ptr.h: Same.
* libsupc++/eh_ptr.cc: Same.
* libsupc++/eh_throw.cc: Same.
* libsupc++/eh_tm.cc: Same.
* libsupc++/guard.cc: Same.
* configure: Regenerated.
* testsuite/20_util/shared_ptr/cons/43820_neg.cc: Adjust line numbers.
Co-Authored-By: Jonathan Wakely <jwakely.gcc@gmail.com>
From-SVN: r184110
2012-02-10 18:20:43 +00:00
Rainer Orth
6c9b75b061
Use __GTHREAD_MUTEX_INIT_FUNCTION on Tru64 UNIX (PR libstdc++/51296)
...
PR libstdc++/51296
* config/os/osf/ctype_base.h,
config/os/osf/ctype_configure_char.cc,
config/os/osf/ctype_inline.h, config/os/osf/error_constants.h:
Copy from config/os/generic.
* config/os/osf/os_defines.h: Likewise.
(_GTHREAD_USE_MUTEX_INIT_FUNC, _GTHREAD_USE_COND_INIT_FUNC):
Define.
* configure.host <osf*>: Use os/osf for os_include_dir.
From-SVN: r184108
2012-02-10 18:10:12 +00:00
Richard Henderson
1d4fb4935c
tree-ssa-dce.c (propagate_necessity): Handle GIMPLE_TRANSACTION.
...
* tree-ssa-dce.c (propagate_necessity): Handle GIMPLE_TRANSACTION.
* tree-ssa-operands.c (parse_ssa_operands): Add virtual operands
for GIMPLE_TRANSACTION. Tidy if's into a switch.
From-SVN: r184107
2012-02-10 09:44:31 -08:00