platform/upstream/gcc.git
23 years agoFix for PRs gcj/312 and gcj/253:
Bryce McKinlay [Mon, 18 Dec 2000 21:15:52 +0000 (21:15 +0000)]
Fix for PRs gcj/312 and gcj/253:

* parse.y (valid_ref_assignconv_cast_p): Load classes for source and
dest if they arn't already.
* class.c (layout_class): Call maybe_layout_super_class on
superinterfaces also, but only if compiling from bytecode.

From-SVN: r38363

23 years agobugs.texi: Correct copyright years.
Toon Moene [Mon, 18 Dec 2000 20:59:48 +0000 (21:59 +0100)]
bugs.texi: Correct copyright years.

2000-12-18  Toon Moene <toon@moene.indiv.nluug.nl>

* bugs.texi: Correct copyright years.
* g77.texi: Likewise.
* news.texi: Likewise.

From-SVN: r38362

23 years agoc-lex.c (cb_file_change): Treat in_system_header as strictly boolean (0 or 1).
Neil Booth [Mon, 18 Dec 2000 20:38:35 +0000 (20:38 +0000)]
c-lex.c (cb_file_change): Treat in_system_header as strictly boolean (0 or 1).

* c-lex.c (cb_file_change): Treat in_system_header as strictly
boolean (0 or 1).

From-SVN: r38361

23 years ago* gcc.dg/cpp/cmdlne-P.c: New test.
Neil Booth [Mon, 18 Dec 2000 19:37:18 +0000 (19:37 +0000)]
* gcc.dg/cpp/cmdlne-P.c: New test.

From-SVN: r38360

23 years ago* cppmain.c: Update print.lineno with -P.
Neil Booth [Mon, 18 Dec 2000 19:31:54 +0000 (19:31 +0000)]
* cppmain.c: Update print.lineno with -P.

From-SVN: r38359

23 years agobuiltin-abs-1.c, [...]: New tests.
Joseph Myers [Mon, 18 Dec 2000 19:01:41 +0000 (19:01 +0000)]
builtin-abs-1.c, [...]: New tests.

* gcc.c-torture/execute/builtin-abs-1.c,
gcc.c-torture/execute/builtin-abs-2.c: New tests.

From-SVN: r38358

23 years agoc-lex.c: s/change_file/file_change.
Neil Booth [Mon, 18 Dec 2000 19:00:26 +0000 (19:00 +0000)]
c-lex.c: s/change_file/file_change.

        * c-lex.c: s/change_file/file_change.
        * cpplib.h: Similarly.
        * cppmain.c: Similarly.
        * fix-header.c: Similarly.
        * cppfiles.c (stack_include_file): Pass the buffer location and
        size to cpp_push_buffer.  Generate the file_change callback,
        so that sysp is already set.
        * cpphash.h: Add _cpp_do_file_change.
        * cpplib.c (do_line): Set buffer->sysp directly. Generate the
        file_change callback after setting sysp.
        (_cpp_do_file_change): Handle FC_ENTER and the FC_RENAME exception
        here.
        (cpp_push_buffer): Don't generate a callback.  Clear sysp.
        (cpp_pop_buffer): Clean up logic.

From-SVN: r38357

23 years agoconfigure.in (gcc_gxx_include_dir): Simplify.
Benjamin Kosnik [Mon, 18 Dec 2000 18:12:45 +0000 (18:12 +0000)]
configure.in (gcc_gxx_include_dir): Simplify.

2000-12-18  Benjamin Kosnik  <bkoz@redhat.com>

* configure.in (gcc_gxx_include_dir): Simplify.
(libstdcxx_incdir): Export.
* configure: Regenerate.
* Makefile.in (PREPROCESSOR_DEFINES): Add in
GPLUSPLUS_TOOL_INCLUDE_DIR bits here..
(libstdcxx_incdir): Add.
* cppdefault.c (GPLUSPLUS_TOOL_INCLUDE_DIR): Add search path.

From-SVN: r38356

23 years agoMakefile.in (BASE_FLAGS_TO_PASS): Alphabetize.
Benjamin Kosnik [Mon, 18 Dec 2000 18:08:07 +0000 (18:08 +0000)]
Makefile.in (BASE_FLAGS_TO_PASS): Alphabetize.

2000-12-18  Benjamin Kosnik  <bkoz@redhat.com>

* Makefile.in (BASE_FLAGS_TO_PASS): Alphabetize.
(libstdcxx_incdir): Pass down.
* config.if: Remove expired bits for cxx_interface, add stub.
(libstdcxx_incdir): Add variable for g++ include directory.
* configure.in (gxx_include_dir): Use it.

From-SVN: r38355

23 years ago[multiple changes]
Benjamin Kosnik [Mon, 18 Dec 2000 18:03:08 +0000 (18:03 +0000)]
[multiple changes]

2000-12-18  Benjamin Kosnik  <bkoz@redhat.com>

* configure.in: Set os_include_dir for cross_compiles.
* configure: Regenerate.
* configure.target (l_glibcpp_cxxflags): Don't try to be clever
when assigning ATOMICITYH. Only special case the special cases...

2000-12-15  Benjamin Kosnik  <bkoz@redhat.com>

* configure.in (gxx_target_include_dir): Install target-dependent
include files in a target-dependent place.
* configure: Regenerate.
* src/Makefile.am: Add in support here.
* src/Makefile.in: Regenerate.

From-SVN: r38354

23 years agoMAINTAINERS: Added self as sh port co-maintainer.
Alexandre Oliva [Mon, 18 Dec 2000 17:01:21 +0000 (17:01 +0000)]
MAINTAINERS: Added self as sh port co-maintainer.

* MAINTAINERS: Added self as sh port co-maintainer.  Removed entry
with old-email address from ``Write After Approval''.

From-SVN: r38353

23 years agog77install.texi: Remove obsolete parts only used for INSTALL, and DOC-G77 conditionals.
Joseph Myers [Mon, 18 Dec 2000 12:16:41 +0000 (12:16 +0000)]
g77install.texi: Remove obsolete parts only used for INSTALL, and DOC-G77 conditionals.

* g77install.texi: Remove obsolete parts only used for INSTALL,
and DOC-G77 conditionals.  Update last-update-install date.

From-SVN: r38343

23 years agoc-lex.c (lex_lineno): Remove.
Neil Booth [Mon, 18 Dec 2000 10:16:26 +0000 (10:16 +0000)]
c-lex.c (lex_lineno): Remove.

        * c-lex.c (lex_lineno): Remove.
        (init_c_lex, c_lex): Remove lex_lineno.
        (cb_change_file): Update lineno correctly, both before calling
        push_srcloc and before leaving the function.
        (cb_def_pragma): Set lineno before outputting diagnostics.

From-SVN: r38342

23 years agoCOPYING: Update to current ftp://ftp.gnu.org/pub/gnu/Licenses/COPYING-2.0 (fixes...
Joseph Myers [Mon, 18 Dec 2000 09:14:00 +0000 (09:14 +0000)]
COPYING: Update to current ftp://ftp.gnu.org/pub/gnu/Licenses/COPYING-2.0 (fixes...

* docs/html/17_intro/COPYING: Update to current
ftp://ftp.gnu.org/pub/gnu/Licenses/COPYING-2.0 (fixes references
to 19yy as example year in copyright notice).

From-SVN: r38341

23 years agoCOPYING: Update to current ftp://ftp.gnu.org/pub/gnu/Licenses/COPYING-2.0 (fixes...
Joseph Myers [Mon, 18 Dec 2000 09:12:19 +0000 (09:12 +0000)]
COPYING: Update to current ftp://ftp.gnu.org/pub/gnu/Licenses/COPYING-2.0 (fixes...

* COPYING: Update to current
ftp://ftp.gnu.org/pub/gnu/Licenses/COPYING-2.0 (fixes references
to 19yy as example year in copyright notice).

From-SVN: r38340

23 years agoDaily bump.
Jeff Law [Mon, 18 Dec 2000 08:45:11 +0000 (01:45 -0700)]
Daily bump.

From-SVN: r38339

23 years agonatInflater.cc (inflate): Treat Z_BUF_ERROR as end-of-stream if avail_in is 0.
Bryce McKinlay [Mon, 18 Dec 2000 01:00:23 +0000 (01:00 +0000)]
natInflater.cc (inflate): Treat Z_BUF_ERROR as end-of-stream if avail_in is 0.

        * java/util/zip/natInflater.cc (inflate): Treat Z_BUF_ERROR as
        end-of-stream if avail_in is 0.

From-SVN: r38338

23 years agoprint-tree.c (print_node): Print DECL_USER_ALIGN and TYPE_USER_ALIGN.
Richard Kenner [Sun, 17 Dec 2000 23:47:48 +0000 (23:47 +0000)]
print-tree.c (print_node): Print DECL_USER_ALIGN and TYPE_USER_ALIGN.

* print-tree.c (print_node): Print DECL_USER_ALIGN and TYPE_USER_ALIGN.
Print TYPE_MIN_VALUE and TYPE_MAX_VALUE for REAL_TYPE.
Use print_node_brief to print bounds.

From-SVN: r38337

23 years agocpplib.h (struct cpp_reader): Remove references to string_pool and temp_string_pool.
Neil Booth [Sun, 17 Dec 2000 22:40:32 +0000 (22:40 +0000)]
cpplib.h (struct cpp_reader): Remove references to string_pool and temp_string_pool.

        * cpplib.h (struct cpp_reader): Remove references to string_pool
        and temp_string_pool.
        * cppinit.c (cpp_create_reader, cpp_cleanup): Similarly; using
        ident_pool in place.
        * cpplex.c (parse_number, unescaped_terminator_p, parse_string,
        save_comment, cpp_token_as_text): Similarly.
        * cpplib.c (do_define, glue_header_name, parse_assertion): Similarly.
        * cppmacro.c (make_number_token, builtin_macro, lock_pools,
        unlock_pools, stringify_arg, paste_tokens): Similarly.

From-SVN: r38336

23 years agodwarf2out.c (loc_descriptor_from_tree, [...]): New case.
Richard Kenner [Sun, 17 Dec 2000 17:45:19 +0000 (17:45 +0000)]
dwarf2out.c (loc_descriptor_from_tree, [...]): New case.

* dwarf2out.c (loc_descriptor_from_tree, case NOP_EXPR): New case.
(loc_descriptor_from_tree, case CONVERT_EXPR): Likewise.
(loc_descriptor_from_tree, case NON_LVALUE_EXPR): Likewise.

From-SVN: r38335

23 years agoWhitespace change
Richard Kenner [Sun, 17 Dec 2000 17:22:41 +0000 (12:22 -0500)]
Whitespace change

From-SVN: r38334

23 years agoMakefile.in (check-po): Use $(MAKE).
Richard Earnshaw [Sun, 17 Dec 2000 15:31:16 +0000 (15:31 +0000)]
Makefile.in (check-po): Use $(MAKE).

* Makefile.in (check-po): Use $(MAKE).
(risky-stage1, risky-stage2, risky-stage3, risky-stage4): Likewise.

From-SVN: r38333

23 years agocppmain.c (check_multiline_token): New function.
Neil Booth [Sun, 17 Dec 2000 14:46:34 +0000 (14:46 +0000)]
cppmain.c (check_multiline_token): New function.

        * cppmain.c (check_multiline_token): New function.
        (scan_buffer): Use it.
        (cb_change_file): Restructure to avoid warning.
        * cpperror.c (print_location): Initialize col.

From-SVN: r38332

23 years agoprotoize.c (main): Correctly set locale categories.
Philipp Thomas [Sun, 17 Dec 2000 14:35:05 +0000 (14:35 +0000)]
protoize.c (main): Correctly set locale categories.

2000-12-14  Philipp Thomas  <pthomas@suse.de>
* protoize.c (main): Correctly set locale categories.
* gcc.c (main): Likewise.
* cppmain.c (general_init): Likewise.
* toplev.c (main): Likewise.
* gcov.c (main): Likewise.
* collect2.c (main): Likewise.

From-SVN: r38331

23 years ago* gcc.dg/cpp/multiline.c: New test.
Neil Booth [Sun, 17 Dec 2000 14:33:34 +0000 (14:33 +0000)]
* gcc.dg/cpp/multiline.c: New test.

From-SVN: r38330

23 years agoc-common.c (c_common_nodes_and_builtins): Create a cstring_endlink, use it.
Kaveh R. Ghazi [Sun, 17 Dec 2000 13:58:53 +0000 (13:58 +0000)]
c-common.c (c_common_nodes_and_builtins): Create a cstring_endlink, use it.

* c-common.c (c_common_nodes_and_builtins): Create a
cstring_endlink, use it.  Rename int_ftype_string_string to
int_ftype_cstring_cstring, string_ftype_string_int to
string_ftype_cstring_int, and string_ftype_string_string to
string_ftype_cstring_cstring.  Prefer sizetype_endlink and
int_endlink to manually recreating them.  Fix the prototype
set for __builtin_strspn/__builtin_strcspn.

From-SVN: r38329

23 years agoArrayList.java (data): Declare transient.
Bryce McKinlay [Sun, 17 Dec 2000 11:51:14 +0000 (11:51 +0000)]
ArrayList.java (data): Declare transient.

* java/util/ArrayList.java (data): Declare transient.
(serialPersistantFields): Removed.
(readObject): Use defaultReadObject(), not readFields().
(writeObject): Use defaultWriteObject(), not writeFields().

From-SVN: r38328

23 years agodiagnostic.c (finish_abort): Deleted.
Richard Kenner [Sun, 17 Dec 2000 10:52:11 +0000 (05:52 -0500)]
diagnostic.c (finish_abort): Deleted.

* diagnostic.c (finish_abort): Deleted.
(fatal): Add code from fninish_abort.
(error_recursion, fancy_abort): Call fatal, not finish_abort.
(trim_filename): Remove leading "../".
* diagnostic.h (finish_abort): Deleted.
* toplev.c (crash_signal): Call fatal, not finish_abort.

From-SVN: r38327

23 years agoavr.c (out_set_stack_ptr): Update comment.
Marek Michalkiewicz [Sun, 17 Dec 2000 10:38:37 +0000 (11:38 +0100)]
avr.c (out_set_stack_ptr): Update comment.

* config/avr/avr.c (out_set_stack_ptr): Update comment.
(print_operand): Add support for %~ and %o.

From-SVN: r38326

23 years agoHashtable.java (put): Remove `last' variable.
Jeff Sturm [Sun, 17 Dec 2000 09:15:51 +0000 (09:15 +0000)]
Hashtable.java (put): Remove `last' variable.

2000-12-17  Jeff Sturm  <jeff.sturm@commerceone.com>

* java/util/Hashtable.java (put): Remove `last' variable.
Link new entry to head of list.
* java/util/HashMap.java (put): Ditto.

From-SVN: r38325

23 years agoDaily bump.
Jeff Law [Sun, 17 Dec 2000 08:45:07 +0000 (01:45 -0700)]
Daily bump.

From-SVN: r38324

23 years ago* c4x.h: Add ASM_OUTPUT_DEF definition for bounded pointer code.
Herman A.J. ten Brugge [Sun, 17 Dec 2000 08:18:35 +0000 (09:18 +0100)]
* c4x.h: Add ASM_OUTPUT_DEF definition for bounded pointer code.

From-SVN: r38323

23 years agoPOTFILES.in: Add doloop.c.
Philipp Thomas [Sun, 17 Dec 2000 06:30:40 +0000 (06:30 +0000)]
POTFILES.in: Add doloop.c.

2000-12-17  Philipp Thomas  <pthomas@suse.de>

* POTFILES.in: Add doloop.c.

From-SVN: r38322

23 years agoPOTFILES.in: Remove files not existing anymore.
Philipp Thomas [Sun, 17 Dec 2000 05:20:43 +0000 (05:20 +0000)]
POTFILES.in: Remove files not existing anymore.

2000-12-17  Philipp Thomas  <pthomas@suse.de>

* POTFILES.in: Remove files not existing anymore.
Add a note at the top that trailing spaces aren't allowed.

From-SVN: r38321

23 years agosyshdr1.C: Update.
Neil Booth [Sun, 17 Dec 2000 00:22:02 +0000 (00:22 +0000)]
syshdr1.C: Update.

        * g++.old-deja/g++.other/syshdr1.C: Update.
        * gcc.dg/cpp/lineflags.c: Remove temporarily.

From-SVN: r38320

23 years agoc-lex.c: Move main_input_filename handling to FC_ENTER.
Neil Booth [Sun, 17 Dec 2000 00:13:54 +0000 (00:13 +0000)]
c-lex.c: Move main_input_filename handling to FC_ENTER.

        * c-lex.c: Move main_input_filename handling to FC_ENTER. Clean up.
        * cpperror.c (print_containing_files): Get right line number.
        (print_location): Output column of 1 if 0.
        * cppfiles.c (stack_include_file): cpp_push_buffer handles
        the callback.
        * cpphash.h (_cpp_do_file_change): No longer external.
        * cpplib.c (do_file_change): Now local to cpplib.c.
        (do_line): Fake a buffer stack for preprocessed files.
        (cpp_push_buffer): Create a file_change callback.  Handle faked
        buffers.
        (cpp_pop_buffer): Similarly.
        * cpplib.h: BUF_FAKE: New buffer type.
        * cppmain.c: Update to handle correct file renaming where a
        #line is the first line of the main file, and produce only
        the renamed file, not the original file, as output.

From-SVN: r38319

23 years ago* config/c4x/c4x.md: Remove redundant @s from output patterns.
Michael Hayes [Sat, 16 Dec 2000 23:51:06 +0000 (23:51 +0000)]
* config/c4x/c4x.md: Remove redundant @s from output patterns.

From-SVN: r38318

23 years agoc4x.h (REGISTER_TARGET_PRAGMAS): Call c4x_init_pragma.
Michael Hayes [Sat, 16 Dec 2000 23:41:44 +0000 (23:41 +0000)]
c4x.h (REGISTER_TARGET_PRAGMAS): Call c4x_init_pragma.

* config/c4x/c4x.h (REGISTER_TARGET_PRAGMAS): Call c4x_init_pragma.

* config/c4x/c4x-protos.h (c4x_init_pragma): New prototype.

* config/c4x/c4x.c (c4x_init_pragma): New function.
(c_lex_func): New variable.
(c4x_parse_pragma): Use c_lex_func.

Co-Authored-By: Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
From-SVN: r38317

23 years agoc4x.h (MD_INIT_BUILTINS): Add void_list_node argument to c4x_init_builtins.
Michael Hayes [Sat, 16 Dec 2000 23:28:20 +0000 (23:28 +0000)]
c4x.h (MD_INIT_BUILTINS): Add void_list_node argument to c4x_init_builtins.

* config/c4x/c4x.h (MD_INIT_BUILTINS): Add void_list_node argument
  to c4x_init_builtins.

* config/c4x/c4x-protos.h (c4x_init_builtins): Add tree argument.

* config/c4x/c4x.c (c4x_init_builtins): Add tree argument.
(c4x_output_ascii):  Fix.

Co-Authored-By: Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
From-SVN: r38316

23 years agoc4x.h (MD_INIT_BUILTINS, [...]): Define.
Michael Hayes [Sat, 16 Dec 2000 23:13:15 +0000 (23:13 +0000)]
c4x.h (MD_INIT_BUILTINS, [...]): Define.

* config/c4x/c4x.h (MD_INIT_BUILTINS, MD_EXPAND_BUILTIN): Define.

* config/c4x/c4x-protos.h (c4x_init_builtins): New prototype.
(c4x_expand_builtin): Likewise.

* config/c4x/c4x.c (c4x_init_builtins): New function.
(c4x_expand_builtin): Likewise.

* config/c4x/c4x.md (floatunsqihf2): New pattern.
(*floatqihf2_set, *fixhfqi_set, fix_trunchfqi2): Likewise.
(fixuns_trunchfqi2, toieee, frieee, *ldhf_conditional): Likewise.
(*ldhf_conditional_noov, movhfcc, trap, cond_trap_cc): Likewise.
(*toieee_movqf_clobber, *frieee_movqf_clobber): Likewise.

Co-Authored-By: Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
From-SVN: r38315

23 years agolibgcc2.h: Use Wtype for SItype and DWtype for DItype in prototypes.
Michael Hayes [Sat, 16 Dec 2000 22:43:58 +0000 (22:43 +0000)]
libgcc2.h: Use Wtype for SItype and DWtype for DItype in prototypes.

* libgcc2.h: Use Wtype for SItype and DWtype for DItype in prototypes.
* libgcc2.c (__absvsi2): Use Wtype and DWtype.
(__absvdi2, __addvsi3, __addvdi3, __subvsi3): Likewise.
(__subvdi3, __mulvsi3, __mulvdi3, __negvsi2, __negvdi2): Likewise.

From-SVN: r38314

23 years agosh.h (INITIALIZE_TRAMPOLINE): Enclose the block statement in do/while(0).
Alexandre Oliva [Sat, 16 Dec 2000 19:40:19 +0000 (19:40 +0000)]
sh.h (INITIALIZE_TRAMPOLINE): Enclose the block statement in do/while(0).

* config/sh/sh.h (INITIALIZE_TRAMPOLINE): Enclose the block
statement in do/while(0).

From-SVN: r38313

23 years agosafe-ctype.h: Make code work on all targets and not just on targets where a char...
Herman A.J. ten Brugge [Sat, 16 Dec 2000 19:12:06 +0000 (20:12 +0100)]
safe-ctype.h: Make code work on all targets and not just on targets where a char is 8 bits.

        * safe-ctype.h: Make code work on all targets and not just on
        targets where a char is 8 bits.

From-SVN: r38312

23 years agolibjava.exp (test_libjava_from_javac): Strange quoting trick for `.class' link case.
Tom Tromey [Sat, 16 Dec 2000 19:02:54 +0000 (19:02 +0000)]
libjava.exp (test_libjava_from_javac): Strange quoting trick for `.class' link case.

* lib/libjava.exp (test_libjava_from_javac): Strange quoting trick
for `.class' link case.
(bytecompile_file): Change directory outside of `catch'.

* libjava.lang/Thread_1.java: Removed.
* libjava.lang/Thread_1.out: Likewise.

* libjava.lang/N19990310_4.xfail: New file.
* libjava.lang/stub.xfail: Added new failure modes.
* libjava.lang/stringconst.xfail: New file.
* libjava.lang/PR162.xfail: New file.
* libjava.lang/Final.xfail: Removed.

From-SVN: r38311

23 years agoi386.md (ashrsi3_cmpno, [...]): Remove redundant '@' from the template.
Jan Hubicka [Sat, 16 Dec 2000 19:00:57 +0000 (20:00 +0100)]
i386.md (ashrsi3_cmpno, [...]): Remove redundant '@' from the template.

* i386.md (ashrsi3_cmpno, ashrhi3_cmpno, ashrqi3_cmpno, lshrsi3_cmpno,
lshrhi3_cmpno): Remove redundant '@' from the template.

* i386.md (cmpstrsi_1): Fix type of the compare.

* genattrtab.c (attr_rtx_cost): New function.
(simplify_test_exp): Avoid overactive inlining; use temporary
obstacks for tests.

From-SVN: r38310

23 years agodiagnostic.c (finish_abort): Deleted.
Richard Kenner [Sat, 16 Dec 2000 16:23:46 +0000 (11:23 -0500)]
diagnostic.c (finish_abort): Deleted.

Sat Dec 16 10:41:11 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>

* diagnostic.c (finish_abort): Deleted.
(fatal): Add code from fninish_abort.
(error_recursion, fancy_abort): Call fatal, not finish_abort.
(trim_filename): Remove leading "../".
* diagnostic.h (finish_abort): Deleted.
* toplev.c (crash_signal): Call fatal, not finish_abort.

* stor-layout.c (place_field): Treat overflowing DECL_SIZE_UNIT
as if size were variable.

* expmed.c (expand_mult): Write REG_EQUAL note with proper mode.

From-SVN: r38309

23 years agounix.h (ASM_OUTPUT_MI_THUNK): Fix references to _GLOBAL_OFFSET_TABLE_ when using...
Diego Novillo [Sat, 16 Dec 2000 16:07:25 +0000 (16:07 +0000)]
unix.h (ASM_OUTPUT_MI_THUNK): Fix references to _GLOBAL_OFFSET_TABLE_ when using Intel syntax.

2000-12-15  Diego Novillo  <dnovillo@redhat.com>

* i386/unix.h (ASM_OUTPUT_MI_THUNK): Fix references to
_GLOBAL_OFFSET_TABLE_ when using Intel syntax.

From-SVN: r38308

23 years agostor-layout.c (place_field): Treat overflowing DECL_SIZE_UNIT as if size were variable.
Richard Kenner [Sat, 16 Dec 2000 15:46:00 +0000 (15:46 +0000)]
stor-layout.c (place_field): Treat overflowing DECL_SIZE_UNIT as if size were variable.

* stor-layout.c (place_field): Treat overflowing DECL_SIZE_UNIT
as if size were variable.

From-SVN: r38307

23 years ago* expmed.c (expand_mult): Write REG_EQUAL note with proper mode.
Richard Kenner [Sat, 16 Dec 2000 15:43:55 +0000 (15:43 +0000)]
* expmed.c (expand_mult): Write REG_EQUAL note with proper mode.

From-SVN: r38306

23 years agotradcpp.c: T_WARNING: New.
Neil Booth [Sat, 16 Dec 2000 10:41:56 +0000 (10:41 +0000)]
tradcpp.c: T_WARNING: New.

        * tradcpp.c: T_WARNING: New.
        (do_warning): New function.
        (finclude): Skip past the newline and increase the line number
        before calling output_line_command.
        (do_line): Skip the new line after output_line_command.  Don't
        pre-decrement the line number.

From-SVN: r38305

23 years agoDaily bump.
Jeff Law [Sat, 16 Dec 2000 08:45:11 +0000 (01:45 -0700)]
Daily bump.

From-SVN: r38304

23 years agoRemove conflict marker.
Kriang Lerdsuwanakij [Sat, 16 Dec 2000 08:16:09 +0000 (08:16 +0000)]
Remove conflict marker.

From-SVN: r38303

23 years agotree.c (no_linkage_helper): Use CLASS_TYPE_P instead of IS_AGGR_TYPE.
Kriang Lerdsuwanakij [Sat, 16 Dec 2000 08:06:04 +0000 (08:06 +0000)]
tree.c (no_linkage_helper): Use CLASS_TYPE_P instead of IS_AGGR_TYPE.

* tree.c (no_linkage_helper): Use CLASS_TYPE_P instead of
IS_AGGR_TYPE.

* g++.old-deja/g++.oliva/template5.C: Remove XFAILs.

From-SVN: r38302

23 years agopt.c (unify): Handle when both ARG and PARM are BOUND_TEMPLATE_TEMPLATE_PARM.
Kriang Lerdsuwanakij [Sat, 16 Dec 2000 07:57:21 +0000 (07:57 +0000)]
pt.c (unify): Handle when both ARG and PARM are BOUND_TEMPLATE_TEMPLATE_PARM.

* pt.c (unify): Handle when both ARG and PARM are
BOUND_TEMPLATE_TEMPLATE_PARM.

* g++.old-deja/g++.pt/ttp65.C: New test.

From-SVN: r38301

23 years agopt.c (reduce_template_parm_level): Set DECL_ARTIFICIAL and DECL_TEMPLATE_PARM_P.
Kriang Lerdsuwanakij [Sat, 16 Dec 2000 07:47:22 +0000 (07:47 +0000)]
pt.c (reduce_template_parm_level): Set DECL_ARTIFICIAL and DECL_TEMPLATE_PARM_P.

* pt.c (reduce_template_parm_level): Set DECL_ARTIFICIAL and
DECL_TEMPLATE_PARM_P.

* g++.old-deja/g++.pt/ttp64.C: New test.

From-SVN: r38300

23 years ago* libjava.lang/instinit.out: Removed erroneous line.
Tom Tromey [Sat, 16 Dec 2000 06:45:22 +0000 (06:45 +0000)]
* libjava.lang/instinit.out: Removed erroneous line.

From-SVN: r38299

23 years ago* libjava.lang/Thread_1.out: Expect `0' active count.
Tom Tromey [Sat, 16 Dec 2000 06:41:04 +0000 (06:41 +0000)]
* libjava.lang/Thread_1.out: Expect `0' active count.

From-SVN: r38298

23 years agostub.xfail: New file.
Tom Tromey [Sat, 16 Dec 2000 05:59:45 +0000 (05:59 +0000)]
stub.xfail: New file.

* libjava.lang/stub.xfail: New file.
* libjava.lang/pr83.xfail: New file.
* libjava.lang/err8.xfail: New file.
* libjava.lang/err7.xfail: New file.
* libjava.lang/Shazam.xfail: New file.
* libjava.lang/err11.xfail: New file.

* libjava.lang/instinit2.java: Renamed class to `instinit2'.

* libjava.lang/anon3.out: Fixed typo.

* libjava.lang/Class_1.java (main): Uncommented out previously
failing code; now it works

From-SVN: r38297

23 years agolibjava.compile test fixes.
Tom Tromey [Sat, 16 Dec 2000 02:06:29 +0000 (02:06 +0000)]
libjava.compile test fixes.

* lib/libjava.exp (libjava_tcompile): New proc.
(test_libjava_from_source): Use it.
(test_libjava_from_javac): Likewise.
(find_javac): New proc.
(bytecompile_file): Use it.
(test_libjava_from_javac): Handle `xfail-gcjC' tag.  If no-exec
set, then don't link even if program has a `main'.

* libjava.compile/static_3.xfail: New file.
* libjava.compile/weirddecl.xfail: New file.
* libjava.compile/static_2.xfail: New file.
* libjava.compile/not_a_redef.xfail: New file.
* libjava.compile/inner_1.xfail: New file.
* libjava.compile/assignment_2.xfail: New file.
* libjava.compile/assignment.xfail: New file.
* libjava.compile/abstr.xfail: New file.
* libjava.compile/PR375.xfail: New file.
* libjava.compile/PR374.java: New file.
* libjava.compile/PR238.xfail: New file.
* libjava.compile/PR208.xfail: New file.
* libjava.compile/PR207.xfail: New file.

From-SVN: r38296

23 years agojcf-parse.c (jcf_parse_source): Set wfl_operator if not already set.
Tom Tromey [Sat, 16 Dec 2000 01:51:51 +0000 (01:51 +0000)]
jcf-parse.c (jcf_parse_source): Set wfl_operator if not already set.

* jcf-parse.c (jcf_parse_source): Set wfl_operator if not already
set.

From-SVN: r38295

23 years agojargrep.c: Include getopt.h if it exists.
Tom Tromey [Fri, 15 Dec 2000 18:45:09 +0000 (18:45 +0000)]
jargrep.c: Include getopt.h if it exists.

* jargrep.c: Include getopt.h if it exists.
(optind): Declare.
* configure, config.h: Rebuilt.
* configure.in: Check for getopt.h.

Co-Authored-By: Kelley Cook <kelleycook@home.com>
From-SVN: r38294

23 years agoboehm.c (mark_reference_fields): Change test to correctly detect bitmap overflow.
Andrew Haley [Fri, 15 Dec 2000 17:35:03 +0000 (17:35 +0000)]
boehm.c (mark_reference_fields): Change test to correctly detect bitmap overflow.

2000-12-14  Andrew Haley  <aph@redhat.com>

        * boehm.c (mark_reference_fields): Change test to correctly detect
        bitmap overflow.

From-SVN: r38293

23 years ago* init.c (build_new_1): Reorganize. Now with 100% fewer SAVE_EXPRs!
Jason Merrill [Fri, 15 Dec 2000 16:36:00 +0000 (11:36 -0500)]
* init.c (build_new_1): Reorganize.  Now with 100% fewer SAVE_EXPRs!

From-SVN: r38292

23 years ago* init.c (build_new_1): Don't strip quals from type.
Jason Merrill [Fri, 15 Dec 2000 16:23:26 +0000 (11:23 -0500)]
* init.c (build_new_1): Don't strip quals from type.

From-SVN: r38291

23 years ago* decl.c (pushdecl): Don't check for linkage on a non-decl.
Jason Merrill [Fri, 15 Dec 2000 16:15:52 +0000 (11:15 -0500)]
* decl.c (pushdecl): Don't check for linkage on a non-decl.

From-SVN: r38290

23 years agoResourceBundle.java (trySomeGetBundle): Pass class loader to Class.forName.
Tom Tromey [Fri, 15 Dec 2000 15:49:50 +0000 (15:49 +0000)]
ResourceBundle.java (trySomeGetBundle): Pass class loader to Class.forName.

* java/util/ResourceBundle.java (trySomeGetBundle): Pass class
loader to Class.forName.

From-SVN: r38289

23 years agogcc.c (cpp_options): Pass -fno-operator-names.
Jakub Jelinek [Fri, 15 Dec 2000 15:49:28 +0000 (16:49 +0100)]
gcc.c (cpp_options): Pass -fno-operator-names.

* gcc.c (cpp_options): Pass -fno-operator-names.
* cpplib.h (struct cpp_options): Add operator_names.
* cppinit.c (cpp_create_reader): Initialize it.
(initialize_builtins): If -fno-operator-names, don't add
C++ alternate operator names.
(COMMAND_LINE_OPTIONS): Add -fno-operator-names.
(cpp_handle_option): Clear operator_names.

From-SVN: r38288

23 years agocall.c (build_op_delete_call): See through ARRAY_TYPEs.
Jason Merrill [Fri, 15 Dec 2000 15:43:11 +0000 (10:43 -0500)]
call.c (build_op_delete_call): See through ARRAY_TYPEs.

        * call.c (build_op_delete_call): See through ARRAY_TYPEs.

        * call.c (build_new_function_call): Lose space before paren in
        error message.
        (build_new_method_call): Likewise.

        * typeck2.c (build_m_component_ref): Propagate quals from datum.

From-SVN: r38287

23 years agojump.c (jump_optimize_1): Don't delete the line note after the prologue even if it...
Jason Merrill [Fri, 15 Dec 2000 15:10:30 +0000 (10:10 -0500)]
jump.c (jump_optimize_1): Don't delete the line note after the prologue even if it seems redundant.

        * jump.c (jump_optimize_1): Don't delete the line note after the
        prologue even if it seems redundant.

        * config/arm/arm.c (arm_expand_prologue): Set RTX_FRAME_RELATED_P
        on all insns used to adjust the stack.

From-SVN: r38286

23 years agocombine.c (cant_combine_insn_p): Get around SUBREGs when determining hardreg<->reg...
Jan Hubicka [Fri, 15 Dec 2000 14:33:32 +0000 (15:33 +0100)]
combine.c (cant_combine_insn_p): Get around SUBREGs when determining hardreg<->reg moves.

* combine.c (cant_combine_insn_p): Get around SUBREGs when determining
hardreg<->reg moves.

From-SVN: r38285

23 years agogenrecog.c (add_to_sequence): Remove special case for const_int_operand.
Jan Hubicka [Fri, 15 Dec 2000 13:50:32 +0000 (14:50 +0100)]
genrecog.c (add_to_sequence): Remove special case for const_int_operand.

* genrecog.c (add_to_sequence): Remove special case for
const_int_operand.
(maybe_both_true): Return 1 when falling out of sequence when
trying to find common possition in the pattern.

From-SVN: r38284

23 years ago* integrate.c (copy_rtx_and_substitute): Copy mode too.
Jan Hubicka [Fri, 15 Dec 2000 13:46:51 +0000 (14:46 +0100)]
* integrate.c (copy_rtx_and_substitute): Copy mode too.

From-SVN: r38283

23 years ago* flow.c (notice_stack_pointer_modification_1): Cleanup.
Jan Hubicka [Fri, 15 Dec 2000 13:14:37 +0000 (14:14 +0100)]
* flow.c (notice_stack_pointer_modification_1): Cleanup.

From-SVN: r38282

23 years agoconfigure.in: Handle lang_dirs.
Andreas Jaeger [Fri, 15 Dec 2000 09:52:41 +0000 (10:52 +0100)]
configure.in: Handle lang_dirs.

2000-12-15  Andreas Jaeger  <aj@suse.de>

* configure.in: Handle lang_dirs.

From-SVN: r38281

23 years agoconfig-lang.in (lang_dirs): Added.
Andreas Jaeger [Fri, 15 Dec 2000 09:51:52 +0000 (10:51 +0100)]
config-lang.in (lang_dirs): Added.

2000-12-15  Andreas Jaeger  <aj@suse.de>

* config-lang.in (lang_dirs): Added.

From-SVN: r38280

23 years agofunction.c (adjust_trampoline_addr): New function.
Alexandre Oliva [Fri, 15 Dec 2000 09:09:41 +0000 (09:09 +0000)]
function.c (adjust_trampoline_addr): New function.

* function.c (adjust_trampoline_addr): New function.
(trampoline_address): Call it instead of round_trampoline_addr().
* tm.texi (TRAMPOLINE_ADJUST_ADDRESS): Document it.

From-SVN: r38279

23 years agoparse.y (end_artificial_method_body): Fixed undefined behavior.
Alexandre Petit-Bianco [Fri, 15 Dec 2000 08:50:12 +0000 (08:50 +0000)]
parse.y (end_artificial_method_body): Fixed undefined behavior.

2000-12-15  Alexandre Petit-Bianco  <apbianco@cygnus.com>

* parse.y (end_artificial_method_body): Fixed undefined behavior.
Credits go to rth for finding it.

(http://gcc.gnu.org/ml/gcc/2000-12/msg00495.html)

From-SVN: r38278

23 years agoDaily bump.
Jeff Law [Fri, 15 Dec 2000 08:45:08 +0000 (01:45 -0700)]
Daily bump.

From-SVN: r38277

23 years ago* Makefile.dist: Renamed from Makefile.orig.
Bryce McKinlay [Fri, 15 Dec 2000 08:13:12 +0000 (08:13 +0000)]
* Makefile.dist: Renamed from Makefile.orig.

From-SVN: r38276

23 years ago* java/util/ResourceBundle.java
Tom Tromey [Fri, 15 Dec 2000 06:51:07 +0000 (06:51 +0000)]
* java/util/ResourceBundle.java
(getBundle(String,Locale,ClassLoader)): New method.
(trySomeGetBundle): Added `loader' argument.
(partialGetBundle): Likewise.

From-SVN: r38275

23 years agoNumberFormat.java (groupingUsed, [...]): Now package-private.
Tom Tromey [Fri, 15 Dec 2000 06:23:28 +0000 (06:23 +0000)]
NumberFormat.java (groupingUsed, [...]): Now package-private.

* java/text/NumberFormat.java (groupingUsed, parseIntegerOnly,
maximumFractionDigits, maximumIntegerDigits,
minimumFractionDigits, minimumIntegerDigits): Now
package-private.

From-SVN: r38274

23 years ago* java/lang/Thread.java (checkAccess): Now final.
Tom Tromey [Fri, 15 Dec 2000 06:15:49 +0000 (06:15 +0000)]
* java/lang/Thread.java (checkAccess): Now final.

From-SVN: r38273

23 years ago* java/lang/RuntimePermission.java: Class now final.
Tom Tromey [Fri, 15 Dec 2000 06:13:35 +0000 (06:13 +0000)]
* java/lang/RuntimePermission.java: Class now final.

From-SVN: r38272

23 years ago* java/io/StringWriter.java (StringWriter(int)): Now public.
Tom Tromey [Fri, 15 Dec 2000 06:08:55 +0000 (06:08 +0000)]
* java/io/StringWriter.java (StringWriter(int)): Now public.

From-SVN: r38271

23 years ago* java/io/SerializablePermission.java (legal_names): Now private.
Tom Tromey [Fri, 15 Dec 2000 05:59:31 +0000 (05:59 +0000)]
* java/io/SerializablePermission.java (legal_names): Now private.

From-SVN: r38270

23 years agoCharacter.java: Updated UnicodeBlock constants.
Tom Tromey [Fri, 15 Dec 2000 05:53:39 +0000 (05:53 +0000)]
Character.java: Updated UnicodeBlock constants.

* java/lang/Character.java: Updated UnicodeBlock constants.
* scripts/blocks.pl: Special case private use and surrogate
areas.  Updated URL.

From-SVN: r38269

23 years agocppfiles.c (hack_vms_include_specification): Delete function (not used since 1998).
Zack Weinberg [Fri, 15 Dec 2000 04:48:39 +0000 (04:48 +0000)]
cppfiles.c (hack_vms_include_specification): Delete function (not used since 1998).

* cppfiles.c (hack_vms_include_specification): Delete function
(not used since 1998).

From-SVN: r38268

23 years ago* haifa-sched.c (sched_init): Don't put a note in front of any BARRIER.
J"orn Rennecke [Fri, 15 Dec 2000 03:40:57 +0000 (03:40 +0000)]
* haifa-sched.c (sched_init): Don't put a note in front of any BARRIER.

From-SVN: r38267

23 years agopt.c (check_explicit_specialization): Propagate default function arguments to explici...
Kriang Lerdsuwanakij [Fri, 15 Dec 2000 01:11:38 +0000 (01:11 +0000)]
pt.c (check_explicit_specialization): Propagate default function arguments to explicit specializations.

* pt.c (check_explicit_specialization): Propagate default
function arguments to explicit specializations.

* g++.old-deja/g++.pt/spec33.C: New test.

From-SVN: r38266

23 years agoMakefile.am (myinstallheaders): Install backwards headers in prefix, not prefix/backward.
Benjamin Kosnik [Fri, 15 Dec 2000 00:55:02 +0000 (00:55 +0000)]
Makefile.am (myinstallheaders): Install backwards headers in prefix, not prefix/backward.

2000-12-14  Benjamin Kosnik  <bkoz@fillmore.redhat.com>

* src/Makefile.am (myinstallheaders): Install backwards headers in
prefix, not prefix/backward.
* src/Makefile.in: Regenerate.

From-SVN: r38265

23 years agoFix ia64-linux glibc miscompilation reported by H.J. Lu.
Jim Wilson [Fri, 15 Dec 2000 00:04:28 +0000 (00:04 +0000)]
Fix ia64-linux glibc miscompilation reported by H.J. Lu.

* alias.c (get_alias_set): Call record_component_aliases for
COMPLEX_TYPE.
(record_component_aliases): Handle COMPLEX_TYPE.

From-SVN: r38264

23 years agoacinclude.m4 (GLIBCPP_CHECK_MATH_SUPPORT): Revert changes touching copysignf, atan2f...
Benjamin Kosnik [Thu, 14 Dec 2000 23:42:27 +0000 (23:42 +0000)]
acinclude.m4 (GLIBCPP_CHECK_MATH_SUPPORT): Revert changes touching copysignf, atan2f, expf.

2000-12-14  Benjamin Kosnik  <bkoz@haight.redhat.com>

* acinclude.m4 (GLIBCPP_CHECK_MATH_SUPPORT): Revert changes
touching copysignf, atan2f, expf.
(GLIBCPP_CHECK_COMPLEX_MATH_SUPPORT): Add it back here.
* aclocal.m4: Regenerate.
* configure: Regenerate.

2

From-SVN: r38263

23 years agoconfigure.in (CXX): Exit out if mknumeric_limits fails.
Benjamin Kosnik [Thu, 14 Dec 2000 22:53:59 +0000 (22:53 +0000)]
configure.in (CXX): Exit out if mknumeric_limits fails.

2000-12-14  Benjamin Kosnik  <bkoz@fillmore.redhat.com>

* configure.in (CXX): Exit out if mknumeric_limits fails.
* mknumeric_limits (CXX): Use BUILD_DIR/g++, not g++ in
path. Consistency with tests_flags.in.

From-SVN: r38262

23 years agoAdded.
Ovidiu Predescu [Thu, 14 Dec 2000 22:02:18 +0000 (22:02 +0000)]
Added.

From-SVN: r38261

23 years agowarn_summary: Fix subdirectory filtering.
Kaveh R. Ghazi [Thu, 14 Dec 2000 20:09:41 +0000 (20:09 +0000)]
warn_summary: Fix subdirectory filtering.

* warn_summary: Fix subdirectory filtering.  Add -intl and -fixinc
subdirectory flags.  Add source directory prefix filtering.
Redirect diagnostic output to stderr.

From-SVN: r38260

23 years ago* fixinc/gnu-regex.c: Disable NLS.
Kaveh R. Ghazi [Thu, 14 Dec 2000 19:58:39 +0000 (19:58 +0000)]
* fixinc/gnu-regex.c: Disable NLS.

From-SVN: r38259

23 years agocomment
Jason Merrill [Thu, 14 Dec 2000 19:31:49 +0000 (14:31 -0500)]
comment

From-SVN: r38258

23 years agotypo
Jason Merrill [Thu, 14 Dec 2000 19:30:43 +0000 (14:30 -0500)]
typo

From-SVN: r38257

23 years ago*.h: Remove include_next...
Benjamin Kosnik [Thu, 14 Dec 2000 19:06:57 +0000 (19:06 +0000)]
*.h: Remove include_next...

2000-12-14  Benjamin Kosnik  <bkoz@redhat.com>

* include/c/bits/*.h: Remove include_next, replace with include,
as include_next does not work host-x-host, and include_next not
necessary.

From-SVN: r38256

23 years agoconfigure.in (fastjar_warn_cflags): Set when using gcc.
Kaveh R. Ghazi [Thu, 14 Dec 2000 18:49:11 +0000 (18:49 +0000)]
configure.in (fastjar_warn_cflags): Set when using gcc.

* configure.in (fastjar_warn_cflags): Set when using gcc.

* Makefile.am (AM_CFLAGS): Set to @fastjar_warn_cflags@.

From-SVN: r38255