Commit Graph

34840 Commits

Author SHA1 Message Date
Benjamin Kosnik b85381b911 ostreambuf_iterator.cc: New file.
2001-04-30  Benjamin Kosnik  <bkoz@redhat.com>

	libstdc++/2627
	* testsuite/24_iterators/ostreambuf_iterator.cc: New file.
	* include/bits/sbuf_iter.h (ostreambuf_iterator): Remove bogus
	specializations.

From-SVN: r41694
2001-04-30 20:53:31 +00:00
Stan Shebs 60de6385e1 * invoke.texi: Add a section documenting Objective-C options.
From-SVN: r41692
2001-04-30 18:17:13 +00:00
Benjamin Kosnik 2458d950f4 stl_iterator_base_funcs.h (__advance): Fix.
2001-04-30  Benjamin Kosnik  <bkoz@redhat.com>

	libstdc++/2964
	* include/bits/stl_iterator_base_funcs.h (__advance): Fix.

From-SVN: r41691
2001-04-30 18:07:51 +00:00
Benjamin Kosnik 9d377fd443 stl_iterator_base_funcs.h (__advance): Fix.
2001-04-30  Benjamin Kosnik  <bkoz@redhat.com>

	libstdc++/2964
	* include/bits/stl_iterator_base_funcs.h (__advance): Fix.

From-SVN: r41690
2001-04-30 17:48:41 +00:00
Benjamin Kosnik 215e98639b stl_iterator_base_funcs.h (__advance): Fix.
2001-04-30  Benjamin Kosnik  <bkoz@redhat.com>

	libstdc++/2964
	* include/bits/stl_iterator_base_funcs.h (__advance): Fix.

From-SVN: r41689
2001-04-30 17:41:29 +00:00
Andrew Haley d6e95df8d0 emit-rtl.c (try_split): Copy EH notes to sequence.
2001-04-27  Andrew Haley  <aph@cambridge.redhat.com>

        * emit-rtl.c (try_split):  Copy EH notes to sequence.

From-SVN: r41688
2001-04-30 16:07:26 +00:00
Mark Mitchell d60e54483d regmove.c (record_stack_memrefs): Catch all references to the stack pointer.
* regmove.c (record_stack_memrefs): Catch all references to the
	stack pointer.

	* optimize.c (update_cloned_parm): New function.
	(maybe_clone_body): Use it.  Update the `this' parameter too.

	* gcc.dg/20000724-1.c: Add a clobber of `esp'.

From-SVN: r41687
2001-04-30 15:09:51 +00:00
GCC Administrator fea633fdfb Daily bump.
From-SVN: r41679
2001-04-30 07:16:39 +00:00
Toomas Rosin fba3bbe316 quote shell assignment values
From-SVN: r41676
2001-04-29 21:24:16 +00:00
Kaveh R. Ghazi d4f2852fbc c-aux-info.c: NULL_PTR->NULL in calls to `concat'.
* c-aux-info.c: NULL_PTR->NULL in calls to `concat'.

	* gcc.c: Likewise.

	* prefix.c: Likewise.

From-SVN: r41675
2001-04-29 12:43:20 +00:00
Joseph Myers 7200764f6c decl2.c (unsupported_options): Add new-abi.
cp:
	* decl2.c (unsupported_options): Add new-abi.
	* lang-options.h: Remove no longer supported options.

testsuite:
	* g++.old-deja/g++.other/crash14.C: Remove -fnew-abi.

From-SVN: r41673
2001-04-29 12:48:40 +01:00
Kaveh R. Ghazi 962584ea56 jcf-io.c (read_zip_member): Cast to long in comparison with signed value.
* jcf-io.c (read_zip_member): Cast to long in comparison with
	signed value.

	* jvspec.c (lang_specific_driver): Initialize variables.

	* mangle.c (find_compression_record_match): Likewise.

	* typeck.c (build_null_signature): Provide static prototype.  Mark
	parameter with ATTRIBUTE_UNUSED.

	* verify.c (verify_jvm_instructions): Initialize variable.

From-SVN: r41671
2001-04-29 11:24:37 +00:00
GCC Administrator 31e54bc5f4 Daily bump.
From-SVN: r41669
2001-04-29 07:16:07 +00:00
Phil Edwards fb75f5eb71 run_doxygen: Minor tweaks.
2001-04-28  Phil Edwards  <pme@sources.redhat.com>

	* docs/doxygen/run_doxygen:  Minor tweaks.
	* docs/doxygen/style.css:  New file.
	* docs/doxygen/user.cfg.in:  Update using "doxygen -u" to get the
	latest parameters available.  Use style.css.

From-SVN: r41668
2001-04-29 01:40:34 +00:00
Stan Shebs 28df0b5ae3 objc-act.c (handle_class_ref): Rewrite to flush target specific code and use new macro...
* objc/objc-act.c (handle_class_ref): Rewrite to flush target
        specific code and use new macro ASM_DECLARE_UNRESOLVED_REFERENCE.
        * config/darwin.h (ASM_DECLARE_UNRESOLVED_REFERENCE): Define.
        * tm.texi (ASM_DECLARE_UNRESOLVED_REFERENCE): Document.

From-SVN: r41666
2001-04-29 00:12:51 +00:00
Stan Shebs f37f462aa6 darwin.h (STANDARD_EXEC_PREFIX): Don't define.
* config/darwin.h (STANDARD_EXEC_PREFIX): Don't define.
        (NEXT_OBJC_RUNTIME): Define.

From-SVN: r41665
2001-04-28 22:18:06 +00:00
Jan Hubicka 141e454b1e rtl.h (simplify_gen_relational): Add cmp_mode parameter.
* rtl.h (simplify_gen_relational): Add cmp_mode parameter.
	* simplify-rtx.c (simplify_gen_relational): Likewise.

	* simplify-rtx.c (simplify_replace_rtx): Handle relationals and MEMs.

	* i386.h (VALID_SSE_REG_MODE): Accept MMX modes if SSE2
	* i386.md (movsi_1, movdi2, movdi_1_rex64): Handle SSE2 moves.

	* i386.md (negsf2, negdf2, abssf2, absdf2): Force operands to
	registers in SSE case; fix handling of the immediates.
	(negsf2_ifs, abssf2_ifs): Tweak constraints; require
	operands to be in regsiters before reload.
	(negdf2_ifs, absdf2_ifs): Likewise; disable for 64bit
	(negdf2_ifs_rex64, absdf2_ifs_rtx64): New.
	(abstf,absxf,negtf,negxf splitters): Compute
	properly the regnum for x86_64.
	(avsdf2_if_rex64): New.

From-SVN: r41664
2001-04-28 19:16:30 +00:00
Jeffrey A Law 5bb86bf23d flow.c (propagate_block_delete_insn): Handle deletion of ADDR_VEC and ADDR_DIFF_VEC insns when...
* flow.c (propagate_block_delete_insn): Handle deletion of ADDR_VEC
        and ADDR_DIFF_VEC insns when the proceeding CODE_LABEL was put
        into the constant pool.
        * jump.c (jump_optimize_1): Remove barrier successors after all
        the LABEL_NUSES counds have been computed.
        (delete_barrier_successors): When deleting a tablejump insn, also
        delete the jump table it uses.
        * varasm.c (force_const_mem): Set LABEL_PRESERVE_P when forcing a
        label into memory.

From-SVN: r41662
2001-04-28 10:53:00 -06:00
Martin Kalen 3a432f1fae * pa.c (FRP): Remove erroneous white space in macro definition.
From-SVN: r41661
2001-04-28 23:53:34 +09:30
Andreas Jaeger 02f52e1923 invoke.texi: Use XX-bit instead of XXbit or XX bit where appropriate.
* invoke.texi: Use XX-bit instead of XXbit or XX bit where
	appropriate.
	* extend.texi: Likewise.
	* tm.texi: Likewise.

From-SVN: r41659
2001-04-28 13:35:04 +02:00
Andreas Jaeger 1e5f973d45 md.texi: Use XX-bit instead of XXbit or XX bit where appropriate.
* md.texi: Use XX-bit instead of XXbit or XX bit where
        appropriate.

From-SVN: r41656
2001-04-28 10:54:31 +02:00
Jens Schweikhardt 4275c4c400 re PR c/2347 (gcc does not accept "-l m" as POSIX permits (wants -lm))
* gcc.c (process_command): Allow -l lib in addition to -llib
	for POSIX compliance. This fixes PR c/2347.

	* invoke.texi: Update section on Link Options accordingly.

From-SVN: r41655
2001-04-28 08:08:03 +00:00
GCC Administrator 86b8ab9e48 Daily bump.
From-SVN: r41653
2001-04-28 07:16:11 +00:00
Jason Merrill d0029fc5be new
From-SVN: r41652
2001-04-28 01:11:21 -04:00
Zack Weinberg ad34a822c1 * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader): Use _Jv_Malloc.
From-SVN: r41651
2001-04-28 01:39:15 +00:00
Zack Weinberg 0539f1f709 prims.cc (_Jv_ThisExecutable): Use _Jv_Malloc.
* prims.cc (_Jv_ThisExecutable): Use _Jv_Malloc.
	* posix-threads.cc (_Jv_ThreadInitData): Use _Jv_Malloc.
	(_Jv_ThreadDestroyData): Use _Jv_Free.

From-SVN: r41650
2001-04-28 00:04:55 +00:00
Zack Weinberg cc2e8b2d91 function.c (purge_addressof_1): Remove the duplicate if (code == SET) block.
* function.c (purge_addressof_1): Remove the duplicate
	if (code == SET) block.  Fold the two if (code == ADDRESSOF)
	blocks together.

From-SVN: r41649
2001-04-27 23:55:03 +00:00
Benjamin Kosnik 3f3942e851 mainpage.doxy: New.
2001-04-27  Benjamin Kosnik  <bkoz@redhat.com>

	* docs/doxygen/mainpage.doxy: New.
	* docs/doxygen/user.cfg.in: Change default configuration. Single
	frame, other tweaks.

From-SVN: r41648
2001-04-27 23:38:14 +00:00
Jason Merrill 16842c1535 except.c (expand_eh_region_start): Don't start a new block.
* except.c (expand_eh_region_start): Don't start a new block.
        (expand_eh_region_end): Don't end a block.
        * stmt.c (expand_end_bindings): Don't end EH blocks.
        (expand_decl_cleanup): Starting an EH region won't change the block.
        (mark_block_as_eh_region, mark_block_as_not_eh_region): Lose.
        (is_eh_region): Lose.
        * tree.h: Adjust.

From-SVN: r41647
2001-04-27 19:25:20 -04:00
Franz Sirl 6fa0f379d5 Add forgotten entry.
From-SVN: r41646
2001-04-27 21:32:31 +00:00
Jeffrey Oldham 5897739e11 *** empty log message ***
From-SVN: r41645
2001-04-27 19:59:53 +00:00
Andreas Jaeger 994682b99a md.texi (Machine Constraints): Document additional i386 constraints and fix description of "A".
* md.texi (Machine Constraints): Document additional i386
        constraints and fix description of "A".

From-SVN: r41642
2001-04-27 21:35:03 +02:00
Per Bothner 9c491eb84b parse.y (java_expand_classes): Don't change ctxp_for_generation while iterating...
* parse.y (java_expand_classes):  Don't change ctxp_for_generation
	while iterating, since that could cause gc to lose stuff.

From-SVN: r41640
2001-04-27 12:12:20 -07:00
Toon Moene d06146e1af 20000629-1.x: Really commit removal.
2001-04-27  Toon Moene  <toon@moene.indiv.nluug.nl>

	* g77.f-torture/compile/20000629-1.x: Really commit removal.

From-SVN: r41638
2001-04-27 17:33:13 +00:00
Jeffrey A Law 58c35fc2d3 * tm.texi (TARGET_MEM_FUNCTIONS): Update text.
From-SVN: r41636
2001-04-27 10:42:07 -06:00
Tom Tromey 55cc31c086 jni.cc (_Jv_JNI_GetPrimitiveArrayRegion): Fixed bounds checking.
* jni.cc (_Jv_JNI_GetPrimitiveArrayRegion): Fixed bounds
	checking.
	(_Jv_JNI_SetPrimitiveArrayRegion): Likewise.

From-SVN: r41634
2001-04-27 16:09:54 +00:00
Tom Tromey 09efa46f6a jni.h (struct JNINativeInterface): Fixed types in Get/Set*ArrayRegion declarations.
2001-04-27  Martin Kahlert  <martin.kahlert@infineon.com>

	* include/jni.h (struct JNINativeInterface): Fixed types in
	Get/Set*ArrayRegion declarations.
	(class _Jv_JNIEnv): Likewise.

From-SVN: r41633
2001-04-27 16:09:10 +00:00
Nathan Sidwell 2d46ec8394 except.c (can_convert_eh): Don't check template parms, typename types etc.
cp:
	* except.c (can_convert_eh): Don't check template parms,
	typename types etc.
testsuite:
	* g++.old-deja/g++.eh/crash6.C: New test.

From-SVN: r41628
2001-04-27 13:33:46 +00:00
Nathan Sidwell 02a1a68c6a optimize.c (maybe_clone_body): Copy parameter names and locations.
cp:
	* optimize.c (maybe_clone_body): Copy parameter names and locations.
testsuite:
	* g++.old-deja/g++.other/warn7.C: New test.

From-SVN: r41627
2001-04-27 12:47:22 +00:00
Nathan Sidwell 5f6eeeb362 cp-tree.h (adjust_clone_args): Prototype new function.
cp:
	* cp-tree.h (adjust_clone_args): Prototype new function.
	* class.c (adjust_clone_args): New function.
	* decl.c (start_function): Call it for in charge ctors.
testsuite:
	* g++.old-deja/g++.other/defarg9.C: New test.

From-SVN: r41625
2001-04-27 10:47:36 +00:00
GCC Administrator 6e0263244c Daily bump.
From-SVN: r41623
2001-04-27 07:16:41 +00:00
Mark Mitchell 1b28d441b2 method.c (use_thunk): Make sure that thunks really are emitted when requested.
* method.c (use_thunk): Make sure that thunks really are emitted
	when requested.

From-SVN: r41621
2001-04-27 05:08:39 +00:00
Tom Tromey f24fd724c2 libjava.exp (libjava_init): Use UTF-8 encoding.
* lib/libjava.exp (libjava_init): Use UTF-8 encoding.
	(test_libjava_from_javac): Likewise.

From-SVN: r41617
2001-04-27 00:56:16 +00:00
Jason Merrill 041c9d5a47 * except.c (get_exception_filter): word_mode, not Pmode.
From-SVN: r41616
2001-04-26 19:32:49 -04:00
Toon Moene f6ce87c0a6 20010426.f: New test.
2001-04-26  Toon Moene  <toon@moene.indiv.nluug.nl>

	* g77.f-torture/compile/20010426.f: New test.
	* g77.f-torture/execute/20010426.f: New test.

From-SVN: r41615
2001-04-26 21:13:29 +00:00
Toon Moene f658da59d4 *** empty log message ***
From-SVN: r41614
2001-04-26 21:02:07 +00:00
Geoffrey Keating fd2c87bd74 sparc.md (movsf_no_f_insn): Add more alternatives common to other movsf patterns.
* config/sparc/sparc.md (movsf_no_f_insn): Add more alternatives
	common to other movsf patterns.  Move up so that in future
	people who change the other patterns will change it too.
	(movsf_lo_sum): Allow even for soft-float; add appropriate
	constraints.
	(movsf_high): Likewise.
	(movsf_high+1): Allow even for soft-float.

From-SVN: r41613
2001-04-26 20:56:08 +00:00
Geoffrey Keating fbffc70af6 function.c (expand_function_end): Always clobber the return registers, even if there is no return label.
* function.c (expand_function_end): Always clobber the
	return registers, even if there is no return label.

From-SVN: r41612
2001-04-26 20:54:51 +00:00
Mark Mitchell 9cc03fabc2 BADNAMES: Remove EGCS reference.
* docs/html/17_intro/BADNAMES: Remove EGCS reference.
	Indicate obsolete nature of thelist for G++ 3.0.

From-SVN: r41611
2001-04-26 20:13:47 +00:00
Jeffrey A Law a86414f362 initp1.C: Moved here from g++.old-deja/g++.ext.
* g++.dg/special/initp1.C: Moved here from g++.old-deja/g++.ext.
        Tweak slightly to work with g++.dg framework.
        * g++.dg/special/ecos.exp: Run initp1.C test.
        * g++.old-deja/g++.ext/initp1.C: Moved to g++.dg/special.

From-SVN: r41610
2001-04-26 14:06:25 -06:00