Bruce Korb
f7cf1c7492
Resorted the entries
...
From-SVN: r58584
2002-10-27 17:02:29 +00:00
Kazu Hirata
3eae4643be
combine.c: Fix comment formatting.
...
* combine.c: Fix comment formatting.
* loop.c: Likewise.
* real.c: Likewise.
* regclass.c: Likewise.
* regmove.c: Likewise.
* regrename.c: Likewise.
* reg-stack.c: Likewise.
* reload1.c: Likewise.
* reload.c: Likewise.
* reload.h: Likewise.
* unroll.c: Likewise.
From-SVN: r58583
2002-10-27 14:47:55 +00:00
Kazu Hirata
e591c83de7
* reload1.c (reload): Fix a comment typo.
...
From-SVN: r58582
2002-10-27 14:21:37 +00:00
Jan Hubicka
a0ba837ee7
* linux64.h (DEFAULT_PCC_STRUCT_RETURN): Define.
...
From-SVN: r58579
2002-10-27 09:20:22 +00:00
Zdenek Dvorak
cc0017a983
Makefile.in (dwarf2out.o): Add dependendcy on hashtab.h.
...
* Makefile.in (dwarf2out.o): Add dependendcy on hashtab.h.
* dwarf2out.c: Include hashtab.h.
(is_main_source): New static variable.
(attr_checksum, die_checksum): Modified to handle die references.
(same_loc_p, same_dw_val_p, same_attr_p, same_die_p, same_die_p_wrap,
unmark_all_dies, htab_cu_hash, htab_cu_eq, htab_cu_del, check_duplicate_cu,
record_comdat_symbol_number): New static functions.
(output_comp_unit, compute_section_prefix, is_type_die, break_out_includes,
mark_dies, unmark_dies, dwarf2out_start_source_file): Modified.
* toplev.c (rest_of_decl_compilation): Call of dwarf2out_decl for type
declarations added.
From-SVN: r58578
2002-10-27 09:14:04 +00:00
Paolo Carlini
085825b83b
re PR libstdc++/8347 (empty vector range used in string construction causes core dump.)
...
2002-10-27 Paolo Carlini <pcarlini@unitus.it>
PR libstdc++/8347
* include/bits/basic_string.tcc
(string::_S_construct(_InIter, _InIter, const _Alloc&,
forward_iterator_tag)): Do not throw logic error if
__beg == NULL && __end == __beg.
(string::string(const _CharT*, const _Alloc&)): Tweak.
* testsuite/21_strings/ctor_copy_dtor.cc: Add test05 from PR.
From-SVN: r58577
2002-10-27 07:35:06 +00:00
GCC Administrator
881fc35459
Daily bump.
...
From-SVN: r58576
2002-10-27 07:17:14 +00:00
Roger Sayle
45329aca77
partition.h: Close the extern "C" scope when compiling with C++.
...
* partition.h: Close the extern "C" scope when compiling with C++.
* getopt.h: Update copyright year from the previous patch.
From-SVN: r58570
2002-10-27 01:00:34 +00:00
Roger Sayle
f416dcd5bf
re PR bootstrap/8351 (3.3 20021024 (experimental) fails to bootstrap on cygwin)
...
PR bootstrap/8351
* getopt.h: Avoid prototyping getopt with no arguments in C++.
Co-Authored-By: DJ Delorie <dj@redhat.com>
From-SVN: r58569
2002-10-27 00:54:50 +00:00
Andris Pavenis
980bccdd6f
lang-specs.h: Fix ratfor specs.
...
2002-10-26 Andris Pavenis <pavenis@latnet.lv>
* lang-specs.h: Fix ratfor specs.
From-SVN: r58565
2002-10-26 19:25:32 +00:00
Kazu Hirata
d7af42bcbc
h8300.c (initial_offset): Change to h8300_initial_elimination_offset.
...
* config/h8300/h8300.c (initial_offset): Change to
h8300_initial_elimination_offset.
* config/h8300/h8300.h (INITIAL_ELIMINATION_OFFSET): Use
h8300_initial_elimination_offset.
* config/h8300/h8300-protos.h: Update the prototype.
From-SVN: r58564
2002-10-26 19:25:26 +00:00
Hans-Peter Nilsson
4b32269b1a
mmix.h (LIBCALL_VALUE): Use MMIX_RETURN_VALUE_REGNUM, not MMIX_OUTGOING_RETURN_VALUE_REGNUM.
...
* config/mmix/mmix.h (LIBCALL_VALUE): Use
MMIX_RETURN_VALUE_REGNUM, not MMIX_OUTGOING_RETURN_VALUE_REGNUM.
(FUNCTION_VALUE_REGNO_P): Similar, but move code to...
* config/mmix/mmix.c (mmix_function_value_regno_p): New.
* config/mmix/mmix-protos.h: Remove needless ifdefs on TREE_CODE
and RTX_CODE.
(mmix_function_value_regno_p): Declare.
From-SVN: r58563
2002-10-26 18:06:01 +00:00
Hans-Peter Nilsson
600522f8a2
wint_t-1.c, [...]: Remove excess-errors markers.
...
* gcc.dg/wint_t-1.c, gcc.dg/wchar_t-1.c: Remove excess-errors
markers.
From-SVN: r58562
2002-10-26 14:03:12 +00:00
GCC Administrator
86dc768102
Daily bump.
...
From-SVN: r58561
2002-10-26 07:17:23 +00:00
Hans-Peter Nilsson
35fcca95a8
Premature commit: obvious change somehow won't work. Sorry.
...
From-SVN: r58554
2002-10-26 06:01:20 +00:00
Hans-Peter Nilsson
1f032a995c
nest.c, [...]: Expect build failure on mmix-*-*.
...
* gcc.dg/nest.c, gcc.dg/20021014-1.c: Expect build failure on
mmix-*-*.
From-SVN: r58553
2002-10-26 05:44:18 +00:00
Hans-Peter Nilsson
7e5037dcb4
mmix.md ("fixuns_truncdfdi2"): Replace unsigned_fix, invalid for floating point mode result, with fix.
...
* config/mmix/mmix.md ("fixuns_truncdfdi2"): Replace unsigned_fix,
invalid for floating point mode result, with fix.
From-SVN: r58552
2002-10-26 02:27:17 +00:00
Mike Stump
da89b956ca
Add note about what it fixes.
...
From-SVN: r58551
2002-10-26 01:21:28 +00:00
Mike Stump
94c1e0e8ce
c-typeck.c (warn_for_assignment): Don't print argument number, if zero.
...
* c-typeck.c (warn_for_assignment): Don't print argument number, if zero.
Fixes gcc.dg/warn-1.c.
From-SVN: r58550
2002-10-26 01:18:52 +00:00
Mike Stump
f0dd122b47
Add gcc.dg/warn-1.c
...
From-SVN: r58549
2002-10-26 01:15:16 +00:00
Mark Mitchell
e93ee6440d
call.c (build_over_call): Use DECL_CONTEXT, not DECL_VIRTUAL_CONTEXT.
...
* call.c (build_over_call): Use DECL_CONTEXT, not
DECL_VIRTUAL_CONTEXT.
* class.c (modify_vtable_entry): Don't mess with
DECL_VIRTUAL_CONTEXT.
(set_vindex): Remove.
(set_primary_base): Remove vfuns_p parameter.
(determine_primary_base): Likewise.
(modify_all_vtables): Likewise.
(layout_class_type): Likewise. Adjust calls to other functions
accordingly.
(finish_struct_1): Adjust calls to modified functions. Set
DECL_VINDEX here.
* cp-tree.h (lang_type_class): Remove vsize.
(CLASSTYPE_VSIZE): Remove.
(lang_decl): Remove thunks.
(DECL_THUNKS): Adjust.
(DECL_VIRTUAL_CONTEXT): Remove.
(duplicate_decls): Don't copy it.
* pt.c (build_template_decl): Don't set it.
(tsubst_decl): Likewise.
* typeck.c (expand_ptrmemfunc_cst): Don't use it.
* g++.dg/lookup/ptrmem1.C: New test.
From-SVN: r58548
2002-10-26 00:44:44 +00:00
Jan Hubicka
0fb53e681d
toplev.c (dump_file_index): Add DFI_ce3.
...
* toplev.c (dump_file_index): Add DFI_ce3.
(dump_file_info): Likewise.
(rest_of_compilation): Run first ifcvt pass before tracer.
From-SVN: r58547
2002-10-25 23:46:06 +00:00
Phil Edwards
e004b81f6e
Makefile.tpl (bootstrap): Add bubblestrap, quickstrap, cleanstrap, and restrap targets to this rule.
...
2002-10-25 Phil Edwards <pme@gcc.gnu.org>
* Makefile.tpl (bootstrap): Add bubblestrap, quickstrap, cleanstrap,
and restrap targets to this rule.
* Makefile.in: Regenerate.
From-SVN: r58545
2002-10-25 22:49:58 +00:00
Steve Ellcey
794186cab2
* config/ia64/hpux.h (BITS_BIG_ENDIAN): Remove.
...
From-SVN: r58543
2002-10-25 22:18:37 +00:00
Zack Weinberg
f65e118396
re PR c++/7266 (pedantic segfaults on missing typename)
...
PR c++/7266
cp:
* decl.c (grokdeclarator): Check that TREE_OPERAND 0 of a
SCOPE_REF is not null before dereferencing it.
testsuite:
* g++.dg/template/typename3.C: New test.
From-SVN: r58540
2002-10-25 22:01:44 +00:00
Richard Henderson
cd60b4b8e7
real.c (real_to_decimal): If the >1 tens reduction loop results in a negative exponent...
...
* real.c (real_to_decimal): If the >1 tens reduction loop results
in a negative exponent, fall into the <1 pten computation.
From-SVN: r58538
2002-10-25 14:58:12 -07:00
Gerald Pfeifer
06bd49b10b
MAINTAINERS: Add Wolfgang Bangerth and Volker Reichelt under GNATS only accounts.
...
* MAINTAINERS: Add Wolfgang Bangerth and Volker Reichelt under
GNATS only accounts.
From-SVN: r58537
2002-10-25 19:47:32 +00:00
Mark Mitchell
bb5e8a7ffc
class.c (build_vtbl_initializer): Don't use build_vtable_entry.
...
* class.c (build_vtbl_initializer): Don't use build_vtable_entry.
(build_vtable_entry): Remove.
* cp-tree.h (BINFO_VIRTUALS): Expand documentation.
(lang_decl): Add thunks.
(DECL_THUNKS): New macro.
* decl.c (duplicate_decls): Copy it.
* method.c (make_thunk): Simplify, and add thunks to DECL_THUNKS.
* semantics.c (emit_associated_thunks): Simplify.
* g++.dg/abi/vthunk2.C: New test.
From-SVN: r58536
2002-10-25 19:39:47 +00:00
Zack Weinberg
f3763a442e
re PR c++/6994 (ICE in find_function_data)
...
PR middle-end/6994
* c-objc-common.c (inline_forbidden_p): Can not inline
functions containing structures or unions containing VLAs.
* tree-inline.c (walk_tree): For all class 't' nodes, walk
TYPE_SIZE and TYPE_SIZE_UNIT.
(copy_tree_r): Copy types if they are variably modified.
* g++.dg/ext/vla1.C, gcc.dg/vla-2.c: New tests.
From-SVN: r58535
2002-10-25 17:26:52 +00:00
David Edelsohn
6eb359685e
re PR c++/7228 (ICE when using member template and template function)
...
PR c++/7228
* cp-tree.h (CLASSTYPE_READONLY_FIELDS_NEED_INIT): Check that
lang_type structure exists before accessing field.
(SET_CLASSTYPE_READONLY_FIELDS_NEED_INIT): New macro.
(CLASSTYPE_REF_FIELDS_NEED_INIT): Similar.
(SET_CLASSTYPE_REF_FIELDS_NEED_INIT): New macro.
* class.c (check_field_decls): Use new macros.
* typeck2.c (process_init_constructor): Remove redundant check for
existence of lang_type structure.
From-SVN: r58532
2002-10-25 11:13:05 -04:00
Ulrich Weigand
8c40b097ec
* config/s390/s390.md: Remove old-style peepholes.
...
From-SVN: r58531
2002-10-25 12:28:17 +00:00
Ulrich Weigand
522ec94ec5
s390.c (s390_decompose_address): Do not range check the displacement if base or index is the argument pointer...
...
* config/s390/s390.c (s390_decompose_address): Do not range check the
displacement if base or index is the argument pointer register.
From-SVN: r58530
2002-10-25 12:26:40 +00:00
GCC Administrator
0bfd1ad0f8
Daily bump.
...
From-SVN: r58527
2002-10-25 07:18:27 +00:00
Mark Mitchell
ba9a991fd3
class.c (end_of_base): New method.
...
* class.c (end_of_base): New method.
(end_of_class): Use it. Check indirect virtual bases.
* g++.dg/abi/empty9.C: New test.
From-SVN: r58521
2002-10-25 06:01:55 +00:00
Tom Tromey
ca7c2b8529
natRuntime.cc (_Jv_SetDLLSearchPath): New function.
...
* java/lang/natRuntime.cc (_Jv_SetDLLSearchPath): New function.
(_Jv_FindSymbolInExecutable): Removed argument name.
(insertSystemProperties): Call _Jv_SetDLLSearchPath if
java.library.path is set.
* gij.cc (help): Document --showversion.
(version): Don't exit.
(main): Handle --showversion. Exit if --version given.
From-SVN: r58520
2002-10-25 03:28:00 +00:00
Tom Tromey
3752ac0803
gcj.texi (Invoking gij): Document --showversion.
...
* gcj.texi (Invoking gij): Document --showversion.
(Standard Properties): java.library.path now set.
From-SVN: r58519
2002-10-25 03:27:02 +00:00
Mark Mitchell
aa06d37bea
* class.c (check_field_decls): Fix typo.
...
From-SVN: r58517
2002-10-24 23:43:48 +00:00
Mark Mitchell
0cee073d49
class.c (check_field_decls): Fix typo.
...
* class.c (check_field_decls): Fix typo.
[[Split portion of a mixed commit.]]
From-SVN: r58516.2
2002-10-24 23:43:47 +00:00
Hans-Peter Nilsson
9db4d34be2
re PR other/3337 (build on linux-gnulibc1 fails: no sys/ucontext.h)
...
PR other/3337
PR bootstrap/6763
PR bootstrap/8122
* testsuite/testsuite_hooks.cc (__set_testsuite_memlimit): Use
__typeof__ (r.rlim_cur), not rlim_t in declaration of limit.
(Forgot to add PR markers. Doh!)
From-SVN: r58515
2002-10-24 23:39:38 +00:00
Hans-Peter Nilsson
85c8799492
re PR other/3337 (build on linux-gnulibc1 fails: no sys/ucontext.h)
...
PR other/3337
PR bootstrap/6763
PR bootstrap/8122
* fixinc/inclhack.def (libc1_G_va_list): New fix.
* fixinc/fixincl.x: Regenerate.
* config/i386/linux.h: Move MD_FALLBACK_FRAME_STATE_FOR inside
ifndef IN_LIBGCC2. Wrap it together with signal.h and
sys/ucontext.h inclusion in ifndef USE_GNULIBC_1.
* configure.in (gcc_AC_CHECK_DECLS): Check vasprintf too.
* config.in, configure: Regenerate.
(Forgot to add PR markers. Doh!)
From-SVN: r58514
2002-10-24 23:38:27 +00:00
Nathan Tallent
e4aaa2f87d
ansidecl.h (__STDC__): Add (__alpha && __cplusplus) to the list of platform compilers that may look...
...
* ansidecl.h (__STDC__): Add (__alpha && __cplusplus) to the
list of platform compilers that may look, smell and act
like __STDC__ but that may not define it.
From-SVN: r58513
2002-10-24 19:36:25 -04:00
Hans-Peter Nilsson
2068a050ab
testsuite_hooks.cc (__set_testsuite_memlimit): Use __typeof__ (r.rlim_cur), not rlim_t in declaration of limit.
...
* testsuite/testsuite_hooks.cc (__set_testsuite_memlimit): Use
__typeof__ (r.rlim_cur), not rlim_t in declaration of limit.
From-SVN: r58512
2002-10-24 23:27:27 +00:00
Hans-Peter Nilsson
d0af82b0ce
configure.in (i[3456]86-*-linux*): Add check to disable ${libgcj} for glibc1.
...
* configure.in (i[3456]86-*-linux*): Add check to disable
${libgcj} for glibc1.
From-SVN: r58511
2002-10-24 23:25:07 +00:00
Hans-Peter Nilsson
a7475ab1fd
inclhack.def (libc1_G_va_list): New fix.
...
* fixinc/inclhack.def (libc1_G_va_list): New fix.
* fixinc/fixincl.x: Regenerate.
* config/i386/linux.h: Move MD_FALLBACK_FRAME_STATE_FOR inside
ifndef IN_LIBGCC2. Wrap it together with signal.h and
sys/ucontext.h inclusion in ifndef USE_GNULIBC_1.
* configure.in (gcc_AC_CHECK_DECLS): Check vasprintf too.
* config.in, configure: Regenerate.
From-SVN: r58510
2002-10-24 23:22:47 +00:00
Igor Shevlyakov
7a360cce09
* varasm.c (struct rtx_const): Array size 16 for V16QImode.
...
From-SVN: r58509
2002-10-24 16:00:32 -07:00
Richard Henderson
fcbe3b8922
* config/i386/i386.c (x86_output_mi_thunk): Fix x86_64 pic jump.
...
From-SVN: r58508
2002-10-24 15:36:25 -07:00
Kazu Hirata
1a86c85041
h8300.c (initial_offset): Simplify by using round_frame_size.
...
* config/h8300/h8300.c (initial_offset): Simplify by using
round_frame_size.
From-SVN: r58507
2002-10-24 21:58:21 +00:00
Marek Michalkiewicz
de7999baae
install.texi (avr): Update required binutils version.
...
* doc/install.texi (avr): Update required binutils version.
* doc/install.texi: Point avr users at more up-to-date information.
From-SVN: r58505
2002-10-24 20:32:28 +00:00
Ulrich Weigand
84817c5d5b
s390.md (movdi, [...]): Add peepholes2 to pull operands out of the literal pool where possible.
...
* config/s390/s390.md (movdi, movsi, movhi, movqi): Add peepholes2
to pull operands out of the literal pool where possible.
From-SVN: r58504
2002-10-24 20:19:10 +00:00
Denis Chertykov
d074905352
* config/avr/avr.c (init_cumulative_args): Test fntype for zero.
...
From-SVN: r58503
2002-10-25 00:07:21 +04:00