OSDN Git Service
oldham [Mon, 29 Jan 2001 19:36:52 +0000 (19:36 +0000)]
2001-01-29 Jeffrey Oldham <oldham@codesourcery.com>
* config/mips/iris6.h (SUPPORTS_INIT_PRIORITY): Revise definition
to use flag_gnu_linker.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39335
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Mon, 29 Jan 2001 19:20:12 +0000 (19:20 +0000)]
* cpplib.c (T_BAD_DIRECTIVE): Remove.
(_cpp_init_stacks): Loop from 0 to N_DIRECTIVES - 1.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39334
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Mon, 29 Jan 2001 18:58:38 +0000 (18:58 +0000)]
* gcc.dg/cpp/avoidpaste1.c: Fix typos.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39333
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Mon, 29 Jan 2001 18:57:24 +0000 (18:57 +0000)]
* tree.c, tree.h (build_parse_node): Remove; was identical to
build_nt.
* c-lang.c (start_cdtor), objc/objc-act.c
(build_module_descriptor): Use build_nt instead of
build_parse_node.
cp:
* decl2.c (build_expr_from_tree), lex.c (make_pointer_declarator,
make_reference_declarator, make_call_declarator), method.c
(implicitly_declare_fn), parse.y (namespace_using_decl,
notype_unqualified_id, expr_or_declarator, new_type_id,
after_type_declarator, direct_after_type_declarator,
notype_declarator, complex_notype_declarator,
complex_direct_notype_declarator, qualified_id,
notype_qualified_id, overqualified_id, direct_new_declarator,
absdcl, direct_abstract_declarator, conversion_declarator), pt.c
(tsubst), semantics.c (begin_constructor_declarator): Use build_nt
instead of build_parse_node.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39332
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Mon, 29 Jan 2001 18:31:35 +0000 (18:31 +0000)]
* config/i386/i386.md (addqi_1_lea): Fix mode (QI instead of HI).
(testqi_1, andqi_2): If widening to SImode, make sure CONST_INT does
not have any upper bits set.
* gcc.c-torture/execute/
20010129-1.c: New test.
* gcc.c-torture/execute/
20010129-1.x: Add -mcpu=i686 on ia32.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39331
138bc75d-0d04-0410-961f-
82ee72b054a4
pme [Mon, 29 Jan 2001 13:32:47 +0000 (13:32 +0000)]
2001-01-29 Phil Edwards <pme@sources.redhat.com>
* COPYING.LIB: Update to LGPL 2.1 from the FSF.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39330
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 29 Jan 2001 08:45:07 +0000 (08:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39329
138bc75d-0d04-0410-961f-
82ee72b054a4
apbianco [Mon, 29 Jan 2001 08:43:46 +0000 (08:43 +0000)]
2000-01-24 Jeff Sturm <jeff.sturm@commerceone.com>
* zextract.c (read_zip_archive): Read file_offset before writing
zipd and consequently clobbering the header contents.
(http://gcc.gnu.org/ml/gcc-patches/2001-01/msg02129.html)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39328
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Mon, 29 Jan 2001 02:46:30 +0000 (02:46 +0000)]
* stmt.c (estimate_case_costs): Use integer_minus_one_node.
* tree.c (build_common_tree_nodes_2): Set integer_minus_one_node.
* tree.h (tree_index): Add new element TI_INTEGER_MINUS_ONE.
(integer_minus_one_node): Define.
ch:
* ch-tree.h (integer_minus_one_node): Moved to top level gcc
directory.
* decl.c (integer_minus_one_node): Likewise.
(init_decl_processing): Don't set integer_minus_one_node.
cp:
* cp-tree.h (cp_tree_index): Delete CPTI_MINUS_ONE.
(minus_one_node): Moved to top level gcc directory. Renamed
to integer_minus_one_node.
* init.c (init_init_processing): Don't set minus_one_node.
(build_vec_init): Use integer_minus_one_node.
* rtti.c (get_tinfo_decl_dynamic): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39325
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Mon, 29 Jan 2001 01:48:06 +0000 (01:48 +0000)]
* Makefile.in (bootstrap2-lean): Fix typo.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39324
138bc75d-0d04-0410-961f-
82ee72b054a4
gdr [Sun, 28 Jan 2001 15:13:08 +0000 (15:13 +0000)]
2001-01-28 Gabriel Dos Reis <gdr@codesourcery.com>
* testsuite/README: Add more comment.
* testsuite/lib/libstdc++.exp: Tweak comment.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39321
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Sun, 28 Jan 2001 14:04:19 +0000 (14:04 +0000)]
Clarify comment.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39320
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Sun, 28 Jan 2001 11:27:22 +0000 (11:27 +0000)]
* gcc.dg/cpp/avoidpaste1.c: Test case.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39319
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Sun, 28 Jan 2001 11:22:23 +0000 (11:22 +0000)]
* cpphash.c (_cpp_cleanup_hashtable, _cpp_lookup_with_hash)
: Don't set fe_value.
* cpplib.h (AVOID_LPASTE): New flag.
(struct cpp_hashnode): Remove fe_value.
* cpplex.c (cpp_avoid_paste): Don't paste '.' with a number.
* cppmacro.c (builtin_macro): Don't set flags here.
(replace_args): Set AVOID_LPASTE flag on first token of an
argument, and the token following it.
(cpp_get_token): Set AVOID_LPASTE flag on first token of a
macro expansion, and on the token following it. Do it for
builtins too.
* cppmain.c (scan_buffer): Avoid pasting only flagged tokens.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39318
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Sun, 28 Jan 2001 10:35:45 +0000 (10:35 +0000)]
* optimize.c (copy_body_r): If MODIFY_EXPR has both arguments
identical and they would be replaced with constant, remove
MODIFY_EXPR from the tree.
* g++.old-deja/g++.other/inline18.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39317
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sun, 28 Jan 2001 08:45:08 +0000 (08:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39316
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sun, 28 Jan 2001 06:59:00 +0000 (06:59 +0000)]
* configure.in (target_makefile_frag) [alpha*-*]: Use mt-alphaieee.
* mt-alphaieee: New file.
* config/alpha/t-ieee: Remove multilibbing.
(TARGET_LIBGCC2_CFLAGS): Add -mieee.
* configure.host (alpha*-*) [libgcj_flags]: Add -mieee.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39309
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Sun, 28 Jan 2001 01:50:22 +0000 (01:50 +0000)]
* configure.in: Arrange to include defaults.h in [ht]config.h/tm.h.
* Makefile.in: Remove all dependencies on defaults.h.
* builtins.c: Don't include defaults.h.
* c-common.c: Likewise.
* c-decl.c: Likewise.
* c-pragma.c: Likewise.
* c-typeck.c: Likewise.
* combine.c: Likewise.
* i386.c: Likewise.
* frame-ia64.c: Likewise.
* cppexp.c: Likewise.
* crtstuff.c: Likewise.
* dbxout.c: Likewise.
* dwarf2out.c: Likewise.
* dwarfout.c: Likewise.
* emit-rtl.c: Likewise.
* except.c: Likewise.
* expr.c: Likewise.
* final.c: Likewise.
* frame-dwarf2.c: Likewise.
* libgcc2.c: Likewise.
* optabs.c: Likewise.
* profile.c: Likewise.
* sdbout.c: Likewise.
* toplev.c: Likewise.
* tradcif.y: Likewise.
* tree.c: Likewise.
* varasm.c: Likewise.
ch:
* Makefile.in: Remove all dependencies on defaults.h.
* decl.c: Don't include defaults.h.
* timing.c: Likewise.
cp:
* Make-lang.in: Remove all dependencies on defaults.h.
* call.c: Don't include defaults.h.
* decl.c: Likewise.
* decl2.c: Likewise.
* except.c: Likewise.
* pt.c: Likewise.
* rtti.c: Likewise.
* tree.c: Likewise.
* typeck.c: Likewise.
f:
* Make-lang.in: Remove all dependencies on defaults.h.
* com.c: Don't include defaults.h.
java:
* Make-lang.in: Remove all dependencies on defaults.h.
* decl.c: Don't include defaults.h.
* expr.c: Likewise.
* parse.y: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39308
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Sun, 28 Jan 2001 01:27:25 +0000 (01:27 +0000)]
* gcc.c-torture/execute/stdio-opt-2.c: Also test __builtin_puts
and __builtin_putchar.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39307
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Sun, 28 Jan 2001 01:06:15 +0000 (01:06 +0000)]
* builtins.c (expand_builtin_fputs): Use size_one_node when
transforming into fwrite.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39306
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Sat, 27 Jan 2001 21:29:53 +0000 (21:29 +0000)]
* extend.texi (Attribute Syntax): New section.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39305
138bc75d-0d04-0410-961f-
82ee72b054a4
msokolov [Sat, 27 Jan 2001 21:07:57 +0000 (21:07 +0000)]
* fixproto: Correctly install synthesised unistd.h and stdlib.h when
they didn't need fixing.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39304
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sat, 27 Jan 2001 20:50:52 +0000 (20:50 +0000)]
2001-01-27 Janis Johnson <janis@us.ibm.com>
* config.gcc (i[34567]86-sequent-{ptx4*,sysv4*}): Use usegas.h
if appropriate.
* config/ptx4.h: Several fixes to build on DYNIX/ptx v4.[456], and
to remove macro definitions that are duplicated from elfos.h.
2001-01-27 Richard Henderson <rth@redhat.com>
* config/i386/sco5gas.h: Move ...
* config/usegas.h: ... here.
* config.gcc (i[34567]86-*-sco3.2v5) [tm_file]: Update.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39303
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Sat, 27 Jan 2001 20:33:54 +0000 (20:33 +0000)]
* c-typeck.c (struct constructor_stack): Add range_stack member.
(really_start_incremental_init): Clear it.
(push_init_level): Save constructor_range_stack and clear it if
pushing explicit braces.
(pop_init_level): abort if constructor_range_stack is non-zero at
explicit closing brace. Restore saved constructor_range_stack if
not implicit.
* gcc.dg/gnu99-init-1.c: Add 3 more designated range initializer
tests.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39302
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Sat, 27 Jan 2001 20:24:34 +0000 (20:24 +0000)]
* expr.c (emit_move_insn): Add REG_EQUAL note when constant loaded
into register was forced into memory.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39301
138bc75d-0d04-0410-961f-
82ee72b054a4
msokolov [Sat, 27 Jan 2001 19:51:13 +0000 (19:51 +0000)]
* ltcf-cxx.sh (ac_cv_prog_cc_pic_works, ac_cv_prog_cc_static_works):
Don't unset, it's non-portable and no longer necessary, set to empty
instead.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39300
138bc75d-0d04-0410-961f-
82ee72b054a4
msokolov [Sat, 27 Jan 2001 19:48:46 +0000 (19:48 +0000)]
* ltconfig: Shell portability fix for the tagname validity check.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39299
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Sat, 27 Jan 2001 19:30:31 +0000 (19:30 +0000)]
* jni.cc (_Jv_JNIFunctions): Added comment for each entry in
native interface structure.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39298
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Sat, 27 Jan 2001 19:12:14 +0000 (19:12 +0000)]
* ltcf-c.sh (ld_shlibs) [aix5*]: Disable on unknown CPU types.
* ltcf-cxx.sh, ltcf-gcj.sh: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39297
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Sat, 27 Jan 2001 19:00:09 +0000 (19:00 +0000)]
2001-01-26 Benjamin Kosnik <bkoz@kredhat.com>
* libsupc++/pure.cc (writestr): Just use cstdio and std::fputs.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39296
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Sat, 27 Jan 2001 18:47:16 +0000 (18:47 +0000)]
* Makefile.in: Remove uses of + before $(MAKE).
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39295
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sat, 27 Jan 2001 08:45:08 +0000 (08:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39294
138bc75d-0d04-0410-961f-
82ee72b054a4
bryce [Sat, 27 Jan 2001 06:04:29 +0000 (06:04 +0000)]
* java/io/ObjectInputStream.java (read): AND byte with 0xff to make
result unsigned.
(read (byte[], int, int)): Only call readNextBlock() if the block
buffer would actually be overrun. Increment blockDataPosition.
(callReadMethod): Propagate exceptions from invocation target.
* java/io/ObjectOutputStream.java (callWriteMethod): Propagate
exceptions from invocation target.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39293
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Fri, 26 Jan 2001 23:31:57 +0000 (23:31 +0000)]
2001-01-25 Loren J. Rittle <ljrittle@acm.org>
* testsuite/21_strings/inserters_extractors.cc: Remove
explicit reference to 'testsuite/'.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39292
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Fri, 26 Jan 2001 23:24:38 +0000 (23:24 +0000)]
* stmt.c (cost_table): Remove.
(COST_TABLE, cost_table_initialized): New.
(estimate_case_costs): Use the later instead of the former.
(balance_case_nodes): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39291
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Fri, 26 Jan 2001 23:07:38 +0000 (23:07 +0000)]
2001-01-25 Richard Henderson <rth@redhat.com>
* config/cpu/alpha/bits/atomicity.h: Remove tricky .subsetion
bits. Fixes Tru64 build issues.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39290
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Fri, 26 Jan 2001 23:00:19 +0000 (23:00 +0000)]
* jni.cc (_Jv_JNI_GetAnyMethodID): Rewrite signature from external
to internal representation.
(_Jv_JNI_GetAnyFieldID): Likewise. Also, only use
_Jv_FindClassFromSignature.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39289
138bc75d-0d04-0410-961f-
82ee72b054a4
msokolov [Fri, 26 Jan 2001 22:55:12 +0000 (22:55 +0000)]
* ltcf-cxx.sh: Use parentheses around eval $ac_compile.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39288
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Fri, 26 Jan 2001 22:52:19 +0000 (22:52 +0000)]
* libjava.jni/martin.c (Java_martin_myNative): Flush stdout.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39287
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Fri, 26 Jan 2001 22:41:41 +0000 (22:41 +0000)]
* libjava.jni/martin.out: New file.
* libjava.jni/martin.c: New file.
* libjava.jni/martin.java: New file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39286
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Fri, 26 Jan 2001 22:32:51 +0000 (22:32 +0000)]
* alias.c (objects_must_conflict_p): Read-only slots may not
conflict despite having the same type.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39285
138bc75d-0d04-0410-961f-
82ee72b054a4
m.hayes [Fri, 26 Jan 2001 22:06:45 +0000 (22:06 +0000)]
* loop.c (loop_giv_reduce_benefit): Copy mode size into
int variable.
(check_ext_dependant_givs): Initialise u_start_val and
u_end_val.
(load_mems): Make last_max_reg unsigned.
(try_swap_copy_prop): Use INSN_P and initialise set.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39284
138bc75d-0d04-0410-961f-
82ee72b054a4
warrenl [Fri, 26 Jan 2001 21:57:08 +0000 (21:57 +0000)]
* java/lang/natSystem.cc (getSystemTimeZone): Only use tm_gmtoff
and timezone if they are available on the system.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39283
138bc75d-0d04-0410-961f-
82ee72b054a4
denisc [Fri, 26 Jan 2001 20:40:32 +0000 (20:40 +0000)]
* README.AVR : Removed.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39282
138bc75d-0d04-0410-961f-
82ee72b054a4
denisc [Fri, 26 Jan 2001 20:35:04 +0000 (20:35 +0000)]
* README.AVR : Removed.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39281
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Fri, 26 Jan 2001 18:37:26 +0000 (18:37 +0000)]
* pa-64.h (text_section): Remove declaration.
* pa.md (return_internal): Remove mode on PIC register use.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39280
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Fri, 26 Jan 2001 18:10:07 +0000 (18:10 +0000)]
* configure.in: Allow libgcj to be built on Sparc Solaris.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39279
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Fri, 26 Jan 2001 08:45:09 +0000 (08:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39278
138bc75d-0d04-0410-961f-
82ee72b054a4
msokolov [Fri, 26 Jan 2001 06:19:52 +0000 (06:19 +0000)]
* acinclude.m4 (GLIBCPP_CHECK_GNU_MAKE): Bourne shell portability bug
(use ${MAKE-make}, not ${MAKE:-make}).
* aclocal.m4, configure: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39277
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Fri, 26 Jan 2001 02:25:13 +0000 (02:25 +0000)]
* src/ios.cc: Remove accidental inclusion of <stdio.h> in last
checkin.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39276
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Thu, 25 Jan 2001 22:39:29 +0000 (22:39 +0000)]
* src/Makefile.am (sources): Add globals.cc.
* src/Makefile.in: Regenerated.
* src/globals.cc: New file.
* src/ios.cc (cin): Don't define here, just declare extern.
(cout): Likewise.
(cerr): Likewise.
(clog): Likewise.
(wcin): Likewise.
(wcout): Likewise.
(wcerr): Likewise.
(wclog): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39275
138bc75d-0d04-0410-961f-
82ee72b054a4
apbianco [Thu, 25 Jan 2001 22:25:22 +0000 (22:25 +0000)]
2001-01-25 Alexandre Petit-Bianco <apbianco@cygnus.com>
* ChangeLog (2001-01-21): Fixed typo.
* class.c (layout_class_method): Code accounting for WFLed
method DECL_NAMEs deleted.
* constant.c (find_methodref_index): Likewise.
* decl.c (lang_mark_tree): Mark `wfl' field in struct lang_decl.
* java-tree.h (DECL_FUNCTION_WFL): New macro.
(struct lang_decl): New field `wfl'.
(java_get_real_method_name): Prototype deleted.
* mangle.c (mangle_method_decl): Code accounting for WFLed
method DECL_NAMEs deleted.
* parse.h (GET_METHOD_NAME): Macro deleted.
* parse.y (reset_method_name): Deleted.
(method_header): Set DECL_FUNCTION_WFL.
(check_abstract_method_header): Code accounting for WFLed method
DECL_NAMEs deleted.
(java_get_real_method_name): Deleted.
(check_method_redefinition): Code accounting for WFLed method
DECL_NAMEs deleted. Use DECL_FUNCTION_WFL.
(java_check_regular_methods): Likewise.
(java_check_abstract_methods): Likewise.
(java_expand_classes): Don't call `reset_method_name.'
(search_applicable_method_list): Use DECL_NAMEs instead of
GET_METHOD_NAME.
* typeck.c (lookup_do): Code accounting for WFLed method
DECL_NAMEs deleted.
(http://gcc.gnu.org/ml/gcc-patches/2001-01/msg01954.html)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39274
138bc75d-0d04-0410-961f-
82ee72b054a4
gerald [Thu, 25 Jan 2001 22:18:16 +0000 (22:18 +0000)]
* tm.texi (DATA_ALIGNMENT, LOCAL_ALIGNMENT, ASM_OPEN_PAREN,
ASM_CLOSE_PAREN): fix typos.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39273
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Thu, 25 Jan 2001 21:56:21 +0000 (21:56 +0000)]
* acconfig.h: Define `const' to the empty string if neither
__STDC__ nor __cplusplus is defined.
* config.in: Regenerated.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39272
138bc75d-0d04-0410-961f-
82ee72b054a4
dje [Thu, 25 Jan 2001 20:12:30 +0000 (20:12 +0000)]
* config.gcc (rs6000-ibm-aix[5-9]*): Change to aix51.h.
* collect2.c (main): Delete importf. Add ".obj" file extension.
(GCC_CHECK_HDR): Handle AIX V5 new magic number.
(aix_std_libs): Add additional AIX libraries to skip.
* config/rs6000/aix.h (MY_ISCOFF): Add AIX V5 new magic number.
* config/rs6000/aix51.h: New file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39271
138bc75d-0d04-0410-961f-
82ee72b054a4
dje [Thu, 25 Jan 2001 19:11:34 +0000 (19:11 +0000)]
- Add AIX 5 support following AIX 4.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39270
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Thu, 25 Jan 2001 19:07:18 +0000 (19:07 +0000)]
* java/lang/sf_fabs.c: Use uint32_t, not __uint32_t.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39269
138bc75d-0d04-0410-961f-
82ee72b054a4
oldham [Thu, 25 Jan 2001 17:58:26 +0000 (17:58 +0000)]
2001-01-25 Jeffrey Oldham <oldham@codesourcery.com>
* gcc.c-torture/execute/ieee/
20000320-1.c (main): For MIPS, change
floating point number rounding mode to round to the nearest
representable mode.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39268
138bc75d-0d04-0410-961f-
82ee72b054a4
pme [Thu, 25 Jan 2001 15:35:10 +0000 (15:35 +0000)]
2001-01-25 Phil Edwards <pme@sources.redhat.com>
* include/bits/std_iterator.h: Do not include stl_relops.h.
* include/bits/std_numeric.h: Ditto.
* include/bits/stl_algobase.h: Ditto.
* include/bits/stl_relops.h: Add comment warning about problems.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39267
138bc75d-0d04-0410-961f-
82ee72b054a4
rearnsha [Thu, 25 Jan 2001 10:35:09 +0000 (10:35 +0000)]
* lex.c (java_read_char): Check for EOF from getc first.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39261
138bc75d-0d04-0410-961f-
82ee72b054a4
m.hayes [Thu, 25 Jan 2001 09:28:55 +0000 (09:28 +0000)]
* loop.c (loop_call_insn_emit_before, loop_call_insn_hoist): New.
(loop_insn_emit_before): No longer static.
(move_movables): Replace emit_insn_after with loop_insn_emit_after.
(loop_givs_rescan, load_mems): Likewise.
(check_dbra_loop): Replace emit_insn_before with loop_insn_emit_before.
(maybe_eliminate_biv_1):
(move_movables): Replace emit_call_insn_before with
loop_call_insn_hoist.
* loop.h (loop_insn_emit_before): Add.
* unroll.c (copy_loop_body): Replace emit_insn_before with
loop_insn_emit_before.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39260
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Thu, 25 Jan 2001 08:45:17 +0000 (08:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39259
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Thu, 25 Jan 2001 07:39:50 +0000 (07:39 +0000)]
* diagnostic.c (fatal): Request preprocessed source.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39258
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Thu, 25 Jan 2001 07:35:21 +0000 (07:35 +0000)]
* mangle.c (write_mangled_name, write_encoding): Mangle overloaded
operators even in "C" linkage.
* method.c (set_mangled_name_for_decl): Likewise.
* decl.c (grokfndecl): Call set_mangled_name_for_decl even for
overloaded operators in "C" linkage.
* g++.old-deja/g++.other/mangle2.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39257
138bc75d-0d04-0410-961f-
82ee72b054a4
msokolov [Thu, 25 Jan 2001 05:11:38 +0000 (05:11 +0000)]
* libU77/alarm_.c: Separate the #ifdef KR_headers logic from the
G77_alarm_0 function definition. Check for SIG_ERR and provide our own
if missing.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39256
138bc75d-0d04-0410-961f-
82ee72b054a4
gdr [Thu, 25 Jan 2001 04:09:22 +0000 (04:09 +0000)]
* testsuite/27_io/*.cc: Remove explicit reference to 'testsuite/'
in testcases. Prepare for the DejaGnu based framework.
* mkcheck.in: Adjust call to tests_flags. Don't mmkdir testsuite
directory -- it is now mkcheck working directory.
* tests_flags.in: Remove reference to $(top_srcdir). Use
${SRC_DIR} instead.
* Makefile.am (check, check-install): Change mkcheck invocation
logic.
* Makefile.in: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39255
138bc75d-0d04-0410-961f-
82ee72b054a4
amylaar [Thu, 25 Jan 2001 02:03:14 +0000 (02:03 +0000)]
* c-decl.c (duplicate_decls): If different_binding_level is nonzero,
olddecl has argument types and newdecl has none, use the argument
types from olddecl.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39254
138bc75d-0d04-0410-961f-
82ee72b054a4
drepper [Thu, 25 Jan 2001 00:18:16 +0000 (00:18 +0000)]
* dwarf2out.c (prefix_of): New function. Determine longest common
prefix of the two arguments. The units are whole path components.
(output_file_names): When adding a new directory find the one entry
with the longest common prefix already in the list. Artificially
generate entry if there is none for this prefix.
Fix test to check whether the zeroth directory entry is used.
: ----------------------------------------------------------------------
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39253
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Thu, 25 Jan 2001 00:16:42 +0000 (00:16 +0000)]
New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39252
138bc75d-0d04-0410-961f-
82ee72b054a4
amylaar [Thu, 25 Jan 2001 00:02:49 +0000 (00:02 +0000)]
* reload1.c (reload_reg_free_for_value_p): New parameter start_regno.
Changed all callers. Take it into account when deciding if a
previously loaded value matches.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39251
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Wed, 24 Jan 2001 23:50:56 +0000 (23:50 +0000)]
* reload.c (find_reloads_subreg_address): Fail the substitution
if the resulting address is insufficiently aligned.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39250
138bc75d-0d04-0410-961f-
82ee72b054a4
toon [Wed, 24 Jan 2001 22:24:48 +0000 (22:24 +0000)]
2001-01-24 David Billinghurst <David.Billinghurst@riotinto.com>
* libU77/Makefile.in: Explicitly generate a.out for check.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39249
138bc75d-0d04-0410-961f-
82ee72b054a4
dj [Wed, 24 Jan 2001 21:43:11 +0000 (21:43 +0000)]
Fix obvious bug in previous commit
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39248
138bc75d-0d04-0410-961f-
82ee72b054a4
dj [Wed, 24 Jan 2001 21:10:06 +0000 (21:10 +0000)]
* combine.c (combine_simplify_rtx): If the modes are all VOIDmode,
check the original operand's mode also.
* simplify-rtx.c (simplify_ternary_operation): Ditto.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39247
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Wed, 24 Jan 2001 20:41:49 +0000 (20:41 +0000)]
* c-parse.in (cast_expr): Move compound literals from here ...
(primary): ... to here. Use standard terminology "compound
literal" instead of "constructor expression".
testsuite:
* gcc.c-torture/compile/
20010124-1.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39246
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Wed, 24 Jan 2001 20:08:50 +0000 (20:08 +0000)]
* ltmain.sh (TAG disable-shared, TAG disable-static): Make sure we
keep at least one of build_libtool_libs or build_old_libs set to
yes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39245
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm28 [Wed, 24 Jan 2001 19:47:47 +0000 (19:47 +0000)]
contrib:
* texi2pod.pl: Handle "\,".
gcc:
* gcc.1, cpp.1: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39244
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Wed, 24 Jan 2001 19:19:26 +0000 (19:19 +0000)]
* config/os/aix/bits/atomicity.h (__compare_and_swap): Remove.
(__always_swap): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39243
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Wed, 24 Jan 2001 19:00:58 +0000 (19:00 +0000)]
* calls.c (emit_library_call_value_1): Memory slot for
pass-by-reference argument should have the mode of the argument,
not of the pointer to it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39242
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Wed, 24 Jan 2001 18:47:35 +0000 (18:47 +0000)]
* gcc.texi (G++ and GCC): Mention gcj manual.
(Standards): Link to section of manual mentioning gcj/Java
compatibility.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39241
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Wed, 24 Jan 2001 18:44:40 +0000 (18:44 +0000)]
* cppfiles.c (_cpp_read_file): Add to dependencies if requested.
* cppinit.c (cpp_start_read): Remove deps_add_dep call.
* tradcpp.c (main): Add -imacros or -include'd dependencies
for -M*.
* cpp.texi (-M, -MM): Document -M -include behaviour.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39240
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Wed, 24 Jan 2001 18:40:46 +0000 (18:40 +0000)]
* config/i386/xm-i386.h: Make __i386__ a boolean macro.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39239
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Wed, 24 Jan 2001 17:43:25 +0000 (17:43 +0000)]
* Makefile.in: Rebuilt.
* Makefile.am (c_source_files): Added sf_fabs.c.
* java/lang/sf_fabs.c: New file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39238
138bc75d-0d04-0410-961f-
82ee72b054a4
wcohen [Wed, 24 Jan 2001 14:01:26 +0000 (14:01 +0000)]
2001-01-24 Will Cohen <wcohen@redhat.com>
* config/mips/abi64.h (RETURN_IN_MEMORY): Always take into account
whether registers are 32 bits or 64 bits in size.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39237
138bc75d-0d04-0410-961f-
82ee72b054a4
bje [Wed, 24 Jan 2001 12:47:45 +0000 (12:47 +0000)]
2001-01-24 Ben Elliston <bje@redhat.com>
* config/m32r/m32r.h (PREDICATE_CODES): Remove m32r_not_same_reg.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39236
138bc75d-0d04-0410-961f-
82ee72b054a4
nathan [Wed, 24 Jan 2001 11:31:40 +0000 (11:31 +0000)]
missed in
* call.c (add_builtin_candidate): Quote std properly, from
previous change.
commit
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39235
138bc75d-0d04-0410-961f-
82ee72b054a4
nathan [Wed, 24 Jan 2001 11:25:28 +0000 (11:25 +0000)]
cp:
* pt.c (tsubst_decl): Remove IN_DECL parameter.
(tsubst_arg_types): Check parameter is not void.
(tsubst): Adjust tsubst_decl call.
testsuite:
* g++.old-deja/g++.pt/spec38.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39234
138bc75d-0d04-0410-961f-
82ee72b054a4
nathan [Wed, 24 Jan 2001 11:21:29 +0000 (11:21 +0000)]
cp:
* call.c (add_builtin_candidate): Quote std properly, from
previous change.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39233
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Wed, 24 Jan 2001 09:00:02 +0000 (09:00 +0000)]
* config/alpha/alpha.md (builtin_longjmp_internal): New.
(builtin_longjmp): Use it instead of emit_indirect_jump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39232
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 24 Jan 2001 08:45:12 +0000 (08:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39231
138bc75d-0d04-0410-961f-
82ee72b054a4
apbianco [Wed, 24 Jan 2001 08:08:36 +0000 (08:08 +0000)]
2001-01-23 Alexandre Petit-Bianco <apbianco@cygnus.com>
* class.c (layout_class): Don't lay the superclass out if it's
already being laid out.
* jcf-parse.c (handle_innerclass_attribute): New function.
(HANDLE_INNERCLASSES_ATTRIBUTE): Invoke
handle_innerclasses_attribute.
(jcf_parse): Don't load an innerclasses if it's already being
laid out.
* jcf-write.c (append_innerclass_attribute_entry): Static
`anonymous_name' and its initialization deleted. `ocii' and `ini'
to be zero for anonymous classes.
2001-01-23 Alexandre Petit-Bianco <apbianco@cygnus.com>
* class.c (set_constant_value): Set DECL_FIELD_FINAL_IUD if
necessary.
* jcf-parse.c (set_source_filename): Use
MAYBE_CREATE_VAR_LANG_DECL_SPECIFIC if necessary.
2001-01-23 Alexandre Petit-Bianco <apbianco@cygnus.com>
* expr.c (build_jni_stub): Set DECL_CONTEXT on `meth_var' so it
gets a unique asm name.
2001-01-23 Alexandre Petit-Bianco <apbianco@cygnus.com>
* jcf-parse.c (HANDLE_END_METHODS): Nullify current_method.
(HANDLE_START_FIELD): Invoke MAYBE_CREATE_VAR_LANG_DECL_SPECIFIC
if necessary.
(HANDLE_SYNTHETIC_ATTRIBUTE): New macro.
* jcf-reader.c (get_attribute): Handle `Synthetic' attribute.
* parse.y (lookup_package_type_and_set_next): Deleted.
(resolve_package): Removed unnecessary code.
(find_applicable_accessible_methods_list): `finit$' can't be
inherited.
* verify.c (pop_argument_types): Added missing prototype.
(http://gcc.gnu.org/ml/gcc-patches/2001-01/msg01812.html)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39230
138bc75d-0d04-0410-961f-
82ee72b054a4
lerdsuwa [Wed, 24 Jan 2001 07:06:07 +0000 (07:06 +0000)]
* pt.c (check_explicit_specialization): Clone constructors and
destructors.
* g++.old-deja/g++.pt/spec33.C: Change from "Build don't link" to
"Build don't run".
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39229
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 24 Jan 2001 05:57:46 +0000 (05:57 +0000)]
* bb-reorder.c (make_reorder_chain_1): Handle case where
jump edge goes to the same block as the fallthru edge.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39228
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Wed, 24 Jan 2001 04:30:47 +0000 (04:30 +0000)]
Eliminate IA-64 compiler warnings.
* dwarf2out.c (dwarf2out_line): Make last_file_num be unsigned.
* frame.h (__ia64_personality_v1): Add prototype.
* libgcc2.c (ia64_throw_helper): Change personality declaration to
prototype form. Add void * cast to first argument to personality
call.
...
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39227
138bc75d-0d04-0410-961f-
82ee72b054a4
cgd [Wed, 24 Jan 2001 03:04:36 +0000 (03:04 +0000)]
2001-01-23 Chris Demetriou <cgd@broadcom.com>
* libsupc++/exception_support.cc (__terminate_func): Remove
declaration.
(__terminate_func_ptr): New typedef.
(__terminate, __terminate_set_func): New extern function
prototypes.
(std::terminate): Use __terminate function.
(std::set_terminate): Use __terminate_set_func function.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39226
138bc75d-0d04-0410-961f-
82ee72b054a4
cgd [Wed, 24 Jan 2001 03:04:04 +0000 (03:04 +0000)]
2001-01-23 Chris Demetriou <cgd@broadcom.com>
* exception.cc (__terminate_func): Remove declaration.
(__terminate_func_ptr): New typedef.
(__terminate, __terminate_set_func): New extern function
prototypes.
(std::terminate): Use __terminate function.
(std::set_terminate): Use __terminate_set_func function.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39225
138bc75d-0d04-0410-961f-
82ee72b054a4
cgd [Wed, 24 Jan 2001 03:03:12 +0000 (03:03 +0000)]
2001-01-23 Chris Demetriou <cgd@broadcom.com>
* libgcc-std.ver (GCC_3.0): Add __terminate_func_set to list
of EH symbols.
* libgcc2.c (__terminate_func): Make variable static.
(__terminate_set_func): New function to set __terminate_func.
* libgcc2.h (__terminate_func_ptr): New typedef.
(__terminate_set_func): New function.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39224
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Wed, 24 Jan 2001 02:24:50 +0000 (02:24 +0000)]
* ltcf-gcj.sh (lt_simple_link_test_code): Remove stray `(0)'.
* libtool.m4 (_AC_LIBTOOL_GCJ): Pass $CPPFLAGS on.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39223
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Wed, 24 Jan 2001 02:23:54 +0000 (02:23 +0000)]
* flow.c (init_propagate_block_info): Don't consider unchanging
memories for dead frame store elimination.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39222
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Wed, 24 Jan 2001 02:23:23 +0000 (02:23 +0000)]
* varasm.c (UNIQUE_SECTION): Move default implementation ...
* defaults.h: ... here.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39221
138bc75d-0d04-0410-961f-
82ee72b054a4