Jason Merrill
e5dc5fb2a5
tree.c (cp_valid_lang_attribute): New fn.
...
* tree.c (cp_valid_lang_attribute): New fn. Handle init_priority
and com_interface.
* cp-tree.h: Add prototype.
* decl.c (init_decl_processing): Set valid_lang_attribute.
From-SVN: r26421
1999-04-13 17:28:25 -04:00
Mark Mitchell
1b8899d1a0
class.c (finish_struct_1): Look at the const-ness of the field's type...
...
* class.c (finish_struct_1): Look at the const-ness of the field's
type, not the TREE_READONLY-ness of the declaration.
* method.c (synthesize_method): Likewise.
* pt.c (tsubst_decl): Call c_apply_type_quals_to_decl when
creating new declarations.
From-SVN: r26420
1999-04-13 21:20:49 +00:00
Jason Merrill
adfaf194f3
c-common.c (default_valid_lang_attribute): New fn.
...
* c-common.c (default_valid_lang_attribute): New fn.
(valid_lang_attribute): New callback ptr.
(decl_attributes): Call it. Move init_priority support into
C++ frontend.
From-SVN: r26419
1999-04-13 17:04:06 -04:00
Jeff Law
b35a537483
Fix typo in ChangeLog.
...
From-SVN: r26418
1999-04-13 14:24:51 -06:00
Mike Stump
1ee1f3401e
Fix up spelling and formatting.
...
From-SVN: r26417
1999-04-13 19:38:08 +00:00
Mike Stump
9c73ec8469
decl2.c (import_export_decl): Because vtables always reference virtual functions...
...
* decl2.c (import_export_decl): Because vtables always reference
virtual functions, even if they are inlined, don't allow
-fno-implement-inlines to not emit them, instead, emit them with
the vtable.
* decl.c (start_function): Likewise.
Fixes vtable1.C
From-SVN: r26416
1999-04-13 18:09:57 +00:00
John Wehle
63a4a903a7
John Wehle (john@feith.com)
...
John Wehle (john@feith.com )
* i386.md (movdi): Add splitter.
From-SVN: r26415
1999-04-13 10:47:40 -07:00
Jeff Law
15838c69df
Revert one over-aggressive "0" -> "%%r0" conversion ;-)
...
From-SVN: r26414
1999-04-13 11:00:28 -06:00
Michael Hayes
ebcc44f4ad
c4x.md (storeqf_int, [...]): Add new patterns with corresponding splitters to handle moves of floating point...
...
* config/c4x/c4x.md (storeqf_int, storeqf_int_clobber, loadqf_int,
loadqf_int_clobber): Add new patterns with corresponding splitters
to handle moves of floating point values into and out of intager
registers by using memory.
* config/c4x/c4x.c (c4x_check_legit_addr): Disallow PRE_INC for modes
other than QFmode and QImode.
(mixed_subreg_operand): New function.
(c4x_emit_move_sequence): If moving a floating point value into or
out of an integer register, use the new patterns storeqf_int_clobber
or loadqf_int_clobber.
(reg_imm_operand, *_reg_operand): Call reg_operand instead of
register_operand.
(reg_operand, src_operand): Disallow operand if it satisifes
mixed_subreg_operand.
* config/c4x/c4x.h (mixed_subreg_operand): Add prototype.
From-SVN: r26413
1999-04-13 15:38:12 +00:00
Jan Hubicka
b985a30f32
Jan Hubicka <hubicka@freesoft.cz>
...
Jan Hubicka <hubicka@freesoft.cz>
* i386.c (agi_dependent): Handle push operation more correctly.
From-SVN: r26412
1999-04-13 07:50:49 -07:00
Jan Hubicka
6e383e6196
Jan Hubicka <hubicka@freesoft.cz>
...
Jan Hubicka <hubicka@freesoft.cz>
* i386.md (anddi3): Add % constraint.
(iordi3, xordi3): Likewise.
From-SVN: r26411
1999-04-13 07:46:47 -07:00
Jan Hubicka
813d245a15
Jan Hubicka <hubicka@freesoft.cz>
...
Jan Hubicka <hubicka@freesoft.cz>
* i386.md (extendhisi2): Output mov instead of cw instruction for K6
to improve decoding bandwidth.
* i386.md (extendhiqi2): Likewise.
From-SVN: r26410
1999-04-13 07:43:53 -07:00
Jeffrey A Law
55abf18a77
pa.c: Avoid Using immediate zero for register zero.
...
* pa.c: Avoid Using immediate zero for register zero.
* pa.md: Likewise.
From-SVN: r26409
1999-04-13 08:34:06 -06:00
Jan Hubicka
f72b27a5f6
Jan Hubicka <hubicka@freesoft.cz>
...
Jan Hubicka <hubicka@freesoft.cz>
* i386.md (movsf_push): Handle memory to memory case too, new splitter.
(movdf_push, movxf_push): Likewise.
(movsf_push_memory, movdf_push_memory, movxf_push_memory): Remove.
From-SVN: r26408
1999-04-13 07:28:39 -07:00
Tom Tromey
eba0e61dc2
Makefile.in: Rebuilt.
...
* Makefile.in: Rebuilt.
* Makefile.am (libgcjgc_a_SOURCES): Added solaris-threads.c and
solaris-threads.h.
From-SVN: r26407
1999-04-13 14:28:15 +00:00
Jan Hubicka
0ffc4dca8e
Jan Hubicka <hubicka@freesoft.cz>
...
Jan Hubicka <hubicka@freesoft.cz>
* i386.md: Do not output mov %0,reg on AMD K6.
From-SVN: r26406
1999-04-13 07:15:46 -07:00
Tom Tromey
b81194219b
natSystem.cc (arraycopy): Don't always use jbyteArray; instead switch on actual element type.
...
* java/lang/natSystem.cc (arraycopy): Don't always use jbyteArray;
instead switch on actual element type.
From-SVN: r26405
1999-04-13 12:16:41 +00:00
Jeffrey A Law
3b5e5fb33f
pa.c: Use a register name...
...
* pa.c: Use a register name, not a raw immediate in branch,
compare/clear, sub, subb, uaddcm and vshd instructions.
* pa.md: Likewise.
From-SVN: r26404
1999-04-13 06:10:07 -06:00
Jeffrey A Law
f24d52e1ab
pa.c: Use a register name, not a raw immediate in "bv" instructions.
...
* pa.c: Use a register name, not a raw immediate in "bv" instructions.
* pa.md, pa.h, ee.asm, ee_fp.asm, lib2funcs.asm: Likewise.
From-SVN: r26403
1999-04-13 05:31:35 -06:00
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