Tom Tromey
f6b733ed1f
verify.cc (_Jv_BytecodeVerifier::is_assignable_from_slow): New method.
...
* verify.cc (_Jv_BytecodeVerifier::is_assignable_from_slow): New
method.
(type::compatible): Use it.
(type::merge): Likewise.
(type::promote): Return a `type&'.
(get_one_type): Promote return value.
From-SVN: r47097
2001-11-16 19:59:16 +00:00
Bernd Schmidt
29628f27db
Some SSE fixes
...
From-SVN: r47096
2001-11-16 19:58:40 +00:00
Tom Tromey
54b6b24152
Re-merge with Classpath, from Brian Jones:
...
* java/lang/Integer.java (getInteger): Attempt to decode the value
of the system property instead of the name of the system property.
(parseInt): Throw NumberFormatException explicitly in the case of
a null argument in keeping with JDK 1.3.
From-SVN: r47095
2001-11-16 19:52:24 +00:00
Neil Booth
08f3a861a0
* cp-tree.h (print_class_statistics): Restore.
...
From-SVN: r47094
2001-11-16 19:17:32 +00:00
Mark Wielaard
74808218ae
Timer.java (TaskQueue.isStopped): Remove method.
...
* java/util/Timer.java (TaskQueue.isStopped): Remove method.
(Scheduler.run): Try to re-schedule task and ignore exception if
queue has been stopped.
From-SVN: r47093
2001-11-16 19:00:47 +00:00
Joseph Myers
81bbae61ce
linux-and-gnu.texi: Remove.
...
* doc/include/linux-and-gnu.texi: Remove.
* doc/gnu.texi: New.
* doc/gcc.texi: Include gnu.texi instead of linux-and-gnu.texi.
* Makefile.in ($(docdir)/gcc.info, gcc.dvi): Update dependencies.
From-SVN: r47092
2001-11-16 18:56:14 +00:00
Kazu Hirata
6b857ce34b
a29k.c: Fix comment formatting.
...
* config/a29k/a29k.c: Fix comment formatting.
* config/a29k/a29k.h: Likewise.
* config/arc/arc.c: Likewise.
* config/arc/arc.h: Likewise.
* config/vax/vax.c: Likewise.
* config/vax/vax.h: Likewise.
* config/we32k/we32k.c: Likewise.
* config/we32k/we32k.h: Likewise.
From-SVN: r47091
2001-11-16 18:33:57 +00:00
Jeff Law
bcb0771008
unroll.c (copy_loop_body): Initialize JUMP_LABEL field after creating a new jump insn.
...
* unroll.c (copy_loop_body): Initialize JUMP_LABEL field after
creating a new jump insn.
From-SVN: r47090
2001-11-16 10:08:12 -07:00
Richard Kenner
c952ff4b08
expr.c (expand_expr, [...]): Refine test for when to copy misaligned data.
...
* expr.c (expand_expr, case ADDR_EXPR): Refine test for when to
copy misaligned data.
* varasm.c (assemble_variable): Set alignment into MEM when changed.
From-SVN: r47089
2001-11-16 09:02:56 -05:00
Graham Stott
f4dc10d1cb
optabs.c (prepare_cmp_insn): Correct lossage in last change fix OPALIGN type.
...
* optabs.c (prepare_cmp_insn): Correct lossage in last change fix
OPALIGN type.
From-SVN: r47088
2001-11-16 13:22:59 +00:00
Olivier Hainque
6d41a92f7c
except.c: Support for catching a list of types with a single handler (struct eh_region):...
...
* except.c: Support for catching a list of types with a single handler
(struct eh_region): Change type and filter to lists for catch regions.
(mark_eh_region): Mark the filter list for GC also.
(expand_start_catch): Always build a list if argument not NULL and
register each type of the list through add_type_for_runtime.
(duplicate_eh_region_1): Change type into type_list for catch regions.
(assign_filter_values): Assign a filter to each type associated with a
catch region. Assign filter for NULL types in a unique entry in the
filter list.
(build_post_landing_pads): Emit compare and jump for each filter of
the list associated with a catch region.
(reachable_next_level): When the type thrown is known, stop the search
as soon as one type within a catch list matches. Also, a handler is
potentially reachable only if at least one of the types it catches
has not been previously caught.
(collect_one_action_chain): Retrieve the filter for a NULL type list
from the first filter list entry. For non NULL type lists, add an
action record for every filter assigned.
* except.h: Reflect changes in comment before expand_start_catch.
From-SVN: r47087
2001-11-16 07:48:18 -05:00
Richard Kenner
a8ca89dca8
expr.c (expand_expr, [...]): Only copy for misaligned if BLKmode.
...
* expr.c (expand_expr, case ADDR_EXPR): Only copy for misaligned if
BLKmode.
From-SVN: r47086
2001-11-16 07:11:13 -05:00
Andreas Tobler
3b2d150717
* config/sparc/sparc.c: Remove ALIGN arg from emit_cmp_insn.
...
From-SVN: r47085
2001-11-16 06:33:23 -05:00
GCC Administrator
45fb7df53e
Daily bump.
...
From-SVN: r47083
2001-11-16 08:16:11 +00:00
Jakub Jelinek
25e7f43985
c-lang.c (finish_file): Don't emit static inline functions if they weren't referenced.
...
* c-lang.c (finish_file): Don't emit static inline functions if
they weren't referenced.
* gcc.c-torture/execute/20011115-1.c: New test.
From-SVN: r47082
2001-11-16 09:05:16 +01:00
Stan Shebs
38b3baaef4
* expr.c (expand_expr, case COMPONENT_REF): Fix variable ref.
...
From-SVN: r47081
2001-11-16 04:40:11 +00:00
Bryce McKinlay
e790b36a7c
s390.md: Remove ALIGN arg from emit_cmp_and_jump_insns call.
...
* config/s390/s390.md: Remove ALIGN arg from emit_cmp_and_jump_insns
call.
* config/i386/i386.md: Likewise.
From-SVN: r47080
2001-11-16 03:05:10 +00:00
Richard Kenner
5237fc0720
* timevar.c (rtl.h): Include so get fancy abort.
...
From-SVN: r47079
2001-11-15 21:36:39 -05:00
Richard Kenner
d43e0b7d97
expr.c (store_field): Pass tree instead of max size; callers changed.
...
* expr.c (store_field): Pass tree instead of max size; callers changed.
Change handling of alignment.
Only copy to_rtx if is TARGET.
(expand_expr_unaligned): Delete; callers now use expand_expr.
(emit_cmp_insn): No longer take ALIGN parm; all callers changed.
(expand_assignment): Change handling of alignment.
Only copy to_rtx if was original.
(get_inner_reference): No longer return alginment; callers changed.
(expand_expr, case COMPONENT_REF): Change handling of alignment.
(expand_expr, case ADDR_EXPR): Make copy if not sufficiently aligned.
(compare_from_rtx): Delete ALIGN parm; all callers changed.
(do_compare_rtx_and_jump): Likewise.
* expr.h: Reflect above changes.
* tree.h: Likewise.
* dwarf2out.c (loc_descriptor_from_tree): Remove ALIGN parameter
to get_inner_reference.
* builtins.c: Remove ALIGN parm in call to emit_cmp_and_jump_insns.
* doloop.c, except.c, explow.c, loop.c, stmt.c, unroll.c: Likewise.
* optabs.c: Likewise.
(prepare_cmp_insn): Now static; remove ALIGN parm. Callers changed.
(emit_cmp_and_jump_insns): Remove ALIGN parm; all callers changed.
* expmed.c: Remove ALIGN arg from calls to compare_from_rtx,
compare_rtx_and_jump, and emit_cmp_jump_insns.
* fold-const.c: Remove PALIGN in calls to get_inner_reference.
* function.c (assign_stack_temp_for_type): No longer static.
* optabs.h (emit_cmp_insn): Remove ALIGN parm.
(prepare_cmp_insn): Delete declaration.
* rtl.h (assign_stack_temp_for_type): Add declaration.
* config/alpha/alpha.c, config/d30v/d30v.c: Reflect above changes.
* config/clipper/clipper.c, config/h8300/h8300.c: Likewise.
* config/i386/i386.c,config/mips/mips.c: Likewise.
* config/i860/i860.c, config/ia64/ia64.c: Likewise.
* config/rs6000/rs6000.c, config/sh/sh.c: Likewise.
* alias.c (nonoverlapping_memrefs): Use REGNO_PTR_FRAME_P.
* emit-rtl.c (change_address): Fix typo in default alignment.
(adjust_address_1): Use mode of NEW, not MODE, when setting size.
* expr.c (highest_pow2_factor, case WITH_RECORD_EXPR): New case.
* rtl.h (REGNO_PTR_FRAME_P): New macro.
* expr.c (store_field): Pass tree instead of max size; callers changed.
Change handling of alignment.
Only copy to_rtx if is TARGET.
(expand_expr_unaligned): Delete; callers now use expand_expr.
(emit_cmp_insn): No longer take ALIGN parm; all callers changed.
(expand_assignment): Change handling of alignment.
Only copy to_rtx if was original.
(get_inner_reference): No longer return alginment; callers changed.
(expand_expr, case COMPONENT_REF): Change handling of alignment.
(expand_expr, case ADDR_EXPR): Make copy if not sufficiently aligned.
(compare_from_rtx): Delete ALIGN parm; all callers changed.
(do_compare_rtx_and_jump): Likewise.
* expr.h: Reflect above changes.
* tree.h: Likewise.
* dwarf2out.c (loc_descriptor_from_tree): Remove ALIGN parameter
to get_inner_reference.
* except.c: Remove ALIGN parameter in call to emit_cmp_and_jump_insns.
* explow.c: Likewise.
* loop.c: Likewise.
* optabs.c: Likewise.
(prepare_cmp_insn): Now static; remove ALIGN parm. Callers changed.
(emit_cmp_and_jump_insns): Remove ALIGN parm; all callers changed.
* fold-const.c: Remove PALIGN in calls to get_inner_reference.
* function.c (assign_stack_temp_for_type): No longer static.
* optabs.h (emit_cmp_insn): Remove ALIGN parm.
(prepare_cmp_insn): Delete declaration.
* rtl.h (assign_stack_temp_for_type): Add declaration.
* config/d30v/d30v.c: Reflect above changes.
* config/i860/i860.c, config/ia64/ia64.c: Likewise.
* config/rs6000/rs6000.c, config/sh/sh.c: Likewise.
* ada/trans.c, ada/utils2.c: Remove PALIGN parameter to
get_inner_reference.
From-SVN: r47078
2001-11-15 21:26:42 -05:00
Tom Tromey
f50e7a2d92
verify.cc (type::compatible): Use _Jv_IsAssignableFrom.
...
* verify.cc (type::compatible): Use _Jv_IsAssignableFrom.
(type::merge): Likewise.
From-SVN: r47077
2001-11-16 01:28:55 +00:00
Dale Johannesen
9f1a9740d4
darwin.h (SELECT_RTX_SECTION): Force address initializers into 'const' section
...
* config/darwin.h (SELECT_RTX_SECTION): Force address
initializers into 'const' section
* config/rs6000/rs6000.c (rs6000_emit_cmove): Fix mode of
if_then_else to match result, not operands
From-SVN: r47076
2001-11-16 01:06:37 +00:00
Richard Kenner
a06ef755a3
alias.c (nonoverlapping_memrefs): Use REGNO_PTR_FRAME_P.
...
* alias.c (nonoverlapping_memrefs): Use REGNO_PTR_FRAME_P.
* emit-rtl.c (change_address): Fix typo in default alignment.
(adjust_address_1): Use mode of NEW, not MODE, when setting size.
* expr.c (highest_pow2_factor, case WITH_RECORD_EXPR): New case.
* rtl.h (REGNO_PTR_FRAME_P): New macro.
* expr.c (store_field): Pass tree instead of max size; callers changed.
Change handling of alignment.
Only copy to_rtx if is TARGET.
(expand_expr_unaligned): Delete; callers now use expand_expr.
(emit_cmp_insn): No longer take ALIGN parm; all callers changed.
(expand_assignment): Change handling of alignment.
Only copy to_rtx if was original.
(get_inner_reference): No longer return alginment; callers changed.
(expand_expr, case COMPONENT_REF): Change handling of alignment.
(expand_expr, case ADDR_EXPR): Make copy if not sufficiently aligned.
(compare_from_rtx): Delete ALIGN parm; all callers changed.
(do_compare_rtx_and_jump): Likewise.
* expr.h: Reflect above changes.
* tree.h: Likewise.
* dwarf2out.c (loc_descriptor_from_tree): Remove ALIGN parameter
to get_inner_reference.
* except.c: Remove ALIGN parameter in call to emit_cmp_and_jump_insns.
* explow.c: Likewise.
* loop.c: Likewise.
* optabs.c: Likewise.
(prepare_cmp_insn): Now static; remove ALIGN parm. Callers changed.
(emit_cmp_and_jump_insns): Remove ALIGN parm; all callers changed.
* fold-const.c: Remove PALIGN in calls to get_inner_reference.
* function.c (assign_stack_temp_for_type): No longer static.
* optabs.h (emit_cmp_insn): Remove ALIGN parm.
(prepare_cmp_insn): Delete declaration.
* rtl.h (assign_stack_temp_for_type): Add declaration.
* config/d30v/d30v.c: Reflect above changes.
* config/i860/i860.c, config/ia64/ia64.c: Likewise.
* config/rs6000/rs6000.c, config/sh/sh.c: Likewise.
* ada/trans.c, ada/utils2.c: Remove PALIGN parameter to
get_inner_reference.
From-SVN: r47075
2001-11-15 18:44:58 -05:00
Richard Kenner
d215024f7f
alias.c (nonoverlapping_memrefs): Use REGNO_PTR_FRAME_P.
...
* alias.c (nonoverlapping_memrefs): Use REGNO_PTR_FRAME_P.
* emit-rtl.c (change_address): Fix typo in default alignment.
(adjust_address_1): Use mode of NEW, not MODE, when setting size.
* expr.c (highest_pow2_factor, case WITH_RECORD_EXPR): New case.
* rtl.h (REGNO_PTR_FRAME_P): New macro.
* expr.c (store_field): Pass tree instead of max size; callers changed.
Change handling of alignment.
Only copy to_rtx if is TARGET.
(expand_expr_unaligned): Delete; callers now use expand_expr.
(emit_cmp_insn): No longer take ALIGN parm; all callers changed.
(expand_assignment): Change handling of alignment.
Only copy to_rtx if was original.
(get_inner_reference): No longer return alginment; callers changed.
(expand_expr, case COMPONENT_REF): Change handling of alignment.
(expand_expr, case ADDR_EXPR): Make copy if not sufficiently aligned.
(compare_from_rtx): Delete ALIGN parm; all callers changed.
(do_compare_rtx_and_jump): Likewise.
* expr.h: Reflect above changes.
* tree.h: Likewise.
* dwarf2out.c (loc_descriptor_from_tree): Remove ALIGN parameter
to get_inner_reference.
* except.c: Remove ALIGN parameter in call to emit_cmp_and_jump_insns.
* explow.c: Likewise.
* loop.c: Likewise.
* optabs.c: Likewise.
(prepare_cmp_insn): Now static; remove ALIGN parm. Callers changed.
(emit_cmp_and_jump_insns): Remove ALIGN parm; all callers changed.
* fold-const.c: Remove PALIGN in calls to get_inner_reference.
* function.c (assign_stack_temp_for_type): No longer static.
* optabs.h (emit_cmp_insn): Remove ALIGN parm.
(prepare_cmp_insn): Delete declaration.
* rtl.h (assign_stack_temp_for_type): Add declaration.
* config/d30v/d30v.c: Reflect above changes.
* config/i860/i860.c, config/ia64/ia64.c: Likewise.
* config/rs6000/rs6000.c, config/sh/sh.c: Likewise.
* ada/trans.c, ada/utils2.c: Remove PALIGN parameter to
get_inner_reference.
From-SVN: r47074
2001-11-15 18:34:17 -05:00
Stan Shebs
7960cfbb82
rs6000.h: Fix a comment typo.
...
* config/rs6000/rs6000.h: Fix a comment typo.
(RTX_COSTS): Sort processor versions better.
From-SVN: r47073
2001-11-15 21:06:51 +00:00
Kazu Hirata
8d7958825d
* config/h8300/h8300.md: Fix insn length of bit insns.
...
From-SVN: r47070
2001-11-15 20:49:01 +00:00
Richard Kenner
1fac0c3382
White-space change
...
From-SVN: r47069
2001-11-15 15:17:48 -05:00
Jeffrey A Law
d3982b7128
config.in (HAVE_UINTPTR_T): Provide autoconf stub.
...
* config.in (HAVE_UINTPTR_T): Provide autoconf stub.
* configure.in (HAVE_UINTPTR_T): Test for system defining
uintptr_t and define HAVE_UINTPTR_T appropriately.
* regex.c (uintptr_t): Do not provide a definition if the
system provided one.
From-SVN: r47068
2001-11-15 11:11:24 -07:00
Jeffrey A Law
7ddfb6510b
regex.c (PREFIX): Provide an alternate definition for non-ANSI/ISO compilers.
...
* regex.c (PREFIX): Provide an alternate definition for
non-ANSI/ISO compilers.
(ARG_PREFIX): Likewise.
From-SVN: r47067
2001-11-15 11:04:08 -07:00
Jason Merrill
18b5b8d64c
dwarf2out.c (dwarf2out_finish): Don't abort because of orphan DIEs if there were errors in the source.
...
* dwarf2out.c (dwarf2out_finish): Don't abort because of orphan
DIEs if there were errors in the source.
* config/alpha/alpha-interix.h, config/alpha/elf.h,
config/arm/coff.h, config/i386/djgpp.h, config/i386/i386.c,
config/i386/i386.h, config/i386/sco5.h, config/i960/i960-coff.h,
config/m68k/coff.h, config/m88k/m88k.h, config/m88k/m88k.c,
config/pa/pa64-hpux.h, config/sh/sh.h, config/sparc/litecoff.h,
config/elfos.h, config/lynx.h, config/netware.h,
config/m68hc11/m68hc11.h, config/mcore/mcore-pe.h,
config/s390/linux64.h: Remove definitions of INT_ASM_OP, change
uses to use ASM_LONG.
From-SVN: r47066
2001-11-15 12:55:28 -05:00
Jason Merrill
f6b08fe890
reduce arena size for small targets
...
From-SVN: r47065
2001-11-15 12:48:07 -05:00
Jason Merrill
22f86c323f
avoid includes
...
From-SVN: r47064
2001-11-15 12:47:40 -05:00
Jason Merrill
3b1a413282
* method.c (use_thunk): Don't emit debugging information for thunks.
...
From-SVN: r47063
2001-11-15 12:33:24 -05:00
Alan Matsuoka
94414790d6
gensupport.c [...]: Change call to alloca to xmalloc.
...
2001-11-15 Alan Matsuoka <alanm@redhat.com>
* gensupport.c process_include : Change call to alloca to
xmalloc.
From-SVN: r47062
2001-11-15 16:50:48 +00:00
Jason Merrill
8a2b77e737
parse.y: Add ...
...
* parse.y: Add ... IDENTIFIER SCOPE and ... PTYPENAME SCOPE expansions.
* decl.c (make_typename_type): Handle getting a class template.
* search.c (lookup_field_r): A class template is good enough for
want_type.
* call.c (convert_like_real): Only use cp_convert for the bad part.
(standard_conversion): Also allow bad int->enum.
* typeck.c (ptr_reasonably_similar): Also allow functions to
interconvert. Pointers to same-size integers are reasonably
similar.
* cvt.c (convert_to_void): If we build a new COND_EXPR, always
give it void type.
From-SVN: r47060
2001-11-15 10:09:43 -05:00
Aldy Hernandez
9bddde52b4
rs6000.md: Use spaces instead of tabs in output templates.
...
* config/rs6000/rs6000.md: Use spaces instead of tabs in output
templates.
From-SVN: r47059
2001-11-15 15:04:10 +00:00
Richard Kenner
fea54805d1
final.c (alter_subreg): If simplify_subreg can't do anything, handle REG ourselves and abort for others.
...
* final.c (alter_subreg): If simplify_subreg can't do anything,
handle REG ourselves and abort for others.
From-SVN: r47058
2001-11-15 09:58:19 -05:00
Richard Hodson
768caa286d
h8300.c (dosize): Avoid corrupting R3 in interrupt routines.
...
* config/h8300/h8300.c (dosize): Avoid corrupting R3 in interrupt
routines.
From-SVN: r47057
2001-11-15 14:52:51 +00:00
Neil Booth
56c2b525b3
* fix-header.c (read_scan_file): Update.
...
From-SVN: r47055
2001-11-15 14:47:04 +00:00
Richard Kenner
a9915c78f0
toplev.c (toplev_main): Don't start timing until after command-line options are parsed.
...
* toplev.c (toplev_main): Don't start timing until after
command-line options are parsed.
From-SVN: r47054
2001-11-15 08:59:47 -05:00
Andreas Schwab
fed7dc6306
config.gcc: Set STMP_FIXPROTO and FIXPROTO_DEFINES in target makefile frag...
...
* config.gcc: Set STMP_FIXPROTO and FIXPROTO_DEFINES in target
makefile frag, not host makefile frag.
(m88k-dg-dguxbcs*): Add m88k/t-dgux to tmake_file.
(hppa*): Add pa/t-bsd to tmake_file where no special xmake_file is
used.
(hppa*-*-openbsd*): Don't use nonexitent pa/t-openbsd.
* config/m88k/t-dguxbcs: Remove definitions already in t-dgux.
* config/m88k/t-dgux (STMP_FIXPROTO): Define.
* config/i386/t-cygwin (STMP_FIXPROTO): Define.
* config/i386/t-dgux (STMP_FIXPROTO): Define.
* config/x-interix: Don't define STMP_FIXPROTO and
FIXPROTO_DEFINES.
* config/t-interix: New file, define STMP_FIXPROTO.
* config/i386/x-beos (STMP_FIXPROTO): Don't define here.
* config/i386/t-beos (STMP_FIXPROTO): Define here instead.
* config/t-svr4 (FIXPROTO_DEFINES): Define.
* config/arm/t-riscix (FIXPROTO_DEFINES): Define.
* config/i386/t-sco5 (FIXPROTO_DEFINES): Define.
* config/i386/t-sco5gas (FIXPROTO_DEFINES): Define.
* config/m68k/t-hp3200: Renamed from x-hp3200.
* config/i370/t-oe: Renamed from x-oe.
* config/mips/t-iris: Renamed from x-iris.
* config/pa/t-bsd: Renamed from x-pa.
* config/pa/t-pa-hpux: Renamed from x-pa-hpux.
* config/x-linux, config/i386/x-cygwin, config/i386/x-dgux,
config/m88k/x-dgux, config/x-svr4, config/arm/x-riscix,
config/i386/x-sco5, config/m68k/x-hp320g, config/mips/x-iris6,
config/rs6000/x-cygwin: Remove files.
From-SVN: r47053
2001-11-15 13:12:54 +00:00
Andreas Schwab
14455c648a
config.gcc: Set STMP_FIXPROTO and FIXPROTO_DEFINES in target makefile frag...
...
* config.gcc: Set STMP_FIXPROTO and FIXPROTO_DEFINES in target
makefile frag, not host makefile frag.
(m88k-dg-dguxbcs*): Add m88k/t-dgux to tmake_file.
(hppa*): Add pa/t-bsd to tmake_file where no special xmake_file is
used.
(hppa*-*-openbsd*): Don't use nonexitent pa/t-openbsd.
* config/m88k/t-dguxbcs: Remove definitions already in t-dgux.
* config/m88k/t-dgux (STMP_FIXPROTO): Define.
* config/i386/t-cygwin (STMP_FIXPROTO): Define.
* config/i386/t-dgux (STMP_FIXPROTO): Define.
* config/x-interix: Don't define STMP_FIXPROTO and
FIXPROTO_DEFINES.
* config/t-interix: New file, define STMP_FIXPROTO.
* config/i386/x-beos (STMP_FIXPROTO): Don't define here.
* config/i386/t-beos (STMP_FIXPROTO): Define here instead.
* config/t-svr4 (FIXPROTO_DEFINES): Define.
* config/arm/t-riscix (FIXPROTO_DEFINES): Define.
* config/i386/t-sco5 (FIXPROTO_DEFINES): Define.
* config/i386/t-sco5gas (FIXPROTO_DEFINES): Define.
* config/m68k/t-hp3200: Renamed from x-hp3200.
* config/i370/t-oe: Renamed from x-oe.
* config/mips/t-iris: Renamed from x-iris.
* config/pa/t-bsd: Renamed from x-pa.
* config/pa/t-pa-hpux: Renamed from x-pa-hpux.
* config/x-linux, config/i386/x-cygwin, config/i386/x-dgux,
config/m88k/x-dgux, config/x-svr4, config/arm/x-riscix,
config/i386/x-sco5, config/m68k/x-hp320g, config/mips/x-iris6,
config/rs6000/x-cygwin: Remove files.
From-SVN: r47052
2001-11-15 13:05:54 +00:00
Andreas Schwab
3cae57803c
configure.in: Check for target objdump and use that in eh_frame optimization test.
...
* configure.in: Check for target objdump and use that in eh_frame
optimization test.
* configure: Regenerated.
From-SVN: r47051
2001-11-15 12:11:52 +00:00
Jakub Jelinek
feb265abdb
cfgcleanup.c (try_optimize_cfg): If try_simplify_condjump optimized conditional jump...
...
* cfgcleanup.c (try_optimize_cfg): If try_simplify_condjump optimized
conditional jump, request updating life into for the block
containing it. Fix a typo which prevented life info update.
Clear blocks bitmap before using it.
* gcc.c-torture/compile/20011114-3.c: New test.
From-SVN: r47050
2001-11-15 11:41:48 +01:00
Jakub Jelinek
8f5a5db818
ia64.c (ia64_adjust_cost): Handle SUBREGs.
...
* config/ia64/ia64.c (ia64_adjust_cost): Handle SUBREGs.
* gcc.c-torture/compile/20011114-2.c: New test.
From-SVN: r47049
2001-11-15 11:30:59 +01:00
Jakub Jelinek
2b7d71b2b9
jump.c (squeeze_notes): Return true if no real insns were found.
...
* jump.c (squeeze_notes): Return true if no real insns were found.
* rtl.h (squeeze_notes): Adjust prototype.
* cfgcleanup.c (merge_blocks_move_predecessor_nojumps): If
squeeze_notes finds no real instructions, abort.
(merge_blocks_move_successor_nojumps): Likewise.
* loop.c (find_and_verify_loops): Likewise.
* stmt.c (expand_end_case): Likewise.
* ifcvt.c (dead_or_predicable): Return TRUE if squeeze_notes doesn't
find any real instructions.
* gcc.c-torture/compile/20011114-4.c: New test.
From-SVN: r47048
2001-11-15 11:28:52 +01:00
Nathan Sidwell
36a68fe705
re PR c++/3154 (Tree check: expected class 't', have 'd' (type_decl) in is_aggr_type, at cp/init.c:1435)
...
cp:
PR g++/3154
* init.c (sort_base_init): Remove unreachable code.
(expand_member_init): Adjust comment to reflect reality. Simplify
and remove unreachable code.
testsuite:
* g++.dg/other/init1.C: New test.
From-SVN: r47047
2001-11-15 10:03:41 +00:00
Neil Booth
f5e99456f1
c-common.c: Include c-lex.h.
...
* c-common.c: Include c-lex.h.
(c_common_lang_init): Change prototype. Call init_c_lex and
init_pragma from here.
* c-common.h (c_common_lang_init): Change prototype.
* c-decl.c (init_decl_processing): Rename. Call c_parse_init.
* c-lang.c (c_init): Change prototype. Update.
(c_init_options): Update.
* c-lex.c (cpp_filename): Remove.
(init_c_lex): Update. Read the main file, and get the original
file name.
(yyparse): Finish the command line options.
* c-parse.in (c_parse_init): Call init_reswords here.
(init_parse): Remove.
* c-tree.h (c_init_decl_processing): New.
* cpphash.c (_cpp_init_hashtable): After initializing the hash
table, populate it.
* cppinit.c (read_original_filename, cpp_finish_options): New.
(cpp_create_reader): New prototype. Defer hash table initialization.
(cpp_start_read): Rename cpp_read_main_file. Initialize the
hash table. Get the original filename.
* cpplib.h (cpp_create_reader): Update.
(cpp_start_read): Remove.
(cpp_read_main_file, cpp_finish_options): New.
* cppmain.c (main, do_preprocessing): Update.
* langhooks.h (struct langhooks): Update init prototype.
* toplev.c (general_init, parse_options_and_default_flags,
process_options, lang_indpendent_init, lang_dependent_init,
init_asm_output): New; perform the bulk of initialization.
(compile_file): Move most of initialization to above functions.
(debug_hooks): Initialize statically.
(set_Wunused): Relocate.
(toplev_main): Move most of initialization to other init functions.
Have a clear logic flow.
* tree.h (init_parse, init_decl_processing): Remove.
ada:
* misc.c (gnat_init): Change prototype. Include the
functionality of the old init_parse and init_decl_processing.
(gnat_init_decl_processing): New prototype.
(init_parse): Remove.
* utils.c (init_decl_processing): Rename gnat_init_decl_processing.
cp: * cp-tree.h (init_reswords, cxx_init_decl_processing): New.
(cxx_init): Update prototype.
* decl.c (init_decl_processing): Rename. Move null node init
to its creation time.
* lex.c (cxx_init_options): Update.
(cxx_init): Combine with old init_parse; also call
cxx_init_decl_processing.
f: * com.c (ffecom_init_decl_processing): Renamed from
init_decl_processing.
(init_parse): Move contents to ffe_init.
(ffe_init): Update prototype.
java: * decl.c (init_decl_processing): Rename java_init_decl_processing.
* java-tree.h: New prototype.
* lang.c (java_init): Update prototype. Combine with old init_parse.
objc: * objc-act.c (objc_init): Update prototype, combine with old
init_parse.
(objc_init_options): Update.
From-SVN: r47046
2001-11-15 10:01:10 +00:00
Loren J. Rittle
87bc7fa6aa
index.html (Is libstdc++-v3 thread-safe?): Clarify wording.
...
* docs/html/faq/index.html (Is libstdc++-v3 thread-safe?): Clarify
wording.
From-SVN: r47045
2001-11-15 09:06:14 +00:00
Bjørn Wennberg
2a692463e5
stl_alloc.h (alloc): Update to use __mem_interface.
...
libstc++/4219
* include/bits/stl_alloc.h (alloc): Update to use __mem_interface.
(single_client_alloc): Likewise.
From-SVN: r47044
2001-11-15 08:52:23 +00:00
GCC Administrator
ab3fdb7fa9
Daily bump.
...
From-SVN: r47042
2001-11-15 08:16:43 +00:00