Commit Graph

21161 Commits

Author SHA1 Message Date
J"orn Rennecke
9f4749b181 reload.c (find_reloads_toplev): When processing X recursively...
* reload.c (find_reloads_toplev): When processing X recursively,
	don't alter it destructively except by filling in constants.

From-SVN: r25840
1999-03-18 11:12:01 +00:00
Kaveh R. Ghazi
735396d963 Warning fixes:
* cccp.c (default_include): Initialize structure memebers.
        (pass_thru_directive): Change the type of 'keyword_length' to int.
        (main): Cast `bindtextdomain' and `textdomain' to (void).
        * collect2.c (main): Likewise.
        * cppmain.c (main): Likewise.
        * gcc.c (main): Likewise.
        * gcov.c (main): Likewise.
        * protoize.c (main): Likewise.
        * toplev.c (main): Likewise.

From-SVN: r25839
1999-03-18 07:29:10 +00:00
Gavin Romig-Koch
d8c8a706d1 mips.c (mips_explicit_type_size_string): Correct its type.
* config/mips/mips.c (mips_explicit_type_size_string): Correct
       its type.

From-SVN: r25838
1999-03-18 05:32:31 +00:00
Jeff Law
61758275a0 Daily bump.
From-SVN: r25837
1999-03-17 17:45:03 -07:00
Jeffrey A Law
866fb7cca1 configure.in: Use "exit 1", not "exit (1)".
* configure.in: Use "exit 1", not "exit (1)".
        * configure: Rebuilt.

From-SVN: r25836
1999-03-17 17:25:49 -07:00
Mark Elbrecht
77d787fa2e go32.h: Delete.
* config/i386/go32.h: Delete.
        * config/i386/djgpp.h: New. Renamed from go32.h.
        Added -DDJGPP=2 to CPP_PREDEFINES.
        * config/i386/go32-rtems.h: Delete.
        * config/i386/djgpp-rtems.h: New. Renamed from go32-rtems.h.
        Added -DDJGPP=2 to CPP_PREDEFINES.
        * config/i386/xm-go32.h: Delete.
        * config/i386/xm-djgpp.h: New. Renamed from xm-go32.h.
        * config/i386/x-go32: Delete.
        * config/i386/x-djgpp: New. Renamed from x-go32.
        * config/i386/t-go32: Delete.
        * config/i386/t-djgpp: New. Renamed from t-go32.
        * configure.in(pc-msdosdjgpp): Set xm_file to i386/xm-djgpp.h.
        Set tm_file to i386/djgpp.h. Set tmake_file to i386/t-djgpp.
        Set xmake_file to i386/x-djgpp.
        * configure: Rebuilt.

From-SVN: r25835
1999-03-17 16:23:55 -07:00
Mark Elbrecht
8dc91cbee4 mh-go32: Delete.
* config/mh-go32: Delete.
        * config/mh-djgpp: New. Renamed from mh-go32.
        * configure.in (pc-msdosdjgpp): Set host_makefile_frag to
        config/mh-djgpp.

From-SVN: r25834
1999-03-17 16:19:59 -07:00
Mark Kettenis
1df88ec9cd t-gnu (SYSTEM_HEADER_DIR): New variable.
* config/t-gnu (SYSTEM_HEADER_DIR): New variable.  Set to
        `/include' in order to find the system's limits.h.

From-SVN: r25833
1999-03-17 15:18:49 -07:00
Robert Lipe
7b33bb9944 fixincl.c: Include auto-host.h instead of config.h
* fixinc/fixincl.c: Include auto-host.h instead of config.h
        * fixinc/procopen.c: Likewise.
        * fixinc/regex.c: Likewise.
        * fixinc/server.c: Likewise.

From-SVN: r25832
1999-03-17 15:03:34 -07:00
Richard Henderson
422d0fb02b flow.c (compute_immediate_dominators): New function.
* flow.c (compute_immediate_dominators): New function.
        * basic-block.h (compute_immediate_dominators): Declare it.

From-SVN: r25831
1999-03-17 14:58:49 -07:00
Mark Elbrecht
e41753123b * gcc.c (process_command): Dump link_command_spec too.
From-SVN: r25830
1999-03-17 14:51:18 -07:00
Jerry Quinn
17d1971d8c pa.md: Add real PA8000 scheduling information.
* pa.md: Add real PA8000 scheduling information.

Co-Authored-By: Jeffrey A Law <law@cygnus.com>

From-SVN: r25829
1999-03-17 13:15:18 -07:00
Jerry Quinn
e14b50cef7 pa.h (processor_type): Add PROCESSOR_8000 symbol.
* pa.h (processor_type):  Add PROCESSOR_8000 symbol.
        (ISSUE_RATE):  Revamp, including PA8000 support.
        * pa.c (override_options):  Add 8000 as -mschedule= option.
        Do not call strcmp if pa_cpu_string is null.
        * pa.md (attr cpu):  Add 8000.
        * invoke.texi: Add documentation for PA8000 scheduling.

Co-Authored-By: Jeffrey A Law <law@cygnus.com>

From-SVN: r25828
1999-03-17 12:46:37 -07:00
David S. Miller
14f45d6b9f sparc.h (TARGET_SWITCHES, [...]): Add descriptions.
* config/sparc/sparc.h (TARGET_SWITCHES, TARGET_OPTIONS):
	Add descriptions.
	* config/sparc/sp64-elf.h (SUBTARGET_SWITCHES): Likewise.
	* config/sparc/splet.h (SUBTARGET_SWITCHES): Likewise.

From-SVN: r25827
1999-03-17 10:33:17 -08:00
Nick Clifton
46eb0ae4fb removed part of comment
From-SVN: r25826
1999-03-17 15:30:35 +00:00
Richard Henderson
e6a8ebb4e0 alpha.h (HARD_REGNO_MODE_OK): Allow only 4 and 8 byte unit modes in FP regs.
* alpha.h (HARD_REGNO_MODE_OK): Allow only 4 and 8 byte unit modes
        in FP regs.
        (MODES_TIEABLE_P): Define asymmetricly wrt modes illegal in FP regs.

From-SVN: r25825
1999-03-17 06:49:22 -08:00
Nick Clifton
aec3cfba19 Fix compile time warnings.
Improve target CPU selection.

From-SVN: r25824
1999-03-17 14:47:27 +00:00
J"orn Rennecke
13bb79d45e reload1.c (eliminate_regs): Don't keep REG_DEAD notes around for things that were eliminated.
* reload1.c (eliminate_regs): Don't keep REG_DEAD notes around for
	things that were eliminated.

From-SVN: r25823
1999-03-17 13:31:30 +00:00
Richard Henderson
f541e78dd0 * gcc.c-torture/execute/ieee/980619-1.x: New. Expected fail on x86.
From-SVN: r25822
1999-03-17 04:23:42 -08:00
Richard Henderson
5f98f7c481 function.c (fixup_var_refs_1): First try moving the expression directly into a register.
* function.c (fixup_var_refs_1): First try moving the expression
        directly into a register.  Don't separate cc0 setter and user.

From-SVN: r25821
1999-03-17 04:17:02 -08:00
Craig Burley
e75f4f152f Update NEWS derived file
From-SVN: r25820
1999-03-17 03:44:15 -05:00
Craig Burley
f6a12244c3 Editorial fix to g77 news
From-SVN: r25819
1999-03-17 03:39:59 -05:00
Craig Burley
dbf18916e7 Update libg2c to netlib f2c-19990317
From-SVN: r25818
1999-03-17 03:21:44 -05:00
Dave Brolley
331fff42f7 cppfiles.c (PIPE_BUF): #define PIPE_BUF if not defined already.
Wed Mar 17 11:20:29 1999  Dave Brolley  <brolley@cygnus.com>
	* cppfiles.c (PIPE_BUF): #define PIPE_BUF if not defined already.

From-SVN: r25817
1999-03-17 03:21:31 -05:00
Kaveh R. Ghazi
ed513abf77 c-lex.c: Don't include setjmp.h.
* c-lex.c: Don't include setjmp.h.
        (parse_float): New static function.
        (pf_args): New struct.
        (yylex): Use them in call to `do_float_handler'.

From-SVN: r25816
1999-03-17 06:34:46 +00:00
Martin v. Löwis
5395a57667 Regenerate
From-SVN: r25814
1999-03-17 01:18:10 +00:00
Jeff Law
ac0a736384 Daily bump.
From-SVN: r25813
1999-03-16 17:45:02 -07:00
Martin v. Löwis
44689c1277 parse.y (named_complex_class_head_sans_basetype): Do nothing for error_mark_node.
* parse.y (named_complex_class_head_sans_basetype):
	Do nothing for error_mark_node.
	(maybe_base_class_list): Likewise.
	* decl.c (start_decl): Check for error_mark_node as a type.
	Detected by g++.brendan/array-refs.C.
	(start_decl_1): Likewise. Detected by g++.bugs/900322_01.C.
	(maybe_build_cleanup_1): Likewise. Detected by
	g++.jason/incomplete1.C.
	* tree.c (build_dummy_object): Use void_zero_node instead of the
	error_mark_node
	(is_dummy_object): Check for such a node.  Detected by
	g++.bob/inherit1.C

From-SVN: r25812
1999-03-17 00:28:43 +00:00
Andreas Schwab
a4fe0b0995 cexp.y (yyerror): Call verror to get a usefull error message.
* cexp.y (yyerror): Call verror to get a usefull error message.
        * cexp.c: Rebuilt.

From-SVN: r25811
1999-03-16 14:10:35 -07:00
Andreas Schwab
b14a4f5a28 gdbinit: Move command to put breakpoint at abort to end of file so that gdb does not...
* .gdbinit: Move command to put breakpoint at abort to end of file
        so that gdb does not bail out early.

From-SVN: r25810
1999-03-16 13:58:45 -07:00
Jason Merrill
f921acee1d method.c (old_backref_index): Split out...
* method.c (old_backref_index): Split out...
	(flush_repeats): From here.  Rename back from try_old_backref.
	(build_mangled_name): Put back some old-style repeat handling.

From-SVN: r25809
1999-03-16 14:34:49 -05:00
Per Bothner
8fe57f78b6 parse.y (java_complete_lhs): Call force_evaluation_order after patch_newarray.
�
	* parse.y (java_complete_lhs):  Call force_evaluation_order
	after patch_newarray.
	(patch_binop):  Don't call fold if there are side effects.

From-SVN: r25808
1999-03-16 08:25:16 -08:00
Per Bothner
4fdea7b0d1 parse.y (java_complete_lhs): Call force_evaluation_order after patch_newarray.
x
	* parse.y (java_complete_lhs):  Call force_evaluation_order
	after patch_newarray.
	(patch_binop):  Don't call fold if there are side effects.

From-SVN: r25807
1999-03-16 08:25:14 -08:00
Per Bothner
aee48ef856 parse.y (java_complete_lhs): Call force_evaluation_order after patch_newarray.
* parse.y (java_complete_lhs):  Call force_evaluation_order
	after patch_newarray.
	(patch_binop):  Don't call fold if there are side effects.

From-SVN: r25806
1999-03-16 08:25:12 -08:00
Nick Clifton
774018b986 Rename free_bb_memory to free_bb_mem
From-SVN: r25805
1999-03-16 15:49:28 +00:00
J"orn Rennecke
3ca0a5247e * sh.md (movsi_i): Move t/r alternative after r/rI alternative.
From-SVN: r25804
1999-03-16 15:47:06 +00:00
Jim Wilson
bbecc1d6a7 Fix build failure when using SGI Irix6 cc.
* mn10200/mn10200.md (addsi3, subsi3, ashlsi3, lshrsi3, ashrsi3):
	Delete emit_library_call_value declaration.

From-SVN: r25803
1999-03-16 05:50:10 -08:00
Zack Weinberg
3fdc651fed cppfiles.c (read_and_prescan): Map backslash-newline to '\r' (which cannot otherwise appear in the processed...
1999-03-16 16:06 -0500  Zack Weinberg  <zack@rabi.columbia.edu>
	* cppfiles.c (read_and_prescan): Map backslash-newline to '\r'
	(which cannot otherwise appear in the processed buffer) and
	move it out of tokens that it appears in the middle of.
	Improve performance.
	(find_position): New function.
	* cpplib.c: \r (one character) indicates backslash
	newline, not \\\n (two characters).  It cannot appear in the
	middle of a token.  Call CPP_BUMP_LINE (pfile) whenever
	parsing moves past \n or \r.  Increment pfile->lineno whenever
	a \n is placed into token_buffer.  Only one mark can exist at
	a time, and CPP_BUMP_LINE must not be used while it is
	active.  It is automatically cleared by cpp_pop_buffer and
	parse_goto_mark.  \r is not in is_hor_space or is_space.
	(NEWLINE_FIX, NEWLINE_FIX1, adjust_position,
	update_position, count_newlines, parse_move_mark): Removed.
	(parse_string, copy_comment): New functions.
	(parse_name): Returns void.
	(parse_set_mark, parse_clear_mark, parse_goto_mark): Take only
	one argument, a cpp_reader *.  Change for new marking scheme.
	(skip_comment): Handle CHILL line comments too.  Second
	argument is now first character of comment marker; all callers
	changed.  Issue error for unterminated block comment here.
	(cpp_skip_hspace): Recognize CHILL comments.
	(copy_rest_of_line): Likewise.  Call skip_comment and
	parse_string directly, don't go through cpp_get_token.  Emit
	"/**/" for block comments if -traditional (create_definition
	needs this).
	(do_define): Don't play with put_out_comments.
	(cpp_push_buffer): Initialize ->mark to -1.
	(cpp_buf_line_and_col): Just read out the values in the buffer
	structure.
	(output_line_command): Use cpp_buf_line_and_col.  Fix
	formatting.  Remove stale code.
	(cpp_get_token): Break out string parsing code to
	parse_string.  Use skip_comment for CHILL comments too.  Use
	copy_comment for put_out_comments instead of dinking with
	marks.  Remove stale code.  Don't call output_line_command
	unless it's necessary.
	* cpplib.h (parse_marker): Removed.
	(struct cpp_buffer): line_base is now a unsigned char *; add
	`mark' [long], remove `marks' [struct parse_marker *].
	(parse_set_mark, parse_clear_mark, parse_goto_mark): Update
	prototypes.
	(CPP_BUMP_LINE, CPP_BUMP_BUFFER_LINE): New macros.
	* cppinit.c (is_hor_space, is_space): '\r' is not considered
	whitespace.
	* cppexp.c (cpp_parse_expression): Use cpp_skip_hspace, not
	SKIP_WHITE_SPACE.
	* cpphash.c (macarg): Disable line commands while expanding.

From-SVN: r25802
1999-03-16 08:10:15 -05:00
David Edelsohn
d888cbc492 edelsohn@mhpcc.edu -> edelsohn@gnu.org
From-SVN: r25801
1999-03-16 06:08:24 -05:00
Gavin Romig-Koch
0e0fda0dd2 c-lex.c (yylex): Remove warning for integer literals being larger than the largest target int.
* c-lex.c (yylex) : Remove warning for integer literals being
	larger than the largest target int.  Add warning for integer
	literal being larger than than its choosen type.

From-SVN: r25800
1999-03-16 08:33:24 +00:00
Gavin Romig-Koch
3ce1ba83d6 invoke.texi: Add -mlong32 documentation.
* invoke.texi: Add -mlong32 documentation.
	* config/mips/mips.h (mips_explicit_type_size_string): New.
	(TARGET_SWITCHES): Add 'long32'.
	(TARGET_OPTIONS): Add 'explicit-type-size'.
	(CC1_SPECS): Set -mexplicit-type-size.
        (LONG_MAX_SPEC): Change a use of 'no-long64' to 'long32'.
	* config/mips/abi64.h (LONG_MAX_SPEC): Same.  Add 'mabi=32'.
	* config/mips/mips.c (mips_explicit_type_size_string): New.
	(override_options): Use it.
	* config/mips/osfrose.h (CC1_SPECS): Set -mexplicit-type-size.
	* config/mips/mips.h (SUBTARGET_CPP_SIZE_SPEC):
	Pointer size now depends on both size longs and size of GP
	registers.

From-SVN: r25799
1999-03-16 08:04:00 +00:00
Gavin Romig-Koch
fb1bf66d61 iris.h (CTORS_SECTION_ASM_OP,DTORS_SECTION_ASM_OP, [...]): Use Pmode == DImode rather than TARGET_LONG64.
* config/mips/iris.h (CTORS_SECTION_ASM_OP,DTORS_SECTION_ASM_OP,
	dtors_section): Use Pmode == DImode rather than TARGET_LONG64.
	* config/mips/mips.c (override_options): Allow -mlong64 and
	-mint64 with -mips2 or less.
	* config/mips/mips.h (MASK_LONG64): Fix comment.
	(POINTER_SIZE): Use Pmode == DImode rather than TARGET_LONG64.
	(Pmode): Make Pmode the smaller of longs or gp registers.
	* invoke.texi: Note the new size for pointers.

From-SVN: r25798
1999-03-16 07:25:31 +00:00
Alexandre Petit-Bianco
642f15d187 parse.y (java_stabilize_reference): Use save_expr instead of building a SAVE_EXPR node.
1999-03-16  Alexandre Petit-Bianco  <apbianco@cygnus.com>
	* parse.y (java_stabilize_reference): Use save_expr instead of
	building a SAVE_EXPR node.
	(java_complete_lhs): Patch the resulting string of the `+='
	operator (if necessary) and complete the RHS after having built
	the cast.

From-SVN: r25797
1999-03-15 19:38:15 -08:00
Jeff Law
dacbe76fd2 Daily bump.
From-SVN: r25796
1999-03-15 17:45:03 -07:00
David Edelsohn
b525383199 bit-pattern directly.
(ASM_OUTPUT_REG_{PUSH,POP}): Delete.
        * rs6000.c (first_reg_to_save): If profiling and context needed,
        allocate a reg to save static chain for all ABIs.  For AIX
        profiling, calculate parameter registers to save based on need.
        (output_function_profiler): Save and restore static chain around
        profile call for all ABIs.

From-SVN: r25795
1999-03-15 14:47:42 -05:00
Kaveh R. Ghazi
9b2bf201fc lex.c: Don't include setjmp.h.
* lex.c: Don't include setjmp.h.
        (parse_float): New static function.
        (pf_args): New struct.
        (real_yylex): Use them in call to `do_float_handler'.

From-SVN: r25794
1999-03-15 19:07:25 +00:00
Zack Weinberg
0b22d65c9a cppinit.c: Instead of one pending list...
1999-03-15 21:39 -0500  Zack Weinberg  <zack@rabi.columbia.edu>
	* cppinit.c: Instead of one pending list, keep separate lists
	for each category of pending option: -D/-U, -A, -include,
	-imacros.  Move the four partial include-path lists into the
	pending block.  Use head and tail pointers so we don't ever
	have to reverse the lists.
	(cpp_start_read): Break out blocks of code to their own
	functions: install_predefs and initialize_dependency_output.
	Use path_include for C_INCLUDE_PATH and friends as well as
	CPATH.  Remove include_defaults gunk.  Warn about the
	combination of -lang-chill and -trigraphs.  Optimize string
	bashing.  Walk each pending list once, deallocating as we go.
	(append_include_chain): Brought over from cppfiles.c.  Mark
	dirs as system include dirs if and only if appending to
	system include path. If opts->verbose, print a notice when a
	dir is dropped from the include path because it doesn't
	exist.  Fix memory leak: this function is not supposed to copy
	its DIR argument.
	(nreverse_pending, push_pending): Removed.
	(APPEND): New macro for adding to pending lists.
	(path_include): Can now add to any partial include path.
	(base_name): Bring over from cccp.c.
	(cpp_options_init): Allocate the pending block.
	(cpp_handle_option): Add --version.  Exit after --help.  Fix
	formatting.  Order -ifoo options by frequency of usage.
	(install_predefs): New function, simplified version of code
	that was in cpp_start_read.
	(initialize_dependency_output): Likewise.  Understand OBJECT_SUFFIX.
	* cppfiles.c (simplify_pathname): Export.
	(merge_include_chains):  Don't nreverse the lists.  If
	opts->verbose, print a notice when a duplicate dir is detected
	and dropped from the include path.
	(finclude): Fix excessive cleverness in setting
	fp->system_header_p.
	(actual_directory): Set x->sysp from
	CPP_BUFFER (pfile)->system_header_p so that one system header
	may include another with "".
	(deps_output): Fix double adjustment of deps_size which would
	cause all dependencies after the first two lines to be lost.
	* cpplib.c (cpp_unassert): New function.
	* cpplib.h: Lay out struct cpp_pending here.  Adjust
	prototypes.  Add include_prefix_len to struct cpp_options.

From-SVN: r25793
1999-03-15 18:42:46 +00:00
Jim Wilson
56dc4d15c4 mips.h (REGISTER_MOVE_COST): Make the cost of moving from HI/LO/HILO/MD into general registers the same as...
Mon Mar 15 16:01:52 1999  Jim Wilson  <wilson@cygnus.com>
	* config/misp/mips.h (REGISTER_MOVE_COST): Make the cost of moving
 	from HI/LO/HILO/MD into general registers the same as for one
 	of moving general registers to HI/LO/HILO/MD.

From-SVN: r25792
1999-03-15 15:08:51 +00:00
Craig Burley
68d02aa0db Update BUGS, NEWS derived files
From-SVN: r25791
1999-03-15 09:15:50 -05:00
Craig Burley
811cabeeb6 Editorial fixes to g77 docs
From-SVN: r25790
1999-03-15 09:15:16 -05:00