Commit Graph

39806 Commits

Author SHA1 Message Date
Andreas Schwab
b7e30d8ad0 cppfiles.c (_cpp_pop_file_buffer): Change return type to bool and return true if...
* cppfiles.c (_cpp_pop_file_buffer): Change return type to bool
	and return true if _cpp_push_next_buffer pushed a new include
	file.
	* cpplib.c (_cpp_pop_buffer): Only call obstack_free if
	_cpp_pop_file_buffer did not push a new file.
	* cpphash.h (_cpp_pop_file_buffer): Update declaration.

From-SVN: r48507
2002-01-03 09:41:00 +00:00
Eric Christopher
ff81832f59 final.c (final_scan_insn): Change 0 -> NULL_RTX in FIND_REG_INC_NOTE call.
2002-01-02  Eric Christopher  <echristo@redhat.com>

	* final.c (final_scan_insn): Change 0 -> NULL_RTX in
	FIND_REG_INC_NOTE call. Update copyright.
	* loop.c (canonicalize_condition): Ditto.
	* reorg.c (delete_scheduled_jump): Ditto.

From-SVN: r48506
2002-01-03 09:18:22 +00:00
GCC Administrator
6518547fe4 Daily bump.
From-SVN: r48504
2002-01-03 08:16:20 +00:00
Graham Stott
37b310124a class.c (compile_resource_file): Update copyright date.
* class.c (compile_resource_file): Update copyright date.
        Constify filename parameter.
        java-tree.h: Update copyright date.
        (compile_resource_file): Constify filename parameter.

From-SVN: r48503
2002-01-03 07:50:49 +00:00
Kazu Hirata
8e42ace183 * gcse.c: Fix formatting.
From-SVN: r48502
2002-01-03 06:36:42 +00:00
Graham Stott
22e85ed463 jcf-parse.c: Update copyright date.
* gcc/jcf-parse.c: Update copyright date.
        (yyparse): Constify resource_filename.

From-SVN: r48500
2002-01-03 05:47:27 +00:00
Graham Stott
fb2bf63189 mkconfig.sh: Output to config.h...
* mkconfig.sh: Output to config.h, hconfig.h and tconfig.h
 	forward defs for struct tags rtx_def, union_tree, rtvec_def
 	also output corresponding typedefs for rtxm, tree, and rtvcec.

 	* system.h: Move forward defs for struct tags rtx_def, union_tree,
 	rtvec_def along with corresponding typedefs for rtx, tree, and
 	rtvcec to config.h, hconfig.h, tconfig.h

From-SVN: r48499
2002-01-03 05:22:51 +00:00
Graham Stott
b9daac3192 tree.h: Update copyright date.
* tree.h: Update copyright date.
        (IS_EXPR_CODE_CLASS): Add parenthesis.
        (TREE_SET_CODE): Add whitespace.
        (TREE_CHECK): Add parenthesis.
        (TREE_CLASS_CODE): Add parenthesis and wrap long line.
        (CST_OR_CONSTRUCTOR_CHECK):
        (EXPR_CHECK): Add parenthis, whitespace and wrap line.
        (TREE_SYMBOL_REFERENCED): Whitespace.
        (INT_CST_LT): Likewise.
        (INT_CST_LT_UNSIGNED): Likewise.
        (tree_real_cst): Unwrap comment.
        (tree_string): Likewise.
        (tree_complex): Likewise.
        (IDENTIFIER_POINTER): correct cast.
        (SAVE_EXPR_CONTEXT): Whitespace.
        (EXPR_WFL_FILENAME_NODE): Likewise.
        (EXPR_WFL_FILENAME): Remove parenthesis.
        (DECL_ORIGIN): Add parenthesis.
        (DECL_FROM_INLINE): Use NULL_TREE.
        (build_int_2): Whitespace.
        (build_type_variant): Add parenthesis.

        * gcc/jcf-parse.c: Update copyright date.
        (yyparse): Constify resource_filename.

From-SVN: r48498
2002-01-03 05:18:25 +00:00
Graham Stott
f52eda294f rtl.h: Update copyright date.
* rtl.h: Update copyright date.
        (RTL_CHECK1): Wrap long line.
        (RTL_CHECK2): Likewise.
        (RTL_CHECKC1): Wrap long line and whitespace.
        (RTL_CHECKC2): Likewise.
        (XWINT): Whitespace.
        (XINT): Likewise.
        (XSTR): Likewise.
        (XEXP): Likewise.
        (XVEC): Likewise.
        (XMODE): Likewise.
        (XBITMAP): Likewise.
        (XTREE): Likewise.
        (XBBDEF): Likewise.
        (XTMPL): Likewise.
        (X0WINT): Likewise.
        (X0INT):Likewise.
        (X0UINT): Likewise.
        (X0STR): Likewise.
        (X0EXP): Likewise.
        (X0VEC): Likewise.
        (X0MODE): Likewise.
        (X0BITMAP): Likewise.
        (X0TREE): Likewise.
        (X0BBDEF): Likewise.
        (X0ADVFLAGS): Likewise.
        (X0CSELIB): Likewise.
        (X0MEMATTR): Likewise.
        (XCWINT): Likewise.
        (XCINT): Likewise.
        (XCUINT): Likewise.
        (XCSTR): Likewise.
        (XCEXP): Likewise.
        (XCVEC): Likewise.
        (XCMODE): Likewise.
        (XCBITMAP): Likewise.
        (XCTREE): Likewise.
        (XCBBDEF): Likewise.
        (XCADVFLAGS): Likewise.
        (XCCSELIB): Likewise.
        (XC2EXP): Likewise.
        (INSN_UID): Likewise.
        (PREV_INSN): Likewise.
        (PATTERN): Likewise.
        (INSN_CODE): Likewise.
        (PUT_REG_NOTE_KIND): Likewise.
        (CODE_LABEL_NUMBER): Likewise.
        (NOTE_SOURCE_FILE): Likewise.
        (NOTE_BLOCK): Likewise.
        (NOTE_EH_HANDLER): Likewise.
        (NOTE_RANGE_INFO): Likewise.
        (NOTE_LIVE_INFO): Likewise.
        (NOTE_BASIC_BLOCK): Likewise.
        (NOTE_EXPECTED_VALUE): Likewise.
        (NOTE_LINE_NUMBER): Likewise.
        (LABEL_NAME): Likewise.
        (LABEL_NUSES): Likewise.
        (LABEL_ALTERNATE_NAME): Likewise.
        (ADDRESSOF_DECL): Likewise.
        (JUMP_LABEL): Likewise.
        (LABEL_NEXTREF): Likewise.
        (REGNO): Likewise.
        (ORIGINAL_REGNO: Likewise.
        (HARD_REGISTER_NUM_P): Add parenthesis.
        (SUBREG_REG): Whitespace.
        (SUBREG_BYTE): Likewise.
        (ASM_OPERANDS_TEMPLATE): Remove parenthesis.
        (ASM_OPERANDS_OUTPUT_CONSTRAINT): Likewise.
        (ASM_OPERANDS_OUTPUT_IDX): Likewise.
        (ASM_OPERANDS_INPUT_VEC): Likewise.
        (ASM_OPERANDS_INPUT_CONSTRAINT_VEC): Likewise.
        (ASM_OPERANDS_INPUT): Likewise.
        (ASM_OPERANDS_INPUT_LENGTH): Likewise.
        (ASM_OPERANDS_INPUT_CONSTRAINT_EXP): Likewise.
        (ASM_OPERANDS_INPUT_CONSTRAINT): Likewise.
        (ASM_OPERANDS_INPUT_MODE): Likewise.
        (ASM_OPERANDS_SOURCE_FILE): Likewise.
        (ASM_OPERANDS_SOURCE_LINE): Likewise.
        (MEM_SET_IN_STRUCT_P): Minor reformat.
        (TRAP_CONDITION): Whitespace.
        (TRAP_CODE): Likewise.
        (COND_EXEC_TEST): Likewise.
        (COND_EXEC_CODE): Likewise.
        (FIND_REG_INC_NOTE): Uppercase macro args and add parenthesis.
        (PHI_NODE_P): Add parenthesis.
        (plus_constant): Whitespace and add paraenthese.

From-SVN: r48497
2002-01-03 05:11:05 +00:00
Kazu Hirata
e03f5d43cb avr.c: Fix comment typos.
* config/avr/avr.c: Fix comment typos.
	* config/c4x/c4x.md: Likewise.
	* config/dsp16xx/dsp16xx.h: Likewise.
	* config/dsp16xx/dsp16xx.md: Likewise.
	* config/i386/i386.md: Likewise.
	* config/ia64/ia64.c: Likewise.
	* config/m32r/m32r.h: Likewise.
	* config/m68hc11/m68hc11.md: Likewise.
	* config/mmix/mmix.c: Likewise.
	* config/mn10200/mn10200.c: Likewise.
	* config/romp/romp.c: Likewise.
	* config/sh/sh.c: Likewise.
	* config/stormy16/stormy16.c: Likewise.
	* config/stormy16/stormy16.h: Likewise.
	* config/stormy16/stormy16.md: Likewise.

From-SVN: r48496
2002-01-03 05:04:34 +00:00
Craig Rodrigues
fa4723baaf re PR bootstrap/5117 (irix6.5 bootstrap failure when using SGI's compiler)
2001-01-02  Craig Rodrigues  <rodrigc@gcc.gnu.org>

        PR bootstrap/5117
        * configure.in (AC_CHECK_HEADERS): Check for stdlib.h.
        * Makefile.am: Move grepjar to bin_PROGRAMS.
        * config.h.in: Regenerated.
        * Makefile.in: Regenerated.
        * aclocal.m4: Regenerated.
        * stamp-h.in: Regenerated.
        * jargrep.c: Eliminate some signed/unsigned and default
        uninitialized warnings. Use HAVE_STDLIB_H instead of
        STDC_HEADERS macro.
        * jartool.c: Likewise.
        * compress.c: Likewise.

From-SVN: r48495
2002-01-03 05:01:04 +00:00
Graham Stott
97e300e9b1 rtl.h: Update copyright date.
* rtl.h: Update copyright date.
        (LOOP_MOVABLES): Fix typo.
        (LOOP_REGS): Likewise.
        (LOOP_IVS): Likewise.

From-SVN: r48494
2002-01-03 04:59:07 +00:00
Craig Rodrigues
798010914e re PR bootstrap/5117 (irix6.5 bootstrap failure when using SGI's compiler)
2001-01-02  Craig Rodrigues  <rodrigc@gcc.gnu.org>

        PR bootstrap/5117
        * configure.in (AC_CHECK_HEADERS): Check for stdlib.h.
        * Makefile.am: Move grepjar to bin_PROGRAMS.
        * config.h.in: Regenerated.
        * Makefile.in: Regenerated.
        * aclocal.m4: Regenerated.
        * jargrep.c: Eliminate some signed/unsigned and default
        uninitialized warnings. Use HAVE_STDLIB_H instead of
        STDC_HEADERS macro.
        * jartool.c: Likewise.
        * compress.c: Likewise.

From-SVN: r48493
2002-01-03 04:57:56 +00:00
Phil Edwards
bf7edb60c8 re PR libstdc++/2054 (g++-3 rejects legal code, accepted by g++-2.95.2 (functors))
2002-01-02  Phil Edwards  <pme@gcc.gnu.org>

	* include/bits/stl_algo.h (upper_bound, equal_range, binary_search):
	Change concept checks, as with lower_bound and PR 2054.
	* testsuite/ext/concept_checks.cc:  Expand test to include those.

From-SVN: r48492
2002-01-03 04:44:07 +00:00
Craig Rodrigues
0a379b7a07 re PR c/5226 (-mthreads not available in gcc 3.0.3 but still in doc)
2002-01-02  Craig Rodrigues  <rodrigc@gcc.gnu.org>

        PR c/5226
        * invoke.texi (-mthreads): Remove from documented RS/6000 options.
        (-pthread) Add to RS/6000 options.

From-SVN: r48491
2002-01-03 04:37:11 +00:00
Graham Stott
745b26b3c2 cppinit.c: Update copyright date.
* cppinit.c: Update copyright date.
        Don't include output.h
        * Makefile.in: Update copyright date.
        Update dependency.

From-SVN: r48490
2002-01-03 03:55:19 +00:00
Phil Edwards
361bf10c13 boost_concept_check.h: Import some changes from upsteam (Boost) version.
2002-01-02  Phil Edwards  <pme@gcc.gnu.org>

	* include/bits/boost_concept_check.h:  Import some changes from
	upsteam (Boost) version.

From-SVN: r48489
2002-01-03 03:21:19 +00:00
Kazu Hirata
a815455909 except.c: Fix comment typos.
* except.c: Fix comment typos.
	* loop.c: Likewise.
	* varasm.c: Likewise.
	* doc/tm.texi: Fix a typo.

From-SVN: r48488
2002-01-03 00:53:36 +00:00
Jakub Jelinek
e6ecc89b1f c-typeck.c (output_init_element): Allow initializing static storage duration objects with compound literals.
* c-typeck.c (output_init_element): Allow initializing static storage
	duration objects with compound literals.

	* gcc.dg/gnu89-init-1.c: Added new tests.

From-SVN: r48487
2002-01-03 00:43:24 +01:00
Richard Henderson
d1094b40dd objc-act.c (hack_method_prototype): Clear current_function_decl after abusing it.
* objc/objc-act.c (hack_method_prototype): Clear current_function_decl
        after abusing it.

From-SVN: r48486
2002-01-02 15:22:52 -08:00
Kaveh R. Ghazi
5e65297bbb gcc.c (default_compilers): Const-ify.
* gcc.c (default_compilers): Const-ify.
	* mips-tdump.c (stab_names): Likewise.
	* mips-tfile.c (map_coff_types, map_coff_storage,
	map_coff_sym_type, map_coff_derived_type, stabs_symbol,
	pseudo_ops_t, pseudo_ops): Likewise.
	* protoize.c (default_include): Likewise

f:
	* com.c (clear_binding_level): Const-ify.
	(ffecom_arglist_expr_): Likewise.
	* info.c (ffeinfo_types_): Don't needlessly zero init.
	* lex.c (ffelex_hash_kludge): Const-ify.

java:
	* parse.y (src_parse_roots): Don't needlessly zero init.

libiberty:
	* cp-demangle.c (long_options): Const-ify.
	* cplus-dem.c (long_options): Likewise.

From-SVN: r48485
2002-01-02 23:18:59 +00:00
Kaveh R. Ghazi
0c5d8c8236 real.c (GET_REAL, PUT_REAL): Don't cast away const-ness.
* real.c (GET_REAL, PUT_REAL): Don't cast away const-ness.
	(ezero, ehalf, eone, etwo, e32, elog2, esqrt2, epi): Const-ify.
	Add array size in declaration.
	(endian, emov, eisneg, eisinf, eisnan, eiisnan, eiisneg, emovi,
	emovo, emovz, eiisinf, ecmpm, eaddm, esubm, m16m, edivm, emulm,
	esub, eadd, eadd1, ediv, emul, e53toe, e64toe, e113toe, e24toe,
	etoe113, etoe64, etoe53, etoe24, ecmp, eround, ltoe, ultoe,
	eifrac, euifrac, e24toasc, e53toasc, e64toasc, e113toasc, etoasc,
	efloor, efrexp, eldexp, eremain, dectoe, etodec, ibmtoe, etoibm,
	c4xtoe, etoc4x, uditoe, ditoe, etoudi, etodi, esqrt, etens,
	emtens, make_nan): Const-ify.
	(TFbignan, TFlittlenan, XFbignan, XFlittlenan, DFbignan,
	DFlittlenan, SFbignan, SFlittlenan): Make static and const-ify.

From-SVN: r48484
2002-01-02 23:11:30 +00:00
Joseph Myers
817e13c4d9 config.gcc (ia64-*-*): Set extra_headers.
* config.gcc (ia64-*-*): Set extra_headers.
	(alpha*-dec-osf*): Likewise.  Don't use alpha/t-osf.
	* config/alpha/t-osf: Remove.
	* config/ia64/t-ia64 (EXTRA_HEADERS): Remove.

From-SVN: r48483
2002-01-02 22:50:01 +00:00
David Edelsohn
98095e2bea * config/rs6000/t-aix43: Revert previous change.
From-SVN: r48481
2002-01-02 16:59:29 -05:00
Jason Merrill
a420065799 c-decl.c (c_expand_body): Call outlining_inline_function when emitting an inline function out of line.
* c-decl.c (c_expand_body): Call outlining_inline_function when
        emitting an inline function out of line.

        * semantics.c (expand_body): Call outlining_inline_function when
        emitting an inline function out of line.

From-SVN: r48479
2002-01-02 10:28:43 -08:00
Richard Henderson
54ba1f0dee dwarf2out.c (limbo_die_node): Add created_for member.
* dwarf2out.c (limbo_die_node): Add created_for member.
        (new_die): New argument created_for.  Update all callers.
        (mark_limbo_die_list): New.
        (dwarf2out_init): Register limbo_die_list as a root.
        (dwarf2out_finish): Force insert limbo dies into their function
        context.

From-SVN: r48478
2002-01-02 10:22:13 -08:00
Kaveh R. Ghazi
adddf5bf27 cplus-dem.c (mystrstr): Delete.
* cplus-dem.c (mystrstr): Delete.  All callers changed to use
	strstr instead.

From-SVN: r48476
2002-01-02 17:07:40 +00:00
Tom Tromey
95574a4c76 ieeefp.h: Fix bug in my hand-application of previous patch.
* java/lang/ieeefp.h: Fix bug in my hand-application of previous
	patch.

From-SVN: r48475
2002-01-02 15:58:39 +00:00
Nathan Sidwell
40e593d781 PR c++/5116, c++/764 reversion
cp:
	PR c++/5116, c++/764 reversion
	* call.c (build_new_op): Revert the instantiations. They are
	incorrect.
testsuite:
	* g++.dg/template/friend2.C: Remove as patch is reverted.

From-SVN: r48474
2002-01-02 15:17:07 +00:00
Andrew Pinski
0beb74f25c 2002-1-1 Andrew Pinski <pinskia@physics.uc.edu>
* libjava/java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for
	PPC Darwin, not for all of Darwin.

From-SVN: r48473
2002-01-02 15:07:16 +00:00
Nathan Sidwell
323728aa26 re PR c++/5089 (-Wold-style-cast warns about cast to void)
PR c++/5089
	* doc/invoke.texi (-Wold-style-cast): Only warn about non-void casts.
cp:
	PR c++/5089
	* decl2.c (reparse_absdcl_as_casts): Don't warn about casts to void.
testsuite:
	* g++.dg/warn/oldcast1.C: New test.

From-SVN: r48472
2002-01-02 13:59:10 +00:00
Nathan Sidwell
46c895ac0b re PR c++/3716 (Template parameters that are pointers to member functions)
cp:
	PR c++/3716
	* pt.c (tsubst_aggr_type): Move pmf handling into tsubst.
	(tsubst, case POINTER_TYPE): Handle pmfs here.
	(tsubst, case OFFSET_TYPE): Check it is not an offset to
	reference. If it is offset to FUNCTION_TYPE, create a METHOD_TYPE.
testsuite:
	* g++.dg/template/ptrmem1.C: New test.
	* g++.dg/template/ptrmem2.C: New test.

From-SVN: r48471
2002-01-02 13:55:23 +00:00
Nathan Sidwell
833aa4c414 re PR c++/35 (template operator () lookup fails)
cp:
	PR c++/35
	* cp-tree.h (DECL_LANG_FLAG_0): Used for PARM_DECL too.
	(DECL_TEMPLATE_PARM_P): A PARM_DECL might be one too.
	* pt.c (process_template_parm): SET_DECL_TEMPLATE_PARM_P on the
	PARM_DECL.
	(tsubst_template_parms): Break up loop statements.
	(tsubst_decl, case PARM_DECL): Copy DECL_TEMPLATE_PARM_P. Template
	parm PARM_DECLs don't get promoted.
testsuite:
	* g++.dg/template/ntp.C: New test.

From-SVN: r48470
2002-01-02 12:50:11 +00:00
Nathan Sidwell
18976b2144 re PR c++/5123 (tree check: expected identifier_node, have template_id_expr in build_component_ref, at cp/typeck.c:2133)
cp:
	PR c++/5123
	* typeck.c (build_component_ref): Cope with a TEMPLATE_ID_EXPR.
	(build_x_function_call): Cope with a COMPONENT_REF containing a
	TEMPLATE_ID_EXPR.
testsuite:
	* g++.dg/other/component1.C: New test.

From-SVN: r48469
2002-01-02 12:47:26 +00:00
Nathan Sidwell
303d1c55d3 re PR c++/5213 (ICE on (possibly) illegal code)
cp:
	PR c++/5213
	* pt.c (convert_template_argument): Be more careful determining
	when RECORD_TYPE templates are or are not templates.
testsuite:
	* g++.dg/template/ttp3.C: New test.

From-SVN: r48468
2002-01-02 12:44:44 +00:00
Paolo Carlini
f53d0ff143 stl_algobase.h (copy_n + helpers, [...]): Move to...
2002-01-02  Paolo Carlini  <pcarlini@unitus.it>

	* include/bits/stl_algobase.h (copy_n + helpers,
	lexicographical_compare_3way + helpers):  Move to...
	* include/ext/algorithm:  ...here.
        * include/bits/stl_uninitialized.h (uninitialized_copy_n +
        helpers):  Move to...
        * include/ext/memory:  ...here, new file.
        * include/Makefile.am (ext_headers):  Add new file.
        * include/Makefile.in:  Regenerate.
        * testsuite/ext/headers.cc:  Include <ext/memory>.
	* include/backward/algobase.h:  Include <ext/memory> and
	<ext/algorithm>, tweak.
        * include/ext/ropeimpl.h:  Include <ext/memory>, tweak.
	* include/ext/stl_rope.h:  Include <ext/memory>, tweak.

From-SVN: r48467
2002-01-02 12:16:56 +00:00
Nathan Sidwell
d46a33b322 re PR c++/775 (2.97 error declaring nested class a friend)
cp:
	PR c++/775
	* cp-tree.h (handle_class_head): Adjust prototype.
	* decl2.c (handle_class_head): Add DEFN_P and NEW_TYPE_P
	parameters. Use for all class heads.
	* parse.y (named_class_head_sans_basetype, named_class_head,
	named_complex_class_head_sans_basetype,
	named_class_head_sans_basetype_defn,
	unnamed_class_head): Remove.
	(class_head, class_head_apparent_template): Recognize class heads
	(class_head_decl, class_head_defn): New reductions. Process class
	heads.
	(structsp): Adjust class definition and class declaration
	reductions.
	(maybe_base_class_list): Give diagnostic on empty list.
testsuite:
	* g++.dg/template/friend2.C: New test.
	* g++.old-deja/g++/brendan/crash8.C: Adjust location of error.

From-SVN: r48466
2002-01-02 11:37:00 +00:00
Nathan Sidwell
4542128ef1 re PR c++/4379 (Member pointer to member reference not allowed when declared directly, but allowed as template parameter.)
cp:
	PR c++/4379
	* typeck.c (build_x_unary_op): Don't destroy the OFFSET_REF on a
	single non-static member.
	(unary_complex_lvalue): If it cannot be a pointer to member, don't
	make it so. Check it is not pointer to reference.
testsuite:
	* g++.dg/other/ptrmem1.C: New test.
	* g++.dg/other/ptrmem2.C: New test.

From-SVN: r48465
2002-01-02 11:32:34 +00:00
Nathan Sidwell
903c623438 re PR c++/5132 (NaN = 0.0 * HUGE_VAL fails to compile in templates)
cp:
	PR c++/5132
	* decl2.c (reparse_absdcl_as_casts): Don't digest_init if we
	are processing a template decl.
testsuite:
	* g++.dg/template/ctor1.C: New test.

From-SVN: r48464
2002-01-02 11:29:15 +00:00
Nathan Sidwell
477558bf39 PR c++/5116, c++/764
cp:
	PR c++/5116, c++/764
	* call.c (build_new_op): Make sure template class operands are
	instantiated. Simplify arglist construction.
testsuite:
	* g++.dg/template/friend2.C: New test.

From-SVN: r48463
2002-01-02 11:26:12 +00:00
GCC Administrator
dbac42475c Daily bump.
From-SVN: r48461
2002-01-02 08:16:12 +00:00
Kazu Hirata
aefc5826e7 fixunssfsi.c: Update copyright.
* config/h8300/fixunssfsi.c: Update copyright.
	Fix comment typos.
	Fix formatting.
	* config/h8300/h8300.c: Update copyright.
	Eliminate warnings.

From-SVN: r48460
2002-01-02 07:57:15 +00:00
Kazu Hirata
b1c9bc51b6 romp.c: Fix comment formatting.
* config/romp/romp.c: Fix comment formatting.
	* config/romp/romp.h: Likewise.
	* config/romp/romp.md: Likewise.
	* config/s390/s390.c: Likewise.
	* config/stormy16/stormy16.c: Likewise.
	* config/stormy16/stormy16.h: Likewise.

From-SVN: r48459
2002-01-02 06:47:47 +00:00
Tom Rix
252b88f78c Fix for rs6000_emit_allocate_stack's use of rs6000_emit_set_long_const for ppc64.
From-SVN: r48458
2002-01-02 03:48:53 +00:00
Kaveh R. Ghazi
99e9e773cb * warn_summary: Add -ada subdirectory flag.
From-SVN: r48457
2002-01-02 03:35:21 +00:00
Alexandre Oliva
1574ef130f c-common.h (genrtl_expr_stmt_value): Declare.
* c-common.h (genrtl_expr_stmt_value): Declare.
* c-semantics.c (genrtl_goto_stmt): Redirect to...
(genrtl_goto_stmt_value): ... this new function.  Pass new
argument down to expand_expr_stmt_value, taking
TREE_ADDRESSABLE into account.
* c-common.c (c_expand_expr): Mark the last EXPR_STMT of a
STMT_EXPR as addressable, i.e., one whose result we want.
* expr.c (expand_expr): Don't save expression statement value
of labeled_blocks or loop_exprs.
* stmt.c (expand_expr_stmt): Redirect to...
(expand_expr_stmt_value): ... this new function.  Use new
argument to tell whether to save expression value.
(expand_end_stmt_expr): Reset last_expr_type and
last_expr_value if we don't have either.
* tree-inline.c (declare_return_variable): Mark its use
statement as addressable.
* tree.h: Document new use of TREE_ADDRESSABLE.
(expand_expr_stmt_value): Declare.

From-SVN: r48456
2002-01-02 02:31:58 +00:00
Andreas Tobler
6180abdb9d ieeefp.h: Define __IEEE_BIG_ENDIAN for Darwin.
2001-12-29 Andreas Tobler <a.tobler@schweiz.ch>

	* libjava/java/lang/ieeefp.h: Define __IEEE_BIG_ENDIAN for
	Darwin.

From-SVN: r48455
2002-01-01 23:36:11 +00:00
Joseph Myers
29f7a20865 configure.in: Prepend ${srcdir}/config/${cpu_type}/ instead of ${srcdir}/ginclude/ to every...
* configure.in: Prepend ${srcdir}/config/${cpu_type}/ instead of
	${srcdir}/ginclude/ to every entry in extra_headers.
	* configure: Regenerate.
	* ginclude/math-3300.h: Rename to config/m68k/math-3300.h.
	* ginclude/math-68881.h: Rename to config/m68k/math-68881.h.
	* ginclude/ppc-asm.h: Rename to config/rs6000/ppc-asm.h.
	* ginclude/proto.h: Rename to config/convex/proto.h.

From-SVN: r48454
2002-01-01 23:21:01 +00:00
Richard Kenner
4c445c4ba5 Fix corrupted hunk
From-SVN: r48453
2002-01-01 17:28:36 -05:00
Richard Kenner
2cc2d4bbcd attribs.c (handle_vector_size_attribute): Use host_integerp and tree_int_cst; remove warnings.
* attribs.c (handle_vector_size_attribute): Use host_integerp
	and tree_int_cst; remove warnings.
	* caller-save.c (insert_restore): Add cast to get rid of warning.
	(insert_save): Likewise.
	* emit-rtl.c (adjust_address_1, offset_address): Likewise.
	* regmove.c (find_matches): Add temporary var to kill a warning.

From-SVN: r48452
2002-01-01 17:22:25 -05:00