Commit Graph

75851 Commits

Author SHA1 Message Date
Ranjit Mathew
3379268423 javaprims.h (_Jv_uintptr_t): New typedef similar to uintptr_t in C99.
* gcj/javaprims.h (_Jv_uintptr_t): New typedef similar to uintptr_t in
	C99.
	* include/java-stack.h: Include stdlib.h.
	(_Jv_AddrInfo): New structure to hold address information.
	* include/posix.h (_Jv_platform_dladdr): Declare.
	* include/win32.h (_Jv_platform_dladdr): Declare.
	(backtrace): Remove declaration.
	* posix.cc: Include dlfcn.h if available.  Include java-stack.h.
	(_Jv_platform_dladdr): Define.
	* win32.cc: Include string.h.  Include java-stack.h.
	(backtrace): Remove.
	(_Jv_platform_dladdr): Define.
	* sysdep/i386/backtrace.h (fallback_backtrace): Check that a potential
	frame pointer value is 32-bit word-aligned.  Use operand of the CALL
	instruction calling the current function to find its starting address.
	* stacktrace.cc: Do not include dlfcn.h.  Include platform.h.
	(_Jv_StackTrace::getLineNumberForFrame): Use _Jv_platform_dladdr()
	instead of dladdr().
	(_Jv_StackTrace::GetStackTraceElements): Use nCodeMap even for Windows.
	(_Jv_StackTrace::GetClassContext): Use fallback_backtrace() for
	targets with SJLJ exceptions instead of using _Unwind_Backtrace().
	(_Jv_StackTrace::GetFirstNonSystemClassLoader): Likewise.

From-SVN: r115069
2006-06-29 14:57:39 +00:00
Jason Merrill
6150b60261 re PR c++/27424 (Valid template-template-parameter rejected)
PR c++/27424
        * pt.c (convert_template_argument): Pass all template arguments
        on to coerce_template_template_parms.

From-SVN: r115063
2006-06-28 21:27:17 -04:00
Jason Merrill
9949572916 re PR c++/27768 (wrong-code with vectors)
PR c++/27768
        * tree-ssa-alias.c (compute_flow_insensitive_aliasing): Add
        may_aliases already in the tag's annotations to the bitmap.

From-SVN: r115062
2006-06-28 21:12:20 -04:00
Roger Sayle
8547c7f8c9 genpreds.c (write_predicate_stmts): Add missing break.
* genpreds.c (write_predicate_stmts) <IOR>: Add missing break.

From-SVN: r115061
2006-06-29 01:05:51 +00:00
GCC Administrator
443ffbdd1d Daily bump.
From-SVN: r115059
2006-06-29 00:17:29 +00:00
Roger Sayle
7caf673482 genpreds.c (generate_switch_p): New function.
* genpreds.c (generate_switch_p): New function.
	(add_mode_tests): Push the new mode test down inside an AND expr
	if this allows the switch-suitable MATCH_CODE to be near the root.
	(write_match_code_switch): New function to write a MATCH_CODE as
	a switch statement.
	(write_predicate_stmts): New function to write a predicate RTX
	expression as a sequence of statements.
	(write_one_predicate_function): Use write_predicate_stmts.
	(write_tm_constrs_h): Likewise.

From-SVN: r115055
2006-06-28 19:42:04 +00:00
GCC Administrator
092b194ebf Daily bump.
From-SVN: r115044
2006-06-28 00:17:39 +00:00
Benjamin Kosnik
80d207e326 rand_regression_test.hpp: Revert.
2006-06-27  Benjamin Kosnik  <bkoz@redhat.com>

	* testsuite/util/regression/rand/priority_queue/
	rand_regression_test.hpp: Revert.

From-SVN: r115040
2006-06-27 22:54:02 +00:00
Tom Tromey
9e01bff779 OutputStreamWriter.java (writeChars): Use a 'do' loop.
* java/io/OutputStreamWriter.java (writeChars): Use a 'do' loop.
	Set 'out.count' earlier.
	(close): Call setFinished on converter.
	(flush): Always write work buffer.
	* java/io/PrintStream.java (writeChars): Do 'do' loop.
	(close): Call setFinished on converter.  Write a 'flush' array.
	* java/lang/natString.cc (getBytes): Call setFinished on
	converter.
	* gnu/gcj/convert/CharsetToBytesAdaptor.java (hasBytes): New
	field.
	(write): Set hasBytes.  Changed 'finished' logic.
	(havePendingBytes): Rewrote.
	(setFinished): New method.
	* gnu/gcj/convert/UnicodeToBytes.java (setFinished): New method.
	* testsuite/libjava.lang/RH194522.java: New file.
	* testsuite/libjava.lang/RH194522.out: New file.

From-SVN: r115039
2006-06-27 20:38:10 +00:00
Benjamin Kosnik
80cd0e33d9 typelist.h (typelist_append): To append_typelist.
2006-06-27  Benjamin Kosnik  <bkoz@redhat.com>

	* include/ext/typelist.h (typelist_append): To append_typelist. 
	(typelist): To node.
	Enclose in namespace typelist.
	* testsuite/util/testsuite_common_types.h: Adjust names, namespaces.
	* testsuite/performance/23_containers/find/map.cc: Same.
	* testsuite/performance/23_containers/create/map.cc: Same.
	* testsuite/performance/23_containers/insert_erase/associative.cc: 
	Same.
	* testsuite/performance/23_containers/insert/sequence.cc: Same.
	* testsuite/performance/23_containers/insert/associative.cc: Same.
	* testsuite/performance/23_containers/create_from_sorted/set.cc: Same.
	* testsuite/performance/23_containers/index/map.cc: Same.
	* testsuite/performance/23_containers/insert_from_sorted/set.cc: Same.
	* testsuite/performance/23_containers/create_sort/list.cc: Same.
	* testsuite/performance/23_containers/sort_search/list.cc: Same.
	* testsuite/performance/23_containers/producer_consumer/sequence.cc: 
	Same.
	* testsuite/performance/23_containers/producer_consumer/associative.cc:
	Same.

From-SVN: r115038
2006-06-27 19:21:13 +00:00
Benjamin Kosnik
cad367a62b typelist.h (typelist_append): To append_typelist.
2006-06-27  Benjamin Kosnik  <bkoz@redhat.com>

	* include/ext/typelist.h (typelist_append): To append_typelist. 
	(typelist): To node.
	Enclose in namespace typelist.
	* testsuite/util/testsuite_common_types.h: Adjust names, namespaces.
	* testsuite/performance/23_containers/find/map.cc: Same.
	* testsuite/performance/23_containers/create/map.cc: Same.
	* testsuite/performance/23_containers/insert_erase/associative.cc: 
	Same.
	* testsuite/performance/23_containers/insert/sequence.cc: Same.
	* testsuite/performance/23_containers/insert/associative.cc: Same.
	* testsuite/performance/23_containers/create_from_sorted/set.cc: Same.
	* testsuite/performance/23_containers/index/map.cc: Same.
	* testsuite/performance/23_containers/insert_from_sorted/set.cc: Same.
	* testsuite/performance/23_containers/create_sort/list.cc: Same.
	* testsuite/performance/23_containers/sort_search/list.cc: Same.
	* testsuite/performance/23_containers/producer_consumer/sequence.cc: 
	Same.
	* testsuite/performance/23_containers/producer_consumer/associative.cc:
	Same.

From-SVN: r115037
2006-06-27 19:20:06 +00:00
Marco Trudel
776862ddc1 boehm.cc (_Jv_SuspendThread, [...]): Define conditionally on GC_PTHREADS...
2006-06-27  Marco Trudel  <mtrudel@gmx.ch>

	* boehm.cc (_Jv_SuspendThread, _Jv_ResumeThread): Define
	conditionally on GC_PTHREADS, !GC_SOLARIS_THREADS,
	!GC_WIN32_THREADS and !GC_DARWIN_THREADS.

From-SVN: r115036
2006-06-27 17:34:23 +00:00
Tom Tromey
10caa6ef96 re PR libgcj/28178 (jniEnv->DeleteLocalRef (null) fails)
PR libgcj/28178:
	* jni.cc (_Jv_JNI_DeleteLocalRef): Ignore null argument.
	(_Jv_JNI_DeleteGlobalRef): Likewise.
	* testsuite/libjava.jni/PR28178.java: New file.
	* testsuite/libjava.jni/PR28178.c: New file.
	* testsuite/libjava.jni/PR28178.out: New file.

From-SVN: r115034
2006-06-27 15:33:24 +00:00
Benjamin Kosnik
578089dba0 trie_no_data_map_rand.cc: Reduce iterations by half.
2006-06-26  Benjamin Kosnik  <bkoz@redhat.com>

	* testsuite/ext/pb_ds/regression/trie_no_data_map_rand.cc:
	Reduce iterations by half.
	* testsuite/ext/pb_ds/regression/hash_data_map_rand.cc: Same.
	* testsuite/ext/pb_ds/regression/hash_no_data_map_rand.cc: Same.
	* testsuite/ext/pb_ds/regression/list_update_data_map_rand.cc: Same.
	* testsuite/ext/pb_ds/regression/list_update_no_data_map_rand.cc: Same.
	* testsuite/ext/pb_ds/regression/priority_queue_rand.cc: Same.
	* testsuite/ext/pb_ds/regression/tree_data_map_rand.cc: Same.
	* testsuite/ext/pb_ds/regression/tree_no_data_map_rand.cc: Same.
	* testsuite/ext/pb_ds/regression/trie_data_map_rand.cc: Same.

	* testsuite/util/regression/rand/assoc/rand_regression_test.hpp:
	Set probability of compare from 1 to 0.25.
	* testsuite/util/regression/rand/priority_queue/
	rand_regression_test.hpp: Same.

From-SVN: r115032
2006-06-27 03:25:40 +00:00
GCC Administrator
e1c00594af Daily bump.
From-SVN: r115030
2006-06-27 00:18:07 +00:00
Jim Wilson
60ee1fe3e3 Fix typos in --param option docs.
* doc/invoke/texi (max-cselib-memory-locations): Add missing s at end.
(max-flow-memory-locations): Likewise.

From-SVN: r115026
2006-06-26 16:36:45 -07:00
Steve Ellcey
adf2ac06f4 re PR c++/28114 (ICE with struct definition in argument of template function)
PR c++/28114
	* g++.dg/other/pr28114.C: New.

From-SVN: r115025
2006-06-26 21:25:23 +00:00
Fred Fish
f340b6fc9b Add SB-1 specific multilib support. Patch by Fred Fish.
* config/mips/t-sb1: New file.
* config.gcc (mipsisa64sb1-*-elf*): Add mips/t-sb1 to
tmake_file list.

From-SVN: r115024
2006-06-26 14:16:30 -07:00
DJ Delorie
ff485e71cf [multiple changes]
2006-06-26  DJ Delorie  <dj@redhat.com>

	* config/m32c/m32c.c (m32c_print_operand): Fix sign-merging logic.

2006-06-26  Naveen H.S  <naveenh@kpitcummins.com>
	    Jayant Sonar  <jayants@kpitcummins.com>
	    Jaydeep Vipradas  <jaydeepv@kpitcummins.com>

	* config/m32c/addsub.md (addsi3, addsi3_1, addsi3_2): New.
	(subsi3, subsi3_1, subsi3_2): New.
	* config/m32c/bitops.md (andsi3, iorsi3, xorsi3): New.
	* config/m32c/mov.md (SI mov peephole): New.
	* config/m32c/m32.c (m32c_immd_dbl_mov): New.
	* config/m32c/m32c-protos.h (m32c_immd_dbl_mov): New.

From-SVN: r115023
2006-06-26 17:10:22 -04:00
Olivier Hainque
500c353d72 function.c (aggregate_value_p): Honor DECL_BY_REFERENCE on a CALL_EXPR target function declaration.
* function.c (aggregate_value_p): Honor DECL_BY_REFERENCE on
	a CALL_EXPR target function declaration.

From-SVN: r115022
2006-06-26 20:59:16 +00:00
Richard Guenther
28df01acc4 tree.c (build_string): Do not waste tail padding in struct tree_string.
2006-06-26  Richard Guenther  <rguenther@suse.de>

	* tree.c (build_string): Do not waste tail padding in
	struct tree_string.

From-SVN: r115021
2006-06-26 18:18:22 +00:00
Keith Seitz
49799ad34f posix-threads.h: Fix coding style aberrations from 2006-06-19 check-in.
* include/posix-threads.h: Fix coding style aberrations from
        2006-06-19 check-in.
        * posix-threads.cc (_Jv_ThreadDebugSuspend): Ditto.
        * include/win32-threads.h (_Jv_ThreadDebugSuspend): Ditto.
        * win32-threads.cc (_Jv_ThreadDebugSuspend): Ditto.

From-SVN: r115020
2006-06-26 17:59:42 +00:00
Keith Seitz
9330cba6e3 no-gc.h (_Jv_SuspendThread): Declare.
* include/no-gc.h (_Jv_SuspendThread): Declare.
        (_Jv_ResumeThread): Likewise.
        * include/boehm-gc.h (_Jv_SuspendThread): Declare.
        (_Jv_ResumeThread): Likewise.
        * nogc.cc (_Jv_SuspendThread): New function.
        (_Jv_ResumeThread): Likewise.
        * boehm.cc (_Jv_SuspendThread): New function.
        (_Jv_ResumeThread): Likewise.

From-SVN: r115019
2006-06-26 16:31:06 +00:00
Richard Guenther
a469a4f241 ggc-page.c (init_ggc): Add missing element to size_lookup table.
2006-06-26  Richard Guenther  <rguenther@suse.de>

        * ggc-page.c (init_ggc): Add missing element to size_lookup
        table.

        Revert
        2006-06-23  Richard Guenther  <rguenther@suse.de>

        * ggc-page.c (init_ggc): Do not round up the extra_order_size_table
        sizes to MAX_ALIGNMENT.  Fix the size_lookup table to honour
        alignment requests instead.  Add verification code.
        Add struct tree_function_decl and struct tree_binfo size to
        extra_order_size_table.  Add missing element to size_lookup
        table.

From-SVN: r115007
2006-06-26 10:32:26 +00:00
Paolo Carlini
bfe3e83159 random (operator<<(std::basic_ostream<>&, const linear_congruential<>&), [...]): Redo per TR1 specs; move out of line...
2006-06-25  Paolo Carlini  <pcarlini@suse.de>

	* include/tr1/random (operator<<(std::basic_ostream<>&,
	const linear_congruential<>&), operator>>(std::basic_istream<>&,
	linear_congruential<>&), operator<<(std::basic_ostream<>&,
	const mersenne_twister<>&), operator>>(std::basic_istream<>&,
	mersenne_twister<>&), operator<<(std::basic_ostream<>&,
	const subtract_with_carry<>&), operator>>(std::basic_istream<>&,
	subtract_with_carry<>&), operator<<(std::basic_ostream<>&,
	const discard_block<>&), operator>>(std::basic_istream<>&,
	discard_block<>&), operator<<(std::basic_ostream<>&,
	const xor_combine<>&), operator>>(std::basic_istream<>&,
	xor_combine<>&), operator<<(std::basic_ostream<>&,
	const uniform_int<>&), operator>>(std::basic_istream<>&,
	uniform_int<>&), operator<<(std::basic_ostream<>&,
	const bernoulli_distribution&), operator<<(std::basic_ostream<>&,
	const geometric_distribution<>&), operator<<(std::basic_ostream<>&,
	const uniform_real<>&), operator>>(std::basic_istream<>&,
	uniform_real<>&), operator<<(std::basic_ostream<>&,
	const exponential_distribution<>&), operator<<(std::basic_ostream<>&,
	const normal_distribution<>&), operator>>(std::basic_istream<>&,
	normal_distribution<>&)): Redo per TR1 specs; move out of line...
	* include/tr1/random.tcc: ... here.

From-SVN: r115003
2006-06-26 03:08:48 +00:00
GCC Administrator
51343d6aa1 Daily bump.
From-SVN: r115001
2006-06-26 00:17:33 +00:00
Joseph Myers
d0cd1ac332 * de.po: Update.
From-SVN: r114996
2006-06-26 00:04:28 +01:00
Eric Botcazou
858214db14 re PR middle-end/28151 (ICE with complex math)
PR middle-end/28151
	* fold-const.c (const_binop): Be prepared for self returning zero.
	Simplify code handling complex values.

From-SVN: r114992
2006-06-25 17:16:25 +00:00
Joseph Myers
036d1f6aac * zh_CN.po: Update.
From-SVN: r114990
2006-06-25 18:05:49 +01:00
Paul Thomas
d68bd5a8f2 re PR fortran/25056 (non-PURE function should not be a valid argument)
2006-06-25  Paul Thomas  <pault@gcc.gnu.org>
 
	PR fortran/25056
	* interface.c (compare_actual_formal): Signal an error if the formal
	argument is a pure procedure and the actual is not pure.

	PR fortran/27554
	* resolve.c (resolve_actual_arglist): If the type of procedure
	passed as an actual argument is not already declared, see if it is
	an intrinsic.

	PR fortran/25073
	* resolve.c (resolve_select): Use bits 1 and 2 of a new int to
	keep track of  the appearance of constant logical case expressions.
	Signal an error is either value appears more than once.

	PR fortran/20874
	* resolve.c (resolve_fl_procedure): Signal an error if an elemental
	function is not scalar valued.

	PR fortran/20867
	* match.c (recursive_stmt_fcn): Perform implicit typing of variables.

	PR fortran/22038
	* match.c (match_forall_iterator): Mark new variables as
	FL_UNKNOWN if the match fails.

	PR fortran/28119
	* match.c (gfc_match_forall): Remove extraneous call to
	gfc_match_eos.

	PR fortran/25072
	* resolve.c (resolve_code, resolve_function): Rework
	forall_flag scheme so that it is set and has a value of
	2, when the code->expr (ie. the forall mask) is resolved.
	This is used to change "block" to "mask" in the non-PURE
	error message.


2006-06-25  Paul Thomas  <pault@gcc.gnu.org>

	PR fortran/20867
	* gfortran.dg/stfunc_3.f90: New test.

	PR fortran/25056
	* gfortran.dg/impure_actual_1.f90: New test.

	PR fortran/20874
	* gfortran.dg/elemental_result_1.f90: New test.

	PR fortran/25073
	* gfortran.dg/select_7.f90: New test.

	PR fortran/27554
	* intrinsic_actual_1.f: New test.

	PR fortran/22038
	PR fortran/28119
	* gfortran.dg/forall_4.f90: New test.

	PR fortran/25072
	* gfortran.dg/forall_5.f90: New test.

From-SVN: r114987
2006-06-25 15:11:02 +00:00
Lee Millward
344f237baf re PR c++/28054 (ICE with friend declaration of invalid bitfield)
PR c++/28054
	* decl2.c (grokbitfield): Remove check for grokdeclarator
	returning NULL_TREE, instead check for error_mark_node
	to indicate failure.
	* decl.c (grokdeclarator): Adjust block comment.

	* g++.dg/other/incomplete3.C: New test.


Co-Authored-By: Mark Mitchell <mark@codesourcery.com>

From-SVN: r114986
2006-06-25 11:28:01 +00:00
Lee Millward
0fdc23b94d re PR c++/28051 (ICE on invalid conversion operator)
PR c++/28051
	* mangle.c (mangle_conv_op_name_for_type): Check for
	invalid types.
	*name-lookup.c (push_class_level_binding): Robustify.
	(do_class_using_decl): Return early if name is error_mark_node.

From-SVN: r114985
2006-06-25 11:07:05 +00:00
Eric Botcazou
8df7d4395a Move entry to proper file.
From-SVN: r114984
2006-06-25 10:33:10 +00:00
Francois-Xavier Coudert
ee4ac5b0b4 io.h: Move proto for unit_to_fd...
* io/io.h: Move proto for unit_to_fd...
	* libgfortran.h: ...here.

From-SVN: r114983
2006-06-25 08:46:09 +00:00
Paolo Carlini
7f09067fef random (class normal_distribution<>): Add.
2006-06-24  Paolo Carlini  <pcarlini@suse.de>

	* include/tr1/random (class normal_distribution<>): Add.
	* include/tr1/random.tcc (normal_distribution<>::operator()): Define.
	
	* include/tr1/random.tcc (struct _Max): Remove, "inline" in the
	only user, mersenne_twister<>::max().

	* include/tr1/random.tcc (struct _Shift): Move...
	* include/tr1/random: ... here.

	* include/tr1/random.tcc (linear_congruential<>::
	linear_congruential(unsigned long), linear_congruential<>::
	linear_congruential(_Gen&), mersenne_twister<>::max())): Move inline...
	* include/tr1/random: ... here.

	* include/tr1/random (exponential_distribution<>::
	exponential_distribution(const result_type&)): Add missing
	_GLIBCXX_DEBUG_ASSERT.

	* testsuite/tr1/5_numerical_facilities/random/
	exponential_distribution/requirements/typedefs.cc: New.
	* testsuite/tr1/5_numerical_facilities/random/
	normal_distribution/requirements/typedefs.cc: Likewise.
	* testsuite/tr1/5_numerical_facilities/random/
	bernoulli_distribution/requirements/typedefs.cc: Likewise.
	* testsuite/tr1/5_numerical_facilities/random/
	geometric_distribution/requirements/typedefs.cc: Likewise.

From-SVN: r114982
2006-06-25 01:23:17 +00:00
GCC Administrator
762bd0488f Daily bump.
From-SVN: r114980
2006-06-25 00:17:12 +00:00
Joseph Myers
423c6f59a7 * sv.po: Update.
From-SVN: r114973
2006-06-24 19:34:14 +01:00
Francois-Xavier Coudert
97bca5132a re PR fortran/28081 (Undue compile-time error for zero-sized substring)
PR fortran/28081

	* resolve.c (resolve_substring): Don't issue out-of-bounds
	error messages when the range has zero size.

	* gfortran.dg/substr_3.f: New test.
	* gfortran.dg/equiv_2.f90: Update expected error message.

From-SVN: r114972
2006-06-24 18:10:47 +00:00
Francois-Xavier Coudert
8fa3657824 re PR fortran/23862 (Select Fortran source form appropriately for "-pipe")
PR fortran/23862
	* lang-specs.h (f95-cpp-input): Pass -ffree-form to f951 unless
	-ffixed-form is explicitly specified.

From-SVN: r114970
2006-06-24 16:06:28 +00:00
Joseph Myers
a253223291 be.po, [...]: Update.
* be.po, ca.po, da.po, de.po, el.po, es.po, fr.po, ja.po, nl.po,
	rw.po, sv.po, tr.po, vi.po, zh_CN.po, zh_TW.po: Update.

From-SVN: r114967
2006-06-24 16:40:32 +01:00
Joseph Myers
0bf5baf8bc be.po, [...]: Update.
* be.po, ca.po, da.po, de.po, el.po, es.po, fr.po, ja.po, nl.po,
	rw.po, sv.po, tr.po, zh_CN.po, zh_TW.po: Update.

From-SVN: r114966
2006-06-24 16:39:43 +01:00
Paul Thomas
32fdfa2dfa re PR fortran/28118 (ICE calling subroutine defined via explicit interface)
2006-06-24  Paul Thomas  <pault@gcc.gnu.org>

	PR fortran/28118
	* trans-array.c (gfc_conv_expr_descriptor): When building temp,
	use the substring reference to calculate the length if the
	expression does not have a charlen.

2006-06-24  Paul Thomas  <pault@gcc.gnu.org>

	PR fortran/28118
	* gfortran.dg/actual_array_substr_1.f90: New test.

From-SVN: r114964
2006-06-24 13:04:37 +00:00
Olivier Hainque
61c25908fd gimplify.c (gimplify_scalar_mode_aggregate_compare): New function.
* gimplify.c (gimplify_scalar_mode_aggregate_compare): New function.
	(gimplify_expr): Use it for tcc_comparison of operands of non BLKmode
	aggregate types.

	* tree-ssa-loop-im.c (for_each_index): Handle ARRAY_RANGE_REF as
	ARRAY_REF, so have the callback called for the low bound expression.

	* gnat.dg/scalar_mode_agg_compare_loop.adb: New test.
	* gnat.dg/scalar_mode_agg_compare.adb: New test.

From-SVN: r114963
2006-06-24 12:47:48 +00:00
Francois-Xavier Coudert
7606c786fd ierrno.c: Don't include "io/io.h".
* intrinsics/ierrno.c: Don't include "io/io.h".
	* intrinsics/sleep.c: Likewise.
	* intrinsics/perror.c: Likewise.
	* intrinsics/stat.c: Likewise.
	* intrinsics/kill.c: Likewise.
	* intrinsics/time.c: Likewise.
	* intrinsics/fnum.c: Likewise.
	* intrinsics/rename.c: Likewise.
	* intrinsics/symlnk.c: Likewise.
	* intrinsics/chdir.c: Likewise.
	* intrinsics/link.c: Likewise.
	* intrinsics/random.c: Don't include "io/io.h". Include	<gthr.h>.
	* intrinsics/rand.c: Likewise.

From-SVN: r114962
2006-06-24 12:34:51 +00:00
Francois-Xavier Coudert
3e7cb1c7e7 re PR fortran/28094 (Modulo of real(kind=10) variables doesn't work)
PR fortran/28094

	* trans-intrinsic.c (gfc_conv_intrinsic_mod): Support cases where
	there is no integer kind equal to the resulting real kind.
	* intrinsic.c (add_functions): MODULO is not allowed as an actual
	argument.

	* Makefile.am: Add _mod_r10.F90 and _mod_r16.F90.
	* Makefile.in: Regenerate.
	* generated/_mod_r10.F90: New file.
	* generated/_mod_r16.F90: New file.

From-SVN: r114961
2006-06-24 08:27:32 +00:00
GCC Administrator
35157c5e55 Daily bump.
From-SVN: r114959
2006-06-24 00:17:25 +00:00
Benjamin Kosnik
3a58a61437 re PR libstdc++/27984 (installed libstdc++ testing broken)
2006-06-23  Benjamin Kosnik  <bkoz@redhat.com>

	PR libstdc++/27984
	* testsuite/lib/libstdc++.exp (libstdc++_init): Adjust
	testing includes.
	* docs/html/test.html: Adjust for testsuite changes.

From-SVN: r114955
2006-06-24 00:13:08 +00:00
Steve Ellcey
c5f8391c77 re PR c++/28114 (ICE with struct definition in argument of template function)
PR c++/28114
	* name-lookup.c (pushtag): Return if we have error_mark_node.

From-SVN: r114953
2006-06-23 21:58:25 +00:00
Steve Ellcey
e135a63713 re PR c++/27019 (ICE with designated initializers)
PR c++/27019
	* typeck2.c (process_init_constructor_array): Set ce->value on errors.

From-SVN: r114952
2006-06-23 21:53:36 +00:00
Janis Johnson
5fc89bfdd7 tree.h (DECIMAL_FLOAT_TYPE_P): New.
* tree.h (DECIMAL_FLOAT_TYPE_P): New.
	* c-typeck.c (c_common_type): Disallow operations on decimal float
	types and other float types.
	* convert.c (convert_to_real): Don't ignore conversions involving
	decimal float types.

testsuite:
	* gcc.dg/dfp/usual-arith-conv-bad.c: New test.

From-SVN: r114951
2006-06-23 21:17:53 +00:00