platform/upstream/gcc.git
23 years agodecl.c (check_tag_decl): Diagnose typename's which don't declare anything.
Nathan Sidwell [Fri, 11 Aug 2000 09:12:31 +0000 (09:12 +0000)]
decl.c (check_tag_decl): Diagnose typename's which don't declare anything.

* decl.c (check_tag_decl): Diagnose typename's which don't
declare anything.

From-SVN: r35627

23 years agoreload.c (push_secondary_reload): When invoking a reload_{in,out} pattern...
Richard Henderson [Fri, 11 Aug 2000 08:52:58 +0000 (01:52 -0700)]
reload.c (push_secondary_reload): When invoking a reload_{in,out} pattern...

        * reload.c (push_secondary_reload): When invoking a reload_{in,out}
        pattern, always allocate a tertiary scratch register.

        * config/alpha/alpha.md (reload_inqi): Use a DImode scratch.
        (reload_inhi): Likewise.

From-SVN: r35626

23 years agofunction.c (put_reg_into_stack): Allow type to be NULL.
Richard Henderson [Fri, 11 Aug 2000 07:49:07 +0000 (00:49 -0700)]
function.c (put_reg_into_stack): Allow type to be NULL.

        * function.c (put_reg_into_stack): Allow type to be NULL.
        (schedule_fixup_var_refs): Likewise.
        (gen_mem_addressof): Allow decl to be NULL.
        (put_addressof_into_stack): Likewise.

From-SVN: r35625

23 years agoDaily bump.
Jeff Law [Fri, 11 Aug 2000 07:45:09 +0000 (01:45 -0600)]
Daily bump.

From-SVN: r35624

23 years agoflow.c (merge_blocks_nomove): Be more careful about locating the beginning of block A.
Richard Henderson [Fri, 11 Aug 2000 07:39:55 +0000 (00:39 -0700)]
flow.c (merge_blocks_nomove): Be more careful about locating the beginning of block A.

        * flow.c (merge_blocks_nomove): Be more careful about
        locating the beginning of block A.

From-SVN: r35623

23 years ago* combine.c (simplify_shift_const): Obey SHIFT_COUNT_TRUNCATED.
Richard Henderson [Fri, 11 Aug 2000 07:38:23 +0000 (00:38 -0700)]
* combine.c (simplify_shift_const): Obey SHIFT_COUNT_TRUNCATED.

From-SVN: r35622

23 years agolocale_facets.tcc: Formatting tweaks.
Benjamin Kosnik [Fri, 11 Aug 2000 07:32:37 +0000 (07:32 +0000)]
locale_facets.tcc: Formatting tweaks.

2000-08-10  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>

        * bits/locale_facets.tcc: Formatting tweaks.
        * bits/locale_facets.h (__enc_traits): Start integrating this
        into codecvt, ctype. Formatting tweaks.

From-SVN: r35621

23 years agoReverted the check for <sched.h>.
Ovidiu Predescu [Fri, 11 Aug 2000 05:51:12 +0000 (05:51 +0000)]
Reverted the check for <sched.h>.

From-SVN: r35620

23 years ago* gcc.dg/920413-1.c: Allow for 'traditional C rejects 'U' suffix' warning.
Geoff Keating [Fri, 11 Aug 2000 03:58:55 +0000 (03:58 +0000)]
* gcc.dg/920413-1.c: Allow for 'traditional C rejects 'U' suffix' warning.

From-SVN: r35619

23 years agoelf.h (CTOR_SECTION_NAME, [...]): New macros define the name of CTOR and DTOR sections.
Chris Demetriou [Fri, 11 Aug 2000 03:18:05 +0000 (03:18 +0000)]
elf.h (CTOR_SECTION_NAME, [...]): New macros define the name of CTOR and DTOR sections.

        * mips/elf.h (CTOR_SECTION_NAME, DTOR_SECTION_NAME): New
macros define the name of CTOR and DTOR sections.
(CTOR_LIST_BEGIN, CTOR_LIST_END, DTOR_LIST_BEGIN,
DTOR_LIST_END): Change to use attributes to specify
sections.
        * mips/elf64.h (CTOR_SECTION_NAME, DTOR_SECTION_NAME,
(CTOR_LIST_BEGIN, CTOR_LIST_END, DTOR_LIST_BEGIN,
DTOR_LIST_END): Same as in mips/elf.h.

From-SVN: r35618

23 years agonatPlainSocketImpl.cc (bind): Don't go to error case when errno not set.
Tom Tromey [Fri, 11 Aug 2000 03:07:59 +0000 (03:07 +0000)]
natPlainSocketImpl.cc (bind): Don't go to error case when errno not set.

* java/net/natPlainSocketImpl.cc (bind): Don't go to error case
when errno not set.
(connect): Likewise.
(accept): Likewise.
(getOption): Likewise.
* java/net/natPlainDatagramSocketImpl.cc (bind): Don't go to error
case when errno not set.
(peek): Likewise.
(send): Likewise.
(receive): Likewise.
(mcastGrp): Likewise.
(setOption): Likewise.
(getOption): Likewise.

From-SVN: r35617

23 years agoh8300.c (expand_a_rotate): New.
Kazu Hirata [Fri, 11 Aug 2000 01:43:47 +0000 (01:43 +0000)]
h8300.c (expand_a_rotate): New.

        * h8300.c (expand_a_rotate): New.
        (emit_a_rotate): Likewise.
        (h8300_adjust_insn_length): Add support for the rotate insns.
        * h8300.md (rotlqi3): New.
        (*rotlqi3_1): Likewise.
        (rotlhi3): Likewise.
        (*rotlhi3_1): Likewise.
        (rotlhi3): Likewise.
        (*rotlhi3_1): Likewise.
        * h8300-proto.h: Add prototypes for expand_a_rotate and
        emit_a_rotate.

From-SVN: r35616

23 years agomn10300.h: Added no-crt0 option for explicitly disabling just crt0.o.
Drew Moseley [Fri, 11 Aug 2000 01:31:14 +0000 (01:31 +0000)]
mn10300.h: Added no-crt0 option for explicitly disabling just crt0.o.

* config/mn10300/mn10300.h: Added no-crt0 option for explicitly
disabling just crt0.o.

From-SVN: r35615

23 years agoFix interworking support of functions in lib1funcs.asm.
Richard Earnshaw [Fri, 11 Aug 2000 00:30:55 +0000 (00:30 +0000)]
Fix interworking support of functions in lib1funcs.asm.

From-SVN: r35610

23 years agoh8300.c: Fix comment typos.
Kazu Hirata [Thu, 10 Aug 2000 23:21:52 +0000 (23:21 +0000)]
h8300.c: Fix comment typos.

        * h8300.c: Fix comment typos.
        (dosize): Declare the variable amount as unsigned.
        (get_shift_alg): Fix a comparison between signed and unsigned.
        (emit_a_shift): Likewise.
        (h8300_adjust_insn_length): Simplify the code.

From-SVN: r35609

23 years ago* c-decl.c: Fix formatting.
Kazu Hirata [Thu, 10 Aug 2000 22:01:22 +0000 (22:01 +0000)]
* c-decl.c: Fix formatting.

From-SVN: r35608

23 years agoc-lex.c (parse_float, yylex): For -Wtraditional, issue a warning about non-traditiona...
Kaveh R. Ghazi [Thu, 10 Aug 2000 15:21:18 +0000 (15:21 +0000)]
c-lex.c (parse_float, yylex): For -Wtraditional, issue a warning about non-traditional numeric constant suffixes.

* c-lex.c (parse_float, yylex): For -Wtraditional, issue a
warning about non-traditional numeric constant suffixes.

* cppexp.c (parse_number): Likewise.

* invoke.texi: (-Wtraditional): Document new behavior.

From-SVN: r35607

23 years ago* g++.old-deja/g++.other/array3.C: New test.
Nathan Sidwell [Thu, 10 Aug 2000 12:33:45 +0000 (12:33 +0000)]
* g++.old-deja/g++.other/array3.C: New test.

From-SVN: r35606

23 years agoinit.c (build_aggr_init): Reject bogus array initializers early.
Nathan Sidwell [Thu, 10 Aug 2000 12:32:40 +0000 (12:32 +0000)]
init.c (build_aggr_init): Reject bogus array initializers early.

* init.c (build_aggr_init): Reject bogus array initializers
early.

From-SVN: r35605

23 years agocvs commit ChangeLog
Bryce McKinlay [Thu, 10 Aug 2000 09:10:58 +0000 (10:10 +0100)]
cvs commit ChangeLog

From-SVN: r35604

23 years agoConnection.java (gotHeaders): Removed.
Bryce McKinlay [Thu, 10 Aug 2000 09:10:25 +0000 (10:10 +0100)]
Connection.java (gotHeaders): Removed.

2000-08-10  Bryce McKinlay  <bryce@albatross.co.nz>
    John Stracke <francis@ecal.com>

* gnu/gcj/protocol/http/Connection.java (gotHeaders): Removed.
(connect): Don't falsely claim HTTP/1.1 compliance. Call
getHttpHeaders().
(disconnect): Don't unset connected flag.
(getHeaderField (String)): Call connect() if not connected.
(getHeaderField (int)): Ditto.
(getHeaderFieldKey): Ditto.
(getHttpHeaders): Don't call connect().
* java/net/HttpURLConnection.java (instanceFollowRedirects,
gotResponseVals): New fields.
(getResponseCode): Call getResponseVals() conditionally.
(getResponseMessage): Ditto.
(getResponseVals): Call connect(). Don't throw
FileNotFoundException.

From-SVN: r35603

23 years agoc90-array-lval-1.c, [...]: New tests.
Joseph Myers [Thu, 10 Aug 2000 08:19:44 +0000 (09:19 +0100)]
c90-array-lval-1.c, [...]: New tests.

* gcc.dg/c90-array-lval-1.c, gcc.dg/c90-scope-1.c,
gcc.dg/c99-array-lval-1.c, gcc.dg/c99-const-expr-1.c,
gcc.dg/c99-func-1.c, gcc.dg/c99-func-2.c, gcc.dg/c99-scope-1.c:
New tests.

From-SVN: r35602

23 years agoDaily bump.
Jeff Law [Thu, 10 Aug 2000 07:45:17 +0000 (01:45 -0600)]
Daily bump.

From-SVN: r35601

23 years agogthr-posix.h: Include auto-host.h.
Ovidiu Predescu [Thu, 10 Aug 2000 07:11:44 +0000 (07:11 +0000)]
gthr-posix.h: Include auto-host.h.

Thu Aug 10 00:11:04 2000  Ovidiu Predescu  <ovidiu@cup.hp.com>

* gthr-posix.h: Include auto-host.h. Conditionally include
<sched.h>.
* configure.in: Check for the <sched.h> header file.
* config.in: Added define for HAVE_SCHED_H.

From-SVN: r35600

23 years agoInclude auto-host.h. Conditionally include <sched.h>.
Ovidiu Predescu [Thu, 10 Aug 2000 07:11:02 +0000 (07:11 +0000)]
Include auto-host.h. Conditionally include <sched.h>.

From-SVN: r35599

23 years agoCheck for the <sched.h> header file.
Ovidiu Predescu [Thu, 10 Aug 2000 07:10:23 +0000 (07:10 +0000)]
Check for the <sched.h> header file.

From-SVN: r35598

23 years agoAdded define for HAVE_SCHED_H.
Ovidiu Predescu [Thu, 10 Aug 2000 07:07:58 +0000 (07:07 +0000)]
Added define for HAVE_SCHED_H.

From-SVN: r35597

23 years agore GNATS gcj/310 (illegal type "long" accepted for "switch" expression)
Tom Tromey [Thu, 10 Aug 2000 01:09:12 +0000 (01:09 +0000)]
re GNATS gcj/310 (illegal type "long" accepted for "switch" expression)

From PR gcj/310:
* libjava.compile/PR310.java: New file.
* libjava.compile/PR310.xfail: New file.

From-SVN: r35596

23 years agoc-typeck.c (process_init_element): For -Wtraditional, warn about initialization of...
Kaveh R. Ghazi [Wed, 9 Aug 2000 19:52:35 +0000 (19:52 +0000)]
c-typeck.c (process_init_element): For -Wtraditional, warn about initialization of unions.

* c-typeck.c (process_init_element): For -Wtraditional, warn about
initialization of unions.

* invoke.texi (-Wtraditional): Document new behavior.

From-SVN: r35595

23 years agoRemove stray blank line in previous commit
Zack Weinberg [Wed, 9 Aug 2000 19:44:29 +0000 (19:44 +0000)]
Remove stray blank line in previous commit

From-SVN: r35594

23 years agoconfigure.in (--enable-c-cpplib): Uncomment.
Zack Weinberg [Wed, 9 Aug 2000 19:41:12 +0000 (19:41 +0000)]
configure.in (--enable-c-cpplib): Uncomment.

* configure.in (--enable-c-cpplib): Uncomment.  Use AC_DEFINE
instead of extra_c_flags.
(--enable-c-mbchar): Use AC_DEFINE instead of extra_c_flags.
* configure: Regenerate.
* config.in: Regenerate.

* cpperror.c (cpp_type2name): New function.
* cpplex.c (lex_line): If we issued an error for an invalid
preprocessing directive, discard that logical line.
* cpplib.c (do_line): Call a hook function if the current file
is renamed by #line.
(do_ident): Pass the contents of the string, not the entire
token, to the callback function.
* cpplib.h (CPP_LAST_PUNCTUATOR): New #define.
(cb.rename_file): New hook function.
(cb.ident): Adjust prototype.
(cpp_type2name): Prototype.
* cppmacro.c (dump_macro_args): Correct precedence lossage.

* cppmain.c (cb_ident): Update for changed interface.
(cb_rename_file): New function.
(main): Set rename callback.

From-SVN: r35593

23 years agopt.c (tsubst_aggr_type): Bail if creating the argvec fails.
Jason Merrill [Wed, 9 Aug 2000 18:55:42 +0000 (14:55 -0400)]
pt.c (tsubst_aggr_type): Bail if creating the argvec fails.

        * pt.c (tsubst_aggr_type): Bail if creating the argvec fails.
        (tsubst_template_arg_vector): Likewise.

From-SVN: r35592

23 years agoIt's `exit(0)', not `exit()'!
Alexandre Oliva [Wed, 9 Aug 2000 13:14:54 +0000 (13:14 +0000)]
It's `exit(0)', not `exit()'!

From-SVN: r35591

23 years agoMakefile.am: Move beans and applet classes to awt_java_source_files.
Bryce McKinlay [Wed, 9 Aug 2000 13:03:26 +0000 (13:03 +0000)]
Makefile.am: Move beans and applet classes to awt_java_source_files.

2000-08-09  Bryce McKinlay  <bryce@albatross.co.nz>

* Makefile.am: Move beans and applet classes to
awt_java_source_files.
* Makefile.in: Rebuilt.

From-SVN: r35590

23 years agoMakefile.am: Move beans and applet classes to awt_java_source_files.
Bryce McKinlay [Wed, 9 Aug 2000 13:01:44 +0000 (14:01 +0100)]
Makefile.am: Move beans and applet classes to awt_java_source_files.

2000-08-09  Bryce McKinlay  <bryce@albatross.co.nz>

* Makefile.am: Move beans and applet classes to
awt_java_source_files.
* Makefile.in: Rebuilt.
* java/awt/Color.java (getTransparency): New method.
* java/awt/Component.java: Various updates.
* java/awt/Container.java (removeNotify): Call super.removeNotify()
after dealing with children.
* java/awt/Toolkit.java (changeSupport): Renamed from pcsupport.
* java/awt/Window.java: Various new methods and updates.
* java/awt/color/ICC_Profile.java (getNumComponents): Cast profileID
to int for switch.
* java/awt/event/KeyEvent.java (paramString): Initialize `r'.
* java/awt/event/WindowEvent.java (paramString): Ditto.
* java/awt/geom/Dimension2D.java (clone): Wrap super call with
try/catch block.
* java/awt/geom/Point2D.java (clone): Ditto.
* java/awt/geom/RectangularShape.java (clone): Ditto.
* java/awt/image/ColorModel.java (bits, cspace, transparency,
hasAlpha, isAlphaPremultiplied): Make package-private, not private.

From-SVN: r35589

23 years agortti.c (build_dynamic_cast_1): Set "C" linkage for new abi runtime.
Nathan Sidwell [Wed, 9 Aug 2000 09:57:55 +0000 (09:57 +0000)]
rtti.c (build_dynamic_cast_1): Set "C" linkage for new abi runtime.

* rtti.c (build_dynamic_cast_1): Set "C" linkage for new abi
runtime.
* cp/tinfo.cc (__dynamic_cast): Likewise.
* cp/inc/cxxabi.h (__dynamic_cast): Likewise.

From-SVN: r35588

23 years agoptrflags.C: Adjust rtti member names.
Nathan Sidwell [Wed, 9 Aug 2000 09:52:47 +0000 (09:52 +0000)]
ptrflags.C: Adjust rtti member names.

* g++.old-deja/g++.abi/ptrflags.C: Adjust rtti member names.
* g++.old-deja/g++.abi/vmihint.C: Likewise.

From-SVN: r35587

23 years agocvt.c (convert_to_pointer_force): Fix error message when attempting to cast from...
Nathan Sidwell [Wed, 9 Aug 2000 09:43:00 +0000 (09:43 +0000)]
cvt.c (convert_to_pointer_force): Fix error message when attempting to cast from ambiguous base.

* cvt.c (convert_to_pointer_force): Fix error message when
attempting to cast from ambiguous base.

From-SVN: r35586

23 years agoDaily bump.
Jeff Law [Wed, 9 Aug 2000 07:45:07 +0000 (01:45 -0600)]
Daily bump.

From-SVN: r35585

23 years ago[multiple changes]
Benjamin Kosnik [Wed, 9 Aug 2000 07:33:39 +0000 (07:33 +0000)]
[multiple changes]

2000-08-09  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>

Preliminary wchar_t implementation, with trivial encodings.
* docs/configopts.html: Add bits about canonical configure option
checking.

* testsuite/27_io/iostream_objects.cc: Replace this file (which
has newly-declared-illegal mixing of wide/narrow stdstreams) with...
* testsuite/27_io/narrow_stream_objects.cc: New file.
* testsuite/27_io/wide_stream_objects.cc: New file.

* bits/fstream.tcc (underflow): Temporarily hack a solution
together that writes from the external file to the internal
buffers. This removes codecvt from the loop, and is incorrect.
(_M_really_overflow): Same here.

* testsuite/21_strings/inserters_extractors.cc (test05): Tweaks.

2000-08-08  Benjamin Kosnik  <bkoz@cygnus.com>
    Ulrich Drepper  <drepper@cygnus.com>

* config/c_io_libio.h: Tweak.
* config/c_io_libio_codecvt.c: New file.
* libio/Makefile.am: Add c_codecvt.c.
* libio/Makefile.in: Regenerate.
* libio/genops.c (_IO_unbuffer_write): Don't call _IO_SETBUF if the
stream is not orientated.

* acinclude.m4: Add config/c_io_libio_codecvt.c dummy file, until
encoding gets fleshed out.

* bits/basic_file.h: Add specialization declarations.
* config/c_io_libio.cc: Add specializations for pbackfail, uflow.

* config/c_io_libio.h: Add __c_wfile_type.
* bits/basic_file.h: Add _M_wfile.

* config/c_io_libio.cc (__basic_file<char>): Initialize the
streams without setting the orientation of the underlying FILE to
either wide or narrow.
(__basic_file<wchar_t>)): Enable tricky wchar_t io bits.

From-SVN: r35584

23 years agoc_io_libio.h: Tweak.
Benjamin Kosnik [Wed, 9 Aug 2000 07:31:26 +0000 (07:31 +0000)]
c_io_libio.h: Tweak.

2000-08-08  Benjamin Kosnik  <bkoz@cygnus.com>
    Ulrich Drepper  <drepper@cygnus.com>

* config/c_io_libio.h: Tweak.
* config/c_io_libio_codecvt.c: New file.
* libio/Makefile.am: Add c_codecvt.c.
* libio/Makefile.in: Regenerate.
* libio/genops.c (_IO_unbuffer_write): Don't call _IO_SETBUF if the
stream is not orientated.

* acinclude.m4: Add config/c_io_libio_codecvt.c dummy file, until
encoding gets fleshed out.

* bits/basic_file.h: Add specialization declarations.
* config/c_io_libio.cc: Add specializations for pbackfail, uflow.

* config/c_io_libio.h: Add __c_wfile_type.
* bits/basic_file.h: Add _M_wfile.

* config/c_io_libio.cc (__basic_file<char>): Initialize the
streams without setting the orientation of the underlying FILE to
either wide or narrow.
(__basic_file<wchar_t>)): Enable tricky wchar_t io bits.

From-SVN: r35583

23 years agoFinish preliminary wchar_t implementation, with trivial encodings.
Benjamin Kosnik [Wed, 9 Aug 2000 07:28:54 +0000 (07:28 +0000)]
Finish preliminary wchar_t implementation, with trivial encodings.

2000-08-09  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>

Finish preliminary wchar_t implementation, with trivial encodings.
* docs/configopts.html: Add bits about canonical configure option
checking.

* testsuite/27_io/iostream_objects.cc: Replace this file (which
has newly-declared-illegal mixing of wide/narrow stdstreams) with...
* testsuite/27_io/narrow_stream_objects.cc: New file.
* testsuite/27_io/wide_stream_objects.cc: New file.

* bits/fstream.tcc (underflow): Temporarily hack a solution
together that writes from the external file to the internal
buffers. This removes codecvt from the loop, and is incorrect.
(_M_really_overflow): Same here.

* testsuite/21_strings/inserters_extractors.cc (test05): Tweaks.

From-SVN: r35582

23 years agopt.c (tsubst_aggr_type): Bail if creating the argvec fails.
Jason Merrill [Wed, 9 Aug 2000 05:52:17 +0000 (01:52 -0400)]
pt.c (tsubst_aggr_type): Bail if creating the argvec fails.

        * pt.c (tsubst_aggr_type): Bail if creating the argvec fails.
        (tsubst_template_arg_vector): Likewise.

        * decl2.c (build_anon_union_vars): Choose the largest field; don't
        assume that one will be as large as the union.

From-SVN: r35581

23 years ago* gcc.c-torture/execute/20000808-1.c: New test.
Alexandre Oliva [Wed, 9 Aug 2000 05:21:17 +0000 (05:21 +0000)]
* gcc.c-torture/execute/20000808-1.c: New test.

From-SVN: r35580

23 years agocaller-save.c (mark_referenced_regs): Mark partially-overwritten multi-word registers.
Alexandre Oliva [Wed, 9 Aug 2000 05:17:12 +0000 (05:17 +0000)]
caller-save.c (mark_referenced_regs): Mark partially-overwritten multi-word registers.

* caller-save.c (mark_referenced_regs): Mark partially-overwritten
multi-word registers.

From-SVN: r35579

23 years ago* test_summary: AWK breaks with filenames containing `='.
Alexandre Oliva [Wed, 9 Aug 2000 05:12:51 +0000 (05:12 +0000)]
* test_summary: AWK breaks with filenames containing `='.

From-SVN: r35578

23 years ago* gcc.dg/c90-const-expr-1.c: New test.
Joseph Myers [Wed, 9 Aug 2000 01:05:09 +0000 (02:05 +0100)]
* gcc.dg/c90-const-expr-1.c: New test.

From-SVN: r35577

23 years agoc-common.c (combine_strings, [...]): Refer to ISO C or ISO C89 instead of ANSI C.
Joseph Myers [Tue, 8 Aug 2000 23:19:11 +0000 (00:19 +0100)]
c-common.c (combine_strings, [...]): Refer to ISO C or ISO C89 instead of ANSI C.

* c-common.c (combine_strings, check_format_info): Refer to ISO C
or ISO C89 instead of ANSI C.
* c-decl.c (grokdeclarator, xref_tag, finish_struct,
build_enumerator, do_case): Likewise.
* c-lex.c (parse_float, yylex): Likewise.
* c-parse.in: Likewise.
* c-typeck.c (common_type, build_array_ref, build_binary_op,
build_unary_op, pedantic_lvalue_warning, build_conditional_expr,
build_c_cast, convert_for_assignment, set_init_index,
set_init_label, c_expand_start_case): Likewise.
* toplev.c (documented_lang_options, display_help): Likewise.

From-SVN: r35576

23 years agoh8300.c: Fix formatting.
Kazu Hirata [Tue, 8 Aug 2000 23:09:52 +0000 (23:09 +0000)]
h8300.c: Fix formatting.

        * h8300.c: Fix formatting.
        * h8300.h: Likewise.
        * h8300.md: Likewise.
        (movsi_h8300hs): Fix formatting of the resulting assembly code.

From-SVN: r35575

23 years ago* reload1.c: Fix formatting.
Kazu Hirata [Tue, 8 Aug 2000 23:07:10 +0000 (23:07 +0000)]
* reload1.c: Fix formatting.

From-SVN: r35574

23 years agoalpha.c (alpha_emit_xfloating_libcall): Use GEN_CALL_VALUE define.
Rodney Brown [Tue, 8 Aug 2000 22:40:49 +0000 (22:40 +0000)]
alpha.c (alpha_emit_xfloating_libcall): Use GEN_CALL_VALUE define.

       * alpha/alpha.c (alpha_emit_xfloating_libcall):
        Use GEN_CALL_VALUE define.
        * alpha/alpha.md (untyped_call): Use GEN_CALL define.
        * clipper/clipper.md (untyped_call): Likewise.
        * dsp16xx/dsp16xx.md (untyped_call): Likewise.
        * fx80/fx80.md (untyped_call): Likewise.
        * mips/mips.md (untyped_call): Likewise.
        * ns32k/ns32k.md (untyped_call): Likewise.
        * pa/pa.md (untyped_call): Likewise.
        * romp/romp.md (untyped_call): Likewise.
        * sparc/sparc.md (untyped_call): Likewise.

From-SVN: r35573

23 years agoi860.c (singlemove_string): Do not generate assembler pseudo instructions that must...
Jason Eckhardt [Tue, 8 Aug 2000 22:22:32 +0000 (22:22 +0000)]
i860.c (singlemove_string): Do not generate assembler pseudo instructions that must be expanded (that is...

2000-08-08  Jason Eckhardt  <jle@cygnus.com>

        * config/i860/i860.c (singlemove_string): Do not generate assembler
        pseudo instructions that must be expanded (that is, with signed
        constants larger than 16 bits).

From-SVN: r35572

23 years agoflow.c (life_analysis): Only turn off PROP_LOG_LINKS and PROP_AUTOINC at -O0.
Richard Henderson [Tue, 8 Aug 2000 19:46:51 +0000 (12:46 -0700)]
flow.c (life_analysis): Only turn off PROP_LOG_LINKS and PROP_AUTOINC at -O0.

        * flow.c (life_analysis): Only turn off PROP_LOG_LINKS and
        PROP_AUTOINC at -O0.  Don't collect alias info at -O0.
        (init_propagate_block_info): Don't kill memory stores at -O0.
        (mark_set_1, mark_used_regs): Likewise.

From-SVN: r35571

23 years agors6000.c (optimization_options): Decorate 'level' as ATTRIBUTE_UNUSED.
David Edelsohn [Tue, 8 Aug 2000 18:50:15 +0000 (14:50 -0400)]
rs6000.c (optimization_options): Decorate 'level' as ATTRIBUTE_UNUSED.

* rs6000.c (optimization_options): Decorate 'level' as
ATTRIBUTE_UNUSED.
(mask64_operand): Remove sign-extend thinko.
(rldic_operand): New function.
(load_multiple_operation): regno's are unsigned ints.
(store_multiple_operation): Likewise.
(lmw_operation): Likewise.
(stmw_operation): Likewise.
(includes_lshift_p): shift_mask is unsigned int.
(includes_lshift64_p): New function.
(addrs_ok_for_quad_peep): unsigned int reg1.
(print_operand): Consistently add "else" after
output_operand_lossage().
(print_operand, case 'b'): Fold in case 'W'.
(print_operand, case 'W'): Print rldic MB value.
(output_epilogue): Update Objective-C language string.
(output_toc): unsigned HOST_WIDE_INT low, compare unsigned.
* rs6000.h (PREDICATE_CODES): Add rldic_operand.
* rs6000.md (ashldi3): Add rldic instruction.
(iordi3, xordi3): Remove redundant "else if CONST_DOUBLE".
(cmpsi_internal2, cmpdi_interal2): Use 'b' output template
modifier.

From-SVN: r35570

23 years agoInput_UTF8.java (read): Fixed handling of surrogate characters.
Tom Tromey [Tue, 8 Aug 2000 17:35:32 +0000 (17:35 +0000)]
Input_UTF8.java (read): Fixed handling of surrogate characters.

* gnu/gcj/convert/Input_UTF8.java (read): Fixed handling of
surrogate characters.
* gnu/gcj/convert/Output_UTF8.java (standardUTF8): Default to
true.
(write): Correct handling of surrogate characters.

From-SVN: r35569

23 years agoia64-protos.h: Remove duplicates.
Richard Henderson [Tue, 8 Aug 2000 10:01:20 +0000 (03:01 -0700)]
ia64-protos.h: Remove duplicates.

* config/ia64/ia64-protos.h: Remove duplicates.  Update
for massive code rearrangements.
* config/ia64/ia64.c (ia64_arpfs_regno): Remove.
(ia64_rp_regno, ia64_fp_regno, ia64_input_regs): Remove.
(ia64_local_regs, ia64_need_regstk): Remove.
(ar_ccv_reg_operand): New.
(ia64_gp_save_reg): New.
(struct ia64_frame_info): Combine most of the size elements;
add new gr save elements.
(find_gr_spill): New.
(next_scratch_gr_reg): New.
(mark_reg_gr_used_mask): New.
(ia64_compute_frame_size): Rewrite.  Allocate special AR regs
to GR backing store regs when possible.
(ia64_initial_elimination_offset): New.
(ia64_rap_fp_offset): Remove.
(save_restore_insns): Remove.
(setup_spill_pointers): New.
(finish_spill_pointers): New.
(spill_restore_mem): New.
(do_spill, do_restore): New.
(ia64_expand_prologue): Rewrite to use them.
(ia64_expand_epilogue): Likewise.
(ia64_direct_return): Update for current_frame_info changes.
(ia64_function_prologue): Simplify .prologue emission.  Emit
.spill when needed.
(ia64_setup_incoming_varargs): Don't ever emit rtl.
(ia64_dbx_register_number): New.
(ia64_initialize_trampoline): New.
(ia64_secondary_reload_class): Request GR_REGS for integer
arithmetic destined for FR_REGS.
(ia64_init_machine_status): Don't reset return_address_pointer_rtx.
(ia64_mark_machine_status): Mark ia64_gp_save.
(rws_access_regno): Rename from rws_access_reg; don't treat
predicates specially.
(rws_access_reg): New.  Update all callers.
(rtx_needs_barrier): Remove dead unspecs.
(ia64_epilogue_uses): Mark ar.pfs and ar.unat live on exit.
(ia64_encode_section_info): Silence signed/unsigned warnings.
(spill_offset, sp_offset, spill_offset_emitted): Remove.
(tmp_reg, tmp_saved): Remove.
(process_set): Rewrite to expect complicated bits via
REG_FRAME_RELATED_EXPR.
(ia64_expand_fetch_and_op): Use emit_move_insn; be explicit
in the use of ar.ccv; never set RTX_UNCHANGING_P.
(ia64_expand_op_and_fetch): Likewise.
(ia64_expand_compare_and_swap): Likewise.
(ia64_expand_builtin): Likewise.
* config/ia64/ia64.h (AR_UNAT_REGNUM): New.
(FIRST_PSEUDO_REGISTER): Update.
(AR_M_REGNO_P): Update.
(FIXED_REGS): Don't mark three local registers as used.
(EXTRA_CC_MODES): New.
(SELECT_CC_MODE): New.
(HARD_REGNO_NREGS): Allow DImode in p0; handle CCImode.
(HARD_REGNO_MODE_OK): Disallow CCImode from non-predicates.
(FRAME_GROWS_DOWNWARD): Unset.
(STARTING_FRAME_OFFSET): Zero.
(ELIMINABLE_REGS): Eliminate from the soft to hard frame pointer.
(INITIAL_ELIMINATION_OFFSET): Defer to out of line function.
(HARD_FRAME_POINTER_REGNUM): New.
(CAN_DEBUG_WITHOUT_FP): Define.
(TRAMPOLINE_TEMPLATE): Remove.
(TRAMPOLINE_SIZE): Lower to 32.
(TRAMPOLINE_ALIGNMENT): Lower to 64.
(INITIALIZE_TRAMPOLINE): Defer to out of line function.
(PREDICATE_CODES): Update.
(struct machine_function): Add ia64_gp_save.
* config/ia64/ia64.md: Purge unused unspecs.
(movsi patterns): Allow moves to/from AR_M_REGS.
(movdi patterns): Allow moves to/from p0.
(call patterns): Move most setjmp hackery to ia64_gp_save_reg.
(gr_spill, gr_restore): Indicate ar.unat read/written.
(nonlocal_goto): Don't pass old frame_pointer.
(nonlocal_goto_receiver): Remove.
(exception_receiver): New.
(builtin_setjmp_setup): New.
(builtin_setjmp_receiver): New.
* config/ia64/lib1funcs.asm (__ia64_save_stack_nonlocal): Bundle.
(__ia64_nonlocal_goto): Bundle.  Don't kill r7.
(__ia64_restore_stack_nonlocal): Likewise.
(__ia64_trampoline): New.
* config/ia64/sysv4.h (DBX_REGISTER_NUMBER): Defer to out of line
function.
* config/ia64/t-ia64 (LIB1ASMFUNCS): Add __trampoline.

From-SVN: r35568

23 years ago* gcc.dg/noncompile/920923-1.c: Declare calloc.
Richard Henderson [Tue, 8 Aug 2000 09:24:53 +0000 (02:24 -0700)]
* gcc.dg/noncompile/920923-1.c: Declare calloc.

From-SVN: r35567

23 years ago* regclass.c (choose_hard_reg_mode): Iterate over all CC modes.
Richard Henderson [Tue, 8 Aug 2000 09:18:47 +0000 (02:18 -0700)]
* regclass.c (choose_hard_reg_mode): Iterate over all CC modes.

From-SVN: r35566

23 years agoframe.h (ia64_frame_state): Add my_psp.
Richard Henderson [Tue, 8 Aug 2000 09:08:55 +0000 (02:08 -0700)]
frame.h (ia64_frame_state): Add my_psp.

        * frame.h (ia64_frame_state): Add my_psp.
        * libgcc2.c (ia64_throw_helper): Add throw_sp argument.
        (__throw): Pass it in.  Don't clobber r7.
        * config/ia64/frame-ia64.c (init_ia64_reg_loc): Mark inline.
        (execute_one_ia64_descriptor) [mem_stack_v]: Sets psp.when
        and nothing to do with sp.
        (normalize_reg_loc): Use frame->my_psp.
        (frame_translate): Handle frame-pointer-less functions.  Set
        spill_base correctly, in absence of being told.
        (__build_ia64_frame_state): New sp argument.  Fill in frame->my_sp.
        (__ia64_backtrace_helper): New sp argument.  Use
        builtin_return_address instead of label addresses.
        (print_record) [mem_stack_v]: No size member.

From-SVN: r35565

23 years agotm.texi (LOCAL_REGNO): Document.
Richard Henderson [Tue, 8 Aug 2000 08:28:00 +0000 (01:28 -0700)]
tm.texi (LOCAL_REGNO): Document.

        * tm.texi (LOCAL_REGNO): Document.
        * flow.c (LOCAL_REGNO, EPILOGUE_USES): Provide default.
        (mark_regs_live_at_end): Don't mark LOCAL_REGNO registers.
        * reload1.c (reload): Likewise when considering nonlocal labels.

        * config/ia64/ia64.h (LOCAL_REGNO): New.
        * config/sparc/sparc.h (LOCAL_REGNO): New.

From-SVN: r35564

23 years agoc-lex.c (yylex): Don't allow integer suffixes 'LUL', 'Ll', 'lL'.
Joseph Myers [Tue, 8 Aug 2000 08:23:31 +0000 (09:23 +0100)]
c-lex.c (yylex): Don't allow integer suffixes 'LUL', 'Ll', 'lL'.

* c-lex.c (yylex): Don't allow integer suffixes 'LUL', 'Ll', 'lL'.

testsuite:
* gcc.dg/noncompile/const-ll-1.c: New test.

From-SVN: r35563

23 years agoDaily bump.
Jeff Law [Tue, 8 Aug 2000 07:45:08 +0000 (01:45 -0600)]
Daily bump.

From-SVN: r35562

23 years agoMethod.java (hashCode): Use getName().
Tom Tromey [Tue, 8 Aug 2000 03:34:51 +0000 (03:34 +0000)]
Method.java (hashCode): Use getName().

* java/lang/reflect/Method.java (hashCode): Use getName().
(toString): Likewise.
* java/lang/reflect/natMethod.cc (getType): Initialize
exception_types.

From-SVN: r35561

23 years ago2000-08-07 Alexandre Petit-Bianco <apbianco@cygnus.com
Alexandre Petit-Bianco [Tue, 8 Aug 2000 03:33:36 +0000 (03:33 +0000)]
2000-08-07  Alexandre Petit-Bianco  <apbianco@cygnus.com

* parse.y (build_dot_class_method_invocation): Changed parameter
name to `type.' Build signature from `type' and convert it to a
STRING_CST if it's an array.
(patch_incomplete_class_ref): `build_dot_class_method_invocation'
to use `ref_type' directly.

2000-08-01  Alexandre Petit-Bianco  <apbianco@cygnus.com>

* parse.y (maybe_yank_clinit): When generating bytecode: non empty
method bodies not to rule out discarding `<clinit>'; don't use
<clinit> to initialize static fields with constant initializers.

2000-08-01  Alexandre Petit-Bianco  <apbianco@cygnus.com>

* gjavah.c (print_method_info): Added `synth' parameter. Skip
synthetic methods.
(method_synthetic): New global.
(HANDLE_METHOD): Recognize synthetic method and tell
`print_method_info' about it.
(HANDLE_END_METHOD): Do not issue an additional `;\n' if we're
processing a synthetic method.
* jcf-reader.c (skip_attribute): New function.
( skip_attribute): Likewise.

2000-08-01  Alexandre Petit-Bianco  <apbianco@cygnus.com>

* parse.y (build_outer_field_access): Fixed comments.
(fix_constructors): Emit the initialization of this$<n> before
calling $finit$.
(resolve_qualified_expression_name): Build an access to `decl' if
necessary.

2000-07-31  Alexandre Petit-Bianco  <apbianco@cygnus.com>

* parse-scan.y (curent_class): Non longer const.
(inner_qualifier, inner_qualifier_length): Deleted.
(current_class_length): New global.
(bracket_count): Fixed typo in leading comment.
(anonymous_count): New global.
(class_instance_creation_expression:): Handle anonymous classes.
(anonymous_class_creation:): New rule.
(push_class_context): Rewritten.
(pop_class_context): Likewise.
(INNER_QUALIFIER): Macro deleted.
(report_class_declaration): call `push_class_context' when
entering the function. `fprintf' format modified not to use
INNER_QUALIFIER.
(report_class_declaration): Assign `package_name' and
`current_class' to NULL separatly.

2000-07-31  Alexandre Petit-Bianco  <apbianco@cygnus.com>

* expr.c (build_invokeinterface): Call layout_class_methods on
target interface.

(http://gcc.gnu.org/ml/gcc-patches/2000-08/msg00339.html)

From-SVN: r35560

23 years agoFix most compile time warning messages
Nick Clifton [Tue, 8 Aug 2000 01:17:06 +0000 (01:17 +0000)]
Fix most compile time warning messages

From-SVN: r35559

23 years agog77spec.c (lang_specific_driver): Clearer g77 version message.
Toon Moene [Mon, 7 Aug 2000 21:19:48 +0000 (23:19 +0200)]
g77spec.c (lang_specific_driver): Clearer g77 version message.

2000-08-07  Toon Moene  <toon@moene.indiv.nluug.nl>

* g77spec.c (lang_specific_driver): Clearer g77 version message.

From-SVN: r35558

23 years agoMethod.java (toString): Use Class.getName, not Class.toString.
Tom Tromey [Mon, 7 Aug 2000 20:03:40 +0000 (20:03 +0000)]
Method.java (toString): Use Class.getName, not Class.toString.

* java/lang/reflect/Method.java (toString): Use Class.getName, not
Class.toString.
* java/lang/reflect/Field.java (toString): Correct formatting.
From Corey Minyard.

From-SVN: r35557

23 years agoPipedInputStream.java (read(byte[],int,int)): Mostly rewrote.
Tom Tromey [Mon, 7 Aug 2000 19:59:48 +0000 (19:59 +0000)]
PipedInputStream.java (read(byte[],int,int)): Mostly rewrote.

* java/io/PipedInputStream.java (read(byte[],int,int)): Mostly
rewrote.
(receive): Streamlined.

From-SVN: r35556

23 years agoporting-howto.html: New version.
Felix Natter [Mon, 7 Aug 2000 19:29:19 +0000 (19:29 +0000)]
porting-howto.html: New version.

2000-08-07  Felix Natter  <fnatter@gmx.net>

* docs/17_intro/porting-howto.html:  New version.

From-SVN: r35555

23 years ago* MAINTAINERS: Add self as a DJGPP maintainer
DJ Delorie [Mon, 7 Aug 2000 15:04:48 +0000 (11:04 -0400)]
* MAINTAINERS: Add self as a DJGPP maintainer

From-SVN: r35554

23 years agoconfigure.in (FLAGS_FOR_TARGET): invert test for xgcc...
DJ Delorie [Mon, 7 Aug 2000 15:00:46 +0000 (11:00 -0400)]
configure.in (FLAGS_FOR_TARGET): invert test for xgcc...

* configure.in (FLAGS_FOR_TARGET): invert test for xgcc, should mean
"if we're also building gcc, and it's a gcc that will run on the
build machine, we want to use its includes instead of the system's
default includes".

From-SVN: r35553

23 years ago* mn10300.h (TARGET_SWITCHES): Document `-mam33'.
Nick Clifton [Mon, 7 Aug 2000 11:35:06 +0000 (11:35 +0000)]
* mn10300.h (TARGET_SWITCHES): Document `-mam33'.

From-SVN: r35552

23 years agomn10300.md: Use nonimmediate_operand instead of general_operand on output operands.
Graham Stott [Mon, 7 Aug 2000 11:28:02 +0000 (11:28 +0000)]
mn10300.md: Use nonimmediate_operand instead of general_operand on output operands.

* mn10300.md: Use nonimmediate_operand instead of general_operand
on output operands.

From-SVN: r35551

23 years ago* mn10300.h (PREFERRED_RELOAD_CLASS): Limit memory reloads.
Graham Stott [Mon, 7 Aug 2000 11:26:59 +0000 (11:26 +0000)]
* mn10300.h (PREFERRED_RELOAD_CLASS): Limit memory reloads.

From-SVN: r35550

23 years agoRemove dangling whitespace
Alexandre Oliva [Mon, 7 Aug 2000 11:20:25 +0000 (11:20 +0000)]
Remove dangling whitespace

From-SVN: r35549

23 years agosh.h (EXTRA_CONSTRAINT_Q): Adjust to GNU Coding Standards.
Alexandre Oliva [Mon, 7 Aug 2000 09:58:29 +0000 (09:58 +0000)]
sh.h (EXTRA_CONSTRAINT_Q): Adjust to GNU Coding Standards.

* sh.h (EXTRA_CONSTRAINT_Q): Adjust to GNU Coding Standards.
* sh.c (expand_block_move): Break long lines.
(expand_ashiftrt, fpscr_set_from_mem): Likewise.
* sh.md (mulsi3): Likewise.
(movdi): Adjust spacing.

From-SVN: r35548

23 years ago* gcc.dg/c90-printf-2.c, gcc.dg/c99-printf-2.c: New tests.
Joseph Myers [Mon, 7 Aug 2000 09:48:23 +0000 (10:48 +0100)]
* gcc.dg/c90-printf-2.c, gcc.dg/c99-printf-2.c: New tests.

From-SVN: r35547

23 years agoexpmed.c (store_bit_field): Don't require MEM_IN_STRUCT_P.
Richard Henderson [Mon, 7 Aug 2000 08:27:54 +0000 (01:27 -0700)]
expmed.c (store_bit_field): Don't require MEM_IN_STRUCT_P.

        * expmed.c (store_bit_field): Don't require MEM_IN_STRUCT_P.
        * expr.c (emit_group_store): Don't set it.

From-SVN: r35546

23 years agoDaily bump.
Jeff Law [Mon, 7 Aug 2000 07:45:08 +0000 (01:45 -0600)]
Daily bump.

From-SVN: r35545

23 years agocp-tree.h (CLASSTYPE_HAS_PRIMARY_BASE_P): Fix a comment typo.
Kazu Hirata [Mon, 7 Aug 2000 07:13:13 +0000 (07:13 +0000)]
cp-tree.h (CLASSTYPE_HAS_PRIMARY_BASE_P): Fix a comment typo.

        * cp-tree.h (CLASSTYPE_HAS_PRIMARY_BASE_P): Fix a comment typo.
        * decl.c (pop_labels): Likewise.

From-SVN: r35544

23 years agoinvoke.texi (Options for Debugging Your Program or GCC): Remove duplicate entries...
Kazu Hirata [Mon, 7 Aug 2000 07:11:38 +0000 (07:11 +0000)]
invoke.texi (Options for Debugging Your Program or GCC): Remove duplicate entries for 'w' and 'z'.

* invoke.texi (Options for Debugging Your Program or GCC): Remove
duplicate entries for 'w' and 'z'.

From-SVN: r35543

23 years ago* flow.c: Fix a comment typo.
Kazu Hirata [Mon, 7 Aug 2000 07:07:21 +0000 (07:07 +0000)]
* flow.c: Fix a comment typo.

From-SVN: r35542

23 years ago* decl.c: Fix a comment typo.
Kazu Hirata [Mon, 7 Aug 2000 07:05:52 +0000 (07:05 +0000)]
* decl.c: Fix a comment typo.

From-SVN: r35541

23 years agoc-parse.in: Changed the language string for Objective-C to "GNU Objective-C".
Ovidiu Predescu [Mon, 7 Aug 2000 06:48:26 +0000 (06:48 +0000)]
c-parse.in: Changed the language string for Objective-C to "GNU Objective-C".

Sun Aug  6 23:47:35 2000  Ovidiu Predescu  <ovidiu@cup.hp.com>

* c-parse.in: Changed the language string for Objective-C to "GNU
Objective-C".

From-SVN: r35540

23 years agoChanged the language string for Objective-C to "GNU Objective-C".
Ovidiu Predescu [Mon, 7 Aug 2000 06:47:34 +0000 (06:47 +0000)]
Changed the language string for Objective-C to "GNU Objective-C".

From-SVN: r35539

23 years agoobjc-features.texi: Documented the new -fconstant-string-class option.
Ovidiu Predescu [Mon, 7 Aug 2000 06:28:07 +0000 (06:28 +0000)]
objc-features.texi: Documented the new -fconstant-string-class option.

Sun Aug  6 23:27:49 2000  Ovidiu Predescu  <ovidiu@cup.hp.com>

* objc-features.texi: Documented the new -fconstant-string-class
option.

From-SVN: r35538

23 years agoDocumented the new -fconstant-string-class option.
Ovidiu Predescu [Mon, 7 Aug 2000 06:27:47 +0000 (06:27 +0000)]
Documented the new -fconstant-string-class option.

From-SVN: r35537

23 years agothr-posix.c: Integrated Chris Ball's <cball@fmco.com> changes to improve the Posix...
Ovidiu Predescu [Mon, 7 Aug 2000 05:51:41 +0000 (05:51 +0000)]
thr-posix.c: Integrated Chris Ball's <cball@fmco.com> changes to improve the Posix thread...

Sun Aug  6 22:51:16 2000  Ovidiu Predescu  <ovidiu@cup.hp.com>

* thr-posix.c: Integrated Chris Ball's <cball@fmco.com> changes to
improve the Posix thread support for Objective-C.

From-SVN: r35536

23 years agoIntegrated Chris Ball's <cball@fmco.com> changes to improve the Posix
Ovidiu Predescu [Mon, 7 Aug 2000 05:51:14 +0000 (05:51 +0000)]
Integrated Chris Ball's <cball@fmco.com> changes to improve the Posix
thread support for Objective-C.

From-SVN: r35535

23 years agogthr-posix.h: Integrated Chris Ball's <cball@fmco.com> changes to improve the Posix...
Ovidiu Predescu [Sun, 6 Aug 2000 18:54:49 +0000 (18:54 +0000)]
gthr-posix.h: Integrated Chris Ball's <cball@fmco.com> changes to improve the Posix thread...

Sun Aug  6 11:54:03 2000  Ovidiu Predescu  <ovidiu@cup.hp.com>

* gthr-posix.h: Integrated Chris Ball's <cball@fmco.com> changes
to improve the Posix thread support for Objective-C.

From-SVN: r35534

23 years agoIntegrated Chris Ball's <cball@fmco.com> changes to improve the Posix
Ovidiu Predescu [Sun, 6 Aug 2000 18:54:00 +0000 (18:54 +0000)]
Integrated Chris Ball's <cball@fmco.com> changes to improve the Posix
thread support for Objective-C.

From-SVN: r35533

23 years agoobjc.exp (objc_target_compile): Set the ld_library_path so that running programs...
Ovidiu Predescu [Sun, 6 Aug 2000 18:43:22 +0000 (18:43 +0000)]
objc.exp (objc_target_compile): Set the ld_library_path so that running programs linked against the shared...

Sun Aug  6 11:41:51 2000  Ovidiu Predescu  <ovidiu@cup.hp.com>

* lib/objc.exp (objc_target_compile): Set the ld_library_path so
that running programs linked against the shared version of libobjc
run correctly.

From-SVN: r35532

23 years agoSet the ld_library_path so that running programs linked against the
Ovidiu Predescu [Sun, 6 Aug 2000 18:41:49 +0000 (18:41 +0000)]
Set the ld_library_path so that running programs linked against the
shared version of libobjc run correctly.

From-SVN: r35531

23 years agoc-common.h (enum c_tree_index): Add CTI_SIGNED_SIZE_TYPE and CTI_UNSIGNED_PTRDIFF_TYPE.
Joseph Myers [Sun, 6 Aug 2000 18:12:49 +0000 (19:12 +0100)]
c-common.h (enum c_tree_index): Add CTI_SIGNED_SIZE_TYPE and CTI_UNSIGNED_PTRDIFF_TYPE.

* c-common.h (enum c_tree_index): Add CTI_SIGNED_SIZE_TYPE and
CTI_UNSIGNED_PTRDIFF_TYPE.
(signed_size_type_node): Define.
(unsigned_ptrdiff_type_node): Define.
* c-decl.c (init_decl_processing): Create the
signed_size_type_node and unsigned_ptrdiff_type_node types.
* c-common.c (T_SC): Define.
(T_SST): Define.
(T_UPD): Define.
(print_char_table): Use T_SST for %zd, %zi, %zn.  Use T_UPD for
%to, %tu, %tx, %tX.  Allow %hhn (T_SC).  Add "c" to the flags for
%s and %p.
(scan_char_table): Use T_SC for %hhd, %hhi, %hhn.  Use T_SST for
%zd, %zi, %zn.  Use T_UPD for %to, %tu, %tx, %tX.  Add "c" to the
flags for %c, %s and %[.
(check_format_info): Only allow leniency for signedness of targets
of character pointers (when pedantic) for formats flagged with
"c", so for strings but not for %hh formats.  When pedantic, don't
allow character pointers to substitute for void pointers if a
second level of indirection is present.

testsuite:
* gcc.dg/c99-printf-1.c: New test.

From-SVN: r35530

23 years agoinvoke.texi (Options for Debugging Your Program or GCC): Update the names of dump...
Kazu Hirata [Sun, 6 Aug 2000 18:08:08 +0000 (18:08 +0000)]
invoke.texi (Options for Debugging Your Program or GCC): Update the names of dump files.

* invoke.texi (Options for Debugging Your Program or GCC): Update
the names of dump files.

From-SVN: r35529

23 years ago* gcc.c-torture/execute/20000801-4.x: Only xfail on x86.
Joseph Myers [Sun, 6 Aug 2000 18:04:54 +0000 (19:04 +0100)]
* gcc.c-torture/execute/20000801-4.x: Only xfail on x86.

From-SVN: r35528

23 years agoh8300.c (dosize): Rearrange code for conciseness.
Kazu Hirata [Sun, 6 Aug 2000 18:03:58 +0000 (18:03 +0000)]
h8300.c (dosize): Rearrange code for conciseness.

        * h8300.c (dosize): Rearrange code for conciseness.
        (split_adds_subs): Likewise.

From-SVN: r35527

23 years ago* loop.c: Fix formatting.
Kazu Hirata [Sun, 6 Aug 2000 17:57:57 +0000 (17:57 +0000)]
* loop.c: Fix formatting.

From-SVN: r35526

23 years ago* tm.texi (FUNCTION_ARG_PARTIAL_NREGS): Fix a typo.
Kazu Hirata [Sun, 6 Aug 2000 17:55:22 +0000 (17:55 +0000)]
* tm.texi (FUNCTION_ARG_PARTIAL_NREGS): Fix a typo.

From-SVN: r35525

23 years ago* tm.texi (FUNCTION_ARG_PARTIAL_NREGS): Fix a typo.
Jeff Law [Sun, 6 Aug 2000 17:50:06 +0000 (11:50 -0600)]
* tm.texi (FUNCTION_ARG_PARTIAL_NREGS): Fix a typo.

From-SVN: r35524