Commit Graph

72952 Commits

Author SHA1 Message Date
Nathan Sidwell
a66de72e72 thunk3.C: Adjust regexp to be 64bit safe.
* g++.dg/abi/thunk3.C: Adjust regexp to be 64bit safe.
	* g++.dg/abi/thunk4.C: Likewise.

From-SVN: r109220
2006-01-01 13:29:46 +00:00
Andreas Jaeger
60b81a6fb1 loadpre6.c: Fix prototype of malloc to be portable.
* gcc.dg/tree-ssa/loadpre6.c: Fix prototype of malloc to be
        portable.

From-SVN: r109219
2006-01-01 13:39:51 +01:00
Jerry DeLisle
a7c633eaef re PR libfortran/25594 (LAPACK regression in schkbl.f)
2005-12-31  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	PR libgfortran/25594
	PR libgfortran/25419
	* io/list_read.c (list_formatted_read_scalar): Test for comma to return
	a null value (default). Revert patch of 25419 on 2005-12-28.

From-SVN: r109211
2006-01-01 02:45:22 +00:00
GCC Administrator
cfcbf84624 Daily bump.
From-SVN: r109208
2006-01-01 00:17:41 +00:00
Jakub Jelinek
d09e893f10 re PR c++/25294 (Bogus "unterminated comment" error from #pragma comment)
PR c++/25294
	* directives.c (do_pragma): If pragma line ends with multi-line
	block comment, end the saved deferred pragma string before that
	comment.  Handle embedded '\0' chars on the pragma line.

	* gcc.dg/pragma-pack-3.c: New test.
	* g++.dg/parse/pragma3.C: New test.

From-SVN: r109201
2006-01-01 00:45:58 +01:00
Andrew Pinski
2984956b2f re PR tree-optimization/25612 (Ada bootstrap failure on x86_64 find_or_generate_expression, at tree-ssa-pre.c:2028)
2005-12-31  Andrew Pinski  <pinskia@ohysics.uc.edu>

        PR tree-opt/25612
        * tree-ssa-pre.c (compute_avail): Treat the static chain decl as a
        parameter and pretend that it is defined in the entry basic block.

From-SVN: r109200
2005-12-31 11:38:05 -08:00
John David Anglin
67570aba0d re PR middle-end/24827 (FAIL: gcc.dg/attr-weakref-1.c)
PR middle-end/24827
	* gcc.dg/attr-weakref-1.c: Skip test on hppa*-*-hpux*.

From-SVN: r109197
2005-12-31 02:12:34 +00:00
Kaveh R. Ghazi
b8dc9b746a re PR testsuite/25214 (-fpic/-fPIC failures in gcc.dg/i386-local2.c)
PR testsuite/25214
	* gcc.target/i386/local2.c: Skip if ilp32 and -fpic/-fpic.

From-SVN: r109193
2005-12-31 00:46:05 +00:00
Bob Wilson
4fb358b857 xtensa-config.h (XCHAL_HAVE_WIDE_BRANCHES): New.
include/
	* xtensa-config.h (XCHAL_HAVE_WIDE_BRANCHES): New.

From-SVN: r109191
2005-12-31 00:29:42 +00:00
GCC Administrator
ea79aa1a40 Daily bump.
From-SVN: r109188
2005-12-31 00:17:32 +00:00
Kazu Hirata
1f45242431 tree-outof-ssa.c (_elim_graph): Change the type of STACK to VEC(int,heap).
* tree-outof-ssa.c (_elim_graph): Change the type of STACK to
	VEC(int,heap).
	(new_elim_graph, delete_elim_graph, elim_forward,
	eliminate_phi): Use the VEC API on STACK.

From-SVN: r109182
2005-12-30 23:57:30 +00:00
Daniel Berlin
c90186eb1a tree.h (VALUE_HANDLE_VUSES): New.
2005-12-29  Daniel Berlin  <dberlin@dberlin.org>

	* tree.h (VALUE_HANDLE_VUSES): New.
	(struct tree_value_handle): Add vuses.

	* tree-vn.c (struct val_expr_pair_d): Remove stmt, add vuses.
	(vn_compute): Remove stmt argument.
	Don't use vuses in hash value computation.
	(val_expr_pair_eq): Compare vuse lists.
	(copy_vuses_from_stmt): New function.
	(shared_vuses_from_stmt): Ditto.
	(vn_add): Rewrite in terms of vn_add_with_vuses.
	(vn_add_with_vuses): New function.
	(vn_lookup): Rewrite in terms of vn_lookup_with_vuses.
	(vn_lookup_with_vuses): New function.
	(vuses_compare): New function.
	(print_creation_to_file): Ditto.
	(vn_lookup_or_add): Rewrite to handle vuses.
	(sort_vuses): New function.
	(vn_lookup_or_add_with_vuses): Ditto.
	(vn_init): Initialize shared_lookup_vuses.
	(vn_delete): Free shared_lookup_vuses.

	* tree-ssa-pre.c: Update todo list.
	(bb_value_sets_t): Add rvuse_in, rvuse_out, rvuse_gen, and
	rvuse_kill.
	(RVUSE_IN): New macro.
	(RVUSE_GEN): Ditto.
	(RVUSE_KILL): Ditto.
	(RVUSE_OUT): Ditto.
	(modify_expr_node_pool): New function.
	(pretemp): New.
	(storetemp): Ditto.
	(mergephitemp): Ditto.
	(prephitemp): Ditto.
	(struct expr_pred_trans_d): Add vuses member.
	(expr_pred_trans_eq): Compare vuses.
	(phi_trans_lookup): Add vuses argument.
	(phi_trans_add): Ditto.
	(translate_vuses_through_block): New function.
	(phi_translate): Use vuses to ask about those expressions that can
	have vuses.
	Properly translate virtual uses through phis, and use
	vn_lookup_or_add_with vuses.  Handle tcc_reference.
	(phi_translate_set): Don't add pointless translations to the
	cache.
	(get_representative): New function.
	(vuses_dies_in_block_x): Ditto.
	(valid_in_set): Add block argument.  Check virtual use validity.
	(clean): Add block argument. Update call to valid_in_set
	(compute_antic_aux): Update call to clean.
	(dump_bitmap_of_names): New function.
	(compute_vuse_representatives): Ditto.
	(compute_rvuse): Ditto.
	(can_value_number_call): Modified to accept calls with vuses.
	(can_value_number_operation): New function.
	(can_PRE_operation): Ditto.
	(need_creation): New vector of stores that may need creation.
	(find_or_generate_expression): use can_PRE_operation.
	(create_expression_by_pieces): Handle INDIRECT_REF.
	Only create one temp until we have to change types.
	Mark new vars for renaming.
	(insert_into_preds_of_block): Ignore loopiness of loads.
	Use can_PRE_operation.
	Only create one temp until we have to chnge types.
	(insert_aux): Use can_PRE_operation.
	Don't pass name to insert_into_preds_of_block.
	(insert_extra_phis): Only use one temp until we have to change
	types.
	(poolify_tree): New function.
	(modify_expr_template): New var.
	(poolify_modify_expr): New function.
	(insert_fake_stores): Ditto.
	(realify_fake_stores): Ditto.
	(compute_avail): Use can_value_number_operation.
	(mark_operand_necessary): Return NULL for non-SSA names.
	(remove_dead_inserted_code): Update comment.
	(init_pre): Initialize pretemp, need_creation, storetemp,
	mergephitemp, prephitemp.
	Create modify_expr_node_pool.
	(fini_pre): Free modify_expr_node_pool and need_creation array.
	(execute_pre): Call insert_fake_stores, compute_rvuse, and
	realify_fake_stores. 
	* tree-flow.h (vn_compute): Fix prototype.
	(vn_add): Ditto.
	(vn_lookup): Ditto.
	(sort_vuses): New.
	(vn_lookup_or_add_with_vuses): Ditto.
	(vn_add_with_vuses): Ditto.
	(vn_lookup_with_vuses): Ditto.
	* passes.c (pass_may_alias): Add.

From-SVN: r109180
2005-12-30 18:43:00 +00:00
Gabriel Dos Reis
a176426f35 c-pretty-print.h (struct c_pretty_print_info): Add new member "constant".
2005-12-30  Gabriel Dos Reis  <gdr@integrable-solutions.net>

        * c-pretty-print.h (struct c_pretty_print_info): Add new
          member
        "constant".
        (pp_constant): New macro.
        * c-pretty-print.c (pp_c_pretty_printer_init): Set
          pp->constant.

cp/
2005-12-30  Gabriel Dos Reis  <gdr@integrable-solutions.net>

        * cxx-pretty-print.c (pp_cxx_constant): New.  Print
        string-literal in parens if input program says so.
        (pp_cxx_primary_expression): Hand off constant printing to
        pp_cxx_constant.
        (pp_cxx_pretty_printer_init): Set pp->c_base.constant.
        (pp_cxx_expression): Use pp_cxx_constant for literals.
        * error.c (dump_expr): Use pp_constant for literals.

From-SVN: r109176
2005-12-30 17:27:28 +00:00
Erik Edelmann
cf013e9fdb re PR fortran/22607 (Elemental character functions don't work)
fortran/
2005-12-30  Erik Edelmann  <eedelman@gcc.gnu.org>

        PR fortran/22607
        * trans-decl.c(gfc_get_extern_function_decl): Don't set
        DECL_IS_PURE (fndecl) = 1 for return-by-reference
        functions.

        fortran/PR 25396
        * interface.c (gfc_extend_expr): Initialize
        e->value.function.name to NULL.



testsuite/
2005-12-30  Erik Edelmann  <eedelman@gcc.gnu.org>

        PR fortran/22607
        * gfortran-dg/pure_byref_3.f90: New.

        fortran/PR 25396
        * gfortran.dg/userdef_operator_1.f90: New.

From-SVN: r109171
2005-12-30 15:02:44 +00:00
John David Anglin
ae21215e5c re PR middle-end/25586 (FAIL: gfortran.dg/cray_pointers_2.f90 at -O2 and above)
PR fortran/25586
	* pa.md: Remove REG_POINTER check from REG+REG peephole2 floating-point
	store patterns.

From-SVN: r109166
2005-12-30 05:44:16 +00:00
GCC Administrator
3bc77af76f Daily bump.
From-SVN: r109160
2005-12-30 00:17:40 +00:00
Kenneth Zadeck
1bc40c7e8a bitmap.c (bitmap_element_free, [...]): Added code to properly maintain the variants associated with the CURRENT and...
2005-12-29 Kenneth Zadeck <zadeck@naturalbridge.com>

	* bitmap.c (bitmap_element_free, bitmap_element_link,
	bitmap_elt_insert_after, bitmap_and, bitmap_and_compl,
	bitmap_and_compl, bitmap_ior, bitmap_ior_into, bitmap_xor,
	bitmap_xor_into): Added code to properly maintain the variants
	associated with the CURRENT and HEAD fields.
	(bitmap_popcount, bitmap_clear_range, bitmap_compl_and_into): New
	functions. * bitmap.h: Added defs for bitmap_popcount,
	bitmap_clear_range, and bitmap_compl_and_into.

From-SVN: r109153
2005-12-29 19:41:21 +00:00
Mike Stump
3dd9b65f61 invoke.texi (Objective-C and Objective-C++ Dialect Options -fobjc-exceptions): Don't imply this doesn't work with the GNU runtime.
* doc/invoke.texi (Objective-C and Objective-C++ Dialect Options
        -fobjc-exceptions): Don't imply this doesn't work with the GNU
        runtime.

From-SVN: r109151
2005-12-29 19:39:29 +00:00
John David Anglin
4580c9a649 s-osinte-linux-hppa.ads: Correct alignment of atomic_lock_t.
* s-osinte-linux-hppa.ads: Correct alignment of atomic_lock_t.

From-SVN: r109150
2005-12-29 19:37:51 +00:00
Nathan Sidwell
bf2f234e75 varasm.c (get_section): Use gcc_assert.
* varasm.c (get_section): Use gcc_assert.
cp:
	* method.c (make_thunk): Don't set comdat_linkage here.
	(use_thunk): Make thunk one only here, if thunk target is
	DECL_ONE_ONLY.
testsuite:
	* g++.dg/abi/thunk3.C: New.
	* g++.dg/abi/thunk4.C: New.

From-SVN: r109149
2005-12-29 16:38:26 +00:00
Paul Brook
42b67c06ed m68k.h (RETURN_ADDR_RTX): Define.
2005-12-29  Paul Brook  <paul@codesourcery.com>

	* config/m68k/m68k.h (RETURN_ADDR_RTX): Define.
	* config/m68k/m68k.c (m68k_initial_elimination_offset): Remove FIXME.
	Include offset due to FIRST_PARM_OFFSET.

From-SVN: r109147
2005-12-29 15:23:23 +00:00
Paul Brook
1a50d5e9d2 lb1sf68.asm (__cmpdf2): Fix typo in immediate mask.
2005-12-29  Paul Brook  <paul@codesourcery.com>

	* config/m68k/lb1sf68.asm (__cmpdf2): Fix typo in immediate mask.
	Create wrapper and rename body...
	(__cmpdf2_internal): ... to this.  Return correct value for unordered
	result.
	(__cmpsf2): Create wrapper and rename body...
	(__cmpsf2_internal): ... to this.  Return corerct value for unordered
	result.
	(__eqdf2, __nedf2, __gtdf2, __gedf2, __ltdf2, __ledf2): Use
	__cmpdf2_internal.
	(__eqsf2, __nesf2, __gtsf2, __gesf2, __ltsf2, __lesf2): Use
	__cmpsf2_internal.

From-SVN: r109145
2005-12-29 15:16:50 +00:00
Paul Brook
75a75b8850 fpgnulib.c (__extendsfdf2): Handle negative zero.
2005-12-29  Paul Brook  <paul@codesourcery.com>

	* config/m68k/fpgnulib.c (__extendsfdf2): Handle negative zero.
	(__truncdfsf2): Ditto.
	(__extenddfxf2): Ditto.
	(__truncxfdf2): Ditto.
	* config/m68k/lb1sf68.asm (__addsf3): Return -0.0 for -0.0 + -0.0.
	(__adddf3): Ditto.

From-SVN: r109143
2005-12-29 15:14:12 +00:00
Paul Brook
338276300e m68k.c (m68k_output_pic_call): Don't use bsr.l for !TARGET_68020.
2005-12-29  Daniel Jacobowitz  <dan@codesourcery.com>
	Paul Brook  <paul@codesourcery.com>

	* config/m68k/m68k.c (m68k_output_pic_call): Don't use bsr.l for
	!TARGET_68020.
	* config/m68k/t-m68kelf (EXTRA_PARTS): Remove.
	(EXTRA_MULTILIB_PARTS): Set.
	* config/m68k/t-uclinux (EXTRA_PARTS): Remove.
	(EXTRA_MULTILIB_PARTS): Set.

From-SVN: r109141
2005-12-29 15:08:43 +00:00
Paul Thomas
486fd3c90c re PR fortran/25532 (ICE in gfc_conv_component_ref, at fortran/trans-expr.c:269)
2005-12-29  Paul Thomas  <pault@gcc.gnu.org>

	PR fortran/25532
	* trans-types.c (copy_dt_decls_ifequal): Copy declarations for
	components of derived type components by recursing into
	gfc_get_derived_type.

2005-12-29  Paul Thomas  <pault@gcc.gnu.org>

	PR fortran/25532
	*gfortran.dg/host_used_types_1.f90: Check that host associated
	derived type components of derived types are properly declared
	in contained procedures.

From-SVN: r109138
2005-12-29 06:11:21 +00:00
Alan Modra
b69542f770 re PR target/25572 (ppc64 -mminimal-toc trashes r30)
PR target/25572
	* config/rs6000/rs6000.c (create_TOC_reference): Set regs_ever_live.

From-SVN: r109133
2005-12-29 11:40:05 +10:30
GCC Administrator
b8a8042f67 Daily bump.
From-SVN: r109130
2005-12-29 00:17:43 +00:00
Nathan Sidwell
6e0eea3137 config.gcc (mt-*-*): Add --with-arch support.
* config.gcc (mt-*-*): Add --with-arch support.
	(--with): Print accepted options on error.
	* config/mt/mt.h (OPTION_DEFAULT_SPECS): Define.

	* config/mt/mt.c (DEF_VEC_P(basic_block),
	DEF_VEC_ALLOC_P(basic_bloc,heap)): Remove from here.

From-SVN: r109124
2005-12-28 22:37:42 +00:00
Jerry DeLisle
03345deb5e re PR libfortran/25139 ("Invalid argument" error on I/O)
2005-12-28  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	PR libgfortran/25139
	* gfortran.dg/backspace_2.f: New test.

From-SVN: r109123
2005-12-28 21:12:52 +00:00
Jerry DeLisle
844234fb50 re PR libfortran/25139 ("Invalid argument" error on I/O)
2005-12-28  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	PR libgfortran/25139
	* io/unix.c (fd_truncate): Set s->active to zero.
	PR libgfortran/25510
	* libgfortran.h: Add ERROR_INTERNAL and ERROR_INTERNAL_UNIT.
	* runtime/error.c (translate_error): Add messages for new errors.
	* io/list_read.c (next_char): Use new errors.
	* io/transfer.c (next_record_r) (next_record_w): Use new errors.

From-SVN: r109122
2005-12-28 20:58:08 +00:00
Andrew Pinski
ff7417d4c9 re PR fortran/25587 (Garbage in output of -fdump-tree-original)
2005-12-28  Andrew Pinski  <pinskia@physics.uc.edu>

        PR fortran/25587
        * trans-io.c (gfc_build_st_parameter): Correct off by one error.

From-SVN: r109120
2005-12-28 11:21:55 -08:00
Anthony Green
b21606a6c0 natPlainSocketImplWin32.cc (connect): Same as previous patch, but for win32.
2005-12-28  Anthony Green  <green@redhat.com>
 
	* gnu/java/net/natPlainSocketImplWin32.cc (connect): Same 
	as previous patch, but for win32.

From-SVN: r109119
2005-12-28 18:47:18 +00:00
Anthony Green
44fae9caae natPlainSocketImplPosix.cc (connect): Record address and port before attempting anything.
2005-12-28  Anthony Green  <green@redhat.com>

	* gnu/java/net/natPlainSocketImplPosix.cc (connect): Record
	address and port before attempting anything.

From-SVN: r109116
2005-12-28 18:29:10 +00:00
Anthony Green
5c3bb9eb9e [multiple changes]
2005-12-27  Tom Tromey  <tromey@redhat.com>

	* gnu/java/nio/SelectorImpl.java: Added import.

2005-12-26  Anthony Green  <green@redhat.com>

        * java/net/Socket.java (connect): Don't close the socket on
        exceptions.

        * gnu/java/nio/SocketChannelImpl.java (read): Compute the right amount
        of data to read (dst.remaining()).
        * gnu/java/nio/DatagramChannelImpl.java (receive): Ditto.

        * gnu/java/nio/SelectorImpl.java (select): Handle OP_CONNECT
        properly.

From-SVN: r109114
2005-12-28 17:46:21 +00:00
John David Anglin
3779973b0b locks.h (compare_and_swap): Add ldcw semaphore to make operation atomic.
* sysdep/pa/locks.h (compare_and_swap): Add ldcw semaphore to make
	operation atomic.

From-SVN: r109110
2005-12-28 17:13:56 +00:00
Daniel Berlin
3eb046081b re PR tree-optimization/25394 (libgcc2.c:2033: ICE: tree check: expected tree that contains 'decl common' structure, have 'name_memory_tag')
2005-12-28  Daniel Berlin  <dberlin@dberlin.org>

	Fix PR tree-optimization/25394
	* fold-const.c (fold_checksum_tree): Guard 
	portions of checksumming with correct structure checks.

From-SVN: r109109
2005-12-28 14:09:28 +00:00
Paolo Carlini
bb8a23ac33 lwg-active.html, [...]: Import Revision 40.
2005-12-28  Paolo Carlini  <pcarlini@suse.de>

	* docs/html/ext/lwg-active.html, lwg-defects.html: Import Revision 40.

From-SVN: r109108
2005-12-28 14:08:07 +00:00
Rafael Ávila de Espíndola
b3482bb16a Make-lang.in: Remove distdir from comment.
2005-12-28  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>

        * Make-lang.in: Remove distdir from comment.

From-SVN: r109107
2005-12-28 14:25:46 +01:00
Rafael Ávila de Espíndola
2dfb0dd8af Make-lang.in (treelang.distdir): Remove.
2005-12-28  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>

        * Make-lang.in (treelang.distdir): Remove.

From-SVN: r109106
2005-12-28 14:25:26 +01:00
Chris Jefferson
001a2a47e2 testsuite_allocator.h (check_deallocate_null): Return true.
2005-12-28  Chris Jefferson  <chris@bubblescope.net>

	* testsuite/testsuite_allocator.h (check_deallocate_null): Return true.

From-SVN: r109104
2005-12-28 11:47:56 +00:00
Paolo Carlini
e7c59a0e02 [multiple changes]
2005-12-28  Paolo Carlini  <pcarlini@suse.de>

	* include/std/std_bitset.h (bitset<>::_M_copy_from_string,
	bitset<>::_M_copy_to_string, bitset<>::operator>>): Reverse loop.

	* testsuite/25_algorithms/heap/heap.cc (test01): Always enable
	complexity checks.
	* testsuite/18_support/numeric_limits/specialization.cc: Avoid
	unused parameter warning.
	* testsuite/18_support/numeric_limits/traps.cc: Acoid unused variable
	warning.
	* testsuite/ext/malloc_allocator/deallocate_global.cc: Fix format
	string.
	* testsuite/ext/malloc_allocator/deallocate_local.cc: Likewise.
	* testsuite/ext/array_allocator/2.cc: Remove unused variable.
	* testsuite/tr1/3_function_objects/mem_fn.cc: Avoid unused variable
	warnings.
	* testsuite/tr1/6_containers/unordered/instantiate/set.cc: Just
	instantiate.
	* testsuite/tr1/6_containers/unordered/instantiate/map.cc: Likewise.
	* testsuite/tr1/6_containers/unordered/instantiate/hash.cc: Likewise.
	* testsuite/tr1/6_containers/unordered/instantiate/multiset.cc:
	Likewise.
	* testsuite/tr1/6_containers/unordered/instantiate/multimap.cc:
	Likewise.
	* testsuite/tr1/6_containers/array/cons/aggregate_initialization.cc:
	Avoid unused variable warnings.
	* testsuite/tr1/6_containers/array/requirements/zero_sized_arrays.cc:
	Likewise.
	* testsuite/thread/18185.cc: Likewise.
	* testsuite/27_io/ios_base/storage/11584.cc: Likewise; avoid comparison
	between signed and unsigned warning.
	* testsuite/27_io/types/1.cc: Avoid unused variable warnings.
	* testsuite/testsuite_allocator.h (check_new): Likewise.
	(check_deallocate_null): Adjust return type.
	* testsuite/testsuite_hooks.h (bitmask_operators): Avoid unused
	variable warnings.
	* testsuite/21_strings/c_strings/wchar_t/24559.cc: Avoid unused
	variable warning.

2005-12-28  Chris Jefferson  <chris@bubblescope.net>

	* include/std/std_bitset.h (bitset<0>::set, bitset<0>::reset,
	bitset<0>::flip, bitset<0>::test): Add inline specializations for
	bitset<0>.

	* testsuite/tr1/6_containers/unordered/insert/multiset_range.cc
	(test01): Add static cast.
	* testsuite/tr1/6_containers/unordered/insert/set_range.cc
	(test01): Likewise.
	* testsuite/testsuite_hooks.h (operator==(NonDefaultConstructible,
	NonDefaultConstructible), operator<(NonDefaultConstructible,
	NonDefaultConstrictible)): Avoid unused parameter warning.

From-SVN: r109103
2005-12-28 09:57:57 +00:00
Jerry DeLisle
6c8ccf1c5a re PR libfortran/25550 (file data corrupted after reading end of file)
2005-12-28  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	PR libgfortran/25550
	* gfortran.dg/endfile.f: New test.

From-SVN: r109102
2005-12-28 07:21:20 +00:00
Jerry DeLisle
b5918dea9c re PR libfortran/25550 (file data corrupted after reading end of file)
2005-12-28  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	PR libgfortran/25550
	* io/file_pos.c (st_rewind): Reset bytes left so no error occurs in
	next_record_r.

From-SVN: r109101
2005-12-28 07:20:19 +00:00
Jerry DeLisle
f55be19d7b re PR libfortran/25419 (gfortran read does not take comma for default on one entry)
2005-12-28  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	PR libgfortran/25419
	* gfortran.dg/comma.f: New test.

From-SVN: r109100
2005-12-28 07:00:47 +00:00
Jerry DeLisle
93f006d8e3 re PR libfortran/25419 (gfortran read does not take comma for default on one entry)
2005-12-28  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	PR libgfortran/25419
	* io/list_read.c (list_formatted_read_scalar): Allow comma to return a
	null value (default).

From-SVN: r109099
2005-12-28 06:59:35 +00:00
Tobias Schlüter
618f4a9487 gfortran-dg.exp: Remove trailing whitespace.
* lib/gfortran-dg.exp: Remove trailing whitespace. ChangeLog lib/gfortran-dg.exp lib/fortran-torture.exp
* lib/fortran-torture.exp: Test with -fbounds-check instead of
-funroll-all-loops.

From-SVN: r109098
2005-12-28 02:28:35 +01:00
Kazu Hirata
c71070ab83 global.c, [...]: Move DEF_VEC_P(basic_block) and DEF_VEC_ALLOC_P(basic_block,{gc,heap}) to ...
* global.c, tree-ssa-pre.c: Move DEF_VEC_P(basic_block) and
	DEF_VEC_ALLOC_P(basic_block,{gc,heap}) to ...
	* basic-block.h: ... here.

From-SVN: r109097
2005-12-28 01:13:19 +00:00
GCC Administrator
420ab68e18 Daily bump.
From-SVN: r109094
2005-12-28 00:17:38 +00:00
Roger Sayle
fd6c76f462 fold-const.c (int_const_binop): Return NULL_TREE when an expression can't be evaluated at compile-time (instead...
* fold-const.c (int_const_binop): Return NULL_TREE when an expression
	can't be evaluated at compile-time (instead of calling abort).
	Return NULL_TREE for division (and modulus) by zero.
	(const_binop):  Return NULL_TREE for floating point operators that
	aren't handled by real_arithmetic.
	(fold_binary):  Eliminate "wins" variable, and "binary" label, by
	folding operators with constant operands early.  Assert that
	operands are non-NULL.

From-SVN: r109088
2005-12-27 23:27:34 +00:00
Alan Modra
5156c0c3a7 fp-int-convert-timode.c: Don't test IBM Extended Double long doubles or repeat tests when...
* gcc.dg/torture/fp-int-convert-timode.c: Don't test IBM
	Extended Double long doubles or repeat tests when long double is
	the same size as double.

From-SVN: r109087
2005-12-28 09:20:06 +10:30