Jeff Law [Sat, 17 Apr 1999 00:45:05 +0000 (18:45 -0600)]
Daily bump.
From-SVN: r26512
Zack Weinberg [Fri, 16 Apr 1999 19:52:44 +0000 (19:52 +0000)]
system.h: Always prototype abort.
1999-04-16 22:44 -0400 Zack Weinberg <zack@rabi.columbia.edu>
* system.h: Always prototype abort. Prototype fatal. Define
abort to call fatal, not fprintf/exit. Define a stub macro
for trim_filename.
* toplev.c: Define DIR_SEPARATOR. (trim_filename): New
function.
* toplev.h: Prototype trim_filename, and #undef system.h's stub.
* gcc.c, genattr.c, genattrtab.c, gencodes.c, genconfig.c,
genemit.c, genextract.c, genflags.c, genopinit.c, genoutput.c,
genpeep.c, genrecog.c: Make fatal non-static.
* gcov.c, gengenrtl.c, protoize.c: #undef abort after
including system.h.
* config/i386/dgux.h, config/m68k/xm-amix.h: Remove stale code
relating to abort.
From-SVN: r26511
Per Bothner [Fri, 16 Apr 1999 18:41:12 +0000 (11:41 -0700)]
Note char-conversion-related optimizations.
From-SVN: r26510
Per Bothner [Fri, 16 Apr 1999 18:35:02 +0000 (11:35 -0700)]
InputStreamReader.java (<init>): Set super.in correctly.
�
* java/io/InputStreamReader.java (<init>): Set super.in correctly.
* java/io/OutputStreamWriter.java (<init>): Set super.in correctly.
(writeChars): Don't be quite so eager to flush.
* java/io/PrintStream.java: Rewrite. Now more similar to
OutputStreamWriter, using explicit UnicodeToBytes converter.
Also, autoflush does not need to flush so often.
* java/lang/natString.cc (getBytes): More efficient algorithm.
(init(jbyteArray,jint,jint,jstring)): More efficient.
From-SVN: r26509
Per Bothner [Fri, 16 Apr 1999 18:34:58 +0000 (11:34 -0700)]
InputStreamReader.java (<init>): Set super.in correctly.
�
* java/io/InputStreamReader.java (<init>): Set super.in correctly.
* java/io/OutputStreamWriter.java (<init>): Set super.in correctly.
(writeChars): Don't be quite so eager to flush.
* java/io/PrintStream.java: Rewrite. Now more similar to
OutputStreamWriter, using explicit UnicodeToBytes converter.
Also, autoflush does not need to flush so often.
* java/lang/natString.cc (getBytes): More efficient algorithm.
(init(jbyteArray,jint,jint,jstring)): More efficient.
From-SVN: r26508
Mark Mitchell [Fri, 16 Apr 1999 18:06:34 +0000 (18:06 +0000)]
class.c (finish_struct): Remove unused variable.
* class.c (finish_struct): Remove unused variable.
(pushclass): Likewise.
(invalidate_class_lookup_cache): Likewise.
* cp-tree.def (TYPENAME_TYPE): Improve documentation.
* decl.c (build_typename_type): Make sure TYPENAME_TYPE_FULLNAME
doesn't get obliterated.
(make_typename_type): Handle template classes correctly.
From-SVN: r26507
Jason Merrill [Fri, 16 Apr 1999 18:04:47 +0000 (14:04 -0400)]
tweak spelling
From-SVN: r26506
Per Bothner [Fri, 16 Apr 1999 17:31:26 +0000 (17:31 +0000)]
Makefile.am: Various changes for new files and conversions.
�
* Makefile.am: Various changes for new files and conversions.
From-SVN: r26505
Per Bothner [Fri, 16 Apr 1999 17:31:24 +0000 (10:31 -0700)]
Makefile.am: Various changes for new files and conversions.
0
* Makefile.am: Various changes for new files and conversions.
From-SVN: r26504
Per Bothner [Fri, 16 Apr 1999 17:25:08 +0000 (10:25 -0700)]
JIS0201.h: New file, generated from Unicode table.
* gnu/gcj/convert/JIS0201.h: New file, generated from Unicode table.
* gnu/gcj/convert/Input_JavaSrc.java: New BytesToUnicode class.
* gnu/gcj/convert/Input_SJIS.java: New BytesToUnicode class.
* gnu/gcj/convert/Output_EUCJIS.java: New UnicodeToBytes class.
* gnu/gcj/convert/Output_SJIS.java: New UnicodeToBytes class.
* gnu/gcj/convert/natInput_EUCJIS.cc: New file.
* gnu/gcj/convert/natInput_SJIS.cc: New file.
* gnu/gcj/convert/natOutput_EUCJIS.cc: New file.
* gnu/gcj/convert/natOutput_SJIS.cc: New file.
* gnu/gcj/convert/make-trie.c: New file: functions to make a trie.
* gnu/gcj/convert/gen-from-JIS.c: Invoke make-trie for output.
* gnu/gcj/convert/Unicode_to_JIS.cc: New generated trie table.
From-SVN: r26503
Per Bothner [Fri, 16 Apr 1999 17:25:08 +0000 (10:25 -0700)]
JIS0201.h: New file, generated from Unicode table.
�
* gnu/gcj/convert/JIS0201.h: New file, generated from Unicode table.
* gnu/gcj/convert/Input_JavaSrc.java: New BytesToUnicode class.
* gnu/gcj/convert/Input_SJIS.java: New BytesToUnicode class.
* gnu/gcj/convert/Output_EUCJIS.java: New UnicodeToBytes class.
* gnu/gcj/convert/Output_SJIS.java: New UnicodeToBytes class.
* gnu/gcj/convert/natInput_EUCJIS.cc: New file.
* gnu/gcj/convert/natInput_SJIS.cc: New file.
* gnu/gcj/convert/natOutput_EUCJIS.cc: New file.
* gnu/gcj/convert/natOutput_SJIS.cc: New file.
* gnu/gcj/convert/make-trie.c: New file: functions to make a trie.
* gnu/gcj/convert/gen-from-JIS.c: Invoke make-trie for output.
* gnu/gcj/convert/Unicode_to_JIS.cc: New generated trie table.
From-SVN: r26502
Per Bothner [Fri, 16 Apr 1999 17:25:08 +0000 (10:25 -0700)]
JIS0201.h: New file, generated from Unicode table.
�
* gnu/gcj/convert/JIS0201.h: New file, generated from Unicode table.
* gnu/gcj/convert/Input_JavaSrc.java: New BytesToUnicode class.
* gnu/gcj/convert/Input_SJIS.java: New BytesToUnicode class.
* gnu/gcj/convert/Output_EUCJIS.java: New UnicodeToBytes class.
* gnu/gcj/convert/Output_SJIS.java: New UnicodeToBytes class.
* gnu/gcj/convert/natInput_EUCJIS.cc: New file.
* gnu/gcj/convert/natInput_SJIS.cc: New file.
* gnu/gcj/convert/natOutput_EUCJIS.cc: New file.
* gnu/gcj/convert/natOutput_SJIS.cc: New file.
* gnu/gcj/convert/make-trie.c: New file: functions to make a trie.
* gnu/gcj/convert/gen-from-JIS.c: Invoke make-trie for output.
* gnu/gcj/convert/Unicode_to_JIS.cc: New generated trie table.
From-SVN: r26501
Per Bothner [Fri, 16 Apr 1999 17:25:07 +0000 (10:25 -0700)]
JIS0201.h: New file, generated from Unicode table.
h
* gnu/gcj/convert/JIS0201.h: New file, generated from Unicode table.
* gnu/gcj/convert/Input_JavaSrc.java: New BytesToUnicode class.
* gnu/gcj/convert/Input_SJIS.java: New BytesToUnicode class.
* gnu/gcj/convert/Output_EUCJIS.java: New UnicodeToBytes class.
* gnu/gcj/convert/Output_SJIS.java: New UnicodeToBytes class.
* gnu/gcj/convert/natInput_EUCJIS.cc: New file.
* gnu/gcj/convert/natInput_SJIS.cc: New file.
* gnu/gcj/convert/natOutput_EUCJIS.cc: New file.
* gnu/gcj/convert/natOutput_SJIS.cc: New file.
* gnu/gcj/convert/make-trie.c: New file: functions to make a trie.
* gnu/gcj/convert/gen-from-JIS.c: Invoke make-trie for output.
* gnu/gcj/convert/Unicode_to_JIS.cc: New generated trie table.
From-SVN: r26500
Per Bothner [Fri, 16 Apr 1999 17:25:04 +0000 (10:25 -0700)]
JIS0201.h: New file, generated from Unicode table.
8
* gnu/gcj/convert/JIS0201.h: New file, generated from Unicode table.
* gnu/gcj/convert/Input_JavaSrc.java: New BytesToUnicode class.
* gnu/gcj/convert/Input_SJIS.java: New BytesToUnicode class.
* gnu/gcj/convert/Output_EUCJIS.java: New UnicodeToBytes class.
* gnu/gcj/convert/Output_SJIS.java: New UnicodeToBytes class.
* gnu/gcj/convert/natInput_EUCJIS.cc: New file.
* gnu/gcj/convert/natInput_SJIS.cc: New file.
* gnu/gcj/convert/natOutput_EUCJIS.cc: New file.
* gnu/gcj/convert/natOutput_SJIS.cc: New file.
* gnu/gcj/convert/make-trie.c: New file: functions to make a trie.
* gnu/gcj/convert/gen-from-JIS.c: Invoke make-trie for output.
* gnu/gcj/convert/Unicode_to_JIS.cc: New generated trie table.
From-SVN: r26499
Per Bothner [Fri, 16 Apr 1999 17:25:04 +0000 (10:25 -0700)]
JIS0201.h: New file, generated from Unicode table.
`
* gnu/gcj/convert/JIS0201.h: New file, generated from Unicode table.
* gnu/gcj/convert/Input_JavaSrc.java: New BytesToUnicode class.
* gnu/gcj/convert/Input_SJIS.java: New BytesToUnicode class.
* gnu/gcj/convert/Output_EUCJIS.java: New UnicodeToBytes class.
* gnu/gcj/convert/Output_SJIS.java: New UnicodeToBytes class.
* gnu/gcj/convert/natInput_EUCJIS.cc: New file.
* gnu/gcj/convert/natInput_SJIS.cc: New file.
* gnu/gcj/convert/natOutput_EUCJIS.cc: New file.
* gnu/gcj/convert/natOutput_SJIS.cc: New file.
* gnu/gcj/convert/make-trie.c: New file: functions to make a trie.
* gnu/gcj/convert/gen-from-JIS.c: Invoke make-trie for output.
* gnu/gcj/convert/Unicode_to_JIS.cc: New generated trie table.
From-SVN: r26498
Per Bothner [Fri, 16 Apr 1999 17:25:03 +0000 (10:25 -0700)]
JIS0201.h: New file, generated from Unicode table.
�
* gnu/gcj/convert/JIS0201.h: New file, generated from Unicode table.
* gnu/gcj/convert/Input_JavaSrc.java: New BytesToUnicode class.
* gnu/gcj/convert/Input_SJIS.java: New BytesToUnicode class.
* gnu/gcj/convert/Output_EUCJIS.java: New UnicodeToBytes class.
* gnu/gcj/convert/Output_SJIS.java: New UnicodeToBytes class.
* gnu/gcj/convert/natInput_EUCJIS.cc: New file.
* gnu/gcj/convert/natInput_SJIS.cc: New file.
* gnu/gcj/convert/natOutput_EUCJIS.cc: New file.
* gnu/gcj/convert/natOutput_SJIS.cc: New file.
* gnu/gcj/convert/make-trie.c: New file: functions to make a trie.
* gnu/gcj/convert/gen-from-JIS.c: Invoke make-trie for output.
* gnu/gcj/convert/Unicode_to_JIS.cc: New generated trie table.
From-SVN: r26497
Per Bothner [Fri, 16 Apr 1999 17:25:00 +0000 (10:25 -0700)]
JIS0201.h: New file, generated from Unicode table.
�
* gnu/gcj/convert/JIS0201.h: New file, generated from Unicode table.
* gnu/gcj/convert/Input_JavaSrc.java: New BytesToUnicode class.
* gnu/gcj/convert/Input_SJIS.java: New BytesToUnicode class.
* gnu/gcj/convert/Output_EUCJIS.java: New UnicodeToBytes class.
* gnu/gcj/convert/Output_SJIS.java: New UnicodeToBytes class.
* gnu/gcj/convert/natInput_EUCJIS.cc: New file.
* gnu/gcj/convert/natInput_SJIS.cc: New file.
* gnu/gcj/convert/natOutput_EUCJIS.cc: New file.
* gnu/gcj/convert/natOutput_SJIS.cc: New file.
* gnu/gcj/convert/make-trie.c: New file: functions to make a trie.
* gnu/gcj/convert/gen-from-JIS.c: Invoke make-trie for output.
* gnu/gcj/convert/Unicode_to_JIS.cc: New generated trie table.
From-SVN: r26496
Per Bothner [Fri, 16 Apr 1999 17:24:06 +0000 (10:24 -0700)]
Fix truncated comments.
From-SVN: r26495
Per Bothner [Fri, 16 Apr 1999 17:22:02 +0000 (10:22 -0700)]
UnicodeToBytes.java (write(String,int,int,char[])): New overloading, allows greater efficiency.
�
* gnu/gcj/convert/UnicodeToBytes.java (write(String,int,int,char[])):
New overloading, allows greater efficiency.
* gnu/gcj/convert/Output_8859_1.java (write(String,int,int,char[])):
New overloading (for efficiency - avoids copying).
* gnu/gcj/convert/Output_UTF8.java: Fix typo: 0xC0 -> 0c3F.
* gnu/gcj/convert/Input_UTF8.java: Fix typos in bit masks.
From-SVN: r26494
Per Bothner [Fri, 16 Apr 1999 17:21:59 +0000 (10:21 -0700)]
UnicodeToBytes.java (write(String,int,int,char[])): New overloading, allows greater efficiency.
�
* gnu/gcj/convert/UnicodeToBytes.java (write(String,int,int,char[])):
New overloading, allows greater efficiency.
* gnu/gcj/convert/Output_8859_1.java (write(String,int,int,char[])):
New overloading (for efficiency - avoids copying).
* gnu/gcj/convert/Output_UTF8.java: Fix typo: 0xC0 -> 0c3F.
* gnu/gcj/convert/Input_UTF8.java: Fix typos in bit masks.
From-SVN: r26493
Michael Hayes [Fri, 16 Apr 1999 16:36:07 +0000 (16:36 +0000)]
c4x.md (mulqf3_clrqf_clobber, [...]): New patterns to support parallel multiply and load of zero.
* config/c4x/c4x.md (mulqf3_clrqf_clobber, mulqi3_clrqi_clobber):
New patterns to support parallel multiply and load of zero.
From-SVN: r26492
Mark Mitchell [Fri, 16 Apr 1999 13:16:50 +0000 (13:16 +0000)]
cp-tree.h (TREE_NONLOCAL_FLAG): Remove.
* cp-tree.h (TREE_NONLOCAL_FLAG): Remove.
(storetags): Declare.
* class.c (finish_struct): Don't use TREE_NONLOCAL_FLAG.
(pushclass): Likewise. Use storetags to install tag declarations,
not pushtag.
(invalidate_class_lookup_cache): Don't use TREE_NONLOCAL_FLAG.
* decl.c (storetags): Make it global.
(push_class_binding): Set INHERITED_VALUE_BINDING_P for an
implicit typename declaration.
(pushtag): Tidy. Don't use TREE_NONLOCAL_FLAG.
* method.c (hack_identifier): Likewise.
* search.c (lookup_member): Likewise.
From-SVN: r26491
Tom Tromey [Fri, 16 Apr 1999 09:56:29 +0000 (09:56 +0000)]
config.h (__start): Declare as `int' in alpha/OSF1 case.
* config.h (__start): Declare as `int' in alpha/OSF1 case. From
David Pettersson <dapet@mai.liu.se>
From-SVN: r26490
Jason Merrill [Fri, 16 Apr 1999 01:24:50 +0000 (01:24 +0000)]
tree.c (valid_machine_attribute): If we're modifying the FUNCTION_TYPE within a POINTER_TYPE and we don't get a...
* tree.c (valid_machine_attribute): If we're modifying the
FUNCTION_TYPE within a POINTER_TYPE and we don't get a decl,
update the POINTER_TYPE.
From-SVN: r26489
Jeff Law [Fri, 16 Apr 1999 00:45:02 +0000 (18:45 -0600)]
Daily bump.
From-SVN: r26488
Mark Mitchell [Fri, 16 Apr 1999 00:15:26 +0000 (00:15 +0000)]
decl.c (warn_about_implicit_typename_lookup): New function.
* decl.c (warn_about_implicit_typename_lookup): New function.
(lookup_name_real): Use it. Rework handling of implicit typename
extension.
From-SVN: r26487
Jeff Law [Fri, 16 Apr 1999 00:15:01 +0000 (18:15 -0600)]
Revert accidental checkin of the FCOMI patch that I was testing.
From-SVN: r26486
Jan Hubicka [Thu, 15 Apr 1999 23:24:57 +0000 (01:24 +0200)]
* i386.c (x86_adjust_cost): Move break statement to correct place.
From-SVN: r26485
Donn Terry [Thu, 15 Apr 1999 22:52:22 +0000 (22:52 +0000)]
expr.c (expand_assignment): Force pointers to proper mode if POINTERS_EXTEND_UNSIGNED is defined.
* expr.c (expand_assignment): Force pointers to proper mode if
POINTERS_EXTEND_UNSIGNED is defined.
From-SVN: r26484
Donn Terry [Thu, 15 Apr 1999 22:47:13 +0000 (22:47 +0000)]
xm-alpha.h (alloca.h): Add Interix to list of special machines that don't like alloca.h...
* xm-alpha.h (alloca.h): Add Interix to list of special machines
that don't like alloca.h, pending using autoconf results.
From-SVN: r26483
Jerry Quinn [Thu, 15 Apr 1999 22:23:58 +0000 (16:23 -0600)]
pa.h (HAVE_PRE_INCREMENT, [...]): Fix pa_cpu value from 8000 to PROCESSOR_8000.
�
* pa.h (HAVE_PRE_INCREMENT, HAVE_POST_INCREMENT,
HAVE_PRE_DECREMENT, HAVE_POST_DECREMENT): Fix pa_cpu value from
8000 to PROCESSOR_8000.
From-SVN: r26482
Jerry Quinn [Thu, 15 Apr 1999 22:23:53 +0000 (16:23 -0600)]
pa.h (HAVE_PRE_INCREMENT, [...]): Fix pa_cpu value from 8000 to PROCESSOR_8000.
�
* pa.h (HAVE_PRE_INCREMENT, HAVE_POST_INCREMENT,
HAVE_PRE_DECREMENT, HAVE_POST_DECREMENT): Fix pa_cpu value from
8000 to PROCESSOR_8000.
From-SVN: r26481
Mumit Khan [Thu, 15 Apr 1999 22:05:35 +0000 (22:05 +0000)]
configure.in (checkfuncs): Check for sbrk.
* configure.in (checkfuncs): Check for sbrk.
* config.in: Rebuilt.
* configure: Likewise.
* xmalloc.c: Use HAVE_SBRK instead of the host specific definitions.
From-SVN: r26480
Warren Levy [Thu, 15 Apr 1999 21:33:39 +0000 (21:33 +0000)]
Makefile.am (ordinary_java_source_files): Added new Connection and Handler classes in gnu.gcj.protocol.file package.
* Makefile.am (ordinary_java_source_files): Added new Connection
and Handler classes in gnu.gcj.protocol.file package.
* Makefile.in: Rebuilt.
* gnu/gcj/protocol/file/Connection.java: New file.
* gnu/gcj/protocol/file/Handler.java: New file.
* gnu/gcj/protocol/http/Connection.java (getInputStream): Check
if doInput allows input.
(getOutputStream): Check if doOutput allows output.
* java/net/URLStreamHandler.java (parseURL): Fix indentation.
From-SVN: r26479
Donn Terry [Thu, 15 Apr 1999 19:54:09 +0000 (19:54 +0000)]
except.c (start_catch_hadler): Be sure rtime_address is Pmode if POINTERS_EXTEND_UNSIGNED.
* except.c (start_catch_hadler): Be sure rtime_address is Pmode
if POINTERS_EXTEND_UNSIGNED.
From-SVN: r26478
Donn Terry [Thu, 15 Apr 1999 19:52:18 +0000 (19:52 +0000)]
except.c (expand_eh_return): Force pointers to proper mode if POINTERS_EXTEND_UNSIGNED.
* except.c (expand_eh_return): Force pointers to proper mode if
POINTERS_EXTEND_UNSIGNED.
From-SVN: r26477
Mark Mitchell [Thu, 15 Apr 1999 19:21:21 +0000 (19:21 +0000)]
cp-tree.h (lookup_nested_field): Remove.
* cp-tree.h (lookup_nested_field): Remove.
* class.c (push_nested_class): Handle UNION_TYPEs.
(pop_nested_class): Likewise.
* decl.c (lookup_name_real): Don't call lookup_nested_field.
(start_decl): Use push_nested_class, not just pushclass.
(cp_finish_decl): Use pop_nested_class, not just popclass.
* search.c (lookup_nested_field): Remove.
From-SVN: r26476
Mark Mitchell [Thu, 15 Apr 1999 17:52:25 +0000 (17:52 +0000)]
cp-tree.h (lang_type): Add documentation.
* cp-tree.h (lang_type): Add documentation.
* decl2.c (handle_class_head): Create template declarations here,
as appropriate.
* parse.y (class_head): Return whether or not we entered a new
scope, as well as the type named.
(named_class_head): Likewise.
(named_complex_class_head_sans_basetype): Likewise.
(structsp): Adjust accordingly. Pop scope when required.
* parse.c: Regenerated.
* pt.c (check_default_tmpl_args): Robustify.
(redeclare_class_template): Likewise.
(instantiate_class_template): An instantiation of an
anonymous union is itself an anonymous union.
* semantics.c (begin_class_definition): Don't create template
declarations here.
From-SVN: r26475
Anthony Green [Thu, 15 Apr 1999 13:14:30 +0000 (13:14 +0000)]
gjavah.c: New prototypes for java_float_finite and java_double_finite.
Thu Apr 15 13:08:03 1999 Anthony Green <green@cygnus.com>
* gjavah.c: New prototypes for java_float_finite and
java_double_finite.
From-SVN: r26474
Jason Merrill [Thu, 15 Apr 1999 05:55:59 +0000 (01:55 -0400)]
remove conflict indicators
From-SVN: r26473
Jason Merrill [Thu, 15 Apr 1999 05:53:55 +0000 (05:53 +0000)]
parse.y (after_type_declarator_intern): New nonterminal.
* parse.y (after_type_declarator_intern): New nonterminal.
(after_type_declarator): Use it.
(direct_after_type_declarator): Likewise. Move above
nonnested_type to fix reduce/reduce conflict resolution.
(declmods): Reducing from just 'attributes' has EMPTY precedence.
* Makefile.in (CONFLICTS): Update.
* decl.c (define_label): Downgrade error for jumping over a
non-POD decl to pedwarn.
From-SVN: r26472
Jason Merrill [Thu, 15 Apr 1999 05:49:12 +0000 (01:49 -0400)]
new
From-SVN: r26471
Michael Hayes [Thu, 15 Apr 1999 04:22:04 +0000 (04:22 +0000)]
c4x.h: Tweaked comment formatting.
* config/c4x/c4x.h: Tweaked comment formatting.
* config/c4x/c4x.c: Likewise.
From-SVN: r26470
Mumit Khan [Thu, 15 Apr 1999 01:50:52 +0000 (01:50 +0000)]
aclocal.m4 (GCC_FUNC_MKDIR_TAKES_ONE_ARG): Define.
* aclocal.m4 (GCC_FUNC_MKDIR_TAKES_ONE_ARG): Define.
* configure.in: Use.
* configure: Rebuilt.
* acconfig.h (MKDIR_TAKES_ONE_ARG): Add.
* config.in: Rebuilt.
* system.h: Use.
From-SVN: r26469
Jan Hubicka [Thu, 15 Apr 1999 01:38:29 +0000 (03:38 +0200)]
i386.md (QImode add pattern): Support lea instruction.
* i386.md (QImode add pattern): Support lea instruction.
(HImode add pattern): Likewise.
Co-Authored-By: Jeffrey A Law <law@cygnus.com>
From-SVN: r26468
Jan Hubicka [Thu, 15 Apr 1999 01:28:04 +0000 (03:28 +0200)]
i386.md (ashlsi patterns): Call output_ashl instead of output_ashlsi3.
* i386.md (ashlsi patterns): Call output_ashl instead of output_ashlsi3.
(ashlqi): Use expander, separate LEA and SAL / ADD patterns; call
output_ashl.
(ashlhi): Likewise.
* i386.h (output_ashl): Renamed from output_ashlsi3.
* i386.c (output_ashl): Likewise; support HImode and QImode operands
as well.
Co-Authored-By: Jeffrey A Law <law@cygnus.com>
From-SVN: r26467
Jeff Law [Thu, 15 Apr 1999 00:45:02 +0000 (18:45 -0600)]
Daily bump.
From-SVN: r26466
Jan Hubicka [Thu, 15 Apr 1999 00:19:03 +0000 (02:19 +0200)]
i386.md (notsi, [...]): Call memory_address_displacement_length instead of memory_address_length.
* i386.md (notsi, nothi, xorsi, xorhi, and xorqi patterns): Call
memory_address_displacement_length instead of memory_address_length.
* i386.c (memory_address_info): Renamed from memory_address_length.
Accept new argument DISP_LENGTH. All callers changed. If DISP_LENGTH,
then return the displacement length. Else return length of the
entire memory address. Handle MULT case correctly.
* i386.h (memory_address_info): Update declaration.
* i386.md (memory_bit_test): Fix paren error.
Co-Authored-By: Jeffrey A Law <law@cygnus.com>
From-SVN: r26465
Andrew Haley [Wed, 14 Apr 1999 20:36:33 +0000 (20:36 +0000)]
flow.c: (make_edges): Always make edges from a basic block to its exception handlers...
* flow.c: (make_edges): Always make edges from a basic block
to its exception handlers, even if the block ends with a jump.
From-SVN: r26464
Zack Weinberg [Wed, 14 Apr 1999 20:28:54 +0000 (20:28 +0000)]
graph.c (node_data): Return void.
1999-04-14 23:26 -0400 Zack Weinberg <zack@rabi.columbia.edu>
* graph.c (node_data): Return void. Ignore result of
print_rtl_single. Change caller to match.
* integrate.c (subst_constants): Initialize op0_mode to an
invalid mode, and abort before use if it's still invalid.
(Can only happen if the RTX_CLASS, RTX_FORMAT tables are corrupted.)
* objc/objc-act.c (get_objc_string_decl,
build_selector_translation_table, generate_protocol_list,
synth_id_with_class_suffix, build_keyword_selector,
build_selector_expr, gen_declarator): Abort when the tree
structure is corrupted.
From-SVN: r26463
Mumit Khan [Wed, 14 Apr 1999 20:12:19 +0000 (20:12 +0000)]
config-lang.in (compilers): Add exeext.
* config-lang.in (compilers): Add exeext.
(stagestuff): Likewise.
From-SVN: r26462
Jeffrey A Law [Wed, 14 Apr 1999 19:43:02 +0000 (19:43 +0000)]
explow.c (allocate_dynamic_stack_space): Undo last change.
* explow.c (allocate_dynamic_stack_space): Undo last change. Use
convert_memory_address instead.
From-SVN: r26461
Jeffrey A Law [Wed, 14 Apr 1999 19:10:47 +0000 (19:10 +0000)]
configure.in (alpha interix): Use symbolic names to set target_cpu_default.
* configure.in (alpha interix): Use symbolic names to set
target_cpu_default.
* configure: Rebuilt.
From-SVN: r26460
Donn Terry [Wed, 14 Apr 1999 18:53:02 +0000 (18:53 +0000)]
lib1funcs.asm: New file.
* alpha/lib1funcs.asm: New file.
* alpha/t-interix(lib1funcs.asm): Add to build.
From-SVN: r26459
Donn Terry [Wed, 14 Apr 1999 18:48:53 +0000 (18:48 +0000)]
explow.c (allocate_dynamic_stack_space): Correctly convert TARGET to Pmode.
* explow.c (allocate_dynamic_stack_space): Correctly convert TARGET
to Pmode.
From-SVN: r26458
John Wehle [Wed, 14 Apr 1999 18:42:20 +0000 (18:42 +0000)]
i386.md (truncxfdf): Output the template supplied by output_move_double with the correct operands.
* i386.md (truncxfdf): Output the template supplied
by output_move_double with the correct operands.
From-SVN: r26457
Zack Weinberg [Wed, 14 Apr 1999 15:50:46 +0000 (15:50 +0000)]
Correct error message pattern
From-SVN: r26456
John Wehle [Wed, 14 Apr 1999 14:27:38 +0000 (14:27 +0000)]
John Wehle (john@feith.com)
John Wehle (john@feith.com)
* i386.md (extendsfdf, extendsfxf, extenddfxf): Use
output_float_extend instead specifying '#' as the template.
* i386.c (output_float_extend): Define.
* i386.h (output_float_extend): Declare.
From-SVN: r26455
Mark Mitchell [Wed, 14 Apr 1999 13:20:19 +0000 (13:20 +0000)]
cp-tree.h (popclass): Change declaration.
* cp-tree.h (popclass): Change declaration.
(pop_nested_class): Likewise.
(poplevel_class): Remove declaration.
* call.c (convert_default_argument): Pass no arguments to
popclass.
* class.c (finish_struct_1): Likewise.
(finish_struct): Likewise.
(popclass): Remove argument. Simplify code accordingly.
(pop_nested_class): Likewise.
* decl.c (poplevel_class): Declare it here, and make it static.
(poplevel): Handle class scopes.
(pop_level_class): Don't take an rgument. Simplify.
(pop_everything): Pass no arguments to pop_nested_class.
(cp_finish_decl): Pass no arguments to popclass.
(grokdeclarator): Pass no arguments to pop_nested_class.
(finish_function): Likewise.
* decl2.c (grokfield): Likewise.
(pop_scope): Pass no arguments to popclass.
* lex.c (do_pending_defargs): Pass no arguments to pop_nested_class.
* pt.c (instantiate_class_template): Move call to pushclass, and
document. Pass no arguments to popclass.
(regenerate_decl_from_template): Likewise.
From-SVN: r26454
Jason Merrill [Wed, 14 Apr 1999 12:20:06 +0000 (08:20 -0400)]
new
From-SVN: r26453
Jason Merrill [Wed, 14 Apr 1999 12:18:50 +0000 (08:18 -0400)]
remove change bars
From-SVN: r26452
Jason Merrill [Wed, 14 Apr 1999 12:16:39 +0000 (12:16 +0000)]
typeck.c (build_unary_op): Handle taking the address of a unique bound non-static member function.
* typeck.c (build_unary_op): Handle taking the address of a unique
bound non-static member function.
From-SVN: r26451
Tom Tromey [Wed, 14 Apr 1999 11:24:02 +0000 (11:24 +0000)]
configure: Rebuilt.
* configure: Rebuilt.
* configure.in: Don't use sparc_mach_dep.o for Solaris. Reverts
incorrect patch of 199-04-09.
From-SVN: r26450
Tom Tromey [Wed, 14 Apr 1999 11:21:24 +0000 (11:21 +0000)]
configure: Rebuilt.
* configure: Rebuilt.
* configure.in: Added support for alpha.
From David Pettersson <dapet@mai.liu.se>.
From-SVN: r26449
Martin v. Löwis [Wed, 14 Apr 1999 11:14:18 +0000 (11:14 +0000)]
Add -Wno-deprecated
From-SVN: r26448
Tom Tromey [Wed, 14 Apr 1999 11:07:51 +0000 (11:07 +0000)]
natInetAddress.cc (lookup): On glibc2.0 systems, make buffer larger to work around bug.
* java/net/natInetAddress.cc (lookup): On glibc2.0 systems, make
buffer larger to work around bug.
From Bryce McKinlay <bryce@albatross.co.nz>.
From-SVN: r26447
Catherine Moore [Wed, 14 Apr 1999 10:46:50 +0000 (10:46 +0000)]
Wed Apr 14 10:48:03 1999 Catherine Moore <clm@cygnus.com>
* config/mips/elf.h, config/mips/elf64.h
(CTORS_SECTION_ASM_OP): Define.
(DTORS_SECTION_ASM_OP): Define.
(EXTRA_SECTIONS): Define.
(INVOKE__main): Define.
(NAME__MAIN): Define.
(SYMBOL__MAIN): Define.
(EXTRA_SECTIONS_FUNCTIONS): Define.
(SECTION_FUNCTION_TEMPLATE): Define.
(ASM_OUTPUT_CONSTRUCTOR): Define.
(ASM_OUTPUT_DESTRUCTOR): Define.
(CTOR_LIST_BEGIN): Define.
(CTOR_LIST_END): Define.
(DTOR_LIST_BEGIN): Define.
(DTOR_LIST_END): Define.
(LIB_SPEC): Define.
(STARTFILE_SPEC): Define.
(ENDFILE_SPEC): Define.
* config/mips/linux.h: Undefine all of the above.
* config/mips/rtems64.h: Likewise.
* config/mips/t-r3900: Likewise.
* config/mips/t-elf: New file.
* config/mips/vxworks.h: New file.
* configure.in (mips-wrs-vxworks): Use mips/vxworks.h.
(mips*-*-*elf*): Use t-elf instead of t-ecoff.
* configure: Regenerate.
From-SVN: r26446
Richard Henderson [Wed, 14 Apr 1999 10:13:19 +0000 (03:13 -0700)]
alpha.c (aligned_memory_operand): Recognize the output of LEGITIMIZE_RELOAD_ADDRESS.
* alpha.c (aligned_memory_operand): Recognize the output of
LEGITIMIZE_RELOAD_ADDRESS. Examine reg_equiv_memory_loc in
the event of a pseudo.
(unaligned_memory_operand): Likewise. Don't otherwise accept
completely illegal addresses.
(normal_memory_operand): Likewise. Handle subregs of pseudos.
(get_aligned_mem): Revert previous change. Abort if we don't have a
mem. During reload, call find_replacement on all illegal memories.
(get_unaligned_address): Likewise.
* alpha.h (SECONDARY_INPUT_RELOAD_CLASS): Use !aligned_memory_operand
instead of unaligned_memory_operand.
* alpha.md: Revert extra argument to get_aligned_mem.
(reload_inqi): Use any_memory_operand in constraints. Abort if
we're not given some sort of mem.
(reload_inhi): Likewise.
(reload_outqi, reload_outhi): Likewise.
From-SVN: r26445
Richard Henderson [Wed, 14 Apr 1999 10:00:12 +0000 (03:00 -0700)]
reload1.c (emit_reload_insns): Also find equivalent mems for subregs of pseudos.
* reload1.c (emit_reload_insns): Also find equivalent mems
for subregs of pseudos.
From-SVN: r26444
Richard Henderson [Wed, 14 Apr 1999 09:41:48 +0000 (02:41 -0700)]
* i386.md (neghi): Use the whole register when widening the op.
From-SVN: r26443
Zack Weinberg [Wed, 14 Apr 1999 09:40:56 +0000 (09:40 +0000)]
cpperror.c, [...]: Never call abort.
1999-04-14 12:37 -0400 Zack Weinberg <zack@rabi.columbia.edu>
* cpperror.c, cppexp.c, cpplib.c: Never call abort.
* cpphash.c: Only call abort when we detect corruption of the
malloc arena.
* cppmain.c: Don't define fatal or fancy_abort.
From-SVN: r26442
Jan Hubicka [Wed, 14 Apr 1999 09:21:40 +0000 (11:21 +0200)]
Jan Hubicka <hubicka@freesoft.cz>
Jan Hubicka <hubicka@freesoft.cz>
* i386.c (x86_adjust_cost): Agi stall takes 1 cycle on Pentium, fst
requires value to be ready one extra cycle.
From-SVN: r26441
Dave Brolley [Wed, 14 Apr 1999 08:31:10 +0000 (08:31 +0000)]
i386.c (memory_address_length): Add missing parenthesis.
Wed Apr 14 11:28:34 1999 Dave Brolley <brolley@cygnus.com>
* config/i386/i386.c (memory_address_length): Add missing parenthesis.
From-SVN: r26440
Andrew Haley [Wed, 14 Apr 1999 07:10:22 +0000 (07:10 +0000)]
natDouble.java (doubleToLongBits): ensure that all NaNs are always converted to the same long value.
1999-04-14 Andrew Haley <aph@cygnus.com>
* java/lang/natDouble.java (doubleToLongBits): ensure that all
NaNs are always converted to the same long value.
* java/lang/natFloat.java (floatToIntBits): ditto, but for float
converted to int.
From-SVN: r26439
Martin v. Löwis [Wed, 14 Apr 1999 05:34:55 +0000 (05:34 +0000)]
extend.texi (Deprecated Features): New node.
* extend.texi (Deprecated Features): New node.
* invoke.texi (-Wdeprecated): Document.
* cp/lang-options.h (-Wdeprecated): New flag.
* cp/decl2.c (warn_deprecated): New flag.
(lang_decode_option): Deprecated this-is-variable,
external-templates, alt-external-templates.
Support -Wdeprecated.
* cp/errfn.c (cp_deprecated): New function.
From-SVN: r26438
Jan Hubicka [Wed, 14 Apr 1999 00:51:30 +0000 (02:51 +0200)]
i386.md (SImode logical compare): Avoid outputing non-pariable testw and testl on Pentium.
* i386.md (SImode logical compare): Avoid outputing non-pariable testw
and testl on Pentium.
(register and memory bit tests): Likewise.
(setcc, normal and reversed conditional branches): Use shorter
sequence for testing flags stored in EAX.
From-SVN: r26437
Jeff Law [Wed, 14 Apr 1999 00:45:03 +0000 (18:45 -0600)]
Daily bump.
From-SVN: r26436
Jason Merrill [Wed, 14 Apr 1999 00:00:20 +0000 (00:00 +0000)]
decl2.c (setup_initp): Compare DECL_ASSEMBLER_NAME instead of the decls themselves.
* decl2.c (setup_initp): Compare DECL_ASSEMBLER_NAME instead
of the decls themselves.
From-SVN: r26435
Jan Hubicka [Tue, 13 Apr 1999 23:43:07 +0000 (01:43 +0200)]
i386.md (xorsi3): Do not output NOT instrctions on Pentium.
* i386.md (xorsi3): Do not output NOT instrctions on Pentium.
(xorqi3): Likewise.
(xorhi3): Likewise.
(notsi2): Likewise.
(notqi2): Likewise.
(nothi2): Likewise; do not output prefixed opcodes when possible.
From-SVN: r26434
Jan Hubicka [Tue, 13 Apr 1999 23:39:22 +0000 (01:39 +0200)]
i386.md (neghi2): Do not output prefixed opcode when possible.
* i386.md (neghi2): Do not output prefixed opcode when possible.
(ashlhi3): Likewise.
From-SVN: r26433
Richard Henderson [Tue, 13 Apr 1999 23:19:26 +0000 (16:19 -0700)]
i386.c (memory_address_length): New function.
* i386.c (memory_address_length): New function.
* i386.h (memory_address_length): Declare it.
From-SVN: r26432
Zack Weinberg [Tue, 13 Apr 1999 23:09:35 +0000 (23:09 +0000)]
Test for cpp line numbering bug
From-SVN: r26431
Zack Weinberg [Tue, 13 Apr 1999 23:03:09 +0000 (23:03 +0000)]
Regression test for x86 fp-stack breakage
From-SVN: r26430
Jeff Law [Tue, 13 Apr 1999 23:00:11 +0000 (17:00 -0600)]
Missed during interix commit.
From-SVN: r26429
Mike Stump [Tue, 13 Apr 1999 22:45:50 +0000 (22:45 +0000)]
Fix spelling and formatting.
From-SVN: r26428
Jason Merrill [Tue, 13 Apr 1999 22:41:24 +0000 (18:41 -0400)]
new
From-SVN: r26427
Jason Merrill [Tue, 13 Apr 1999 22:24:51 +0000 (22:24 +0000)]
* pt.c (tsubst_function_type): Copy attributes over.
From-SVN: r26426
Jason Merrill [Tue, 13 Apr 1999 22:23:19 +0000 (18:23 -0400)]
tweak
From-SVN: r26425
Donn Terry [Tue, 13 Apr 1999 22:02:20 +0000 (22:02 +0000)]
configure.in (interix Alpha): Add.
* configure.in(interix Alpha): Add.
* configure.in(winnt Alpha): Use alpha32.h
* configure.in(interix i386): Parallel Alpha32.
* config/interix.h: Move common elements from i386-interix.h.
* config/i386/i386-interix.h: Delete same.
* config/alpha/alpha-interix.h: New file
* config/alpha/alpha32.h: New file, part fron win-nt.h.
* config/alpha/win-nt.h: Deletions (-> alpha32.h).
* config/alpha/interix.h: New file
* config/alpha/alpha.md (interix): Comment.
* config/alpha/xm-alpha-interix.h: New file.
* config/alpha/t-interix: New file.
* fixinc/mkfixinc.sh (interix/Alpha): Add.
Co-Authored-By: Martin Heller <Ing.-Buero_Heller@t-online.de>
From-SVN: r26424
Donn Terry [Tue, 13 Apr 1999 21:55:39 +0000 (21:55 +0000)]
config.guess (interix Alpha): Add.
* config.guess (interix Alpha): Add.
Co-Authored-By: Martin Heller <Ing.-Buero_Heller@t-online.de>
From-SVN: r26423
Mike Stump [Tue, 13 Apr 1999 21:30:32 +0000 (21:30 +0000)]
vxi386.h (CPP_CPU_SPEC): Define appropriately for vxworks.
* i386/vxi386.h (CPP_CPU_SPEC): Define appropriately for vxworks.
(CPP_PREDEFINES, LIB_SPEC, STARTFILE_SPEC, ENDFILE_SPEC): likewise.
From-SVN: r26422
Jason Merrill [Tue, 13 Apr 1999 21:28:25 +0000 (21:28 +0000)]
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
Mark Mitchell [Tue, 13 Apr 1999 21:20:49 +0000 (21:20 +0000)]
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
Jason Merrill [Tue, 13 Apr 1999 21:04:06 +0000 (21:04 +0000)]
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
Jeff Law [Tue, 13 Apr 1999 20:24:51 +0000 (14:24 -0600)]
Fix typo in ChangeLog.
From-SVN: r26418
Mike Stump [Tue, 13 Apr 1999 19:38:08 +0000 (19:38 +0000)]
Fix up spelling and formatting.
From-SVN: r26417
Mike Stump [Tue, 13 Apr 1999 18:09:57 +0000 (18:09 +0000)]
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
John Wehle [Tue, 13 Apr 1999 17:47:40 +0000 (17:47 +0000)]
John Wehle (john@feith.com)
John Wehle (john@feith.com)
* i386.md (movdi): Add splitter.
From-SVN: r26415
Jeff Law [Tue, 13 Apr 1999 17:00:28 +0000 (11:00 -0600)]
Revert one over-aggressive "0" -> "%%r0" conversion ;-)
From-SVN: r26414
Michael Hayes [Tue, 13 Apr 1999 15:38:12 +0000 (15:38 +0000)]
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