Commit Graph

98440 Commits

Author SHA1 Message Date
Sebastian Pop
e65a757989 Add missing function comments.
2010-01-20  Sebastian Pop  <sebastian.pop@amd.com>

	* graphite-dependences.c (lexicographically_gt_p): Add comments.
	(build_lexicographically_gt_constraint): Same.
	(dependence_polyhedron_1): Same.
	(dependence_polyhedron): Same.

From-SVN: r156543
2010-02-06 17:40:58 +00:00
Sebastian Pop
7cbd4c5e84 Factor uses of build_pairwise_scheduling.
2010-01-20  Sebastian Pop  <sebastian.pop@amd.com>

	* graphite-dependences.c (build_pairwise_scheduling_equality): Removed.
	(build_pairwise_scheduling_inequality): Renamed build_pairwise_scheduling.
	(lexicographically_gt_p): Change type of direction to int.
	(build_lexicographically_gt_constraint): Same.
	(dependence_polyhedron_1): Same.
	(dependence_polyhedron): Same.
	(pddr_original_scattering): Use integers for direction.
	(pddr_transformed_scattering): Same.
	(graphite_legal_transform_dr): Same.
	(graphite_carried_dependence_level_k): Same.

From-SVN: r156542
2010-02-06 17:40:52 +00:00
Sebastian Pop
429ba74090 Cleanup build relation.
2010-01-20  Sebastian Pop  <sebastian.pop@amd.com>

	* graphite-dependences.c (build_pairwise_constraint): Renamed
	ppl_build_relation.  Moved...
	(dr_equality_constraints): Use ppl_build_relation.
	(build_pairwise_scheduling_equality): Same.
	(build_pairwise_scheduling_inequality): Same.
	* graphite-ppl.c (ppl_build_relation): ...here.
	* graphite-ppl.h (ppl_build_relation): Declared.

From-SVN: r156541
2010-02-06 17:40:45 +00:00
Jerry DeLisle
26bda00088 PR libfortran
2010-02-06  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	PR libfortran
	* io/transfer.c (read_sf): Handle EOR and EOF conditions for
	ADVANCE="no" with PAD="yes" or PAD="no".

From-SVN: r156540
2010-02-06 14:39:51 +00:00
Richard Earnshaw
b761dbe6a1 re PR target/42957 (ARM: Segfault when invalid -mfpu argument is specified.)
PR target/42957
	* arm.c (arm_override_options): Just return if the user has specified
	an invalid fpu name.

From-SVN: r156539
2010-02-06 14:05:27 +00:00
GCC Administrator
e984a04ecc Daily bump.
From-SVN: r156533
2010-02-06 00:16:49 +00:00
Jason Merrill
c1f8423c8b * g++.dg/ext/label13.C: Move constructor body out of class.
From-SVN: r156530
2010-02-05 17:17:17 -05:00
Jason Merrill
b2469a9bbb re PR c++/42870 (__attribute__ ((dllexport)) produces broken linkage)
PR c++/42870
	* config/i386/cygming.h (ASM_OUTPUT_DEF_FROM_DECLS): Call
	i386_pe_maybe_record_exported_symbol.

From-SVN: r156529
2010-02-05 17:17:09 -05:00
Joseph Myers
bc23518671 * sv.po: Update.
From-SVN: r156528
2010-02-05 20:48:17 +00:00
Steve Ellcey
1f65437dad re PR target/42924 (pex-unix.c:589:1: internal compiler error: output_operand)
2010-02-05  Steve Ellcey  <sje@cup.hp.com>

	PR target/42924
	* config/pa/pa.c (TARGET_DELEGITIMIZE_ADDRESS): Redefine.
	(pa_delegitimize_address): New function.

From-SVN: r156526
2010-02-05 18:21:06 +00:00
Paolo Carlini
4e4d27aae5 future (swap(packaged_task<>&, packaged_task<>&)): Fix typo in last commit.
2010-02-05  Paolo Carlini  <paolo.carlini@oracle.com>

	* include/std/future (swap(packaged_task<>&, packaged_task<>&)): Fix
	typo in last commit.

From-SVN: r156525
2010-02-05 17:25:12 +00:00
Ozkan Sezer
126edba2b7 msformat-c.c (ms_printf_length_specs): Set the scalar_identity_flag for the size_t/ptrdiff_t %Id and %Iu specs.
2010-02-05  Ozkan Sezer  <sezeroz@gmail.com>

        * config/i386/msformat-c.c (ms_printf_length_specs): Set the
        scalar_identity_flag for the size_t/ptrdiff_t %Id and %Iu specs.

From-SVN: r156524
2010-02-05 18:23:24 +01:00
Ozkan Sezer
ebd14cbb4f ms-format3.c: New test for specific MS types.
2010-02-05  Ozkan Sezer  <sezeroz@gmail.com>

        * gcc.dg/format/ms-format3.c: New test for specific MS types.

From-SVN: r156523
2010-02-05 18:22:54 +01:00
Paolo Carlini
1950140626 future (swap(packaged_task<>&, packaged_task<>&), [...]): Add; minor formatting fixes.
2010-02-05  Paolo Carlini  <paolo.carlini@oracle.com>

	* include/std/future (swap(packaged_task<>&, packaged_task<>&),
	swap(promise<>&, promise<>&)): Add; minor formatting fixes.
	* testsuite/30_threads/packaged_task/cons/assign_neg.cc: Adjust
	dg-error line number.
	* testsuite/30_threads/packaged_task/cons/copy_neg.cc: Likewise.
	* testsuite/30_threads/promise/cons/assign_neg.cc: Likewise.
	* testsuite/30_threads/promise/cons/copy_neg.cc: Likewise.

From-SVN: r156522
2010-02-05 17:19:10 +00:00
Richard Guenther
6561cdf608 Make-lang.in (cp/cp-lang.o): Depend on gt-cp-cp-lang.h.
2010-02-05  Richard Guenther  <rguenther@suse.de>

	* Make-lang.in (cp/cp-lang.o): Depend on gt-cp-cp-lang.h.
	* cp-lang.c: Include gt-cp-cp-lang.h.
	* config-lang.in (gtfiles): Add cp/cp-lang.c.

From-SVN: r156521
2010-02-05 15:38:04 +00:00
Richard Guenther
532df90460 re PR lto/42762 (ICE in get_resolution() when compiling a C++ program with -flto -fuse-linker-plugin)
2010-02-05  Richard Guenther  <rguenther@suse.de>

	PR lto/42762
	* lto-streamer-in.c (get_resolution): Deal with references
	to undefined functions.

From-SVN: r156520
2010-02-05 15:31:15 +00:00
Richard Guenther
5c95f07b61 tree-ssa-ccp.c (get_symbol_constant_value): Strip all conversions.
2010-02-05  Richard Guenther  <rguenther@suse.de>

	* tree-ssa-ccp.c (get_symbol_constant_value): Strip all
	conversions.
	(fold_const_aggregate_ref): Likewise.
	(ccp_fold_stmt): Substitute loads.
	(maybe_fold_reference): Verify types before substituting.
	Unshare properly.
	(fold_gimple_assign): Unshare properly.
	(fold_stmt_1): Insert conversion if necessary before replacing
	the RHS.

	* gcc.dg/tree-ssa/ssa-ccp-28.c: New testcase.

From-SVN: r156519
2010-02-05 15:28:31 +00:00
Nathan Froyd
64aa00b171 rs6000.c (rs6000_override_options): Invert check for rs6000_gen_cell_microcode.
* config/rs6000/rs6000.c (rs6000_override_options): Invert check
	for rs6000_gen_cell_microcode.

From-SVN: r156518
2010-02-05 14:47:34 +00:00
Joseph Myers
004a809c4d be.po, [...]: Update.
* be.po, ca.po, da.po, de.po, el.po, es.po, fr.po, id.po, ja.po,
	nl.po, sv.po, tr.po, uk,po, vi.po, zh_CN.po, zh_TW.po: Update.

From-SVN: r156517
2010-02-05 12:58:58 +00:00
Joseph Myers
55541419e7 be.po, [...]: Update.
* be.po, da.po, de.po, el.po, es.po, fi.po, fr.po, id.po, ja.po,
	nl.po, ru.po, sr.po, sv.po, tr.po, zh_CN.po, zh_TW.po: Update.

From-SVN: r156516
2010-02-05 12:58:00 +00:00
Paolo Carlini
6989b63f39 stl_algobase.h (struct __iter_base): Rename to _Iter_base; add iterator_type typedef.
2010-02-05  Paolo Carlini  <paolo.carlini@oracle.com>

	* include/bits/stl_algobase.h (struct __iter_base): Rename to
	_Iter_base; add iterator_type typedef.
	(struct __miter_base): Rename to _Miter_base.
	(struct __niter_base): Rename to _Niter_base.
	(__miter_base, __niter_base): Add, use the latter; adjust everywhere.

From-SVN: r156515
2010-02-05 10:55:54 +00:00
Dodji Seketeli
3cdabe3b06 re PR c++/42915 (ICE: same canonical type node for different types in recent builds)
Fix PR c++/42915

gcc/cp/ChangeLog:
	PR c++/42915
	* typeck.c (get_template_parms_of_dependent_type): Try getting
	the template parameters fromt the type itself first.

gcc/testsuite/ChangeLog:
	PR c++/42915
	g++.dg/other/crash-9.C: New test.

From-SVN: r156514
2010-02-05 09:28:24 +01:00
Paul Thomas
430f2d1f6f re PR fortran/42309 (Problem with a pointer array passed to a subroutine)
2010-02-05  Paul Thomas  <pault@gcc.gnu.org>

	PR fortran/42309
	* trans-expr.c (gfc_conv_subref_array_arg): Add new argument
	'formal_ptr'. If this is true, give returned descriptor unity
	lbounds, in all dimensions, and the appropriate offset.
	(gfc_conv_procedure_call); If formal is a pointer, set the last
	argument of gfc_conv_subref_array_arg to true.
	* trans.h : Add last argument for gfc_conv_subref_array_arg.
	* trans-io.c (set_internal_unit, gfc_trans_transfer): Set the
	new arg of gfc_conv_subref_array_arg to false.
	* trans-stmt.c (forall_make_variable_temp): The same.

2010-02-05  Paul Thomas  <pault@gcc.gnu.org>

	PR fortran/42309
	* gfortran.dg/subref_array_pointer_4.f90 : New test.

From-SVN: r156512
2010-02-05 05:28:37 +00:00
GCC Administrator
e7da179e4d Daily bump.
From-SVN: r156506
2010-02-05 00:16:45 +00:00
Benjamin Kosnik
2a60a9f652 re PR libstdc++/42460 (man page errors for generated libstdc++ man pages)
2010-02-04  Benjamin Kosnik  <bkoz@redhat.com>

	PR libstdc++/42460
	* doc/doxygen/user.cfg.in: Update file list.
	* include/debug/safe_sequence.h: Doxygen markup fixes for '' and "".
	* include/debug/safe_base.h: Same.
	* include/debug/macros.h: Same.
	* include/tr1_impl/regex: Same.
	* include/std/iostream: Same.
	* include/std/streambuf: Same.
	* include/std/bitset: Same.
	* include/std/iosfwd: Same.
	* include/std/limits: Same.
	* include/std/fstream: Same.
	* include/std/istream: Same.
	* include/std/ostream: Same.
	* include/std/sstream: Same.
	* include/parallel/multiway_merge.h: Same.
	* include/parallel/for_each.h: Same.
	* include/parallel/workstealing.h: Same.
	* include/parallel/omp_loop_static.h: Same.
	* include/parallel/omp_loop.h: Same.
	* include/c_std/csignal: Same.
	* include/c_std/cstdlib: Same.
	* include/c_std/cstdio: Same.
	* include/c_std/cstdarg: Same.
	* include/c_std/cctype: Same.
	* include/c_std/cerrno: Same.
	* include/c_std/cmath: Same.
	* include/c_std/ciso646: Same.
	* include/c_std/ctime: Same.
	* include/c_std/clocale: Same.
	* include/c_std/climits: Same.
	* include/c_std/cassert: Same.
	* include/c_std/csetjmp: Same.
	* include/c_std/cwchar: Same.
	* include/c_std/cfloat: Same.
	* include/c_std/cstring: Same.
	* include/c_std/cstddef: Same.
	* include/c_std/cwctype: Same.
	* include/profile/iterator_tracker.h: Same.
	* include/profile/impl/profiler_trace.h: Same.
	* include/ext/vstring.h: Same.
	* include/ext/algorithm: Same.
	* include/ext/pb_ds/detail/pat_trie_/pat_trie_.h.pp: Same.
	* include/ext/pb_ds/detail/bin_search_tree_/bin_search_tree_.h.pp: Same.
	* include/ext/pb_ds/detail/type_utils.hpp: Same.
	* include/ext/pb_ds/detail/splay_tree_/splay_tree_.hpp: Same
	* include/ext/pb_ds/detail/rb_tree_map_/rb_tree_.hpp: Same.
	* include/ext/rc_string_base.h: Same.
	* include/ext/stdio_sync_filebuf.h: Same.
	* include/ext/functional: Same.
	* include/ext/mt_allocator.h: Same.
	* include/bits/basic_ios.h: Same.
	* include/bits/stl_map.h: Same.
	* include/bits/stl_algobase.h: Same.
	* include/bits/stl_queue.h: Same.
	* include/bits/locale_classes.h: Same.
	* include/bits/stl_set.h: Same.
	* include/bits/locale_facets.h: Same.
	* include/bits/stl_stack.h: Same.
	* include/bits/stl_iterator_base_types.h: Same.
	* include/bits/basic_string.h: Same.
	* include/bits/stl_multimap.h: Same.
	* include/bits/ios_base.h: Same.
	* include/bits/stl_deque.h: Same.
	* include/bits/stl_multiset.h: Same.
	* include/bits/stl_iterator_base_funcs.h: Same.
	* include/bits/char_traits.h: Same.
	* include/bits/stl_algo.h: Same.
	* include/bits/stl_iterator.h: Same.
	* include/bits/stl_tempbuf.h: Same.
	* include/bits/random.tcc: Same.
	* include/bits/stl_function.h: Same.
	* include/bits/cpp_type_traits.h: Same.
	* include/bits/random.h: Same.
	* include/bits/allocator.h: Same.
	* include/bits/locale_facets_nonio.h: Same.
	* include/c_global/csignal: Same.
	* include/c_global/cstdlib: Same.
	* include/c_global/cstdio: Same.
	* include/c_global/cstdarg: Same.
	* include/c_global/cctype: Same.
	* include/c_global/cerrno: Same.
	* include/c_global/cmath: Same.
	* include/c_global/ciso646: Same.
	* include/c_global/ctime: Same.
	* include/c_global/clocale: Same.
	* include/c_global/climits: Same.
	* include/c_global/cassert: Same.
	* include/c_global/csetjmp: Same.
	* include/c_global/cwchar: Same.
	* include/c_global/cfloat: Same.
	* include/c_global/cstring: Same.
	* include/c_global/cstddef: Same.
	* include/c_global/cwctype: Same.
	* include/tr1/hypergeometric.tcc: Same.
	* include/tr1/random.tcc: Same.
	* include/tr1/functional: Same.
	* include/tr1/random.h: Same.
	* include/backward/auto_ptr.h: Same.
	* include/backward/binders.h: Same.
	* testsuite/23_containers/deque/requirements/dr438/assign_neg.cc:
	Adjust line numbers.
	* testsuite/23_containers/deque/requirements/dr438/insert_neg.cc: Same.
	* testsuite/23_containers/deque/requirements/dr438/constructor_1_neg.cc:
	Same.
	* testsuite/23_containers/deque/requirements/dr438/constructor_2_neg.cc:
	Same.

From-SVN: r156502
2010-02-04 18:20:34 +00:00
Tom Tromey
2480e18fe0 * testsuite/demangle-expected: Add missing --format=gnu-v3.
From-SVN: r156498
2010-02-04 16:54:31 +00:00
Joseph Myers
d1e4b9cbb4 * gcc.pot: Regenerate.
From-SVN: r156497
2010-02-04 16:22:03 +00:00
Richard Guenther
b0f19292d2 re PR rtl-optimization/42952 (possible integer wrong code bug)
2010-02-04  Richard Guenther  <rguenther@suse.de>

	PR rtl-optimization/42952
	* dse.c (const_or_frame_p): Remove MEM handling.

	* gcc.dg/torture/pr42952.c: New testcase.

From-SVN: r156494
2010-02-04 16:14:17 +00:00
Nick Clifton
f7eb48b53d mn10300.c (TARGET_ASM_OUTPUT_MI_THUNK): Define.
* config/mn10300/mn10300.c (TARGET_ASM_OUTPUT_MI_THUNK): Define.
        (TARGET_ASM_CAN_OUTPUT_MI_THUNK): Define.
        (function_arg): Use NULL_RTX and FIRST_ARGUMENT_REGNUM.
        (mn10300_asm_output_mi_thunk): New function.
        (mn10300_can_output_mu_thunk): New function.
        * config/mn10300/mn10300.h (FIRST_ARGUMENT_REGNUM): Define.
        (FUNCTION_ARG_REGNO_P): Fix comment.  Accept d0 and d1.
        (FUNCTION_ARG): Delete incorrect comment.

From-SVN: r156492
2010-02-04 08:49:55 +00:00
Eric Botcazou
3e5f930fc7 Fix a couple of nits
From-SVN: r156491
2010-02-04 08:37:25 +00:00
Jerry DeLisle
a6f4d51d82 re PR fortran/42901 (reading array of structures from namelist fails)
2010-02-03  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	PR libfortran/42901
	* gfortran.dg/namelist_60.f90: New test.

From-SVN: r156488
2010-02-04 01:53:37 +00:00
Jerry DeLisle
e3e2cdd182 re PR fortran/42901 (reading array of structures from namelist fails)
2010-02-03  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	PR libfortran/42901
	* io/list_read.c (nml_get_obj_data): Add new qualifier flag, clean up
	code, and adjust logic to set namelist info pointer correctly for array
	qualifiers of derived type components.

From-SVN: r156487
2010-02-04 01:49:41 +00:00
GCC Administrator
264c5d9a0f Daily bump.
From-SVN: r156486
2010-02-04 00:16:49 +00:00
Jason Merrill
2aac192471 re PR c++/40138 (ICE with invalid va_arg)
PR c++/40138
	* fold-const.c (operand_equal_p): Handle erroneous types.

From-SVN: r156483
2010-02-03 16:53:41 -05:00
Jason Merrill
f000c6a763 re PR c++/4926 (C++ ABI needs clarification on mangling of complex expressions)
PR c++/4926
	PR c++/38600
	* mangle.c (write_unqualified_id): Split out from write_expression.
	(write_unqualified_name): Call it.
	(write_member_name): Likewise.
	(write_expression): Support TEMPLATE_ID_EXPR.
	Disambiguate operator names.

From-SVN: r156482
2010-02-03 15:42:48 -05:00
Jason Merrill
abfe01cec9 re PR c++/12909 (ambiguity in mangling vector types)
PR c++/12909
	* mangle.c (write_type) [VECTOR_TYPE]: Change mangling.

From-SVN: r156481
2010-02-03 15:42:35 -05:00
Kaushik Phatak
07738b87c4 h8300.md (can_delay): Fix attibute condition.
* config/h8300/h8300.md (can_delay): Fix attibute condition.

From-SVN: r156480
2010-02-03 13:18:44 -07:00
Jonathan Wakely
b7200e3fbe condition_variable (condition_variable_any): Provide definitions for all members.
2010-02-03  Jonathan Wakely  <jwakely.gcc@gmail.com>

	* include/std/condition_variable (condition_variable_any): Provide
	definitions for all members.
	* src/condition_variable.cc (condition_variable_any): Adjust
	definitions.
	* config/abi/pre/gnu.ver: Adjust exports for condition_variable_any.
	* testsuite/30_threads/condition_variable_any/cons/assign_neg.cc:
	Adjust dg-error line number.
	* testsuite/30_threads/condition_variable_any/cons/copy_neg.cc:
	Likewise.
	* testsuite/30_threads/condition_variable_any/members/1.cc: New.
	* testsuite/30_threads/condition_variable_any/members/2.cc: New.
	* testsuite/30_threads/condition_variable_any/requirements/
	standard_layout.cc: Remove.
	* testsuite/30_threads/condition_variable_any/native_handle/
	typesizes.cc: Remove.

From-SVN: r156479
2010-02-03 20:16:22 +00:00
Vladimir Makarov
a7f3e500f2 re PR rtl-optimization/42941 (-fsched-pressure -fschedule-insns - valgrind warns about using uninitialized variable)
2010-02-03  Vladimir Makarov  <vmakarov@redhat.com>

	PR rtl-optimizations/42941
	* sched-deps.c (setup_insn_reg_pressure_info): Use xcalloc instead
	of xmalloc.

From-SVN: r156472
2010-02-03 19:01:31 +00:00
Jason Merrill
486f3abfba add missing ChangeLog
From-SVN: r156470
2010-02-03 11:29:17 -05:00
Jason Merrill
59d49708b2 re PR c++/35652 (offset warning should be given in the front-end)
PR c++/35652
	* builtins.c (c_strlen): Use EXPR_LOCATION in diagnostics.

From-SVN: r156469
2010-02-03 11:28:07 -05:00
Alexandre Oliva
5440c0e741 re PR debug/42896 (Random debug generation differences, bootstrap fails)
2010-02-03  Alexandre Oliva  <aoliva@redhat.com>

	PR debug/42896
	* cselib.h (struct cselib_val_struct): Add uid.  Rename value to
	hash.
	(cselib_reset_table): Renamed from...
	(cselib_reset_table_with_next_value): ... this.
	(cselib_get_next_uid): Renamed from...
	(cselib_get_next_unknown_value): ... this.
	* cselib.c (next_uid): Renamed from...
	(next_unknown_value): ... this.
	(cselib_clear_table): Adjust.
	(cselib_reset_table): Adjust.  Renamed from...
	(cselib_reset_table_with_next_value): ... this.
	(cselib_get_next_uid): Adjust.  Renamed from...
	(cselib_get_next_unknown_value): ... this.
	(get_value_hash): Use hash.
	(cselib_hash_rtx): Likewise.
	(new_cselib_val): Adjust.  Set and dump uid.
	(cselib_lookup_mem): Pass next_uid as hash.
	(cselib_subst_to_values): Likewise.
	(cselib_log_lookup): Dump uid.
	(cselib_lookup): Pass next_uid as hash.  Adjust.
	(cselib_process_insn): Adjust.
	(cselib_init): Initialize next_uid.
	(cselib_finish): Adjust.
	(dump_cselib_table): Likewise.
	* dse.c (canon_address): Dump value uid.
	* print-rtl.c (print_rtx): Print value uid.
	* var-tracking.c (VARIABLE_HASH_VAL): Dropped.
	(dvuid): New type.
	(dv_uid): New function, sort of renamed from...
	(dv_htab_hash): ... this, reimplemented in terms of it and...
	(dv_uid2hash): ... this.  New.
	(variable_htab_eq): Drop excess assertions.
	(tie_break_pointers): Removed.
	(canon_value_cmp): Compare uids.
	(variable_post_merge_New_vals): Print uids.
	(vt_add_function_parameters): Adjust.
	(vt_initialize): Reset table.  Adjust.

From-SVN: r156468
2010-02-03 15:00:33 +00:00
Richard Guenther
e3c70387dc re PR tree-optimization/42944 (errno misoptimization around malloc call)
2010-02-03  Richard Guenther  <rguenther@suse.de>

	PR tree-optimization/42944
	* tree-ssa-alias.c (ref_maybe_used_by_call_p_1): Handle
	calloc.
	(call_may_clobber_ref_p_1): Likewise.  Properly handle
	malloc and calloc clobbering errno.

	* gcc.dg/errno-1.c: New testcase.

From-SVN: r156467
2010-02-03 13:03:39 +00:00
Steven Bosscher
4cad6dba07 invoke.texi: Fix name of sched1 dump.
* doc/invoke.texi: Fix name of sched1 dump.

	* opts.c (decode_options): Set flag_tree_switch_conversion
	only conditionally on optimize >= 2.

	* gcse.c: Assorted comment fixes in pass description.

From-SVN: r156466
2010-02-03 12:36:27 +00:00
Anthony Green
693ee8cf85 Fix moxie tramponline alignment problem
From-SVN: r156465
2010-02-03 11:36:30 +00:00
Richard Guenther
bf8e3b779b re PR tree-optimization/42927 (type mismatch in shift expression produces ice with -O3)
2010-02-03  Richard Guenther  <rguenther@suse.de>

	PR middle-end/42927
	* tree-cfg.c (verify_gimple_assign_binary): Fix shift verification.

	* gcc.c-torture/compile/pr42927.c: New testcase.

From-SVN: r156464
2010-02-03 11:13:17 +00:00
Rainer Orth
bde17fdc4d config.gcc: Reenable check for obsolete targets.
* config.gcc: Reenable check for obsolete targets.
	Obsolete alpha*-dec-osf4*, alpha*-dec-osf5.0*, mips-sgi-irix5*,
	mips-sgi-irix6.[0-4]*.

From-SVN: r156462
2010-02-03 09:03:59 +00:00
Tobias Burnus
d8a8dab31c re PR fortran/42936 (Result of passing NULL() as actual arg doesn't inherit characteristics from the corresponding dummy arg)
2010-02-03  Tobias Burnus  <burnus@net-b.de>

        PR fortran/42936
        * interface.c (compare_parameter): Disable rank-checking
        for NULL().

2010-02-03  Tobias Burnus  <burnus@net-b.de>

        PR fortran/42936
        * gfortran.dg/null_4.f90: New test.

From-SVN: r156461
2010-02-03 09:26:08 +01:00
Paolo Carlini
23f8e984b7 vstring.h (__versa_string::shrink_to_fit): Fix for -fno-exceptions.
2010-02-02  Paolo Carlini  <paolo.carlini@oracle.com>

	* include/ext/vstring.h (__versa_string::shrink_to_fit): Fix
	for -fno-exceptions.

From-SVN: r156460
2010-02-03 00:38:52 +00:00
Benjamin Kosnik
036c0f63e1 allocator.h: Fix for -fno-exceptions.
2010-02-02  Benjamin Kosnik  <bkoz@redhat.com>

	* include/bits/allocator.h: Fix for -fno-exceptions.
	* include/bits/basic_string.h (basic_string::shrink_to_fit): Same.

From-SVN: r156459
2010-02-03 00:20:05 +00:00