Commit Graph

74751 Commits

Author SHA1 Message Date
Andreas Tobler 6d0b58a9aa configure.ac: Weaken the check for MMAP.
2006-04-22  Andreas Tobler  <a.tobler@schweiz.ch>

	* configure.ac: Weaken the check for MMAP.
	* configure: Rebuilt.
	* include/config.h.in: Likewise.

From-SVN: r113182
2006-04-23 00:17:26 +02:00
Andreas Tobler ac6ed182ed README: Remove notice about 'Crazy Comments'.
2006-04-22  Andreas Tobler  <a.tobler@schweiz.ch>

	* README: Remove notice about 'Crazy Comments'.
	* src/debug.c: Remove lint directives. Cleanup white spaces.
	* src/java_raw_api.c: Likewise.
	* src/prep_cif.c: Likewise.
	* src/raw_api.c: Likewise.
	* src/ffitest.c: Delete. No longer needed, all test cases migrated
	to the testsuite.
	* src/arm/ffi.c: Remove lint directives.
	* src/m32r/ffi.c: Likewise.
	* src/pa/ffi.c: Likewise.
	* src/powerpc/ffi.c: Likewise.
	* src/powerpc/ffi_darwin.c: Likewise.
	* src/sh/ffi.c: Likewise.
	* src/sh64/ffi.c: Likewise.
	* src/x86/ffi.c: Likewise.
	* testsuite/libffi.call/float2.c: Likewise.
	* testsuite/libffi.call/promotion.c: Likewise.
	* testsuite/libffi.call/struct1.c: Likewise.

From-SVN: r113181
2006-04-22 23:17:35 +02:00
Kazu Hirata 9542abd378 revert: op-common.h: Fix a typo.
Revert:
	* config/soft-fp/op-common.h: Fix a typo.

From-SVN: r113180
2006-04-22 16:45:28 +00:00
Frank Ch. Eigler 110c45636c re PR libmudflap/26864 (multithreaded mudflap not working)
2006-04-22  Frank Ch. Eigler  <fche@redhat.com>

	PR libmudflap/26864
	* common.opt (flag_mudflap_threads): Overload flag_mudflap.
	* tree-mudflap.c (flag_mudflap_threads): Derive from flag_mudflap.

From-SVN: r113179
2006-04-22 16:22:54 +00:00
Kazu Hirata 66a4ad3731 op-common.h, [...]: Fix comment typos.
* config/soft-fp/op-common.h, double-int.h, tree-ssa-dom.c:
	Fix comment typos.
	* doc/tm.texi: Fix a typo.

From-SVN: r113178
2006-04-22 16:19:56 +00:00
Kazu Hirata 9f9a713e7a * decl.c: Fix comment typos.
From-SVN: r113175
2006-04-22 16:12:34 +00:00
Joseph Myers 4f19e578a2 * gcc.c-torture/compile/20060421-1.c: New testcase.
From-SVN: r113173
2006-04-22 16:31:09 +01:00
Geoffrey Keating d6eeb3ba58 dwarf2out.c (struct die_struct): Document that die_sib makes a circular linked list.
* dwarf2out.c (struct die_struct): Document that die_sib makes
	a circular linked list.
	(FOR_EACH_CHILD): New.
	(reverse_die_lists): Delete.
	(reverse_all_dies): Delete.
	(add_dwarf_attr): Correct documentation.
	(remove_child_with_prev): New.
	(remove_child_TAG): Update for change to die_struct, use
	remove_child_with_prev.
	(add_child_die): Update for change to die_struct.
	(splice_child_die): Use remove_child_with_prev and add_child_die.
	(print_die): Use FOR_EACH_CHILD.
	(die_checksum): Likewise.
	(assign_symbol_names): Likewise.
	(output_location_lists): Likewise.
	(build_abbrev_table): Likewise.
	(calc_die_sizes): Likewise.
	(mark_dies): Likewise.
	(unmark_dies): Likewise.
	(unmark_all_dies): Likewise.
	(output_die): Likewise.
	(prune_unused_types_mark): Likewise.
	(prune_unused_types_walk): Likewise.
	(same_die_p): Update for change to die_struct.
	(break_out_includes): Likewise.
	(prune_unused_types_prune): Likewise.
	(add_sibling_attributes): Use FOR_EACH_CHILD, simplify logic.
	(prune_unmark_dies): Use FOR_EACH_CHILD, don't clear die_mark if
	it's already clear.
	(dwarf2out_finish): Don't call reverse_all_dies.

From-SVN: r113171
2006-04-22 08:50:36 +00:00
Jakub Jelinek 6d360fd8f2 re PR fortran/26769 (Implement transpose() and reshape() for real instead of using integer)
PR fortran/26769
	* iresolve.c (gfc_resolve_reshape): Use reshape_r16 for real(16).
	(gfc_resolve_transpose): Use transpose_r16 for real(16).

	* Makefile.am (i_transpose_c): Add generated/transpose_r16.c.
	(i_reshape_c): Add generated/reshape_r16.c.
	* Makefile.in: Regenerated.
	* generated/transpose_r16.c: Generated new file.
	* generated/redhape_r16.c: Generated new file.

From-SVN: r113169
2006-04-22 09:08:58 +02:00
Eric Christopher 7a0b46c944 Commit ChangeLog entries.
From-SVN: r113168
2006-04-22 01:33:34 +00:00
Eric Christopher d1c788827f decl.c: Fix typo in function name.
2006-04-21  Eric Christopher  <echristo@apple.com>

	* decl.c: Fix typo in function name.

2006-04-21  Eric Christopher  <echristo@apple.com>

	* df-core.c, tree-outof-ssa.c, config/i386/i386.c: Fix typos
	in comments and function names.

From-SVN: r113167
2006-04-22 01:23:09 +00:00
GCC Administrator 3707352931 Daily bump.
From-SVN: r113162
2006-04-22 00:17:14 +00:00
Volker Reichelt f01da1a506 re PR c/25875 (ICE: segmentation fault)
PR c/25875
	* c-typeck.c (digest_init): Robustify.

	* gcc.dg/init-bad-4.c: New test.

From-SVN: r113153
2006-04-21 23:02:26 +00:00
Volker Reichelt 5d5e98dc75 * c-typeck.c (pop_init_level): Simplify.
From-SVN: r113152
2006-04-21 22:58:28 +00:00
Joseph Myers a71536acf8 de.po, [...]: Update.
* de.po, es.po, sv.po: Update.
	* zh_TW.po: New.

From-SVN: r113148
2006-04-21 20:49:54 +01:00
Joseph Myers ef8b9222b7 * de.po: Update.
From-SVN: r113146
2006-04-21 20:45:50 +01:00
Steve Ellcey 3144998ac1 * config/pa/t-pa64: Add dependencies on $(GCC_PASSES).
From-SVN: r113141
2006-04-21 17:39:15 +00:00
Paul Brook 87b24aaf2b arm.c (arm_override_options): Error on iWMMXt and hardware floating point.
2006-04-21  Paul Brook  <paul@codesourcery.com>

gcc/
	* config/arm/arm.c (arm_override_options): Error on iWMMXt and
	hardware floating point.
gcc/testsuite/
	* gcc.dg/arm-vfp1.c: Skip on iWMMXt cpus.

From-SVN: r113138
2006-04-21 17:05:51 +00:00
David Edelsohn e3604432aa rs6000.h (REG_CLASS_CONTENTS): Add sfp to NON_FLOAT_REGS.
* config/rs6000/rs6000.h (REG_CLASS_CONTENTS): Add sfp to
	NON_FLOAT_REGS.

From-SVN: r113136
2006-04-21 10:10:22 -04:00
Nick Clifton 15eaa78f1e * config/sh/t-elf (EXTRA_MULTILIB_PARTS): Include OPT_EXTRA_PARTS.
From-SVN: r113135
2006-04-21 08:10:42 +00:00
Paul Thomas 0e3e65bc57 re PR fortran/27122 (binary operator functions should require intent(in))
2006-04-21 Paul Thomas <pault@gcc.gnu.org>

	PR fortran/27122
	* resolve.c (resolve_function): Remove general restriction on auto
	character length function interfaces.
	(gfc_resolve_uops): Check restrictions on defined operator
	procedures.
	(resolve_types): Call the check for defined operators.

	PR fortran/27113
	* trans-array.c (gfc_trans_array_constructor_subarray): Remove
	redundant gfc_todo_error.
	(get_array_ctor_var_strlen): Remove typo in enum.

2006-04-21 Paul Thomas <pault@gcc.gnu.org>

	PR fortran/27122
	* gfortran.dg/defined_operators_1.f90: New test.
	* gfortran.dg/assumed_charlen_function_1.f90: Add new error and
	remove old ones associated, incorrectly, with Note 5.46.

	PR fortran/27113
	* gfortran.dg/character_array_constructor_1.f90: New test.

From-SVN: r113133
2006-04-21 05:10:22 +00:00
Alan Modra 56438901a6 re PR target/27230 (many obj-c++.dg tests ICE in rs6000_output_function_epilogue)
PR target/27230
	* config/rs6000/rs6000.c (rs6000_output_function_epilogue): Use
	C++ lang type in traceback table for Objective-C++.

	* config/rs6000/rs6000.c (rs6000_gimplify_va_arg): Update comment.

From-SVN: r113130
2006-04-21 11:22:13 +09:30
GCC Administrator b74adad96b Daily bump.
From-SVN: r113128
2006-04-21 00:17:08 +00:00
Bryce McKinlay 405827c59d re PR libgcj/27170 (Deadlock in garbage collector)
PR libgcj/27170
        * gnu/gcj/runtime/natSharedLibLoader.cc: Include gc.h to override
        dlopen(). From Anthony Green.

From-SVN: r113123
2006-04-21 00:47:56 +01:00
H.J. Lu a46cec70c7 i386.c (asm_preferred_eh_data_format): Reformat.
2006-04-20  H.J. Lu  <hongjiu.lu@intel.com>

	* config/i386/i386.c (asm_preferred_eh_data_format): Reformat.

From-SVN: r113122
2006-04-20 09:23:57 -07:00
Volker Reichelt 06866a7325 re PR c++/26789 (ICE on incomplete struct with -fmudflap)
PR mudflap/26789
	* tree-mudflap.c (mudflap_finish_file): Skip function when there
	were errors.  Remove check for erroneous objects.

From-SVN: r113121
2006-04-20 16:19:21 +00:00
Jeff Law bfc646bfc0 re PR tree-optimization/26854 (Inordinate compile times on large routines)
PR tree-optimization/26854
	* tree-ssa-dse.c (dse_optimize_stmt): Avoid num_imm_uses when
	checking for zero or one use.
	* tree-ssa-dom.c (propagate_rhs_into_lhs): Similarly.
	* tree-cfgcleanup.c (merge_phi_nodes): Similarly.
	* tree-ssa-reassoc.c (negate_value): Similarly.
	(reassociate_bb): Similarly.

From-SVN: r113120
2006-04-20 10:13:12 -06:00
Tom Tromey 45c792f50b re PR libgcj/21941 (NPE in Socket.connect())
PR libgcj/21941:
	* gnu/java/net/natPlainDatagramSocketImplPosix.cc (send): Throw
	UnknownHostException if needed.
	* gnu/java/net/natPlainSocketImplPosix.cc (connect): Throw
	UnknownHostException if needed.

From-SVN: r113118
2006-04-20 15:46:40 +00:00
Jakub Jelinek 455f78d9c6 c-pretty-print.c (pp_c_direct_abstract_declarator): Print TYPE_MAX_VALUE (TYPE_DOMAIN (t)) + 1 for ARRAY_TYPE rather than plain...
* c-pretty-print.c (pp_c_direct_abstract_declarator): Print
	TYPE_MAX_VALUE (TYPE_DOMAIN (t)) + 1 for ARRAY_TYPE rather
	than plain TYPE_MAX_VALUE (TYPE_DOMAIN (t)).

	* gcc.dg/20060419-1.c: New test.

From-SVN: r113112
2006-04-20 11:04:26 +02:00
Alan Modra 9a74f8ee3d rs6000.c (rs6000_gimplify_va_arg): Consume all fp regs if the last fp arg doesn't fit in regs.
* config/rs6000/rs6000.c (rs6000_gimplify_va_arg): Consume all
	fp regs if the last fp arg doesn't fit in regs.

From-SVN: r113111
2006-04-20 16:34:00 +09:30
Kaz Kojima 904b6a0eef re PR target/27182 (SH: wrong-code generation)
PR target/27182
	* config/sh/sh.md (movsicc_true+3): Tweak condition for the case
	that the last insn has the REG_INC note.

From-SVN: r113109
2006-04-20 01:54:20 +00:00
Carlos O'Donell 9dfb66b9fe re PR c/26774 (Out of memory compiling 9-line Delta-reduced Linux kernel driver msp3400.c)
gcc/

2006-04-19  Carlos O'Donell  <carlos@codesourcery.com>
	    Nathan Sidwell  <nathan@codesourcery.com>

	PR c/26774
	* stor-layout.c (update_alignment_for_field): Do not align 
	ERROR_MARK nodes.
	(place_union_field): Place union field at the start of the union.
	(place_field): Move ERROR_MARK check later, and use the current
	allocation position to maintain monotonicity.

gcc/testsuite/

2006-04-19  Carlos O'Donell  <carlos@codesourcery.com>

	PR c/26774
	* gcc.dg/struct-parse-1.c: New test case.


Co-Authored-By: Nathan Sidwell <nathan@codesourcery.com>

From-SVN: r113107
2006-04-20 00:21:51 +00:00
GCC Administrator 4fc1015b1d Daily bump.
From-SVN: r113105
2006-04-20 00:17:11 +00:00
Tom Tromey 453602827f Makefile.in: Rebuilt.
* Makefile.in: Rebuilt.
	* Makefile.am (CLEANFILES): Removed all_java_filelist_files,
	all_java_deps_files.

From-SVN: r113101
2006-04-19 23:05:14 +00:00
Paolo Carlini d9a4b9eecb re PR libstdc++/26424 (tr1/unordered vs 64-bit machines)
2006-04-19  Paolo Carlini  <pcarlini@suse.de>

	PR libstdc++/26424
	* include/tr1/hashtable (X<>::primes): Extend for 64-bit machines.
	(X<>::n_primes): Adjust.
	(prime_rehash_policy::next_bkt, bkt_for_elements, need_rehash): Adjust.

From-SVN: r113100
2006-04-19 22:58:23 +00:00
Volker Reichelt 94d285a53c re PR c++/26558 (segfault on syntax error)
PR c++/26558
	* parser.c (cp_parser_class_name): Check for invalid typenames.
	Rearrange code.

	* g++.dg/parse/template19.C: New test.

From-SVN: r113096
2006-04-19 22:03:24 +00:00
Volker Reichelt 51e8f10cf6 re PR c++/26789 (ICE on incomplete struct with -fmudflap)
PR mudflap/26789
	* testsuite/libmudflap.c++/error1-frag.cxx: New test.

	PR mudflap/26790
	* testsuite/libmudflap.c++/error2-frag.cxx: New test.

From-SVN: r113095
2006-04-19 21:47:03 +00:00
Volker Reichelt 91d876d91c Fix PR numbers.
From-SVN: r113094
2006-04-19 21:42:09 +00:00
Volker Reichelt 0014c2479a re PR c++/26739 (ICE in g++.old-deja/g++.pt/friend36.C)
PR c++/26739
	* pt.c (tsubst_friend_function): Return early if
	pushdecl_namespace_level fails.

	* g++.old-deja/g++.pt/friend36.C: Adjust error markers.

From-SVN: r113090
2006-04-19 18:07:19 +00:00
Volker Reichelt b815a6316c re PR c++/26036 (Treating a class object as a function with member variables causes hang)
PR c++/26036
	* typeck.c (convert_arguments): Return error_mark_node instead of
	error_mark_list.
	* cp-tree.h (error_mark_list): Remove declaration.
	* decl.c (error_mark_list): Remove definition.
	(cxx_init_decl_processing): Do not initialize error_mark_list.

	* g++.dg/expr/call3.C: New test.

From-SVN: r113087
2006-04-19 17:36:59 +00:00
Volker Reichelt d149fba0ff re PR c++/10385 (Internal compiler error in build_up_reference, at cp/cvt.c:353, on invalid dynamic_cast)
PR c++/10385
	* rtti.c (build_dynamic_cast_1): Check for invalid conversions
	before calling convert_to_reference.
	* cvt.c (convert_to_reference): Assert that reftype is a
	REFERENCE_TYPE.

	* g++.dg/conversion/dynamic1.C: New test.

From-SVN: r113084
2006-04-19 17:15:54 +00:00
Tom Tromey 37e7dc121d natFileChannelPosix.cc (write): Properly handle EINTR.
* gnu/java/nio/channels/natFileChannelPosix.cc (write): Properly
	handle EINTR.

From-SVN: r113082
2006-04-19 17:01:53 +00:00
Mark Mitchell fa6098f817 re PR c++/27102 (ICE with invalid class name in function template)
PR c++/27102
	* class.c (currently_open_class): Tidy.
	* decl.c (grokdeclarator): If we encounter an erroneous
	declarator, assume that we have already issued an error message
	and return.  Return error_mark_node instead of NULL_TREE in more
	places.  Issue errors about function definitions that do not have
	a function declarator.  Check for complete types for all function
	definitions. 
	* cp-tree.h (cp_error_declarator): Remove.
	(currently_open_class): Change return type.
	* parser.c (cp_parser_id_expression): Add optional_p parameter.
	(cp_parser_parse_diagnose_invalid_type_name): Adjust calls.
	(cp_parser_id_expression): Likewise.
	(cp_parser_unqualified_id): If the name is optional, return
	NULL_TREE.
	(cp_parser_postfix_dot_deref_expression): Adjust calls.
	(cp_parser_type_parameter): Likewise.
	(cp_parser_unqualified_id): Likewise.
	(cp_parser_direct_declarator): Likewise.
	(cp_parser_declarator_id): Add optional_p parameter.
	(cp_parser_function_definition_from_specifiers_and_declarator):
	Assume that start_function indicates failure only if it has issued
	an error.
	(cp_parser_omp_var_list_no_open): Adjust calls.
	
	PR c++/27102
	* g++.dg/template/crash35.C: Tweak error markers.
	* g++.dg/template/crash46.C: New test.
	* g++.old-deja/g++.brendan/friend4.C: Tweak error markers.
	* g++.old-deja/g++.pt/incomplete1.C: Likewise.

From-SVN: r113081
2006-04-19 16:58:23 +00:00
Zdenek Dvorak 74c96e0c14 dominance.c: Include timevar.h.
* dominance.c: Include timevar.h.
	(calculate_dominance_info): Use TV_DOMINANCE.
	* timevar.def (TV_DOMINANCE): New timevar.
	* Makefile.in (dominance.o): Add TIMEVAR_H dependency.

From-SVN: r113075
2006-04-19 12:48:35 +00:00
Andreas Krebbel 4414de4a96 PR reference added to ChangeLog
From-SVN: r113073
2006-04-19 11:56:18 +00:00
Andreas Krebbel e90cd8543a ifcvt.c (noce_emit_move_insn): Call store_bit_field if the resulting move would be an INSV insn.
2006-04-19  Andreas Krebbel  <krebbel1@de.ibm.com>

	* ifcvt.c (noce_emit_move_insn): Call store_bit_field if the resulting
	move would be an INSV insn.
	(noce_process_if_block): Don't optimize if the destination is a 
	ZERO_EXTRACT which can't be handled by noce_emit_move_insn.

2006-04-19  Andreas Krebbel  <krebbel1@de.ibm.com>

	* gcc.c-torture/compile/20060419-1.c: Added.

From-SVN: r113072
2006-04-19 11:45:41 +00:00
Andreas Krebbel 43a09b63d4 s390.md: Add comments with the instructions emitted by an insn pattern if macros are used.
2006-04-19  Andreas Krebbel  <krebbel1@de.ibm.com>

	* config/s390/s390.md: Add comments with the instructions emitted
	by an insn pattern if macros are used.

From-SVN: r113071
2006-04-19 10:42:19 +00:00
DJ Delorie e88a2c0973 configure.in (m32c): Build libstdc++-v3.
* configure.in (m32c): Build libstdc++-v3.  Pass flags to
reference libgloss so that libssp can be built in a combined
tree.
* configure: Regenerate.

From-SVN: r113066
2006-04-18 20:56:33 -04:00
GCC Administrator bca724e65d Daily bump.
From-SVN: r113064
2006-04-19 00:17:17 +00:00
Alan Modra 0f35201e17 re PR rtl-optimization/26026 (power of 2 mod missing optimisation)
PR rtl-optimization/26026
	* fold-const.c (fold_binary): Optimize div and mod where the divisor
	is a known power of two shifted left a variable amount.

From-SVN: r113060
2006-04-19 09:15:47 +09:30