Commit Graph

17797 Commits

Author SHA1 Message Date
Weiwen Liu a5dd9832a1 gcc.c (do_spec_1): Fix %O handling for secure temporary file creation.
�
        * gcc.c (do_spec_1): Fix %O handling for secure temporary file
        creation.

From-SVN: r21123
1998-07-13 16:54:46 -06:00
Ralf Corsepius 6508af23db elf.h (MAX_OFILE_ALIGNMENT): Undefine before including svr4.h.
* sh/elf.h (MAX_OFILE_ALIGNMENT): Undefine before including svr4.h.

From-SVN: r21122
1998-07-13 16:46:00 -06:00
Ralf Corsepius acefd904b6 elf.h (MAX_OFILE_ALIGNMENT): Undefine before including svr4.h.
�
        * sh/elf.h (MAX_OFILE_ALIGNMENT): Undefine before including svr4.h.

From-SVN: r21121
1998-07-13 16:45:58 -06:00
Jim Wilson 1228a9bd1e i386.h (CPP_486_SPEC, [...]): New specs.
* i386/i386.h (CPP_486_SPEC, CPP_586_SPEC, CPP_686_SPEC): New specs.
        (CPP_CPU_DEFAULT_SPEC, CPP_CPU_SPEC): Use them.
        (EXTRA_SPECS): Support them.
        * gcc.c: Delete %[spec] support.
        (do_spec_1, case '('): Likewise.
        (do_spec_1, case '['): Call error.
        * i386/aix386ng.h, cygwin32.h, freebsd-elf.h, gas.h, isc.h,
        linux-aout.h, linux-oldld.h, linux.h, osfelf.h, osfrose.h, sco.h,
        sco4.h, sco4dbx.h, sco5.h, sol2.h, sysv3.h (CPP_SPEC): Delete
        %[cpp_cpu].

From-SVN: r21120
1998-07-13 16:38:51 -06:00
Andreas Schwab 4a8c52e048 * m68k.c (output_scc_di): Use cmpw #0 only for address registers.
From-SVN: r21119
1998-07-13 16:33:07 -06:00
Jeffrey A Law 4280146803 tree.h (tree_common): Note front-end dependencies on layout of this structure.
* tree.h (tree_common): Note front-end dependencies on layout of
        this structure.

From-SVN: r21118
1998-07-13 16:29:02 -06:00
Martin v. Löwis 8e539071f4 * search.c (my_tree_cons): The bitfield is at index 2.
From-SVN: r21117
1998-07-13 16:27:34 -06:00
Craig Burley b941bcbc1f stmt.c (expand_expr_stmt): If not assigning fresh value to last_expr_value...
* stmt.c (expand_expr_stmt): If not assigning fresh
        value to last_expr_value, zero it, so old garbage
        doesn't get dereferenced.

From-SVN: r21116
1998-07-13 16:21:01 -06:00
Henning Petersen 48e87cefab * gcse.c (hash_scan_insn): Add missing argument declaration.
From-SVN: r21115
1998-07-13 16:09:21 -06:00
Jeffrey A Law 637d5bacaf 920715-1.x: No longer expected to fail on the mn10200.
* gcc.c-torture/execute/920715-1.x: No longer expected to fail on
        the mn10200.
        * gcc.c-torture/execute/strct-varg-1.x: New file.  Expect failure on
        the mn10200.
        * gcc.c-torture/execute/va-arg-3.x: Similarly.
        * gcc.c-torture/compile/930326-1.x: Similarly.

From-SVN: r21114
1998-07-13 15:31:31 -06:00
Jeffrey A Law bb121ccecb 920715-1.x: No longer expected to fail on the mn10200.
* gcc.c-torture/execute/920715-1.x: No longer expected to fail on
        the mn10200.
        * gcc.c-torture/execute/strct-varg-1.x: New file.  Expect failure on
        the mn10200.
        * gcc.c-torture/execute/va-arg-3.x: Similarly.
Minor testsuite cleanups.

From-SVN: r21113
1998-07-13 15:29:27 -06:00
Jim Wilson 74c55ab0bb Fix irix5 build failure due to bad definition of HAVE_INTTYPES_H.
* configure.in (mips-sgi-irix5cross64, mips-sgi-irix5*): Remove
	HAVE_INTTYPES_H from xm_defines.  Define xm_file to mips/xm-iris5.h.
	* mips/xm-iris5.h (USG): Delete.

From-SVN: r21112
1998-07-13 12:01:14 -07:00
Nick Clifton 30e5b40b79 Added --help descriptions of various command line switches
From-SVN: r21111
1998-07-13 17:32:15 +00:00
Nick Clifton 124cb0bf52 --help support added
From-SVN: r21110
1998-07-13 17:22:27 +00:00
Nick Clifton b8468bc70a Add --help option.
From-SVN: r21109
1998-07-13 17:20:29 +00:00
John Carr c6b0465b28 sparc.c, [...]: New trampoline code.
Mon Jul 13 16:15:10 1998  John Carr  <jfc@mit.edu>
	* sparc.c, sparc.h, sparc.md: New trampoline code.
	Allow integer operand 1 to V8+ DImode shift instructions.
	Fix bugs in V8+ wide multiply patterns.
	In 32 bit mode, split DImode register moves and logical instructions.
	Write V9 branch prediction flag.
	Use V9 conditional move more often for scc.
	* print-rtl.c (print_rtx): Use HOST_PTR_PRINTF to print pointer.

From-SVN: r21108
1998-07-13 16:53:32 +00:00
Philippe De Muyter e69fd6e52f invoke.texi (-fno-builtin): Explain that the names of built-in functions begin with `__builtin_', not `__'.
* invoke.texi(-fno-builtin): Explain that the names of built-in
	functions begin with `__builtin_', not `__'.

From-SVN: r21107
1998-07-13 06:39:33 -06:00
Craig Burley eeba5929b8 u77-test.f: Double-check ETIME results, just like 0.5.24 does.
Mon Jul 13 13:31:03 1998  Craig Burley  <burley@gnu.org>
	* libU77/u77-test.f: Double-check ETIME results, just
	like 0.5.24 does.

From-SVN: r21106
1998-07-13 12:13:54 +00:00
Craig Burley 6bf7163510 com.c (ffecom_push_tempvar): Replace kludge that munged back-end globals directly with proper calls to...
Mon Jul 13 11:54:03 1998  Craig Burley  <burley@gnu.org>
	* com.c (ffecom_push_tempvar): Replace kludge that
	munged back-end globals directly with proper calls
	to push_topmost_sequence and pop_topmost_sequence.

From-SVN: r21105
1998-07-13 12:11:43 +00:00
Jeff Law 4d1a91c2bf mn10300.h (REG_CLASS_FROM_LETTER): Map 'y' to SP_REGS.
* mn10300.h (REG_CLASS_FROM_LETTER): Map 'y' to SP_REGS.
        Handle 'x' as NO_REGS for this cpu.
        (REGNO_OK_FOR_BIT_BASE_P): Define.
        (REG_OK_FOR_BIT_BASE_P): Define.
        (GO_IF_LEGITIMATE_ADDRESS): Use them.
        (REG_OK_FOR_INDEX_P): Tweak.
        * mn13000.c (REG_SAVE_BYTES): Define.
        (expand_epilogue, initial_offset): Use it.
        (secondary_reload_class): Slightly reformat.
        (output_tst): Tweak comments.
        * mn10300.md: Change 'x' to 'y' for SP_REGS.  Then add 'x' to many
        patterns.
        (addsi3): Turn into a define_expand/define_insn pair.  Rework code for
        three operand addition case to be more efficient.
        (subsi3): Turn into a define_expand/define_insn pair.

From-SVN: r21104
1998-07-13 06:08:59 -06:00
J"orn Rennecke 518b6ce38a * reload1.c (reload_reg_free_before_p): Abort for RELOAD_FOR_OUTPUT.
From-SVN: r21103
1998-07-13 12:04:45 +01:00
Mark Mitchell 8a2a7ea294 Update entry for last change to include more details.
From-SVN: r21102
1998-07-13 10:55:11 +00:00
Mark Mitchell 9923cc566f cplus-dem.c: Incorporate changes from GCC version not present in the libiberty version.
* cplus-dem.c: Incorporate changes from GCC version not present in
	the libiberty version.

From-SVN: r21101
1998-07-13 10:54:01 +00:00
Mark Mitchell c78ea26788 cplus-dem.c (SCOPE_STRING): Remove DMGL_JAVA stuff.
* cplus-dem.c (SCOPE_STRING): Remove DMGL_JAVA stuff.
	(cplus_demangle_opname):  Initialize work.
	(demangle_template): Remove is_java_array.
	(do_type): Remove DMGL_JAVA stuff.
	(long_options): Remove "java".
	(main): Remove 'j' option.

From-SVN: r21100
1998-07-13 10:50:32 +00:00
Jeffrey A Law b5f881570b expr.c (expand_expr): Only set MEM_IN_STRUCT_P if the memory address is not varying for...
* expr.c (expand_expr): Only set MEM_IN_STRUCT_P if the memory address
        is not varying for REFERENCE_TYPE or when we think we might have found
        an optimized access to the first element in an array.

From-SVN: r21099
1998-07-13 03:26:59 -06:00
Dave Love bda991ee5e auto0.f, auto1.f: New test from Craig.
1998-07-13  Dave Love  <d.love@dl.ac.uk>
	* g77.f-torture/execute/auto0.f, g77.f-torture/execute/auto1.f:
	New test from Craig.

From-SVN: r21098
1998-07-13 03:53:27 +00:00
Dave Love 0b9c791483 New test from Craig.
From-SVN: r21097
1998-07-13 03:51:25 +00:00
David S. Miller f903b91f37 More efficient version of Jul 10 bugfix of mine, as discussed on egcs-patches.
More efficient version of Jul 10 bugfix of mine, as
discussed on egcs-patches.
	* regclass.c (reg_scan_mark_refs): New arg min_regno.  Only update
	regscan information for REGs with numbers greater than or equal to
	this.  All callers changed.
	(reg_scan_update): New function to efficiently update regscan
	information on the fly.
	* rtl.h: Add prototype.
	* jump.c (jump_optimize): Call it when we make a transformation
	which generates new pseudo-REGs.

From-SVN: r21096
1998-07-12 20:34:12 -07:00
Jeff Law 1b07eafaae Daily bump.
From-SVN: r21095
1998-07-12 18:45:02 -06:00
Martin v. Löwis a759e627d7 decl2.c (build_expr_from_tree): Change calls of do_identifier.
* decl2.c (build_expr_from_tree): Change calls of do_identifier.
	Do Koenig lookup in CALL_EXPR.
	(arg_assoc): Handle error_mark.
	* lex.c (is_global): New function.
	(do_identifier): Expect arguments for Koenig lookup.
	* parse.y (primary): Add rules for calls of unqualified function calls.
	(do_id): Change call of do_identifier.
	* pt.c (finish_stmt_expr): Likewise.
	* semantics.c (finish_id_expr): Likewise.
	(finish_call_expr): Add integer parameter to indicate
	argument-dependent lookup.

From-SVN: r21091
1998-07-12 12:55:29 -04:00
Jason Merrill 894ded60fa fix
From-SVN: r21090
1998-07-12 12:39:31 -04:00
Martin v. Löwis ea9635c739 decl.c (struct binding_level): New field using_directives.
* decl.c (struct binding_level): New field using_directives.
	(push_using_decl): Not sorry anymore.
	(push_using_directive): New function.
	(lookup_tag): Use CP_DECL_CONTEXT to iterate.
	(unqualified_namespace_lookup): New function, code from ...
	(lookup_name_real): ... here.
	* decl2.c (lookup_using_namespace): Pass using list instead of
	initial scope.
	(validate_nonmember_using_decl): New function.
	(do_nonmember_using_decl): New function.
	(do_toplevel_using_decl): Use them.
	(do_local_using_decl): New function.
	(do_using_directive): Support block-level directives.
	* parse.y (simple_stmt): Support using declarations and
	directives.
	(namespace_qualifier, namespace_using_decl): New non-terminals.

From-SVN: r21089
1998-07-12 11:41:22 -04:00
Martin v. Löwis 11b5139c46 xref.c (classname): New function.
* xref.c (classname): New function.
	(GNU_xref_hier): Change class and base parameters to tree.
	* decl.c (xref_baseypes): Change caller.
	* friend.c (make_friend_class): Likewise.

From-SVN: r21088
1998-07-12 11:20:42 -04:00
Jeffrey A Law cb689bb608 collect2.c (main): Use "-x c" instead of "-lang-c" for force the compiler into C mode.
* collect2.c (main): Use "-x c" instead of "-lang-c" for force the
        compiler into C mode.

From-SVN: r21087
1998-07-12 06:11:28 -06:00
Dave Love 90e5b31fb2 Fix bug address.
From-SVN: r21086
1998-07-12 09:02:56 +00:00
Dave Love 538ccf9a0b * g77.f-torture/noncompile/980616-0.f: New test.
From-SVN: r21085
1998-07-12 08:55:18 +00:00
Dave Love 3375639a48 New test.
From-SVN: r21084
1998-07-12 08:54:18 +00:00
Dave Love b1daa2150d Regenerate.
From-SVN: r21083
1998-07-12 05:15:00 +00:00
Dave Love b53c05f514 Makefile.in: Re-write build procedure mainly to honour dependencies correctly but also allow...
1998-07-10  Dave Love  <d.love@dl.ac.uk>
	* Makefile.in: Re-write build procedure mainly to honour
	dependencies correctly but also allow making in the build
	directory by configuring the relevant variables.  The lib[FIU]77
	subdirs do dependency checking of their objects.  Stamp files
	dictate when to run (new) archive targets in subdirs.  Some
	tidying of variables.  Supply full set of standard targets.
	* configure.in: Move much of testing to new configures in
	subdirs.  Tidy up handling of RANLIB etc.
	* stamp-h.in, libF77/configure.in, libI77/configure.in,
	libF77/configure, libI77/configure: New files.
	* libF77/Makefile.in, libI77/Makefile.in, libU77/Makefile.in:
	Change in step with libf2c/Makefile.in.

From-SVN: r21082
1998-07-12 05:02:03 +00:00
Dave Love e3fc7b684c version.c: Bump version.
1998-07-12  Dave Love  <d.love@dl.ac.uk>
	* version.c: Bump version.

From-SVN: r21081
1998-07-12 04:53:33 +00:00
Dave Love 684d50ab9d Bump version.
From-SVN: r21080
1998-07-12 04:52:27 +00:00
Craig Burley 4fe911f597 Fix 980616-0.f:
Sat Jul 11 19:24:32 1998  Craig Burley  <burley@gnu.org>
	Fix 980616-0.f:
	* equiv.c (ffeequiv_offset_): Don't crash on various
	possible ANY operands.

From-SVN: r21079
1998-07-12 04:47:46 +00:00
Craig Burley c264f1132e com.c (ffecom_expr_): Die if padding for constant is non-zero.
Sat Jul 11 18:24:37 1998  Craig Burley  <burley@gnu.org>
	* com.c (ffecom_expr_) [FFEBLD_opCONTER]: Die if padding
	for constant is non-zero.
	* com.c (__eprintf): Delete this function, it is obsolete.

From-SVN: r21078
1998-07-12 04:42:47 +00:00
Dave Love 3792922a1b 970816-3.f: New test from Craig.
1998-07-12  Dave Love  <d.love@dl.ac.uk>
	* g77.f-torture/execute/970816-3.f:  New test from Craig.

From-SVN: r21077
1998-07-12 04:36:38 +00:00
Dave Love 8ad1ecde35 New test from Craig.
From-SVN: r21076
1998-07-12 04:33:13 +00:00
Klaus-Georg Adams e6bc256177 stl_tempbuf.h (temporary_buffer): Add missing typename.
* stl_tempbuf.h (temporary_buffer): Add missing typename.
	* type_traits.h: update comments.

From-SVN: r21075
1998-07-11 23:18:39 -04:00
Jason Merrill 841f616caa new
From-SVN: r21074
1998-07-11 23:08:33 -04:00
Kriang Lerdsuwanakij 744fac594b typeck.c (comptypes, [...]): Add parameter comparison.
* typeck.c (comptypes, case TEMPLATE_TEMPLATE_PARM): Add parameter
	comparison.
	* pt.c (for_each_template_parm, case TEMPLATE_DECL): If it is a
	template template parameter, record its use.
	(for_each_template_parm, case TEMPLATE_TEMPLATE_PARM): Traverse
	its template arguments if exists.
	* pt.c (coerce_template_template_parms): New function equivalent
	to coerce_template_parms when IS_TMPL_PARM is true.
	(coerce_template_parms): Use it.  Remove the IS_TMPL_PARM parameter,
	all callers changed.
	(coerce_template_parms): Access ARGLIST properly when creating a
	new vector.  Only accept implicit TYPE_DECL as valid argument for
	a template template parameter when it is a base class of
	current_class_type.  Don't display error message when COMPLAIN is
	false.

From-SVN: r21073
1998-07-11 23:06:46 -04:00
Jason Merrill eda600e865 Makefile.in (VERSION): Bump to 2.9.0.
* Makefile.in (VERSION): Bump to 2.9.0.
	* std/bastring.cc (find_last_of): Fix.
	(find_last_not_of): Likewise.

From-SVN: r21072
1998-07-11 22:20:51 -04:00
Bob Sidebotham b0e7d996da * tstring.cc (findtest): New fn.
From-SVN: r21071
1998-07-11 22:20:22 -04:00