Commit Graph

21711 Commits

Author SHA1 Message Date
Tom Tromey
4ac19b2c16 Makefile.in: Rebuilt.
* Makefile.in: Rebuilt.
	* Makefile.am (AM_MAKEFLAGS): Added JC1FLAGS.

From-SVN: r26402
1999-04-13 10:54:14 +00:00
Dave Brolley
9e934a98fa cppinit.c (cpp_start_read): Fix buffer overwrite.
Tue Apr 13 12:14:07 1999  Dave Brolley  <brolley@cygnus.com>
	* cppinit.c (cpp_start_read): Fix buffer overwrite.
	* Makefile.in (cppinit.o): Typo in dependencies.

From-SVN: r26401
1999-04-13 05:43:28 -04:00
Andrew Haley
a4e44caa6d i386-signal.h, [...]: New files.
1999-04-13  Andrew Haley  <aph@cygnus.com>
        * include/i386-signal.h, include/default-signal.h: New files.
        * prims.cc (catch_segv): Call MAKE_THROW_FRAME in exception
        handler.
        (catch_fpe): New function.
        * configure.in: Make link to appropriate include/java-signal.h.
        * configure: Rebuilt.
        * Makefile.am: include/java-signal.h added to dependency list.
        * Makefile.in: Rebuilt.

From-SVN: r26400
1999-04-13 09:18:09 +00:00
Richard Earnshaw
0e8285f120 arm.h (function prototypes for arm.c): Ifdef these out if HAVE_CONFIG_H is not defined.
* arm.h (function prototypes for arm.c): Ifdef these out if
HAVE_CONFIG_H is not defined.

From-SVN: r26399
1999-04-13 05:12:37 +00:00
Jeffrey A Law
d2d280851c pa.c: Remove space register specification in memory addresses...
* pa.c: Remove space register specification in memory addresses,
        except where it is actually needed.
        * pa.md, pa.h, ee.asm, ee_fp.asm, lib2funcs.asm: Likewise.

From-SVN: r26398
1999-04-12 19:13:07 -06:00
Jeff Law
da59be1f1f Daily bump.
From-SVN: r26397
1999-04-12 18:45:04 -06:00
Jason Merrill
680498aa2d new
From-SVN: r26395
1999-04-12 20:44:56 -04:00
Jason Merrill
aff08c1864 cp-tree.h (struct lang_type): Add com_interface.
* cp-tree.h (struct lang_type): Add com_interface.
	(CLASSTYPE_COM_INTERFACE): New macro.
	* class.c (set_rtti_entry): COM interface classes have no RTTI
	entries in their vtables; adjust.
	(add_virtual_function, finish_base_struct, skip_rtti_stuff,
	modify_one_vtable, fixup_vtable_deltas1, override_one_vtable,
	finish_struct_1): Likewise.
	* decl2.c (mark_vtable_entries): Likewise.
	* rtti.c (build_headof, get_tinfo_fn_dynamic): Likewise.
	* search.c (get_abstract_virtuals_1, get_abstract_virtuals,
	expand_upcast_fixups): Likewise.
	* tree.c (debug_binfo): Likewise.

From-SVN: r26394
1999-04-12 20:39:32 -04:00
Jason Merrill
940ff22359 cp-tree.h (COMPARE_NO_ATTRIBUTES): New macro.
* cp-tree.h (COMPARE_NO_ATTRIBUTES): New macro.
	* typeck.c (comptypes): If we get it, ignore attributes.
	* class.c (instantiate_type): Use BASELINK_P.  Change complain
	parameter to flags; 2 means ignore attributes.
	* call.c (build_op_delete_call): Pass it.

From-SVN: r26393
1999-04-12 20:20:42 -04:00
Jason Merrill
f2e2cbd4a2 decl.c (xref_tag): Only complain once about using a typedef-name with 'struct'.
* decl.c (xref_tag): Only complain once about using a typedef-name
	with 'struct'.  Downgrade to pedwarn.
	* decl.c (grokdeclarator): Allow [] syntax for zero-length array.

From-SVN: r26392
1999-04-12 20:10:42 -04:00
Jason Merrill
20c395720e update comment
From-SVN: r26391
1999-04-12 20:04:33 -04:00
Jason Merrill
46ff11fda2 parse.y (absdcl_intern): New nonterminal.
* parse.y (absdcl_intern): New nonterminal.
	(absdcl, direct_abstract_declarator): Use it.

From-SVN: r26390
1999-04-12 19:57:36 -04:00
Jason Merrill
a11f18898a new
From-SVN: r26389
1999-04-12 19:56:18 -04:00
Mumit Khan
8dadfd1957 * stl_config.h (__MINGW32__): Mingw32 RTL lacks drand48.
From-SVN: r26388
1999-04-12 17:37:24 -06:00
Jeffrey A Law
c499fa6456 Bump for snapshot
From-SVN: r26387
1999-04-12 17:34:41 -06:00
Jan Hubicka
791ca74ce4 * reg-stack.c (check_stack_regs_mentioned): Remove variable SIZE.
From-SVN: r26386
1999-04-12 17:25:38 -06:00
Mumit Khan
d78b684f61 * libF77/getenv_.c: Include stdlib.h.
From-SVN: r26385
1999-04-12 14:42:45 -06:00
Zack Weinberg
d4ecc3778c Fix typo in subroutine check
From-SVN: r26384
1999-04-12 18:49:47 +00:00
Mumit Khan
29bf433b85 g77spec.c (lang_specific_driver): Check whether MATH_LIBRARY is null to decide whether to use it.
* g77spec.c (lang_specific_driver): Check whether MATH_LIBRARY is
        null to decide whether to use it.

From-SVN: r26383
1999-04-12 12:35:43 -06:00
Alexandre Petit-Bianco
b3edebcf49 parse.y (patch_unaryop): Fix ++ operator check on array references.
Mon Apr 12 18:27:32 1999  Alexandre Petit-Bianco  <apbianco@cygnus.com>
	* parse.y (patch_unaryop): Fix ++ operator check on array
 	references.

From-SVN: r26382
1999-04-12 11:32:22 -07:00
Urban Widmark
808ce120ae DataInputStream.java (readLine): Corrected handling of empty lines, from null to "".
1999-04-12  Urban Widmark <urban@svenskatest.se>
	* java/io/DataInputStream.java (readLine): Corrected handling of
	empty lines, from null to "".

From-SVN: r26381
1999-04-12 18:27:56 +00:00
Mumit Khan
edcc5d3c96 filedoalloc.c (_POSIX_SOURCE): Remove definition.
* filedoalloc.c (_POSIX_SOURCE): Remove definition.
        * fileops.c (_POSIX_SOURCE): Likewise.
        * iopopen.c (_POSIX_SOURCE): Likewise.
        * procbuf.cc (_POSIX_SOURCE): Likewise.
        * libioP.h (_POSIX_SOURCE): And define it here.
        * stdiostream.cc: Include libioP.h before others.

From-SVN: r26380
1999-04-12 12:27:53 -06:00
Daniel Jacobowitz
3c59b7abd3 * rs6000/sysv4.h (CPP_OS_LINUX_SPEC): Add missing backslash.
From-SVN: r26379
1999-04-12 12:22:02 -06:00
Mumit Khan
c6df90d818 cygwin.h (SUBTARGET_SWITCHES): Add -mconsole; fix -mno-nop-fun-dllimport and minor doc fixes.
* i386/cygwin.h (SUBTARGET_SWITCHES): Add -mconsole; fix
        -mno-nop-fun-dllimport and minor doc fixes.
        (STARTFILE_SPEC): Cygwin DLLs don't have dllcrt0.
        (LINK_SPEC): Add -mconsole support.
        * i386/mingw32.h (LIB_SPEC): Make libraries consistent with
        Cygwin.
        (LINK_SPEC): Remove. Use Cygwin's version.
        (MATH_LIBRARY): Make it null.
        * i386/crtdll.h (MATH_LIBRARY): Likewise.

From-SVN: r26378
1999-04-12 12:18:06 -06:00
Richard Henderson
6f670fded2 Document -mcpu=k6.
From-SVN: r26377
1999-04-12 09:14:48 -07:00
Stan Cox
007aaed01e c-decl.c (c_decode_option, [...]): Recognize -Wno-main so we can avoid warnings.
* c-decl.c (c_decode_option, start_decl, start_function,
	finish_function) : Recognize -Wno-main so we can avoid warnings.

From-SVN: r26376
1999-04-12 14:05:29 +00:00
Tom Tromey
b6d3799173 Makefile.in: Rebuilt.
* Makefile.in: Rebuilt.
	* Makefile.am (libgcj.zip): Put `gnu' classes into zip file.

From-SVN: r26375
1999-04-12 12:46:01 +00:00
Jim Blandy
9252355101 *** empty log message ***
From-SVN: r26374
1999-04-12 12:36:31 +00:00
Jim Blandy
92b0366412 Fix from Marcus Daniels:
* cplus-dem.c (demangle_fund_type): Don't run off the end of the
identifier looking for another underscore.

From-SVN: r26373
1999-04-12 12:36:00 +00:00
Tom Tromey
69d5914bd0 natSystem.cc (SystemClass): New define.
* java/lang/natSystem.cc (SystemClass): New define.
	(init_properties): Synchronize.

From-SVN: r26372
1999-04-12 12:34:41 +00:00
Zack Weinberg
ed45de9838 cpphash.c (collect_expansion, [...]): Make the escape character in macro buffers '\r', not '@'.
1999-04-12 14:55 -0400  Zack Weinberg  <zack@rabi.columbia.edu>
	* cpphash.c (collect_expansion, macroexpand,
	push_macro_expansion): Make the escape character in macro
	buffers '\r', not '@'.  Remove code to protect literal
	occurences of the escape character; '\r' cannot appear
	in a macro buffer unless we put it there.
	* cpplib.c (skip_comment, copy_comment, cpp_skip_hspace,
	copy_rest_of_line, cpp_get_token, parse_string,
	parse_assertion): '\r' might be a backslash-newline marker, or
	it might be a macro escape marker, depending on
	CPP_BUFFER (pfile)->has_escapes.  '@' is not a special
	character.
	* cpplib.h: Update commentary.

From-SVN: r26371
1999-04-12 12:03:10 +00:00
Jason Merrill
802dbc3491 * pt.c (lookup_template_class): Look through implict typename.
From-SVN: r26370
1999-04-12 06:54:06 -04:00
Jason Merrill
660c731419 new
From-SVN: r26369
1999-04-12 06:53:36 -04:00
Richard Earnshaw
f9cc092ab4 arm.h (target_fp_name, [...]): Const-ify.
* arm.h (target_fp_name, structure_size_string, arm_cpu_select):
Const-ify.
* arm.c (target_fp_name, structure_size_string): Const-ify.
* arm.md (reload_inhi, reload_outhi): Make the scratch DImode.
* arm.c (arm_reload_in_hi): Handle cases when the input is still
a pseudo, make use of scratch registers for reloading the address
as appropriate.
(arm_reload_outhi): Similarly for when the output is still a pseudo.
* riscix.h (SUBTARGET_SWITCHES): Document.

From-SVN: r26368
1999-04-12 09:43:37 +00:00
Bruce Korb
c3c55f8632 make fixincludes behave like the scripts in fixinc/
From-SVN: r26367
1999-04-12 07:28:13 +00:00
Bruce Korb
f853036b41 ensure the SHELL value is that of the make
From-SVN: r26366
1999-04-12 07:21:36 +00:00
Bruce Korb
9ae0257f30 fixincl work
From-SVN: r26365
1999-04-12 07:18:18 +00:00
Bruce Korb
be02fa1a4e regenerated
From-SVN: r26364
1999-04-12 07:12:21 +00:00
Bruce Korb
7db774d2f1 1. the file name lists ought to be restricted to "*.h" anyway 2. C++ files may be named .../[a-z]++/...
1.  the file name lists ought to be restricted to "*.h" anyway
2.  C++ files may be named .../[a-z]++/... also
3.  the original egrep pattern was not finding "__MIPSEL".
    I am not enough of a regexp person to know why.
4.  Adding copyright year and attribution to output
5.  Add copyright date and attribution
6.  Clarify a bunch of comments
7.  Remove dead template text
8.  Correct the counting of regular expressions

From-SVN: r26363
1999-04-12 07:11:20 +00:00
Richard Henderson
96043e7e1c alpha.c (aligned_memory_operand): Handle out of range stack slots.
* alpha.c (aligned_memory_operand): Handle out of range stack slots.
        Take a new SCRATCH argument for the occasion.  Update all callers.
        (get_unaligned_address): Abort on out of range stack slots.
        * alpha.md (adddi3 splitter): Check s_p_rtx not REGNO.
        (reload_inqi): Check for aligned mems before unaligned.
        (reload_inhi): Likewise.

From-SVN: r26362
1999-04-11 20:11:37 -07:00
Jeffrey A Law
55a98783c8 flow.c (flow_delete_insn): If we delete a CODE_LABEL...
* flow.c (flow_delete_insn): If we delete a CODE_LABEL, also remove
	it from the nonlocal_goto_handler_labels list.
	* jump.c (delete_insn): Likewise.
	(jump_optimize_1): Also recompute LABEL_NUSES when we are just
	marking labels.
	* rtl.h (remove_node_from_expr_list): Declare.
	* rtlanal.c (remove_node_from_expr_list): New function.

From-SVN: r26361
1999-04-11 20:18:55 -06:00
Jan Hubicka
21b2cd7321 reg-stack.c: Update comment, include varray.h.
* reg-stack.c: Update comment, include varray.h.
        (stack_regs_mentioned_data): New global variable.
        (check_stack_regs_mentioned): New function.
        (stack_regs_mentioned): New function.
        (reg_to_stack): Initialize and free stack_regs_mentioned_data,
        use stack_regs_mentioned.
        (record_asm_reg_life): Change insn type cache for changed insn.
        (record_reg_life): Do not change the insn mode.
        (emit_pop_insn): Likewise.
        (emit_swap_insn): Likewise.
        (move_for_stack_reg): Likewise.
        (stack_reg_life_analysis): Use stack_regs_mentioned.
        (emit_swap_insn): Likewise.
        (subst_stack_regs): Likewise.
        (convert_regs): Likewise.
        * jump.c (find_cross_jump): Use stack_regs_mentioned.
        * rtl.h (stack_regs_mentioned): Declare.

From-SVN: r26360
1999-04-11 19:39:00 -06:00
Jeff Law
6b1d78bf50 Forgot to cvs add this with Mumit's previous patch.
From-SVN: r26359
1999-04-11 19:26:16 -06:00
Mumit Khan
d2ec29fbf1 dtime_.c: Handle all variants of WIN32.
* libU77/dtime_.c: Handle all variants of WIN32.
        * libU77/etime_.c: Likewise.

From-SVN: r26358
1999-04-11 19:25:38 -06:00
Jeff Law
2206b47188 Daily bump.
From-SVN: r26357
1999-04-11 18:45:01 -06:00
Theodore Papadopoulo
c51262cf52 * integrate.c (INTEGRATE_THRESHOLD): Sync it with the comment.
From-SVN: r26356
1999-04-11 18:03:02 -06:00
Alexandre Oliva
e891fbfe34 config-ml.in: On mips*-*-*...
* config-ml.in: On mips*-*-*, if multidirs contains mabi=64, try to
        link a trivial program with -mabi=64.  If it fails, remove mabi=64
        from multidirs.

From-SVN: r26355
1999-04-11 17:00:24 -06:00
Jeffrey A Law
1bd0b556b4 * bitset: Re-install Alexandre's lost patch from 1998-11-27.
From-SVN: r26354
1999-04-11 16:53:05 -06:00
Mumit Khan
2bcf042cce aclocal.m4: New file.
* libU77/aclocal.m4: New file.
        * libU77/configure.in (LIBU77_HAVE_STRUCT_TIMEZONE): Add test.
        * libU77/acconfig.h (HAVE_STRUCT_TIMEZONE): Add macro.
        * libU77/datetime_c.c (G77_date_and_time_0): Use.
        * libU77/config.hin: Regenerate.
        * libU77/configure: Likewise.

From-SVN: r26353
1999-04-11 16:35:17 -06:00
Mumit Khan
36eb4217ac pexecute.c: Change all references to __UWIN__ to _UWIN.
* pexecute.c: Change all references to __UWIN__ to _UWIN.
        * xmalloc.c: Likewise.
        (xcalloc): UWIN has sbrk.
        (xrealloc): Fix guard macro.

From-SVN: r26352
1999-04-11 16:21:28 -06:00