Rainer Orth
bae868fba9
Disable gthreads on Solaris 8/9 (PR libstdc++/52189)
...
PR libstdc++/52189
* acinclude.m4 (GLIBCXX_CHECK_GTHREADS): Handle
--enable-libstdcxx-threads.
Disable on Solaris 8/9 with symbol versioning.
* configure.ac (GLIBCXX_CHECK_GTHREADS): Move after
GLIBCXX_ENABLE_SYMVERS.
* configure: Regenerate.
* doc/xml/manual/configure.xml (--enable-libstdcxx-threads): Explain.
From-SVN: r184335
2012-02-17 13:38:15 +00:00
Tobias Burnus
b5912b1013
re PR translation/52273 (translatable string typo: "at at %L")
...
2012-02-17 Tobias Burnus <burnus@net-b.de>
Roland Stigge <stigge@antcom.de>
PR translation/52273
* interface.c (compare_actual_formal): Fix typo "at at".
Co-Authored-By: Roland Stigge <stigge@antcom.de>
From-SVN: r184334
2012-02-17 14:05:48 +01:00
Tobias Burnus
bf8367ac83
gfortran.texi (Q exponent-letter): Fix grammar.
...
2012-02-17 Tobias Burnus <burnus@net-b.de>
* gfortran.texi (Q exponent-letter): Fix grammar.
From-SVN: r184333
2012-02-17 12:18:20 +01:00
Tobias Burnus
8578f64002
gfortran.texi (Status): Fix typos.
...
2012-02-17 Tobias Burnus <burnus@net-b.de>
* gfortran.texi (Status): Fix typos.
* invoke.texi (ffixed-form, fstack-arrays): Spell Fortran with
a majuscule.
From-SVN: r184332
2012-02-17 12:15:08 +01:00
Tobias Burnus
0c133211da
re PR translation/52232 (translatable string typos: "conindexed" (should be "coindexed"))
...
2012-02-17 Tobias Burnus <burnus@net-b.de>
Roland Stigge <stigge@antcom.de>
PR translation/52232
PR translation/52234
PR translation/52245
PR translation/52246
PR translation/52262
PR translation/52273
* io.c (gfc_match_open): Fix typo.
* interface.c (compare_actual_formal): Ditto.
* lang.opt (freal-4-real-8, freal-4-real-16, freal-8-real-16):
* Ditto.
* match.c (alloc_opt_list, gfc_match_nullify): Ditto.
* check.c (gfc_check_associated, gfc_check_null): Ditto.
2012-02-17 Tobias Burnus <burnus@net-b.de>
PR translation/52232
PR translation/52234
PR translation/52245
PR translation/52246
PR translation/52262
PR translation/52273
* gfortran.dg/coarray_22.f90: Update dg-error.
* gfortran.dg/allocate_alloc_opt_4.f90: Ditto.
Co-Authored-By: Roland Stigge <stigge@antcom.de>
From-SVN: r184331
2012-02-17 11:51:10 +01:00
Rainer Orth
459e2649e4
Increase simulate-thread timeout (PR target/51753)
...
PR target/51753
* lib/gcc-simulate-thread.exp: Load timeout.exp.
(simulate-thread): Use default timeout.
From-SVN: r184330
2012-02-17 09:41:13 +00:00
Jason Merrill
e9339a68d3
re PR c++/52248 (timevar ICE)
...
PR c++/52248
* decl.c (define_label): Use timevar_cond_start/stop.
From-SVN: r184329
2012-02-17 03:36:53 -05:00
Fabien Chêne
6acc8d53a9
re PR c++/52126 (compilation error)
...
gcc/testsuite/ChangeLog
2012-02-16 Fabien Chene <fabien@gcc.gnu.org>
PR c++/52126
* g++.dg/template/using21.C: New.
* g++.dg/template/using22.C: Likewise.
gcc/cp/ChangeLog
2012-02-16 Fabien Chene <fabien@gcc.gnu.org>
PR c++/52126
* decl.c (xref_basetypes): call dependent_scope_p instead of
dependent_type_p.
From-SVN: r184328
2012-02-17 08:49:35 +01:00
GCC Administrator
2f46ac4db1
Daily bump.
...
From-SVN: r184327
2012-02-17 00:19:20 +00:00
Joseph Myers
96cf4040f5
* de.po: Update.
...
From-SVN: r184322
2012-02-17 00:00:40 +00:00
Sandra Loosemore
1b015db735
invoke.texi: Clean up "that"/"which" confusion.
...
2012-02-16 Sandra Loosemore <sandra@codesourcery.com>
gcc/
* doc/invoke.texi: Clean up "that"/"which" confusion.
From-SVN: r184320
2012-02-16 18:22:29 -05:00
Steven Bosscher
7feed46233
system.h: Poison SMALL_REGISTER_CLASSES
...
* system.h: Poison SMALL_REGISTER_CLASSES
* config/rl78/rl78.h: Replace SMALL_REGISTER_CLASSES with hook.
* config/rx/rx.h: Remove SMALL_REGISTER_CLASSES.
From-SVN: r184319
2012-02-16 23:16:28 +00:00
Ian Lance Taylor
a24b5b3e23
compiler: Don't crash on erroneous unnamed integer type descriptor.
...
From-SVN: r184318
2012-02-16 22:26:41 +00:00
Jakub Jelinek
ca786352c5
re PR middle-end/52285 (libgcrypt _gcry_burn_stack slowdown)
...
PR tree-optimization/52285
* tree-tailcall.c (find_tail_calls): Ignore gimple_clobber_p stmts
when deciding if a call is a tail call or tail recursion.
From-SVN: r184317
2012-02-16 23:20:27 +01:00
Ian Lance Taylor
60a3da27fe
compiler: Lower constant string comparisons.
...
From-SVN: r184316
2012-02-16 22:10:26 +00:00
Jason Merrill
539b471b67
re PR c++/51415 (Broken diagnostic: 'vec_init_expr' not supported by dump_expr)
...
PR c++/51415
* error.c (dump_expr): Handle lambda closures specifically.
From-SVN: r184314
2012-02-16 14:42:08 -05:00
Kai Tietz
525b3f60ff
i386.c (legitimate_pic_address_disp_p): Allow interger-constant displacement for UNSPEC_PCREL.
...
* config/i386/i386.c (legitimate_pic_address_disp_p): Allow
interger-constant displacement for UNSPEC_PCREL.
From-SVN: r184313
2012-02-16 19:18:03 +01:00
Jakub Jelinek
3db93c89bc
re PR rtl-optimization/52208 (Useless store)
...
PR rtl-optimization/52208
* ira-costs.c (scan_one_insn): Don't decrease mem_cost
for MEMs with REG_EQUIV, if the MEM isn't general_operand.
From-SVN: r184310
2012-02-16 16:34:28 +01:00
Jakub Jelinek
e20f6b4bde
re PR tree-optimization/52255 (ICE: verify_ssa failed, block does not dominate use)
...
PR tree-optimization/52255
* tree-vect-loop-manip.c (slpeel_tree_peel_loop_to_edge): If
loop->header has virtual PHI, but exit_e->dest doesn't, add
virtual PHI to exit_e->dest and adjust all uses after the loop.
* gcc.c-torture/compile/pr52255.c: New test.
From-SVN: r184306
2012-02-16 11:20:26 +01:00
Iain Sandoe
672ed3139a
re PR libitm/52220 (FAIL: libitm.c++/eh-1.C execution test due to Xcode 4 weakref linker bug)
...
PR libitm/52220
* config/darwin-crt-tm.c: Correct typo.
From-SVN: r184305
2012-02-16 09:46:31 +00:00
Jakub Jelinek
04c937f581
re PR debug/52260 (ICE in clone_tree_hash, at dwarf2out.c:7424)
...
PR debug/52260
* dwarf2out.c (copy_decls_walk): Fill in *slot before traversing
children with clone_tree_hash, not after it.
* g++.dg/debug/dwarf2/pr52260.C: New test.
From-SVN: r184303
2012-02-16 09:47:24 +01:00
Iain Sandoe
cebb469847
fix extended identifiers to comply with the Darwin ABI.
...
gcc:
* config/darwin.h (ASM_OUTPUT_LABELREF): Add user label prefix for
extended identifiers.
From-SVN: r184302
2012-02-16 08:21:46 +00:00
Jakub Jelinek
183d6db2a8
re PR middle-end/51929 (ICE: verify_cgraph_node failed with -O2 -fno-guess-branch-probability -fipa-cp-clone)
...
PR middle-end/51929
* cgraphunit.c (verify_edge_corresponds_to_fndecl): If node is
a same_body_alias, also test whether e->callee isn't a former
or current clone of the decl this is a same body alias of.
* g++.dg/ipa/pr51929.C: New test.
From-SVN: r184301
2012-02-16 08:25:58 +01:00
Ian Lance Taylor
a64b24bdef
re PR go/51874 (Many libgo testsuite failures on IRIX)
...
PR go/51874
math: Don't use libc log2 and trunc functions.
From-SVN: r184300
2012-02-16 07:17:03 +00:00
Ian Lance Taylor
6df020c0d1
compiler: Fix crash: type T1 struct { F *[1]T2 } where T2 is a struct.
...
This will become bug417.go.
From-SVN: r184299
2012-02-16 06:44:36 +00:00
Jakub Jelinek
cc8b9c31fb
re PR translation/52264 (translatable string typo: "refernece")
...
PR translation/52264
* cgraphunit.c (verify_cgraph_node): Fix a typo.
From-SVN: r184298
2012-02-16 07:29:12 +01:00
GCC Administrator
0ec08108a9
Daily bump.
...
From-SVN: r184297
2012-02-16 00:24:03 +00:00
Iain Sandoe
e948a1fbd4
re PR libitm/52220 (FAIL: libitm.c++/eh-1.C execution test due to Xcode 4 weakref linker bug)
...
libitm/
2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
Patrick Marlier <patrick.marlier@gmail.com>
PR libitm/52220
* alloc_cpp.cc: No dummy definitions for darwin.
* eh_cpp.cc: Likewise.
libgcc/
2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
Patrick Marlier <patrick.marlier@gmail.com>
PR libitm/52220
* config/darwin-crt-tm.c: Generate dummy functions.
Co-Authored-By: Patrick Marlier <patrick.marlier@gmail.com>
From-SVN: r184293
2012-02-15 23:39:28 +00:00
Sandra Loosemore
e3a66c3884
invoke.texi: Clean up "n-bit/byte/word" modifiers.
...
2012-02-15 Sandra Loosemore <sandra@codesourcery.com>
gcc/
* doc/invoke.texi: Clean up "n-bit/byte/word" modifiers.
From-SVN: r184291
2012-02-15 18:00:38 -05:00
Ian Lance Taylor
ca59d219fe
runtime: Support broken makecontext on Solaris 8/9.
...
From Rainer Orth.
From-SVN: r184289
2012-02-15 22:29:35 +00:00
Michael Meissner
a0367cc1ac
re PR target/52199 (V2DI vec_duplicate ICE on valid code)
...
[gcc]
2012-02-15 Michael Meissner <meissner@linux.vnet.ibm.com>
PR target/52199
* config/rs6000/rs6000.c (rs6000_expand_vector_init): Use
force_reg instead of copy_to_reg for better optimization. Force
non-register or memory operands into a register.
[gcc/testsuite]
2012-02-15 Michael Meissner <meissner@linux.vnet.ibm.com>
PR target/52199
* gcc.target/powerpc/pr52199.c: New file.
From-SVN: r184287
2012-02-15 21:42:00 +00:00
DJ Delorie
b87bc3aa06
* src/c++98/locale.cc (locale::facet::_S_get_c_locale): Fix typo.
...
From-SVN: r184286
2012-02-15 16:34:30 -05:00
Quentin Neill
e53182b762
compare_tests: Fix trailing paths in dir arguments.
...
2012-02-15 Quentin Neill <quentin.neill@amd.com>
* compare_tests: Fix trailing paths in dir arguments.
Handle sum1/sum2 temp files with others.
From-SVN: r184284
2012-02-15 20:58:40 +00:00
Benjamin Kosnik
2a5d011c41
re PR libstdc++/51368 (libstdc++ python pretty printers should use --with-python-dir just like libjava)
...
2012-02-15 Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/51368
* acinclude.m4 (GLIBCXX_ENABLE_PYTHON): New.
* configure.ac: Use it.
* python/Makefile.am: Same.
* configure: Regenerate.
* python/Makefile.in: Regenerate.
* Makefile.in: Same.
* doc/Makefile.in: Same.
* include/Makefile.in: Same.
* po/Makefile.in: Same.
* src/Makefile.in: Same.
* src/c++11/Makefile.in: Same.
* src/c++98/Makefile.in: Same.
* testsuite/Makefile.in: Same.
Co-Authored-By: Jonathan Wakely <jwakely.gcc@gmail.com>
From-SVN: r184282
2012-02-15 19:56:07 +00:00
Iain Sandoe
6017aed304
re PR libitm/52042 (libitm.c/clone-1.c (all darwin) and libitm.c/stackundo.c (darwin 11) execution tests fail with -fpie)
...
2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
Patrick Marlier <patrick.marlier@gmail.com>
PR libitm/52042
* config/darwin-crt-tm.c (getTMCloneTable): New function.
(__doTMRegistrations): Call it.
(__doTMdeRegistrations): Likewise.
Co-Authored-By: Patrick Marlier <patrick.marlier@gmail.com>
From-SVN: r184281
2012-02-15 19:17:42 +00:00
Rainer Orth
3c87288384
XFAIL objc.dg/stabs-1.m on IRIX (PR target/52152)
...
PR target/52152
* objc.dg/stabs-1.m: xfail on mips-sgi-irix6.5.
From-SVN: r184280
2012-02-15 18:24:30 +00:00
Rainer Orth
3a20d87c69
Directly declare sqrtf in gcc.dg/pr51867.c
...
* gcc.dg/pr51867.c: Don't include <math.h>.
(sqrtf): Declare.
From-SVN: r184279
2012-02-15 18:18:38 +00:00
Andrew MacLeod
b1cef2a542
extend.texi: Reserve upper bits of memory model for future use.
...
2012-02-15 Andrew MacLeod <amacleod@redhat.com>
* extend.texi: Reserve upper bits of memory model for future use.
From-SVN: r184277
2012-02-15 16:41:25 +00:00
Georg-Johann Lay
adc44a79d6
20091013-1_1.c: xfail for avr.
...
* gcc.dg/lto/20091013-1_1.c: xfail for avr.
* gcc.dg/lto/20091013-1_2.c: xfail for avr.
From-SVN: r184276
2012-02-15 14:48:48 +00:00
Ian Lance Taylor
f3fb416a93
compiler: Avoid crashes on erroneous input.
...
From-SVN: r184274
2012-02-15 14:33:45 +00:00
Aldy Hernandez
65728e39ba
Remove mistaken commit.
...
From-SVN: r184272
2012-02-15 14:24:40 +00:00
Georg-Johann Lay
2da8c1adcf
re PR target/52261 ([avr] Add support for AVR Xmega cores)
...
libgcc/
PR target/52261
* config/avr/lib1funcs.S (__prologue_saves__): Handle AVR_XMEGA
(__epilogue_restores__): Ditto.
gcc/
PR target/52261
* config/avr/avr-devices.c (avr_arch_types): Add avrxmega2,
avrxmega4, avrxmega5, avrxmega6, avrxmega7.
Rewrite initializers for .macro.
* config/avr/avr-mcus.def (AVR_MCU): Add known MCUs:
avrxmega2: atxmega16a4, atxmega16d4, atxmega16x1, atxmega32a4
atxmega32d4, atxmega32x1.
avrxmega4: atxmega64a3, atxmega64d3.
avrxmega5: atxmega64a1, atxmega64a1u.
avrxmega6: atxmega128a3, atxmega128d3, atxmega192a3, atxmega192d3,
atxmega256a3, atxmega256a3b, atxmega256a3bu, atxmega256d3.
avrxmega7: atxmega128a1, atxmega128a1u.
* config/avr/multilib.h: Regenerate.
* config/avr/t-multilib: Regenerate.
* config/avr/avr-tables.opt: Regenerate.
* config/avr/avr.h (enum avr_arch): Add: ARCH_AVRXMEGA2,
ARCH_AVRXMEGA4, ARCH_AVRXMEGA5, ARCH_AVRXMEGA6, ARCH_AVRXMEGA7.
(struct base_arch_s): Rename reserved to xmega_p.
Rename reserved2 to have_rampd.
(AVR_XMEGA): New define.
(AVR_HAVE_RAMPD, AVR_HAVE_RAMPX, AVR_HAVE_RAMPY): New defines.
(AVR_HAVE_RAMPZ): Change definition to fit xmega.
* config/avr/predicates.md (io_address_operand): Take into
account SFR offset.
(low_io_address_operand): Ditto.
(high_io_address_operand): Ditto.
* config/avr/avr.md (isa): Add alternatives no_xmega, xmega.
(enabled, movhi_sp_r): Use them.
* config/avr/avr-c.c (avr_cpu_cpp_builtins): Use
cpp_define_formatted to built-in define __AVR_ARCH__.
(__AVR_XMEGA__): New built-in define.
(__AVR_HAVE_RAMPD__): New built-in define.
(__AVR_HAVE_RAMPX__): New built-in define.
(__AVR_HAVE_RAMPY__): New built-in define.
(__AVR_HAVE_RAMPZ__): Change condition when to built-in define it.
* config/avr/avr.c (avr_addr_t): Add ccp, rampd, rampx, rampy.
(avr_option_override): Initialize them.
(sreg_rtx, rampd_rtx, rampx_rtx, rampy_rtx): New GTY rtx.
(avr_init_expanders): Initialize them. No more block several calls.
(emit_push_sfr): New static function.
(avr_prologue_setup_frame): Use it to push SREG, RAMPD/X/Y/Z as needed.
Handle AVR_XMEGA.
(expand_epilogue): Handle AVR_XMEGA. Pop RAMPD/X/Y/Z as needed.
(avr_print_operand): Print addreeses as symbols for
RAMPX, RAMPY, RAMPD, CCP.
(output_movhi): Handle AVR_XMEGA when writing to SP.
(avr_out_movhi_mr_r_xmega): New static function.
(out_movhi_mr_r): Forward to avr_out_movhi_mr_r_xmega for AVR_XMEGA.
(avr_file_start): Print symbol defines for __RAMPX__, __RAMPY__,
__RAMPD__, __CCP__ as needed.
Co-Authored-By: Anatoly Sokolov <aesok@post.ru>
Co-Authored-By: Eric Weddington <eric.weddington@atmel.com>
From-SVN: r184269
2012-02-15 13:15:56 +00:00
Tobias Grosser
28db21ee45
re PR tree-optimization/50561 (ICE when compiling zlib with -O2 -floop-flatten -floop-strip-mine)
...
2012-02-15 Tobias Grosser <grosser@fim.uni-passau.de>
PR tree-optimization/50561
* graphite-flattening.c (lst_project_loop): Do not
remove old scattering dimensions after flattening.
(lst_do_flatten): Likewise.
* gcc.dg/graphite/pr50561.c: New testcase.
From-SVN: r184265
2012-02-15 12:20:10 +00:00
Georg-Johann Lay
0c578db6dd
builtin_insert_bits-1.c: New test.
...
gcc/testsuite/
* gcc.target/avr/torture/builtin_insert_bits-1.c: New test.
* gcc.target/avr/torture/builtin_insert_bits-2.c: New test.
gcc/
* doc/extend.texi (AVR Built-in Functions): Remove doc for
__builtin_avr_map8, __builtin_avr_map16.
Document __builtin_avr_insert_bits.
* config/avr/avr.md (map_bitsqi, map_bitshi): Remove.
(insert_bits): New insn.
(adjust_len.map_bits): Rename to insert_bits.
(UNSPEC_MAP_BITS): Rename to UNSPEC_INSERT_BITS.
* avr-protos.h (avr_out_map_bits): Remove.
(avr_out_insert_bits, avr_has_nibble_0xf): New.
* config/avr/constraints.md (Cxf,C0f): New.
* config/avr/avr.c (avr_cpu_cpp_builtins): Remove built-in
defines __BUILTIN_AVR_MAP8, __BUILTIN_AVR_MAP16.
New built-in define __BUILTIN_AVR_INSERT_BITS.
* config/avr/avr.c (TARGET_FOLD_BUILTIN): New define.
(enum avr_builtin_id): Add AVR_BUILTIN_INSERT_BITS.
(avr_move_bits): Rewrite.
(avr_fold_builtin, avr_map_metric, avr_map_decompose): New static
functions.
(avr_map_op_t): New typedef.
(avr_map_op): New static variable.
(avr_out_insert_bits, avr_has_nibble_0xf): New functions.
(adjust_insn_length): Handle ADJUST_LEN_INSERT_BITS.
(avr_init_builtins): Add definition for __builtin_avr_insert_bits.
(bdesc_3arg, avr_expand_triop_builtin): New.
(avr_expand_builtin): Use them. And handle AVR_BUILTIN_INSERT_BITS.
(avr_revert_map, avr_swap_map, avr_id_map, avr_sig_map): Remove.
(avr_map_hamming_byte, avr_map_hamming_nonstrict): Remove.
(avr_map_equal_p, avr_map_sig_p): Remove.
(avr_out_swap_bits, avr_out_revert_bits, avr_out_map_bits): Remove.
(bdesc_2arg): Remove AVR_BUILTIN_MAP8, AVR_BUILTIN_MAP16.
(adjust_insn_length): Remove handling for ADJUST_LEN_MAP_BITS.
(enum avr_builtin_id): Remove AVR_BUILTIN_MAP8, AVR_BUILTIN_MAP16.
(avr_init_builtins): Remove __builtin_avr_map8, __builtin_avr_map16.
(avr_expand_builtin): Remove AVR_BUILTIN_MAP8, AVR_BUILTIN_MAP16.
From-SVN: r184264
2012-02-15 11:07:13 +00:00
Eric Botcazou
1c4ae4e587
trans.c (Identifier_to_gnu): Move block retrieving the type of the result to the end and execute it for a...
...
* gcc-interface/trans.c (Identifier_to_gnu): Move block retrieving the
type of the result to the end and execute it for a deferred constant of
a discriminated type whose full view can be elaborated statically.
From-SVN: r184259
2012-02-15 08:50:11 +00:00
Eric Botcazou
0029bafd89
trans.c (gnat_to_gnu): If the type is tagged, mark it as used for debugging purposes.
...
* gcc-interface/trans.c (gnat_to_gnu) <N_Qualified_Expression>: If the
type is tagged, mark it as used for debugging purposes.
<N_Allocator>: Likewise for a qualified expression.
From-SVN: r184258
2012-02-15 08:39:04 +00:00
Eric Botcazou
4a582c9fda
volatile10.adb: New case.
...
* gnat.dg/volatile10.adb: New case.
* gnat.dg/volatile10_pkg.ads: New helper.
From-SVN: r184257
2012-02-15 08:31:21 +00:00
Eric Botcazou
0f952eb4cc
re PR target/51921 (EH unwinding support is broken)
...
PR target/51921
PR target/52205
* config/sparc/sol2-unwind.h (sparc64_is_sighandler): Add support for
Solaris 11 and slightly reformat.
(sparc_is_sighandler): Likewise.
From-SVN: r184255
2012-02-15 08:13:09 +00:00
Jason Merrill
7f3dee0e1c
parser.c (cp_parser_explicit_instantiation): Give a warning for ignored attributes on explicit class instantiation.
...
* parser.c (cp_parser_explicit_instantiation): Give a warning
for ignored attributes on explicit class instantiation.
From-SVN: r184254
2012-02-14 20:56:56 -05:00
Joseph Myers
aa434b3d4d
* de.po: Update.
...
From-SVN: r184253
2012-02-15 00:47:53 +00:00