Commit Graph

22634 Commits

Author SHA1 Message Date
Dave Brolley
505e038544 c-lex.c (GETC): Redefine to call getch.
Mon Jun  7 14:07:39 1999  Dave Brolley  <brolley@cygnus.com>
	* c-lex.c (GETC): Redefine to call getch.
	(UNGETC): Redefine to call put_back.
	(putback_buffer): New structure type.
	(putback): New static structure.
	(getch): New function.
	(put_back): New function.
	(yylex): Replace unused bytes from bad multibyte character.

From-SVN: r27393
1999-06-07 07:12:38 -04:00
Dave Brolley
cd28936cf0 lex.c (real_yylex): Replace unused bytes from bad multibyte char.
1999-06-07  Dave Brolley  <brolley@cygnus.com>
	* lex.c (real_yylex): Replace unused bytes from bad multibyte char.
	* input.c (putback_buffer): New structure type.
	(putback): Replaces putback_char member.
	(putback): Replaces putback_char static variable.
	(feed_input): Use putback.
	(end_input): Use putback.
	(sub_getch): Use putback.
	(put_back): Use putback.

From-SVN: r27392
1999-06-07 07:10:29 -04:00
Dave Brolley
e7553be55a cpplib.c (do_define): Cast `alloca' return value.
Mon Jun  7 13:33:39 1999  Dave Brolley  <brolley@cygnus.com>
	* cpplib.c (do_define): Cast `alloca' return value.
	(do_include, do_undef, do_pragma): Likewise.
	* cpphash.c (dump_definition): Cast `xstrdup' and `alloca' return
 	values.
	* cppfiles.c (initialize_input_buffer): Cast `xmalloc' return values.
	* gcc/cppspec.c (lang_specific_driver): Cast xmalloc return value.

From-SVN: r27391
1999-06-07 06:35:27 -04:00
Craig Burley
683a10613f Any target using libsubdir must depend on installdirs
From-SVN: r27389
1999-06-07 02:44:07 -04:00
Jeff Law
b4204458cc Daily bump.
From-SVN: r27387
1999-06-06 18:45:03 -06:00
Jeff Law
bc4a88097b Update LCM stuff.
From-SVN: r27386
1999-06-06 17:30:31 -06:00
Jakub Jelinek
6570c0bd04 Jakub Jelinek <jj@ultra.linux.cz>
Jakub Jelinek  <jj@ultra.linux.cz>
        * sparc.md (abstf2): This should be an expand.
        (split after abstf2_notv9): Fix mode.
        (abstf2_hq_v9): New pattern.
        (abstf2_v9): Only use when no hard quad.
        (absdf2_v9): Fix if target is not the same as source.
        (ashrsi3_extend, ashrsi3_extend2, lshrsi3_extend, lshrsi3_extend2):
        Add correct output constraints.

From-SVN: r27384
1999-06-06 04:59:13 -07:00
Mark Mitchell
9223feaacb method.c (is_back_referenceable_type): Back-reference bools when not squangling.
* method.c (is_back_referenceable_type): Back-reference bools when
	not squangling.

[[Split portion of a mixed commit.]]

From-SVN: r27382.2
1999-06-06 11:06:53 +00:00
Jeff Law
464eda2b3c Daily bump.
From-SVN: r27380
1999-06-05 18:45:02 -06:00
Craig Burley
22a89f70b9 update derived files
From-SVN: r27378
1999-06-05 18:07:34 -04:00
Craig Burley
7778a2c325 describe more missing features
From-SVN: r27376
1999-06-05 17:52:35 -04:00
Craig Burley
7001ee2d42 Dave Love's Intel-related doc fixes
From-SVN: r27375
1999-06-05 11:16:18 -04:00
Anthony Green
db1421c77b [multiple changes]
Sat Jun  5 11:46:59 1999  Anthony Green  <green@cygnus.com>
        * Make-lang.in (gcjh): More parallel build fixes.
1999-06-03  Mike Stump  <mrs@wrs.com>
        * Make-lang.in (JCF_DUMP_SOURCES, jvgenmain): Fix parallel builds.

From-SVN: r27373
1999-06-05 15:06:44 +00:00
Craig Burley
622cc043aa replace with better test
From-SVN: r27370
1999-06-05 10:44:16 -04:00
Mark Mitchell
0ff8379990 mips.h (mips_output_conditional_branch): New function.
* mips.h (mips_output_conditional_branch): New function.
	(mips_adjust_insn_length): Likewise.
	(ASSEMBLER_SCRATCH_REGNUM): New macro.
	(ADJUST_INSN_LENGTH): Likewise.
	* mips.c (print_operand): Add `F' and `W' for floating-point
	comparison opcodes.
	(machine_dependent_reorg): Adjust MIPS16 code; instruction-lengths
	are now in bytes.
	(mips_adjust_insn_length): New function.
	(mips_output_conditional_branch): New function.
	* mips.md (length): Adjust attribute definition to handle
	conditional branches.  	Change lengths to bytes, rather than
	instructions throughout.  Remove length attribute from
	instructions whose length is four bytes, and rely on the default
	instead.
	(dslot): Fix typo in comment.
	Reword conditional branch patterns to use
	mips_output_conditional_branch.

From-SVN: r27369
1999-06-05 11:12:58 +00:00
Mark Mitchell
29bbeb1c2b * decl.c (grokdeclarator): Fix typo in last change.
From-SVN: r27368
1999-06-05 11:03:56 +00:00
Craig Burley
0993272f08 Use libsubdir, not prefix, for lang-f77
From-SVN: r27367
1999-06-05 06:20:59 -04:00
Gabriel Dos Reis
3653bb9997 * std/std_valarray.h: Don't #include unconditionally <alloca.h>
From-SVN: r27364
1999-06-05 09:41:22 +00:00
Craig Burley
11fda01f76 doc stuff that used to be in README.g77
From-SVN: r27359
1999-06-04 21:18:45 -04:00
Jeff Law
7a5b54efc6 Daily bump.
From-SVN: r27358
1999-06-04 18:45:33 -06:00
Gabriel Dos Reis
27ac1891d2 std_valarray.h: New file.
* std/std_valarray.h: New file.
 	* std/slice.h: New file.
	* std/slice_array.h: New file.
	* std/gslice.h: New file.
	* std/gslice_array.h: New file.
	* std/mask_array.h: New file.
	* std/indirect_array.h: New file.
	* std/valarray_array.h: New file.
	* std/valarray_array.tcc: New file.
	* std/valarray_meta.h: New file.
	* valarray.cc: New file.
	* valarray: New file
	* Makefile.in (OBJS): add valarray.o
	(HEADERS): add valarray
	(valarray.o): define dependency on valarray.cc
	(install): make it possible to install valarray files.

From-SVN: r27354
1999-06-04 19:35:36 +00:00
Rainer Orth
5c5d086f85 osf.h (CPP_SUBTARGET_SPEC): Handle -threads.
* alpha/osf.h (CPP_SUBTARGET_SPEC): Handle -threads.
        (LIB_SPEC): Likewise.
        Link with -lprof1_r for -g/-pg.

From-SVN: r27353
1999-06-04 06:41:19 -07:00
Craig Burley
11b6d80dad add item to missing features
From-SVN: r27350
1999-06-04 04:14:19 -04:00
Jason Merrill
ecfa9fccd5 semantics.c (finish_if_stmt_cond): Copy cond to permanent_obstack.
* semantics.c (finish_if_stmt_cond): Copy cond to permanent_obstack.
	(finish_while_stmt_cond, finish_do_stmt, finish_for_cond): Likewise.

From-SVN: r27348
1999-06-03 23:45:57 -04:00
Andreas Schwab
ef1d4aec0e loop.c (check_dbra_loop): Fix change of Jan 19.
1999-06-04  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
        * loop.c (check_dbra_loop): Fix change of Jan 19.

From-SVN: r27345
1999-06-03 19:32:21 -06:00
Nathan Sidwell
980c394cc7 * except.c (build_throw): Check throw expression validity.
From-SVN: r27344
1999-06-04 01:31:42 +00:00
Andreas Schwab
4469640cbd * gcc.c-torture/execute/990604-1.c: New test.
From-SVN: r27343
1999-06-03 19:30:42 -06:00
Jeff Law
f4926cb5dc Daily bump.
From-SVN: r27341
1999-06-03 18:45:04 -06:00
Marc Espie
b132bf372a freebsd-elf.h (SWITCH_TAKES_ARG): Redefine, not define.
* freebsd-elf.h (SWITCH_TAKES_ARG):  Redefine, not define.
        (STARTFILE_SPEC):  Define, override the svr4.h version.
        (ENDFILE_SPEC):  Likewise.

From-SVN: r27340
1999-06-03 17:19:02 -06:00
Jeff Law
149911d4ea inclhack.def (limits_ifndefs): Also apply to sys/limits.h
�
        * fixinc/inclhack.def (limits_ifndefs): Also apply to sys/limits.h
        * fixinc/fixincl.x: Regenerated.
        * fixinc/inclhack.sh: Regenerated.

From-SVN: r27338
1999-06-03 17:06:30 -06:00
Jeff Law
c25e0aea7f inclhack.def (limits_ifndefs): Also apply to sys/limits.h
�
        * fixinc/inclhack.def (limits_ifndefs): Also apply to sys/limits.h
        * fixinc/fixincl.x: Regenerated.
        * fixinc/inclhack.sh: Regenerated.

From-SVN: r27337
1999-06-03 17:06:24 -06:00
Warren Levy
a259a24846 [multiple changes]
1999-06-02  Warren Levy  <warrenl@cygnus.com>
	* java/net/URL.java (URL(URL,String)): Initialize port to -1.
	Ignore context if spec is an absolute URL.  Fix braindead
	string comparison.
	(hashCode): Use JDK 1.2 style algorithm.
	* java/net/URLStreamHandler.java (parseURL): Reimplement to handle
	context URL properly.
1999-05-30  Anthony Green  <green@cygnus.com>
	* java/net/URLStreamHandler.java (parseURL): Parse relative URLs
	correctly.  Clean up "/../" and "/./" path fragments.

From-SVN: r27334
1999-06-03 22:29:12 +00:00
J"orn Rennecke
4d070fd3cd Fix pcrel too far problems due to upping CACHE_LOG on SH2:
* sh.c (barrier_align): Don't return early for normal branch/barrier
        when optimizing for SH2.

From-SVN: r27333
1999-06-03 22:48:04 +01:00
Robert Lipe
4365b90634 udk.h (LINK_SPEC): Correct linker search path for system libraries.
P
        * i386/udk.h (LINK_SPEC): Correct linker search path for
        system libraries.

From-SVN: r27331
1999-06-03 15:27:41 -06:00
Robert Lipe
4e560f909d udk.h (LINK_SPEC): Correct linker search path for system libraries.
�
        * i386/udk.h (LINK_SPEC): Correct linker search path for
        system libraries.

From-SVN: r27330
1999-06-03 15:27:38 -06:00
J"orn Rennecke
eb3881bf7d sh.c (fixup_addr_diff_vecs): Emit braf reference label.
* sh.c (fixup_addr_diff_vecs): Emit braf reference label.
	(braf_label_ref_operand): Delete.
	* sh.h (PREDICATE_CODES): Remove braf_label_ref_operand.
	* sh.md (casesi_jump_2): Operand1 is now the inside of a
	label_ref, and has no predicate.
	The patten has a predicate to guard against invalid substitutions.
	(dummy_jump): Delete.
	(casesi): Update use of casesi_jump_2.

From-SVN: r27329
1999-06-03 21:00:16 +01:00
Mark Mitchell
b89c5a7b53 decl.c (grokdeclarator): Don't treat arbitrary types as unsigned just because flag_signed_bitfields is false.
* decl.c (grokdeclarator): Don't treat arbitrary types as unsigned
	just because flag_signed_bitfields is false.

From-SVN: r27328
1999-06-03 10:07:18 +00:00
Bruce Korb
5403593a44 Io_Def_Quotes): corrected sed expression
From-SVN: r27327
1999-06-03 07:56:01 +00:00
Nathan Sidwell
b4f70b3d42 semantics.c (begin_class_definition): Update the struct's location here ...
* semantics.c (begin_class_definition): Update the struct's
	location here ...
	* class.c (finish_struct): ... rather than here.
	* decl.c (make_typename_type): Don't rely on uninitialized
	variable.

From-SVN: r27326
1999-06-03 07:16:15 +00:00
Jason Merrill
8a8c36562f dwarf2out.c (add_incomplete_type): New fn.
* dwarf2out.c (add_incomplete_type): New fn.
	(gen_struct_or_union_type_die): Call it.
	(retry_incomplete_types): New fn.
	(dwarf2out_finish): Call it.

From-SVN: r27325
1999-06-02 22:31:22 -04:00
Jeff Law
ec1f6a38ef Daily bump.
From-SVN: r27322
1999-06-02 18:45:02 -06:00
Jeff Law
b1d26727ac gcse.c (insert_insn_end_bb): Correct placement of insns when the current block starts with a CODE_LABEL and...
�
        * gcse.c (insert_insn_end_bb): Correct placement of insns when the
        current block starts with a CODE_LABEL and ends with a CALL and
        we can not find all the argument setup instructions for the CALL.

From-SVN: r27321
1999-06-02 18:19:42 -06:00
Jeff Law
cd5828a94e gcse.c (insert_insn_end_bb): Correct placement of insns when the current block starts with a CODE_LABEL and...
�
        * gcse.c (insert_insn_end_bb): Correct placement of insns when the
        current block starts with a CODE_LABEL and ends with a CALL and
        we can not find all the argument setup instructions for the CALL.

From-SVN: r27320
1999-06-02 18:19:36 -06:00
Mark Mitchell
9c922ec705 Revert this change:
* fold-const.c (fold): STRIP_NOPS when deciding whether or not
	something is a candidate for optimize_bit_field_compare.

From-SVN: r27318
1999-06-02 15:42:19 +00:00
J"orn Rennecke
679dcddbfc * sh.h (CONST_OK_FOR_I, CONST_OK_FOR_L): Cast VALUE to HOST_WIDE_INT.
From-SVN: r27317
1999-06-02 14:56:21 +01:00
Richard Henderson
c04635cceb alpha.c (override_options): Thinko in last patch.
* alpha.c (override_options): Thinko in last patch.
        * alpha/osf.h (CPP_SUBTARGET_SPEC): Define.
        (LIB_SPEC): Recognize -pthread.

From-SVN: r27316
1999-06-02 05:31:27 -07:00
Anthony Green
99fd3aa538 [multiple changes]
Wed Jun  2 10:44:38 1999  Anthony Green  <green@cygnus.com>
	* except.c (link_handler): Chain exception handlers in order.
Wed Jun  2 10:41:24 1999  Anthony Green  <green@cygnus.com>
	* expr.c (expand_byte_code): Fill unreachable bytecode regions
 	with nops and process as usual in order to always set correct EH
 	ranges.  Emit detailed warnings about unreachable bytecodes.
Wed Jun  2 10:35:13 1999  Anthony Green  <green@cygnus.com>
	* class.c (build_utf8_ref): Mark cinit and utf8 tree nodes as
 	constant.
(From egcs posted patches.)

From-SVN: r27314
1999-06-02 04:00:44 -07:00
Nick Clifton
c237e58627 Synchronise definitions of USER_LABEL_PREFIX
From-SVN: r27313
1999-06-02 08:46:55 +00:00
Bruce Korb
bb78620135 Remove references to setenv/putenv
From-SVN: r27312
1999-06-02 07:08:54 +00:00
Jeffrey A Law
079bd08eb2 README, [...]: Update name (egcs -> gcc) and version #s (1.1 -> 2.96) as needed.
* README, configure.in, gcc.1, gcc.texi: Update name (egcs -> gcc)
        and version #s (1.1 -> 2.96) as needed.
        * README.g77: Kill way out of date file in the toplevel directory.
Part of the ongoing conversion to the one true gcc.

From-SVN: r27308
1999-06-01 19:37:08 -06:00