GCC Administrator
6ad8427bba
Daily bump.
...
From-SVN: r47137
2001-11-18 08:16:11 +00:00
Kriang Lerdsuwanakij
b3faacfdd4
decl.c (create_array_type_for_decl): Check if NAME is NULL_TREE when displaying error message about missing array bounds.
...
* decl.c (create_array_type_for_decl): Check if NAME is NULL_TREE
when displaying error message about missing array bounds.
From-SVN: r47136
2001-11-18 06:31:20 +00:00
Kriang Lerdsuwanakij
873ff98777
mangle.c (write_expression): Handle CAST_EXPR, STATIC_CAST_EXPR, CONST_CAST_EXPR.
...
* mangle.c (write_expression): Handle CAST_EXPR, STATIC_CAST_EXPR,
CONST_CAST_EXPR.
* operators.def: Add CAST_EXPR, STATIC_CAST_EXPR, CONST_CAST_EXPR.
From-SVN: r47135
2001-11-18 06:24:45 +00:00
Douglas B Rupp
6f684b5368
t-vms (LIB2FUNCS_EXTRA): Add vms_tramp.asm.
...
* config/alpha/t-vms (LIB2FUNCS_EXTRA): Add vms_tramp.asm.
* config/alpha/vms_tramp.asm: New file.
* config/alpha/vms-tramp.asm: Removed.
From-SVN: r47134
2001-11-17 23:27:50 -05:00
Joseph Myers
7d14c755ce
c-common.c (struct disabled_builtin, [...]): New.
...
* c-common.c (struct disabled_builtin, disabled_builtins,
disable_builtin_function, builtin_function_disabled_p): New.
(builtin_function_2): Check for disabled built-in functions.
* c-common.h (disable_builtin_function): Declare.
* c-decl.c (c_decode_option): Handle -fno-builtin-FUNCTION.
* doc/invoke.texi: Document -fno-builtin-FUNCTION.
* doc/extend.texi: Mention -fno-builtin-FUNCTION.
testsuite:
* gcc.dg/no-builtin-1.c: New test.
From-SVN: r47133
2001-11-18 03:30:57 +00:00
Jason Merrill
74a3070ffa
eh_personality.cc (__cxa_call_unexpected): Take void*.
...
* libsupc++/eh_personality.cc (__cxa_call_unexpected): Take void*.
* libsupc++/eh_catch.cc (__cxa_begin_catch): Likewise.
* libsupc++/unwind-cxx.h: Adjust.
* src/Makefile.am (strstream.o): Pass -Wno-deprecated.
* libsupc++/eh_type.cc (__cxa_current_exception_type): New file.
* libsupc++/cxxabi.h: Declare it.
* libsupc++/Makefile.am (sources): Add it.
* src/vterminate.cc (verbose_terminate_handler): New file.
* libsupc++/exception: Declare it.
* src/Makefile.am (sources): Add it.
* src/Makefile.am (VPATH): Check the src directory before the top one.
From-SVN: r47132
2001-11-17 21:09:23 -05:00
Craig Rodrigues
ed19322d0c
MAINTAINERS (GNATS only accounts): Remove self.
...
2001-11-17 Craig Rodrigues <rodrigc@gcc.gnu.org>
* MAINTAINERS (GNATS only accounts): Remove self.
From-SVN: r47131
2001-11-18 01:18:55 +00:00
Craig Rodrigues
f3095b5f17
re PR target/4606 (config.gcc refers to non-existant va-clipper.h)
...
2001-11-17 Craig Rodrigues <rodrigc@gcc.gnu.org>
PR target/4606
* config.gcc: Remove reference to va-clipper.h.
From-SVN: r47129
2001-11-18 00:14:52 +00:00
Anthony Green
aee4201707
Obvious jni weak reference fix
...
From-SVN: r47128
2001-11-17 21:32:22 +00:00
Stan Shebs
089a05b8d7
rs6000.h (REG_CLASS_CONTENTS): Fix the AltiVec-related bitfields.
...
* config/rs6000/rs6000.h (REG_CLASS_CONTENTS): Fix the
AltiVec-related bitfields.
From-SVN: r47127
2001-11-17 21:17:53 +00:00
Richard Kenner
572202a718
except.c (enum eh_region_type): Add ERT_UNKNOWN.
...
* except.c (enum eh_region_type): Add ERT_UNKNOWN.
(mark_eh_region, case ERT_UKNONW): New case.
From-SVN: r47123
2001-11-17 12:33:57 -05:00
Christopher Faylor
c03dcc62e6
Add extra name.
...
From-SVN: r47122
2001-11-17 17:25:34 +00:00
Christopher Faylor
d0e06c9049
cygwin.h: Search target specific include directory for w32api stuff, if appropriate.
...
* config/i386/cygwin.h: Search target specific include directory for w32api
stuff, if appropriate.
From-SVN: r47121
2001-11-17 17:19:11 +00:00
Douglas B Rupp
5370b45d94
* config/alpha/vms.h (REG_ALLOC_ORDER): Redefine.
...
From-SVN: r47118
2001-11-17 08:17:03 -05:00
Laurent Guerby
b0df4321ea
Make-lang.in (GNATLIBFLAGS): Add -W -Wall.
...
2001-11-17 Laurent Guerby <guerby@acm.org>
* Make-lang.in (GNATLIBFLAGS): Add -W -Wall.
* gigi.h (init_decl_processing): Rename to gnat_init_decl_processing.
* io-aux.c: Provide K&R prototypes to all functions, reformat code.
* lang-spec.h: Add missing struct field to silence warnings.
* sysdep.c (rts_get_*): Provide K&R prototype.
* sysdep.c (Unlock_Task, Lock_Task): Move to K&R prototype.
* traceback.c (Unlock_Task, Lock_Task): Likewise.
* tracebak.c (__gnat_backtrace): Remove unused variable.
* utils.c (end_subprog_body): Move to K&R style.
From-SVN: r47117
2001-11-17 11:35:08 +00:00
GCC Administrator
b605ed61ea
Daily bump.
...
From-SVN: r47115
2001-11-17 08:16:21 +00:00
David O'Brien
5059254f4b
Not all of revision 1.113 made it in.
...
From-SVN: r47114
2001-11-17 05:46:25 +00:00
Aldy Hernandez
f3fe2696dc
rs6000.md: Change all ldvx to lvx.
...
2001-11-16 Aldy Hernandez <aldyh@redhat.com>
* config/rs6000/rs6000.md: Change all ldvx to lvx.
From-SVN: r47113
2001-11-17 01:19:06 +00:00
Tom Tromey
b34e9a5b9f
verify.cc (_Jv_BytecodeVerifier::check_field_constant): Handle case where field has primitive type.
...
* verify.cc (_Jv_BytecodeVerifier::check_field_constant): Handle
case where field has primitive type.
From-SVN: r47112
2001-11-16 23:39:34 +00:00
Alexandre Oliva
e13c552619
gensupport.c (process_rtx): Don't assume filename is the first argument of any rtl.
...
* gensupport.c (process_rtx): Don't assume filename is the first
argument of any rtl.
From-SVN: r47111
2001-11-16 22:59:46 +00:00
John David Anglin
268399cd7f
vax-protos.h (reg_was_0_p): New prototype.
...
* vax-protos.h (reg_was_0_p): New prototype.
* vax.md (movsi, movhi, movqi): Use reg_was_0_p.
* vax.c (follows_p, reg_was_0_p): New functions.
From-SVN: r47110
2001-11-16 22:40:21 +00:00
John David Anglin
550b2951cd
vax.md (casesi): Swap arguments in "(plus:SI (pc) (mult))".
...
* vax.md (casesi): Swap arguments in "(plus:SI (pc) (mult))". Reformat.
(casesi1): Likewise. Define new pattern which arises by simplification
when operand 1 is a constant int. Correct pattern which arises by
simplification when operand 1 is zero.
From-SVN: r47109
2001-11-16 22:24:23 +00:00
Kaveh R. Ghazi
2c47b56b0a
Update test for token pasting to also check "|| defined(ALMOST_STDC)"
...
From-SVN: r47108
2001-11-16 21:54:17 +00:00
Kaveh R. Ghazi
23850d35ec
regex.c: Check defined(__STDC__) || defined(HAVE_STRINGIZE) to determine whether ISO CPP...
...
* regex.c: Check defined(__STDC__) || defined(HAVE_STRINGIZE)
to determine whether ISO CPP token pasting is available.
From-SVN: r47107
2001-11-16 21:49:25 +00:00
John David Anglin
f27315216e
Makefile.in: Add MAKEOVERRIDES= to suppress exporting environment to (sub)shells.
...
2001-11-16 John David Anglin <dave@hiauly1.hia.nrc.ca>
* Makefile.in: Add MAKEOVERRIDES= to suppress exporting
environment to (sub)shells.
From-SVN: r47106
2001-11-16 21:29:29 +00:00
David O'Brien
f910b1bb5f
config.gcc (arm*-*-rtems*, [...]): Include various CPU headers via tm_file.
...
2001-11-16 David O'Brien <obrien@FreeBSD.org>
* config.gcc (arm*-*-rtems*, arm-*-coff*, armel-*-coff*,
arm-*-vxworks*, arm-*-riscix1.[01]*, arm-*-riscix*,
arm-semi-aout, armel-semi-aout, arm-semi-aof, armel-semi-aof,
arm*-*-netbsd*, arm*-*-linux*, arm*-*-uclinux*, arm*-*-aout,
arm*-*-ecos-elf, arm*-*-elf, arm*-*-conix*, arm*-*-oabi,
arm-*-pe*, strongarm-*-elf*, strongarm-*-coff*, strongarm-*-pe,
xscale-*-elf, xscale-*-coff: Include various CPU headers via tm_file.
* config/arm/aof.h: Don't include arm.h.
* config/arm/aout.h: Likewise.
* config/arm/coff.h: Don't include semi.h and aout.h.
* config/arm/elf.h: Don't include aout.h.
* config/arm/netbsd.h: Don't include netbsd.h and aout.h.
(TARGET_VERSION): Undef before defining.
(ARM_OS_NAME): Likewise
(TARGET_DEFAULT): Likewise
(TARGET_MEM_FUNCTIONS): Do not need to undefine now.
* config/arm/pe.h: Don't include arm/coff.h.
* config/arm/riscix.h (CPP_SPEC, SUBTARGET_CPP_SPEC): Use
SUBTARGET_CPP_SPEC rather than overiding the arm.h CPP_SPEC definition.
* config/arm/riscix1-1.h: Likewise.
* config/arm/rix-gas.h: Don't include riscix.h.
(DBX_CONTIN_LENGTH): Undef before defining.
* config/arm/semi.h: Don't include aout.h.
* config/arm/semiaof.h: Don't include aof.h.
* config/arm/strongarm-coff.h: Don't include coff.h.
* config/arm/strongarm-pe.h: Don't include strongarm-coff.h and pe.h.
* config/arm/vxarm.h: Don't include arm/coff.h.
* config/arm/xscale-coff.h: Don't include coff.h.
Approved by: Nick Clifton <nickc@cambridge.redhat.com>
<m3ofm2c27q.fsf@north-pole.nickc.cambridge.redhat.com>
From-SVN: r47105
2001-11-16 21:23:16 +00:00
Paolo Carlini
9c8e9f6296
stl_deque.h (deque::erase()): Fix memory leak.
...
2001-11-16 Paolo Carlini <pcarlini@unitus.it>
* include/bits/stl_deque.h (deque::erase()): Fix memory leak.
From-SVN: r47103
2001-11-16 21:00:59 +00:00
Loren J. Rittle
7dd4ba48c4
howto.html (Thread-safety): Rename section to ``The Standard C++ library and multithreading'' and update...
...
* docs/html/17_intro/howto.html (Thread-safety): Rename
section to ``The Standard C++ library and multithreading'' and
update information based on recent mailing list traffic. Move
all discussion of __USE_MALLOC to...
* docs/html/23_containers/howto.html (Containers and multithreading):
...here and rework it based on recent mailing list traffic.
From-SVN: r47102
2001-11-16 20:59:10 +00:00
Richard Kenner
847898f6f5
pa.c: Reflect changes in calling sequences of alter_reg and emit_cmp_insn.
...
* config/pa/pa.c: Reflect changes in calling sequences of alter_reg and
emit_cmp_insn.
From-SVN: r47101
2001-11-16 15:30:19 -05:00
Andreas Jaeger
d0225025e0
cfglayout.c (fixup_fallthru_exit_predecesor): Make void, rename to ....
...
* cfglayout.c (fixup_fallthru_exit_predecesor): Make void, rename
to ....
(fixup_fallthru_exit_predecessor): ... this.
Change callers and prototype.
From-SVN: r47098
2001-11-16 21:15:29 +01:00
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