Commit Graph

97693 Commits

Author SHA1 Message Date
Iain Sandoe
1d32a77299 re PR target/41605 (Static linking of libgcc/libgfortran/libstdc++ can cause inconsistent symbol resolution.)
2009-12-22  Iain Sandoe  <iain.sandoe@sandoe-acoustics.co.uk>

gcc/
	PR target/41605
	* lib/g++.exp: Provide -B options to allow for link spec %s
	substitutions for static libraries.

libstdc++-v3/
	PR target/41605
	* testsuite/libstdc++-abi/abi.exp: Provide -B options to allow for
	link spec %s substitutions for static libraries.
	* testsuite/lib/libstdc++.exp: Ditto

libgomp/
	PR target/41605
	* testsuite/lib/libgomp.exp: Provide -B options to allow for
	link spec %s substitutions for static libraries.

From-SVN: r155408
2009-12-22 22:11:27 +00:00
Ralf Wildenhues
4e7caa34a2 Disable libtool support for languages unused in libjava/libltdl
libjava/libltdl/:
	* configure.ac: Disable libtool support for unused languages,
	to avoid precious FFLAGS recheck cache consistency failure.
	* aclocal.m4: Regenerate.
	* configure: Regenerate.
	* Makefile.in: Regenerate.

From-SVN: r155407
2009-12-22 20:47:56 +00:00
Cary Coutant
6e922f17ac re PR debug/42454 (debug_ranges table contains empty range for unused .text section with -ffunction-sections)
PR debug/42454
	* dwarf2out.c (dwarf2out_finish): Don't output range for .text
	section unless .text section was used.  Likewise for cold.

From-SVN: r155402
2009-12-22 09:37:57 -08:00
Brian Hackett
56c5115567 plugins.texi: Rename pre-genericize event.
2009-12-22  Brian Hackett  <bhackett1024@gmail.com>

	* doc/plugins.texi: Rename pre-genericize event.

2009-12-22  Brian Hackett  <bhackett1024@gmail.com>

	* g++.dg/plugin/attribute_plugin.c: Rename pre-genericize event.
	* g++.dg/plugin/dumb_plugin.c: Same.

From-SVN: r155401
2009-12-22 16:27:25 +00:00
Paolo Carlini
6701861954 re PR driver/42463 (A typo with "estimated" word in gcc-4.5-b20091203.pot file)
2009-12-22  Paolo Carlini  <paolo.carlini@oracle.com>

	PR driver/42463
	* params.def ([PARAM_PREDICTABLE_BRANCH_OUTCOME]): Fix typo in
	help string.

	* doc/invoke.texi: Fix typo.

From-SVN: r155400
2009-12-22 15:58:10 +00:00
Jason Merrill
5dd65e227a mangle.c (write_member_name): Move abi-version=1 code back to...
* mangle.c (write_member_name): Move abi-version=1 code back to...
	(write_expression): ...here.

From-SVN: r155399
2009-12-22 09:30:23 -05:00
Jonathan Wakely
6be8006d35 mutex (call_once(once_flag&, _Callable, _Args&&...)): Explicitly qualify with std:: bind calls.
2009-12-22  Jonathan Wakely  <jwakely.gcc@gmail.com>

	* include/std/mutex (call_once(once_flag&, _Callable, _Args&&...)):
	Explicitly qualify with std:: bind calls.

From-SVN: r155397
2009-12-22 12:45:12 +00:00
Paul Brook
d17c29c35f tm.texi (ARG_POINTER_CFA_OFFSET): Document new default.
2009-12-22  Paul Brook <paul@codesourcery.com>

	gcc/
	* doc/tm.texi (ARG_POINTER_CFA_OFFSET): Document new default.
	* defaults.h (ARG_POINTER_CFA_OFFSET): Add pretend_args_size.
	* config/spu/spu.h (ARG_POINTER_CFA_OFFSET): Add pretend_args_size.

From-SVN: r155396
2009-12-22 12:24:32 +00:00
Benjamin Kosnik
ac2e5c890a re PR libstdc++/42456 (Revision 155377 failed some C++ atomic tests)
2009-12-21  Benjamin Kosnik  <bkoz@redhat.com>

	PR libstdc++/42456
	* src/atomic.cc: Move _GLIBCXX_ASM_SYMVER define within guard.
	* config/abi/pre/gnu.ver: Add non-volatile exports.

From-SVN: r155393
2009-12-22 08:23:08 +00:00
GCC Administrator
2471c0b93d Daily bump.
From-SVN: r155386
2009-12-22 00:17:14 +00:00
Andy Hutchinson
7ad50b4d41 pr36901.h: AVR must support address zero.
2009-12-21  Andy Hutchinson  <hutchinsonandy@gcc.gnu.org>

	* gcc.dg/pr36901.h: AVR must support address zero.

From-SVN: r155383
2009-12-22 00:08:34 +00:00
Andy Hutchinson
993948c6da re PR testsuite/36903 (Generic vectorizarion test failures)
2009-12-21  Andy Hutchinson  <hutchinsonandy@gcc.gnu.org>

	PR testsuite/36903
	* gcc.dg/tree-ssa/gen-vect-11.c : Disable for avr target. It will not vectorize.
	* gcc.dg/tree-ssa/gen-vect-11a.c: Ditto.
	* gcc.dg/tree-ssa/gen-vect-2.c: Ditto.
	* gcc.dg/tree-ssa/gen-vect-25.c: Ditto.
	* gcc.dg/tree-ssa/gen-vect-26.c: Ditto.
	* gcc.dg/tree-ssa/gen-vect-28.c: Ditto.
	* gcc.dg/tree-ssa/gen-vect-32.c: Ditto.
	* gcc.dg/tree-ssa/pr23455.c: Test for 4 eliminations on avr target.
	* gcc.dg/tree-ssa/ssa-fre-26.c: XFAIL test for avr.
	* gcc.dg/tree-ssa/vrp47.c: Skip test for avr target due to low branch cost.

From-SVN: r155382
2009-12-22 00:00:50 +00:00
Benjamin Kosnik
8d079e67d8 run_doxygen: Update nested namespace exceptions.
2009-12-21  Benjamin Kosnik  <bkoz@redhat.com>

	* scripts/run_doxygen: Update nested namespace exceptions.

From-SVN: r155380
2009-12-21 21:26:45 +00:00
Brian Hackett
1c701f96a5 decl.c (finish_function): Rename pre-genericize event.
2009-12-21  Brian Hackett  <bhackett1024@gmail.com>

	* decl.c (finish_function): Rename pre-genericize event.

2009-12-21  Brian Hackett  <bhackett1024@gmail.com>

	* plugin.def: Rename pre-genericize event.
	* plugin.c (register_callback, invoke_plugin_callbacks): Same.
	* c-decl.c (finish_function): Invoke callbacks on above event.

From-SVN: r155379
2009-12-21 20:37:49 +00:00
Thomas Koenig
78e3682410 PR libfortran/PR42422
2009-12-21  Thomas Koenig  <tkoenig@gcc.gnu.org>

	PR libfortran/PR42422
	* gfortran.dg/list_read_10.f90:  New test.

From-SVN: r155378
2009-12-21 20:14:39 +00:00
Benjamin Kosnik
afd88205d8 atomic: Update to N3000.
2009-12-20  Benjamin Kosnik  <bkoz@redhat.com>

	* include/std/atomic: Update to N3000.
	* include/bits/atomic_0.h: Same.
	* include/bits/atomic_2.h: Same.
	* include/c_global/cstdatomic: Move...
	* include/bits/atomic_base.h: ...here.
	* include/c_compatibility/stdatomic.h: Just include atomic_base.h.
	* include/precompiled/stdc++.h: Adjust includes.
	* include/Makefile.am: Adjust files.
	* include/Makefile.in: Regenerate.
	* include/std/future: Adjust.
	* src/atomic.cc: Adjust, adjust exports for compatibility.
	* src/compatibility.cc: Move C++0x stuff...
	* src/compatibility-c++0x.cc: ...here.

	* doc/xml/manual/using.xml: Update.
	* doc/xml/manual/status_cxx200x.xml: Update.
	* doc/doxygen/user.cfg.in: Update.

	* testsuite/29_atomics/atomic_address/cons/assign_neg.cc: Same.
	* testsuite/29_atomics/atomic_address/cons/single_value.cc: Same.
	* testsuite/29_atomics/atomic_address/cons/copy_neg.cc: Same.
	* testsuite/29_atomics/atomic_address/cons/default.cc: Same.
	* testsuite/29_atomics/atomic_address/cons/aggregate.cc: Same.
	* testsuite/29_atomics/atomic_address/requirements/
	standard_layout.cc: Same.
	* testsuite/29_atomics/atomic_address/requirements/trivial.cc: Same.
	* testsuite/29_atomics/atomic_integral/cons/assign_neg.cc: Same.
	* testsuite/29_atomics/atomic_integral/cons/single_value.cc: Same.
	* testsuite/29_atomics/atomic_integral/cons/copy_neg.cc: Same.
	* testsuite/29_atomics/atomic_integral/cons/default.cc: Same.
	* testsuite/29_atomics/atomic_integral/cons/copy_list.cc: Same.
	* testsuite/29_atomics/atomic_integral/cons/direct_list.cc: Same.
	* testsuite/29_atomics/atomic_integral/requirements/
	standard_layout.cc: Same.
	* testsuite/29_atomics/atomic_integral/requirements/trivial.cc: Same.
	* testsuite/29_atomics/atomic_integral/operators/increment_neg.cc: Same.
	* testsuite/29_atomics/atomic_integral/operators/
	integral_assignment.cc: Same.
	* testsuite/29_atomics/atomic_integral/operators/bitwise_neg.cc: Same.
	* testsuite/29_atomics/atomic_integral/operators/decrement_neg.cc: Same.
	* testsuite/29_atomics/atomic_integral/operators/increment.cc: Same.
	* testsuite/29_atomics/atomic_integral/operators/bitwise.cc: Same.
	* testsuite/29_atomics/atomic_integral/operators/decrement.cc: Same.
	* testsuite/29_atomics/atomic_integral/operators/
	integral_conversion.cc: Same.
	* testsuite/29_atomics/atomic_flag/cons/assign_neg.cc: Same.
	* testsuite/29_atomics/atomic_flag/cons/copy_neg.cc: Same.
	* testsuite/29_atomics/atomic_flag/cons/default.cc: Same.
	* testsuite/29_atomics/atomic_flag/cons/aggregate.cc: Same.
	* testsuite/29_atomics/atomic_flag/requirements/
	standard_layout.cc: Same.
	* testsuite/29_atomics/atomic_flag/requirements/trivial.cc: Same.
	* testsuite/29_atomics/atomic_flag/clear/1.cc: Same.
	* testsuite/29_atomics/atomic_flag/test_and_set/explicit.c
	* testsuite/29_atomics/atomic_flag/test_and_set/explicit.cc: Same.
	* testsuite/29_atomics/atomic_flag/test_and_set/implicit.c
	* testsuite/29_atomics/atomic_flag/test_and_set/implicit.cc: Same.
	* testsuite/29_atomics/headers/stdatomic.h/functions.c
	* testsuite/29_atomics/atomic/cons/assign_neg.cc: Same.
	* testsuite/29_atomics/atomic/cons/single_value.cc: Same.
	* testsuite/29_atomics/atomic/cons/copy_neg.cc: Same.
	* testsuite/29_atomics/atomic/cons/default.cc: Same.
	* testsuite/29_atomics/atomic/cons/copy_list.cc: Same.
	* testsuite/29_atomics/atomic/cons/direct_list.cc: Same.
	* testsuite/29_atomics/atomic/requirements/explicit_instantiation/
	1.cc: Same.
	* testsuite/29_atomics/atomic/requirements/base_classes.cc: Same.
	* testsuite/29_atomics/atomic/operators/integral_assignment.cc: Same.
	* testsuite/29_atomics/atomic/operators/integral_conversion.cc: Same.
	* testsuite/util/testsuite_common_types.h: Adjust.

	* testsuite/29_atomics/headers/cstdatomic: Move and adjust...
	* testsuite/29_atomics/headers/atomic: ...here.
	* testsuite/29_atomics/headers/atomic/types_std_c++0x.cc: Same.
	* testsuite/29_atomics/headers/atomic/functions_std_c++0x.cc: Same.
	* testsuite/29_atomics/headers/atomic/std_c++0x_neg.cc: Same.
	* testsuite/29_atomics/headers/atomic/macros.cc: Same.

	* testsuite/29_atomics/headers/atomic/types_std_c++0x_neg.cc: Add.
	* testsuite/29_atomics/atomic/cons/user_pod.cc: Add.

From-SVN: r155377
2009-12-21 19:00:34 +00:00
Jakub Jelinek
dcc1e1fab4 re PR rtl-optimization/42429 (Miscompilation of 2fish on s390)
PR rtl-optimization/42429
	* reload.c (find_reloads_subreg_address): When adjusting mode of
	MEM, update also MEM_SIZE if it is set.

From-SVN: r155374
2009-12-21 17:32:44 +01:00
Andreas Tobler
938a483f0d configure.ac: Make i?86 build on FreeBSD and OpenBSD.
2009-12-21  Andreas Tobler  <a.tobler@schweiz.org>

	* configure.ac: Make i?86 build on FreeBSD and OpenBSD.
	* configure: Regenerate.

From-SVN: r155373
2009-12-21 17:31:31 +01:00
H.J. Lu
e0b0fd7491 Always pass --32 to ia32 Linux assembler.
2009-12-21  H.J. Lu  <hongjiu.lu@intel.com>

	PR bootstrap/42345
	* acinclude.m4 (gcc_GAS_FLAGS): New.
	(gcc_GAS_CHECK_FEATURE): Use gcc_GAS_FLAGS.
	* configure: Regenerated.

From-SVN: r155372
2009-12-21 07:31:49 -08:00
GCC Administrator
6ad31e07ca Daily bump.
From-SVN: r155371
2009-12-21 00:17:04 +00:00
Joseph Myers
42e4b18201 * sv.po: Update.
From-SVN: r155368
2009-12-20 17:16:13 +00:00
Michael Matz
e83f4b68e7 re PR tree-optimization/42027 (Performance regression in convolution loop optimization)
PR tree-optimization/42027
	* cfgexpand.c (expand_gimple_cond): Use jumpy sequence for &, &&, |
	and || if jumps are cheap.

From-SVN: r155367
2009-12-20 01:15:46 +00:00
GCC Administrator
e72297c572 Daily bump.
From-SVN: r155366
2009-12-20 00:16:58 +00:00
Dodji Seketeli
e96ce650a8 Fix PR c++/42225, take 2
gcc/cp/ChangeLog:
	PR c++/42225
	* pt.c (push_template_decl_real): Set DECL_CONTEXT of template type
	parms to their containing template decl.
	* typeck.c (comp_template_parms_position): Split this from
	structural_comptypes.
	(incompatible_template_type_parms_p): Renamed
	incompatible_dependent_typedefs_p into this. Change the function to
	handle comparison between TEMPLATE_TYPE_PARMs only.
	(structural_comptypes): Use comp_template_parms_position in
	TEMPLATE_TEMPLATE_PARM and BOUND_TEMPLATE_TEMPLATE_PARM cases.
	Use incompatible_template_type_parms_p in TEMPLATE_TYPE_PARM case.
	* mangle.c (decl_mangling_context): Template type parms don't have
	a mangling context.
	* tree.c (cp_set_underlying_type): Set type structural equality
	only for TEMPLATE_TYPE_PARMs.

gcc/testsuite/ChangeLog:
	PR c++/42225
	* g++.dg/template/typedef26.C: New test.

From-SVN: r155363
2009-12-19 23:40:37 +01:00
Richard Guenther
b0ce048a3f re PR lto/42401 (wrong-code with -flto)
2009-12-19  Richard Guenther  <rguenther@suse.de>

	PR lto/42401
	* lto-streamer-out.c (tree_is_indexable): Local statics
	are indexable.
	(lto_output_tree_ref): Adjust assert.

	* g++.dg/lto/20091219_0.C: New testcase.

From-SVN: r155361
2009-12-19 11:41:14 +00:00
Richard Guenther
d0ca0bcb2c re PR tree-optimization/42108 (50% performance regression)
2009-12-19  Richard Guenther  <rguenther@suse.de>

	PR tree-optimization/42108
	* tree-ssa-sccvn.c (last_vuse_ptr): New variable.
	(vn_reference_lookup_2): Update last seen VUSE.
	(vn_reference_lookup_3): Avoid updating last seen VUSE after
	translating.
	(visit_reference_op_load): Use last seen VUSE from the first
	lookup when entering into the table.

	* gfortran.dg/pr42108.f90: New testcase.

From-SVN: r155360
2009-12-19 11:24:49 +00:00
Janne Blomqvist
a8572b62e7 Increase clock resolution for system_clock_8.
From-SVN: r155359
2009-12-19 12:43:11 +02:00
Joern Rennecke
2a5e9d165e Makefile.in (PLUGIN_HEADERS): Add more headers.
* Makefile.in (PLUGIN_HEADERS): Add more headers.

        * tree-pass.h (GCC_PASS_LISTS): Define.
        (PASS_LIST_NO_all_lowering_passes): New enumeration value.
        (PASS_LIST_NO_all_small_ipa_passes): Likewise.
        (PASS_LIST_NO_all_regular_ipa_passes): Likewise.
        (PASS_LIST_NO_all_lto_gen_passes): Likewise.
        (PASS_LIST_NO_all_passes): Likewise.
        (PASS_LIST_NUM): Likewise.
        (gcc_pass_lists): Declare.
        * passes.c (gcc_pass_lists): Define.

From-SVN: r155354
2009-12-19 02:33:03 +00:00
GCC Administrator
dedf9c63c4 Daily bump.
From-SVN: r155353
2009-12-19 00:16:42 +00:00
Jason Merrill
a71d418153 re PR c++/42415 (Bad assembly generated for constructor call)
PR c++/42415
	* g++.old-deja/g++.jason/temporary5.C: Adjust.

From-SVN: r155350
2009-12-18 15:50:08 -05:00
Jason Merrill
647763566a re PR c++/28300 (In-class partial specialization of class accepted)
PR c++/28300
	PR c++/42062
	* pt.c (check_specialization_namespace): Complain about
	specialization at non-namespace scope.

From-SVN: r155349
2009-12-18 15:49:58 -05:00
Jason Merrill
55388afda9 re PR c++/42415 (Bad assembly generated for constructor call)
PR c++/42415
	* call.c (build_new_method_call): Complain about calling the
	constructor directly.

From-SVN: r155347
2009-12-18 11:12:50 -05:00
Richard Guenther
c82e0b3b1b tree-ssa-sccvn.c (copy_nary): New function.
2009-12-18  Richard Guenther  <rguenther@suse.de>

	* tree-ssa-sccvn.c (copy_nary): New function.
	(copy_phis): Likewise.
	(copy_references): Likewise.
	(process_scc): Avoid last iteration by copying the
	optimistic table to the valid table.

From-SVN: r155346
2009-12-18 15:31:38 +00:00
Joseph Myers
d88cf0ceb3 * zh_CN.po: Update.
From-SVN: r155344
2009-12-18 13:10:35 +00:00
Paolo Carlini
a957d12f7a condition_variable: Revert inadvertent changes.
2009-12-18  Paolo Carlini  <paolo.carlini@oracle.com>

	* include/std/condition_variable: Revert inadvertent changes.
	* testsuite/30_threads/condition_variable/cons/assign_neg.cc: Ditto.
	* testsuite/30_threads/condition_variable/cons/copy_neg.cc: Ditto.
	* testsuite/30_threads/condition_variable/members/1.cc: Ditto.
	* testsuite/30_threads/condition_variable/members/2.cc: Ditto.
	* testsuite/30_threads/condition_variable_any/cons/assign_neg.cc: Ditto.
	* testsuite/30_threads/condition_variable_any/cons/copy_neg.cc: Ditto.

From-SVN: r155343
2009-12-18 09:44:54 +00:00
Jimmy Guo
4ef8972563 re PR libstdc++/40088 (Creating a std::ostringstream object locks a global mutex)
2009-12-18  Jimmy Guo  <jguo@yahoo-inc.com>

	PR libstdc++/40088
	* src/locale_init.cc (locale::locale()): Optimize the common case
	where _S_global still points to _S_classic.

From-SVN: r155342
2009-12-18 09:41:03 +00:00
Shujing Zhao
24ea727a64 re PR c++/31665 (%s substituted with "built-in"/"library" can't be properly translated)
cp/
2009-12-16  Shujing Zhao  <pearly.zhao@oracle.com>

        PR c++/31665
        * decl.c (duplicate_decls, grokdeclarator): Put the
        diagnostics in full sentences for easy translation and wrapped into
        G_().
        * typeck.c (build_x_unary_op): Likewise.

testsuite/
2009-12-16  Shujing Zhao  <pearly.zhao@oracle.com>

        * g++.old-deja/g++.brendan/misc6.C: Make expected dg-error strings
        explicit.

From-SVN: r155340
2009-12-18 08:50:24 +00:00
Jack Howarth
deb109b24d re PR testsuite/42135 (FAIL: libgomp.graphite/force-parallel-2.c execution test)
Fix PR42135.

2009-12-18  Jack Howarth <howarth@bromo.med.uc.edu>

	PR testsuite/42135
	* libgomp.graphite/force-parallel-2.c: Reduce array size.

From-SVN: r155337
2009-12-18 07:38:06 +00:00
Ben Elliston
4960e3f0eb * config.sub, config.guess: Update from upstream sources.
From-SVN: r155332
2009-12-18 14:35:42 +11:00
GCC Administrator
67bc953916 Daily bump.
From-SVN: r155331
2009-12-18 00:16:51 +00:00
Jakub Jelinek
1d6a323453 dwarf2out.c (loc_descriptor): For SYMBOL_REFs and LABEL_REFs use DW_OP_addr+DW_OP_stack_value instead of...
* dwarf2out.c (loc_descriptor): For SYMBOL_REFs and LABEL_REFs
	use DW_OP_addr+DW_OP_stack_value instead of DW_OP_implicit_value.
	(add_const_value_attribute): For CONST_STRING, SYMBOL_REFs and
	LABEL_REFs use DW_OP_addr+DW_OP_stack_value DW_AT_location instead of
	DW_AT_const_value.

	* gcc.dg/debug/dwarf2/const-1.c: Don't expect DW_AT_const_value,
	but instead DW_AT_location with DW_OP_addr+DW_OP_stack_value.  Add
	-gno-strict-dwarf -fno-merge-debug-strings to dg-options.
	* g++.dg/debug/dwarf2/const1.C: Likewise.
	* g++.dg/debug/dwarf2/template-params-3.C: Likewise.
	* g++.dg/debug/dwarf2/template-func-params-3.C: Likewise.

From-SVN: r155327
2009-12-17 23:07:13 +01:00
Alexandre Oliva
cbdd74793b re PR debug/41679 (internal compiler error: in loc_cmp, at var-tracking.c:2433)
PR debug/41679
	* var-tracking.c (count_uses): Count MO_VAL_USE of original
	MO_VAL_SET value for COND_EXEC.
	(add_stores): Handle conditional stores.

From-SVN: r155324
2009-12-17 20:32:32 +01:00
Alexandre Oliva
951d44970a re PR debug/41679 (internal compiler error: in loc_cmp, at var-tracking.c:2433)
PR debug/41679
	* var-tracking.c (use_type): Remove indirection from loc.
	(count_uses): Dereference incoming loc early.
	(add_uses): Dereference incoming loc early.

From-SVN: r155323
2009-12-17 20:31:52 +01:00
Alexandre Oliva
00ee9f445b re PR debug/41679 (internal compiler error: in loc_cmp, at var-tracking.c:2433)
PR debug/41679
	* var-tracking.c (add_stores): Avoid value mode mismatch for
	promoted declarations.

	* gcc.target/arm/pr41679.c: New.

From-SVN: r155322
2009-12-17 20:30:58 +01:00
Jakub Jelinek
3fd54fb075 re PR tree-optimization/42386 (ICE in ipcp_iterate_stage, at ipa-cp.c:766)
PR c++/42386
	* ipa.c (function_and_variable_visibility): Clear same_comdat_group
	links of DECL_EXTERNAL nodes.

	* g++.dg/opt/dtor3.C: New test.

From-SVN: r155321
2009-12-17 20:29:48 +01:00
Sandra Loosemore
a0274eae64 rtl.texi (Vector Operations): Clarify vec_select result mode.
2009-12-17  Sandra Loosemore  <sandra@codesourcery.com>

	gcc/
	* doc/rtl.texi (Vector Operations): Clarify vec_select result mode.

From-SVN: r155320
2009-12-17 10:43:23 -05:00
Julian Brown
0c23e1be87 bpabi-v6m.S (test_div_by_zero): New macro.
gcc/
	* config/arm/bpabi-v6m.S (test_div_by_zero): New macro.
	(aeabi_ldivmod, aeabi_uldivmod): Use above macro.
	* config/arm/bpabi.S (test_div_by_zero): New macro.
	(aeabi_ldivmod, aeabi_uldivmod): Use above macro.
	* config/arm/lib1funcs.asm (ARM_LDIV0): Tail-call int div-by-zero
	handler for EABI. Add signed/unsigned argument, pass correct value
	to that handler.
	(THUMB_LDIV0): Same, for Thumb.
	(DIV_FUNC_END): Add signed argument.
	(WEAK): New macro (for EABI).
	(__udivsi3, __umodsi3): Add unsigned argument to DIV_FUNC_END. For
	__udivsi3, add entry point which skips division-by-zero test.
	(__divsi3, __modsi3): Add signed argument to DIV_FUNC_END.
	(__aeabi_uidivmod, __aeabi_idivmod): Check for division by zero.
	Call __udivsi3 or __divsi3 via entry points which skip
	division-by-zero tests.
	(__div0): Rename to __aeabi_idiv0, __aeabi_ldiv0 for EABI, and
	declare those names weak.

From-SVN: r155319
2009-12-17 15:37:23 +00:00
Dave Korn
ce7611f2f8 re PR target/42377 (libstdc++.dll.a misses a definition of std::string::reserve)
PR target/42377
	* config/abi/pre/gnu.ver: Adjust mangled function signatures to permit
	LLP64 sizetypes throughout.

From-SVN: r155318
2009-12-17 15:25:36 +00:00
Richard Guenther
e100f3957c re PR middle-end/42397 (FAIL: gfortran.dg/lto/20091028-2 f_lto_20091028-2_0.o-f_lto_20091028-2_1.o link, internal compiler error)
2009-12-17  Richard Guenther  <rguenther@suse.de>

	PR middle-end/42397
	* builtins.c (get_object_alignment): Properly deal with
	a CONST_DECL base.
	* expr.c (emit_block_move_hints): Assert the alignment makes
	sense.

From-SVN: r155316
2009-12-17 14:36:43 +00:00
Arnaud Charlet
3c35a1a77f * ada/acats/run_all.sh: Strip comments from norun.lst
From-SVN: r155314
2009-12-17 14:32:05 +01:00