Janis Johnson [Tue, 4 Dec 2001 00:37:50 +0000 (00:37 +0000)]
rtl.def (PREFETCH): New rtx code.
* rtl.def (PREFETCH): New rtx code.
* doc/rtl.texi (PREFETCH): Add documentation.
* function.c (instantiate_virtual_regs_1): Handle PREFETCH rtx.
* rtlanal.c (reg_referenced_p): Ditto.
* sched-vis.c (print_exp): Ditto.
* ssa-dce.c (find_inherently_necessary): Ditto.
* config/ia64/ia64.h (SIMULTANEOUS PREFETCHES): Define.
(PREFETCH_BLOCK): Define.
* config/ia64/ia64.md (itanium_class): Add lfetch.
(prefetch, prefetch_internal): New.
* builtin-types.def (BT_FN_VOID_PTR_INT_INT): New.
* builtins.def (BUILT_IN_PREFETCH): New.
* builtins.c (expand_builtin_expect): New.
(expand_builtin): Call it.
* doc/extend.texi: Document __builtin_expect.
* config/i386/i386.md (prefetch): Rename as prefetch_sse to avoid
conflicts with new generic prefetch functionality.
* config/i386/i386.c (ix86_expand_builtin): Use new name for
prefetch_sse.
From-SVN: r47576
Ziemowit Laski [Tue, 4 Dec 2001 00:25:20 +0000 (00:25 +0000)]
Make-lang.in: Update copyright.
* objc/Make-lang.in: Update copyright.
(OBJC_OBJS): Add objc-lang.o.
(objc-lang.o): New rule.
* objc/config-lang.in: Fix file description and update
copyright.
* objc/objc-act.c: Do not include langhooks.h and
langhooks-def.h
(lang_hooks): Move (along with LANG_HOOKS...) to objc-lang.c.
(objc_post_options): Move to objc-lang.c.
(objc_init_options): Move to objc-lang.c.
(objc_init): Make non-static.
(HASHFUNCTION): Remove macro.
(hash_func): New function.
(hash_enter): Replace HASHFUNCTION with hash_func.
(hash_lookup): Replace HASHFUNCTION with hash_func.
(maybe_objc_tree_codes): New function.
(init_objc): Move ObjC tree code initialization to
maybe_objc_tree_codes().
* objc/objc-act.h (GCC_OBJC_ACT_H): New include guard.
(objc_init): New public prototype.
(objc_decode_option): New public prototype.
(maybe_add_objc_tree_codes): New public prototype.
* objc/objc-lang.c: New file.
(lang_hooks): Moved from objc-act.c.
(objc_post_options): Moved from objc-act.c.
(objc_init_options): Moved from objc-act.c.
From-SVN: r47575
Zack Weinberg [Tue, 4 Dec 2001 00:10:56 +0000 (00:10 +0000)]
Doc update for -maix-struct-return patch
From-SVN: r47574
Per Bothner [Mon, 3 Dec 2001 23:30:21 +0000 (15:30 -0800)]
verify.c (subroutine_nesting): New function.
* verify.c (subroutine_nesting): New function.
(verify_jvm_instructions): Use it to fix logic for checking that
we're done with the current subroutine.
* verify.c (verify_jvm_instruction): For OPCODE_checkcast and
OPCODE_instanceof use POP_TYPE macro for better diagnostics.
From-SVN: r47572
Hans-Peter Nilsson [Mon, 3 Dec 2001 23:20:00 +0000 (23:20 +0000)]
Fix spacing in third last entry
From-SVN: r47571
Hans-Peter Nilsson [Mon, 3 Dec 2001 23:15:09 +0000 (23:15 +0000)]
decl.c (xref_basetypes): Don't use C99 construct in tag_code declaration and initialization.
* decl.c (xref_basetypes): Don't use C99 construct in tag_code
declaration and initialization.
From-SVN: r47570
Per Bothner [Mon, 3 Dec 2001 23:09:42 +0000 (15:09 -0800)]
jcf.h: Fix obvious typo in comment.
* jcf.h: Fix obvious typo in comment.
* typeck.c (build_null_signature): Add comment.
From-SVN: r47569
Geoffrey Keating [Mon, 3 Dec 2001 23:01:44 +0000 (23:01 +0000)]
emit-rtl.c (gen_lowpart_common): Avoid unwanted sign-extension of array elements.
* emit-rtl.c (gen_lowpart_common): Avoid unwanted sign-extension
of array elements.
From-SVN: r47568
Laurent Guerby [Mon, 3 Dec 2001 22:54:05 +0000 (22:54 +0000)]
config.sub: Update to version 1.232 on subversion.
2001-12-03 Laurent Guerby <guerby@acm.org>
* config.sub: Update to version 1.232 on subversion.
From-SVN: r47567
Neil Booth [Mon, 3 Dec 2001 22:36:51 +0000 (22:36 +0000)]
re PR c/4988 (--target-help emits cc1 printout twice)
PR c/4988
* (process_command): Don't add a preprocessor option for
--help and --target-help; cc1 is enough.
From-SVN: r47565
Steve Ellcey [Mon, 3 Dec 2001 22:28:57 +0000 (22:28 +0000)]
configure.in: Add support for hpux cross compiles...
2001-12-03 Steve Ellcey <sje@cup.hp.com>
* libstdc++-v3/configure.in: Add support for hpux cross compiles,
combine common linux/hpux/generic cross compile support to reduce
redundent lines.
* libstdc++-v3/configure: Regenerate.
From-SVN: r47564
Robert Dewar [Mon, 3 Dec 2001 20:38:54 +0000 (20:38 +0000)]
sinfo.ads: Minor reformatting.
* sinfo.ads: Minor reformatting. N_Freeze_Entity node does not
have Associated_Node.
From-SVN: r47563
Robert Dewar [Mon, 3 Dec 2001 20:25:50 +0000 (20:25 +0000)]
prj-proc.adb: Minor reformatting
* prj-proc.adb: Minor reformatting
* make.adb: Minor reformatting
From-SVN: r47562
Geert Bosch [Mon, 3 Dec 2001 19:58:23 +0000 (20:58 +0100)]
* make.adb: Minor reformatting.
From-SVN: r47561
Robert Dewar [Mon, 3 Dec 2001 19:25:42 +0000 (20:25 +0100)]
* sem_ch12.adb: Minor reformatting
From-SVN: r47560
Ed Schonberg [Mon, 3 Dec 2001 19:21:33 +0000 (19:21 +0000)]
sem_ch12.adb (Inline_Instance_Body): Use Save_Scope_Stack and push Standard on the stack before analyzing the...
2001-12-03 Ed Schonberg <schonber@gnat.com>
* sem_ch12.adb (Inline_Instance_Body): Use Save_Scope_Stack and
push Standard on the stack before analyzing the instance body,
in order to have a clean visibility environment.
* sem_ch12.adb (Inline_Instance_Body): Remove redundant code.
From-SVN: r47559
Neil Booth [Mon, 3 Dec 2001 19:15:19 +0000 (19:15 +0000)]
c-decl.c (grokdeclarator): Use ISO word.
* c-decl.c (grokdeclarator): Use ISO word.
* cppinit.c: Remove leading capital from diagnostic messages, as
per GNU coding standards.
* diagnostic.c: Similarly.
* emit-rtl.c: Similarly.
* final.c: Similarly.
* gcc.c: Similarly.
* tradcpp.c: Similarly.
* config/arm/arm.c: Similarly.
* config/arm/arm.h: Similarly.
* config/avr/avr.c: Similarly.
* config/avr/avr.h: Similarly.
* config/c4x/c4x.c: Similarly.
* config/cris/cris.c: Similarly.
* config/cris/cris.h: Similarly.
* config/d30v/d30v.c: Similarly.
* config/dsp16xx/dsp16xx.c: Similarly.
* config/dsp16xx/dsp16xx.h: Similarly.
* config/h8300/h8300.c: Similarly.
* config/i386/i386.c: Similarly.
* config/i386/xm-djgpp.h: Similarly.
* config/i960/i960.h: Similarly.
* config/m32r/m32r.c: Similarly.
* config/m68hc11/m68hc11.c: Similarly.
* config/m88k/m88k.c: Similarly.
* config/m88k/m88k.h: Similarly.
* config/mcore/mcore.c: Similarly.
* config/mcore/mcore.h: Similarly.
* config/mips/mips.c: Similarly.
* config/mmix/mmix.c: Similarly.
* config/pa/pa.c: Similarly.
* config/rs6000/rs6000.c: Similarly.
* config/rs6000/sysv4.h: Similarly.
* config/s390/s390.c: Similarly.
* config/sparc/sparc.c: Similarly.
* config/v850/v850-c.c: Similarly.
* config/v850/v850.c: Similarly.
ch:
* actions.c: Remove leading capital from diagnostic messages, as
per GNU coding standards.
* decl.c: Similarly.
* expr.c: Similarly.
* inout.c: Similarly.
* lang.c: Similarly.
* loop.c: Similarly.
* nloop.c: Similarly.
* parse.c: Similarly.
* satisfy.c: Similarly.
* tasking.c: Similarly.
* tree.c: Similarly.
* typeck.c: Similarly.
cp:
* typeck2.c: Remove leading capital from diagnostic messages, as
per GNU coding standards.
f:
* com.c: Remove leading capital from diagnostic messages, as
per GNU coding standards.
* g77spec.c: Similarly.
* lex.c: Similarly.
java:
* expr.c: Remove leading capital from diagnostic messages, as
per GNU coding standards.
* jcf-io.c: Similarly.
* jcf-parse.c: Similarly.
* jv-scan.c: Similarly.
* jvspec.c: Similarly.
* mangle.c: Similarly.
From-SVN: r47558
Loren J. Rittle [Mon, 3 Dec 2001 19:11:01 +0000 (19:11 +0000)]
howto.html: Update commentary.
* docs/html/ext/howto.html: Update commentary.
* include/bits/c++config: Update threading configuration comment.
(__STL_GTHREADS): Remove macro definition.
(__STL_THREADS): Likewise.
* include/bits/stl_threads.h: Leave only the configuration
path which had been guarded by __STL_GTHREADS. Remove all
guards related to __STL_GTHREADS, __STL_SGI_THREADS,
__STL_PTHREADS, __STL_UITHREADS and __STL_WIN32THREADS.
* include/bits/stl_alloc.h: Leave only the configuration path
which had been guarded by __STL_THREADS. Remove configuration
path and guards for __STL_SGI_THREADS.
(__NODE_ALLOCATOR_THREADS): Remove macro definition. Unroll its use.
(__NODE_ALLOCATOR_LOCK): Likewise.
(__NODE_ALLOCATOR_UNLOCK): Likewise.
(_NOTHREADS): Remove guards related to macro.
* include/ext/stl_rope.h: Remove configuration path and guards
for __STL_SGI_THREADS.
* src/stl-inst.cc: Remove use of __NODE_ALLOCATOR_THREADS.
From-SVN: r47557
Ed Schonberg [Mon, 3 Dec 2001 19:06:53 +0000 (19:06 +0000)]
sem_ch12.adb (Instantiate_Package_Body): Protect against double instantiation of a body that contains an inlined body.
* sem_ch12.adb (Instantiate_Package_Body): Protect against double
instantiation of a body that contains an inlined body.
From-SVN: r47556
Ed Schonberg [Mon, 3 Dec 2001 18:56:11 +0000 (18:56 +0000)]
* sem_ch12.adb:
(Analyze_generic_subprogram_Declaration): Set outer_generic_scope,
to prevent freezing within formal packages.
(Freeze_Subprogram_Body): If body comes from another instance that
appeared before its own body, place freeze node at end of current
declarative part, to prevent a back-end crash.
(Inline_Instance_Body): Handle properly a package instance within
a subprogram instance that is a child unit.
From-SVN: r47555
Zack Weinberg [Mon, 3 Dec 2001 18:47:44 +0000 (18:47 +0000)]
rs6000.h (RETURN_IN_MEMORY): Cast result of int_size_in_bytes to unsigned HOST_WIDEST_INT so that -1 > 8.
* rs6000.h (RETURN_IN_MEMORY): Cast result of
int_size_in_bytes to unsigned HOST_WIDEST_INT so that -1 > 8.
From-SVN: r47554
Jeff Law [Mon, 3 Dec 2001 16:16:35 +0000 (09:16 -0700)]
mn10200.md (negsf2): Use -0x8000 instead of 0x8000 for bit twiddling constant.
* mn10200.md (negsf2): Use -0x8000 instead of 0x8000 for
bit twiddling constant.
From-SVN: r47552
Jan Hubicka [Mon, 3 Dec 2001 15:22:47 +0000 (16:22 +0100)]
gcse.c (delete_null_pointer_checks_1): Do not use delelete_list; call purge_dead_edges after removing.
* gcse.c (delete_null_pointer_checks_1): Do not use delelete_list;
call purge_dead_edges after removing.
(delete_null_pointer_checks): Do not handle delete_list.
* cfgbuild.c (inside_basic_block_p, control_flow_insn_p): Break out from ...
(count_basic_blocks): ... here.
(find_basic_blocks, find_bb_boundaries): Cleanup.
* stor-layout.c (fixup_signed_type, fixup_unsigned_type): Avoid
overflow for types greater then 2 * HOST_WIDE_INT.
* reload.c (find_reloads): Update the duplicates after swapingg.
From-SVN: r47551
Jakub Jelinek [Mon, 3 Dec 2001 14:23:01 +0000 (15:23 +0100)]
* gcc.dg/
20011130-1.c: New test.
From-SVN: r47550
Jan Hubicka [Mon, 3 Dec 2001 12:54:59 +0000 (13:54 +0100)]
* i386.md (movabsqi*): Use 'b' prefix instead of 'q'.
From-SVN: r47548
Mumit Khan [Mon, 3 Dec 2001 12:50:36 +0000 (12:50 +0000)]
re PR c++/3394 (ICE in tree_low_cst, at tree.c:3462)
2001-12-03 Mumit Khan <khan@nanotech.wisc.edu>
PR c++/3394
* decl.c (xref_basetypes): Handle attributes between
'class' and name.
From-SVN: r47547
Nathan Sidwell [Mon, 3 Dec 2001 12:39:49 +0000 (12:39 +0000)]
re PR c++/3381 (explicit template instantations fail with absolutely qualified names)
cp:
PR g++/3381
* parse.y (named_complex_class_head_sans_basetype): Add new
reduction.
* Make-lang.in (parse.c): Adjust expected conflict count.
testsuite:
* g++.dg/other/scope1.C: New test.
* g++.dg/template/explicit-instantiation.C: Remove XFAIL
From-SVN: r47546
GCC Administrator [Mon, 3 Dec 2001 08:17:03 +0000 (08:17 +0000)]
Daily bump.
From-SVN: r47545
Jason Merrill [Mon, 3 Dec 2001 02:43:18 +0000 (21:43 -0500)]
class.c (finish_vtbls): Fill in BINFO_VPTR_FIELD in the immediate binfos for our virtual bases.
* class.c (finish_vtbls): Fill in BINFO_VPTR_FIELD in the
immediate binfos for our virtual bases.
From-SVN: r47543
Zack Weinberg [Mon, 3 Dec 2001 00:49:41 +0000 (00:49 +0000)]
rs6000.h (MASK_ALTIVEC_ABI, [...]): Delete.
* config/rs6000/rs6000.h (MASK_ALTIVEC_ABI,
MASK_LONG_DOUBLE_128): Delete.
(MASK_AIX_STRUCT_RET, MASK_AIX_STRUCT_RET_SET,
TARGET_AIX_STRUCT_RET): New flags.
(TARGET_SWITCHES): Remove entries for -mlong-double-128 and
-mlong-double-64. Add entries for -m(no-)aix-struct-return
and -m(no-)svr4-struct-return.
(TARGET_OPTIONS): Add entry for -mlong-double-.
(rs6000_long_double_size_string, rs6000_long_double_type_size,
rs6000_altivec_abi): Declare.
(TARGET_LONG_DOUBLE_128, TARGET_ALTIVEC_ABI,
LONG_DOUBLE_TYPE_SIZE): Change definitions to match.
(RETURN_IN_MEMORY): If !TARGET_AIX_STRUCT_RET, return
structures of size <= 8 bytes in registers.
(PRINT_OPERAND_PUNCT_VALID_P): Take out '$' and '*'.
* config/rs6000/rs6000.c (rs6000_long_double_size_string,
rs6000_long_double_type_size, rs6000_altivec_abi): New
globals.
(rs6000_override_options): Set rs6000_long_double_type_size
from rs6000_long_double_size_string, if nonzero. Set the
MASK_AIX_STRUCT_RET bit in target_flags from DEFAULT_ABI, if
not already set.
(rs6000_parse_abi_options): Set rs6000_altivec_abi, not a
target_flags bit.
(rs6000_init_builtins): This hook now takes no arguments.
* config/rs6000/netbsd.h, config/rs6000/linux.h: Define
DRAFT_V4_STRUCT_RET to 1.
From-SVN: r47541
Phil Edwards [Mon, 3 Dec 2001 00:33:57 +0000 (00:33 +0000)]
howto.html: Update list of implemented DRs.
2001-12-02 Phil Edwards <pme@gcc.gnu.org>
* docs/html/ext/howto.html: Update list of implemented DRs.
* docs/html/ext/lwg-active.html: Import R20 from upstream.
* docs/html/ext/lwg-defects.html: Import R20 from upstream.
From-SVN: r47540
Joseph Myers [Mon, 3 Dec 2001 00:09:34 +0000 (00:09 +0000)]
c-typeck.c (really_start_incremental_init, [...]): Avoid constructor_max_index being other than an INTEGER_CST.
* c-typeck.c (really_start_incremental_init, push_init_level):
Avoid constructor_max_index being other than an INTEGER_CST.
testsuite:
* gcc.dg/vla-init-1.c: New test.
From-SVN: r47539
David Edelsohn [Sun, 2 Dec 2001 22:54:52 +0000 (17:54 -0500)]
xcoff.h (ASM_OUTPUT_INTERNAL_LABEL): Display count unsigned.
* config/rs6000/xcoff.h (ASM_OUTPUT_INTERNAL_LABEL): Display count
unsigned.
(ASM_GENERATE_INTERNAL_LABEL): Same.
(UNIQUE_SECTION): Fix typo.
From-SVN: r47538
Richard Kenner [Sun, 2 Dec 2001 22:19:02 +0000 (17:19 -0500)]
Fix copyright noticed.
From-SVN: r47537
Ben Elliston [Sun, 2 Dec 2001 21:14:23 +0000 (21:14 +0000)]
* MAINTAINERS: Update mail address for config.* patches.
From-SVN: r47536
Richard Henderson [Sun, 2 Dec 2001 19:18:22 +0000 (11:18 -0800)]
* c-decl.c (duplicate_decls): Conditionalize DECL_SAVED_TREE copy.
From-SVN: r47535
Richard Henderson [Sun, 2 Dec 2001 19:04:23 +0000 (11:04 -0800)]
rtl.h (mem_attrs): Rename decl to expr; adjust all users.
* rtl.h (mem_attrs): Rename decl to expr; adjust all users.
(MEM_EXPR): Rename from MEM_DECL; adjust all users.
* emit-rtl.c (set_mem_expr): Rename from set_mem_decl.
* expr.h, final.c, reload1.c: Adjust users.
* alias.c (nonoverlapping_component_refs_p): New.
(decl_for_component_ref, adjust_offset_for_component_ref): New.
(nonoverlapping_memrefs_p): Use them.
* emit-rtl.c (component_ref_for_mem_expr): New.
(set_mem_attributes): Use it.
(set_mem_offset): New.
* expr.c (expand_assignment): Call set_mem_attributes for
inner references; adjust the memory offset as needed.
* print-rtl.c (print_mem_expr): New.
(print_rtx): Use it.
From-SVN: r47534
Douglas B Rupp [Sun, 2 Dec 2001 14:47:45 +0000 (09:47 -0500)]
* config/x-interix3 (SYSTEM_HEADER_DIR): Put back default.
From-SVN: r47533
Douglas B Rupp [Sun, 2 Dec 2001 14:38:07 +0000 (09:38 -0500)]
vms.h (VMS_DEBUGGING_INFO): New macro.
* config/alpha/vms.h (VMS_DEBUGGING_INFO): New macro.
(PREFERRED_DEBUGGING_TYPE): Define as VMS_AND_DWARF2_DEBUG.
(ASM_SPEC): Don't redefine.
(OPTIMIZATION_OPTIONS, OVERRIDE_OPTIONS, LINK_SPEC): Define.
* config/alpha/t-vms (EXTRA_PARTS): Use; add rule for vms-dwarf2.asm.
* config/alpha/vms-dwarf2.asm: New file.
* Makefile.in (OBJS): Add vmsdbgout.c and its rule.
* c-lex.c (init_c_lex): Test for VMS_AND_DWARF2_DEBUG.
* debug.h (gcc_debug_hooks): Add vmsdbg_debug_hooks.
(vmsdbgout_after_prologue): New declaration.
* defaults.h (VMS_DEBUGGING_INFO): Add to PREFERRED_DEBUGGING_TYPE.
* dwarf2.h (dwarf_attribute): New DW_AT_VMS_rtnbeg_pd_address.
* dwarf2out.c (dwarf2out_do_frame): Test for VMS_AND_DWARF2_DEBUG.
(dwarf2out_frame_finish): Test for VMS_AND_DWARF2_DEBUG.
(dwarf_attr_name): Use DW_AT_VMS_rtnbeg_pd_address.
(add_name_and_src_coords_attributes): Test VMS_DEBUGGING_INFO
* final.c (final_start_function): Test for VMS_AND_DWARF2_DEBUG.
Test VMS_DEBUGGING_INFO.
(final_end_function): Test for VMS_AND_DWARF2_DEBUG.
(final_scan_insn): Test for VMS_AND_DWARF2_DEBUG and VMS_DEBUG.
* flags.h (debug_info_type): Add VMS_DEBUG and VMS_AND_DWARF2_DEBUG.
* toplev.c (compile_file): Test VMS_DEBUGGING_INFO, VMS_DEBUG, and
VMS_AND_DWARF2_DEBUG.
(rest_of_type_compilation): Test for VMS_AND_DWARF2_DEBUG.
(decode_g_option): Add "vms" to debug_type_names.
(process_options): Set vmsdbg_debug_hooks if -gvms.
(lang_independent_init): Emit line number for VMS unless -g0.
* tree.c: (build_complex_type): Test for VMS_AND_DWARF2_DEBUG.
* vmsdbg.h, vmsdbgout.c: New files.
From-SVN: r47532
Toon Moene [Sun, 2 Dec 2001 14:19:02 +0000 (14:19 +0000)]
2001-12-02 Toon Moene <toon@moene.indiv.nluug.nl>
* Fix typos in ChangeLog.
From-SVN: r47531
Richard Kenner [Sun, 2 Dec 2001 14:09:59 +0000 (14:09 +0000)]
* cfgbuild.c (SET_STATE): Add cast to eliminate warning.a
From-SVN: r47530
Toon Moene [Sun, 2 Dec 2001 14:00:56 +0000 (15:00 +0100)]
re PR fortran/4885 (BACKSPACE example that doesn't work as of gcc/g77-3.0.x)
2001-01-02 Toon Moene <toon@moene.indiv.nluug.nl>
PR fortran/4885
* endfile.c (t_runc): After ftruncate. seek to end-of-file.
From-SVN: r47529
Kaveh R. Ghazi [Sun, 2 Dec 2001 13:43:10 +0000 (13:43 +0000)]
cfgrtl.c (purge_all_dead_edges): Initialize variable.
* cfgrtl.c (purge_all_dead_edges): Initialize variable.
* dwarf2out.c (is_cxx): Prototype.
* local-alloc.c (block_alloc): Avoid 'unsigned>=0 is always true'
warning.
* objc/objc-act.c (defer_fn): Avoid signed/unsigned warning.
From-SVN: r47528
Richard Kenner [Sun, 2 Dec 2001 12:19:01 +0000 (12:19 +0000)]
* libgcc2.c (__bb_exit_func): Fix line wrap problems.
From-SVN: r47527
Bryce McKinlay [Sun, 2 Dec 2001 11:05:57 +0000 (11:05 +0000)]
Fix ChangeLog entry.
From-SVN: r47526
Tang Ching-Hui [Sun, 2 Dec 2001 10:44:54 +0000 (18:44 +0800)]
re PR java/3096 (GCJ does not increment)
2001-12-02 Tang Ching-Hui <nicholas@cs.nthu.edu.tw>
Alexandre Petit-Bianco <apbianco@redhat.com>
* expr.c: call save_expr on array for correct evaluation order,
modified comment, fixed indentation.
* parse.y: (patch_assignment): Correctly extract the array base
from the tree generate by build_java_arrayaccess, added comments.
(patch_array_ref): Remove SAVE_EXPR on ARRAY_REF.
Fixes PR java/3096, PR java/3803, PR java/3965.
Co-Authored-By: Alexandre Petit-Bianco <apbianco@redhat.com>
From-SVN: r47525
Geoffrey Keating [Sun, 2 Dec 2001 08:29:23 +0000 (08:29 +0000)]
In gcc/:
* config/rs6000/rs6000.h (SLOW_UNALIGNED_ACCESS): Simplify.
* config/rs6000/rs6000.c (rs6000_emit_move): Use adjust_address
rather than simplify_subreg. Check for volatile-ness. Check that
we're not splitting one slow operation into two slow operations.
In gcc/testsuite/:
* gcc.c-torture/compile/structs.c: New testcase from GDB.
From-SVN: r47524
GCC Administrator [Sun, 2 Dec 2001 08:16:12 +0000 (08:16 +0000)]
Daily bump.
From-SVN: r47522
David Edelsohn [Sun, 2 Dec 2001 06:06:18 +0000 (01:06 -0500)]
emit-rtl.c (gen_lowpart_common): Cast array element to HOST_WIDE_INT before shifting.
* emit-rtl.c (gen_lowpart_common): Cast array element to HOST_WIDE_INT
before shifting.
From-SVN: r47521
Bryce McKinlay [Sun, 2 Dec 2001 04:29:16 +0000 (04:29 +0000)]
Makefile.am (nat_files, [...]): Make sure the dependencies don't get deleted if compilation fails.
* Makefile.am (nat_files, x_nat_files): Make sure the dependencies
don't get deleted if compilation fails.
* Makefile.in: Rebuilt.
From-SVN: r47520
Neil Booth [Sun, 2 Dec 2001 00:10:14 +0000 (00:10 +0000)]
* objc-act.c: Partially reverse mistaken commit.
From-SVN: r47519
Neil Booth [Sun, 2 Dec 2001 00:04:36 +0000 (00:04 +0000)]
c-decl.c (duplicate_decls, [...]): Remove leading capital from diagnostics.
* c-decl.c (duplicate_decls, push_parm_decl): Remove leading
capital from diagnostics.
* c-lex.c (cb_file_change): Similarly.
* c-parse.in : Similarly.
* cfgrtl.c (verify_flow_info): Similarly.
* collect2.c: Similarly.
* cppfiles.c (find_include_file): Similarly.
* cppinit.c (cpp_handle_option): Similarly.
* cpplex.c (cpp_spell_token): Similarly.
* cppmain.c (do_preprocessing): Similarly.
* gcc.c (translate_options, process_command, do_spec1,
main, pfatal_execute): Similarly.
* genattr.c (main): Similarly.
* genattrtab.c (check_attr_test, operate_exp, simplify_test_exp,
write_test_expr, main): Similarly.
* gencodes.c (main): Similarly.
* genconfig.c (main): Similarly.
* genconstants.c (main): Similarly.
* genemit.c (main): Similarly.
* genextract.c (main): Similarly.
* genflags.c (main): Similarly.
* genopinit.c (main): Similarly.
* genoutput.c (process_template, main): Similarly.
* genpeep.c (main): Similarly.
* genrecog.c (main): Similarly.
* gensupport.c (is_predicable, identify_predicable_attribute,
alter_predicate_for_insn, init_md_reader_args, main): Similarly.
* ggc-page.c (alloc_anon): Similarly.
* mips-tfile.c (add_string, add_procedure, add_file, read_line,
parse_begin, parse_bend, parse_def, parse_end, parse_file,
parse_stabs_common, parse_stabs, write_varray, write_object,
read_seek, copy_object, main, error): Similarly.
* profile.c (compute_branch_probabilities): Similarly.
* reg-stack.c (check_asm_stack_operands): Similarly.
* reload.c (find_reloads): Similarly.
* reload1.c (spill_failure, failed_reload): Similarly.
* rtl-error.c (_fatal_insn_not_found): Similarly.
* toplev.c (read_integral_parameter, crash_signal,
decode_f_option, set_target_switch, parse_options_and_default_flags)
: Similarly.
* tradcif.y (parse_number, yylex): Similarly.
* tradcpp.c (main, fancy_abort): Similarly.
* tree.c (tree_check_failed): Similarly.
* varray.c (varray_check_failed): Similarly.
* xcoffout.c (xcoff_output_standard_types): Similarly.
cp:
* call.c (build_java_interface_fn_ref): Similarly.
* except.c (is_admissible_throw_operand): Similarly.
* init.c (build_java_class_ref): Similarly.
* xref.c (open_xref_file): Similarly.
objc:
* objc-act.c (get_object_ref, lookup_and_install_protocols,
build_objc_string_object, objc_declare_alias, build_ivar_chain,
finish_message_expr, build_protocol_expr, is_public,
start_class): Similarly.
testsuite:
* objc.dg/alias.m: Update.
* objc.dg/class-1.m: Update.
* objc.dg/const-str-1.m: Update.
* objc.dg/fwd-proto-1.m: Update.
* objc.dg/id-1.m: Update.
* objc.dg/super-class-1.m: Update.
From-SVN: r47518
Neil Booth [Sat, 1 Dec 2001 18:42:49 +0000 (18:42 +0000)]
c-decl.c (duplicate_decls, [...]): Remove trailing period from diagnostics.
* c-decl.c (duplicate_decls, parmlist_tags_warning): Remove
trailing period from diagnostics.
* c-lex.c (cb_file_change): Similarly.
* cppmacro.c (check_trad_stringification): Similarly.
* gcc.c (do_spec_1): Similarly.
* genattr.c (main): Similarly.
* genattrtab.c (main, operate_exp, make_length_attrs): Similarly.
* gencodes.c (main): Similarly.
* genconfig.c (main): Similarly.
* genconstants.c (main): Similarly.
* genemit.c (main): Similarly.
* genextract.c (main): Similarly.
* genopinit.c (main): Similarly.
* genoutput.c (main): Similarly.
* genpeep.c (main): Similarly.
* genrecog.c (main): Similarly.
* mips-tfile.c (add_file, error): Similarly.
* profile.c (init_branch_prob): Similarly.
* reload1.c (spill_failure): Similarly.
* stmt.c (parse_output_constraint): Similarly.
* varasm.c (assemble_variable): Similarly.
cp:
* class.c (finish_struct): Similarly.
* decl.c (check_tag_decl): Similarly.
* lex.c (cxx_set_yydebug): Similarly.
* typeck2.c (friendly_abort): Similarly.
java:
* expr.c (expand_byte_code): Similarly.
* jcf-parse.c (load_class, jcf_parse): Similarly.
* jcf-write.c (generate_classfile): Similarly.
* lex.c (java_lex): Similarly.
From-SVN: r47517
Kaveh R. Ghazi [Sat, 1 Dec 2001 17:40:43 +0000 (17:40 +0000)]
m68k.c (init_FPA_table): Provide static prototype.
* m68k.c (init_FPA_table): Provide static prototype.
* mips/abi64.h (mips_function_value): Move prototype to ...
* mips-protos.h (mips_function_value): ... here.
* mips.c: Include halfpic.h.
* output.h (rdata_section): Prototype.
From-SVN: r47516
Kaveh R. Ghazi [Sat, 1 Dec 2001 17:27:11 +0000 (17:27 +0000)]
h8300.c (h8300_asm_named_section): Wrap with !OBJECT_FORMAT_ELF.
* h8300.c (h8300_asm_named_section): Wrap with !OBJECT_FORMAT_ELF.
* m88k.c (m88k_svr3_asm_out_constructor,
m88k_svr3_asm_out_destructor): Wrap with CTOR_LIST_BEGIN &&
!OBJECT_FORMAT_ELF.
* mcore.c (mcore_asm_named_section): Wrap with OBJECT_FORMAT_ELF.
* sh.c (sh_asm_named_section): Wrap with !OBJECT_FORMAT_ELF.
* sparc.c (sparc_elf_asm_named_section): Wrap with OBJECT_FORMAT_ELF.
From-SVN: r47515
Geoffrey Keating [Sat, 1 Dec 2001 17:04:18 +0000 (17:04 +0000)]
rs6000.h (LEGITIMATE_LO_SUM_ADDRESS_P): Complex LO_SUM addresses less than word size are not legitimate...
* config/rs6000/rs6000.h (LEGITIMATE_LO_SUM_ADDRESS_P): Complex
LO_SUM addresses less than word size are not legitimate,
because they lead to invalid SUBREGs.
* config/rs6000/rs6000.c (rs6000_legitimize_address): Likewise.
From-SVN: r47514
Olivier Hainque [Sat, 1 Dec 2001 12:04:16 +0000 (13:04 +0100)]
unroll.c (loop_iterations): Give up on jumps with null JUMP_LABEL while scanning for multiple back edges.
2001-12-01 Olivier Hainque <hainque@act-europe.fr>
* unroll.c (loop_iterations): Give up on jumps with null JUMP_LABEL
while scanning for multiple back edges.
From-SVN: r47510
Franz Sirl [Sat, 1 Dec 2001 08:34:13 +0000 (08:34 +0000)]
ppc-asm.h (JUMP_TARGET): New macro.
2001-12-01 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* ginclude/ppc-asm.h (JUMP_TARGET): New macro.
* config/rs6000/tramp.asm: Use it.
From-SVN: r47509
GCC Administrator [Sat, 1 Dec 2001 08:17:49 +0000 (08:17 +0000)]
Daily bump.
From-SVN: r47507
Zack Weinberg [Sat, 1 Dec 2001 08:16:25 +0000 (08:16 +0000)]
gencheck.c, [...]: Don't define xmalloc.
* gencheck.c, gengenrtl.c: Don't define xmalloc.
* gensupport.c: Don't define xstrdup, xcalloc, xrealloc,
xmalloc.
* f/fini.c: Use xmalloc.
From-SVN: r47506
Benjamin Kosnik [Sat, 1 Dec 2001 04:56:03 +0000 (04:56 +0000)]
exception (bad_exception::~bad_exception()): Remove declaration.
2001-11-30 Benjamin Kosnik <bkoz@redhat.com>
libstdc++/3150
DR/266
* libsupc++/exception (bad_exception::~bad_exception()): Remove
declaration.
* libsupc++/new (bad_alloc::~bad_alloc()): Remove.
* libsupc++/typeinfo (bad_cast::~bad_cast()): Remove.
(bad_typeid::~bad_typeid()): Remove.
* libsupc++/tinfo.cc (bad_cast::~bad_cast()): Remove definition.
(bad_typeid::~bad_typeid()): Same.
* libsupc++/new_handler.cc (bad_alloc::~bad_alloc()): Same.
* libsupc++/eh_exception.cc (bad_exception::~bad_exception()): Same.
* include/bits/std_iomanip.h: Tweak.
From-SVN: r47505
John David Anglin [Sat, 1 Dec 2001 02:19:02 +0000 (02:19 +0000)]
* pa.c (output_ascii): Cast `p' to unsigned char.
From-SVN: r47504
Graham Stott [Sat, 1 Dec 2001 02:11:25 +0000 (02:11 +0000)]
Makefile.in (misc.o): Add missing $(srcdir) prefix and add optabs.h dependency.
2001-12-01 Graham Stott <grahams@redhat.com>
* Makefile.in (misc.o): Add missing $(srcdir) prefix
and add optabs.h dependency.
* misc.c: Include optabs.h
(gnat_tree_code_type): Make static and const.
(gnat_tree_code_length): Likewise.
(gnat_tree_code_name): Likewise.
(update_setjmp_buf): Obtain operands mode from insn_data.
From-SVN: r47503
Daniel Berlin [Sat, 1 Dec 2001 01:59:02 +0000 (01:59 +0000)]
rs6000.c (altivec_expand_builtin): add ALTIVEC_BUILTIN_LD_INTERNAL_4sf and ALTIVEC_BUILTIN_ST_INTERNAL_4sf...
2001-11-30 Daniel Berlin <dan@cgsoftware.com>
* config/rs6000/rs6000.c (altivec_expand_builtin): add
ALTIVEC_BUILTIN_LD_INTERNAL_4sf and ALTIVEC_BUILTIN_ST_INTERNAL_4sf,
*_16qi,_8hi, rename existing V4SI ones to *_4si.
(altivec_init_builtins): Ditto.
(bdesc_2arg): Rename CODE_FOR_* to match changes in MD file.
* config/rs6000/rs6000.md: Add attribute types vecsimple,
veccomplex, vecfloat, and vecperm, for altivec instructions.
Modify altivec patterns to use approriate attribute type.
Modify altivec patterns to match RTL operations where approriate
(IE no unspec where we can avoid it).
Add vector unit scheduling for ppc7450.
Rename patterns to what they are where approriate
(altivec_vaddfp->addv4sf3, etc)
* config/rs6000/rs6000.h (enum rs6000_builtins): Change VRS->VSR.
Pass -mppc, and define _ARCH_PPC, if -mcpu=7450 is used.
* config/rs6000/sysv4.h: Add -mcpu=7450.
* testsuite/gcc.dg/altivec-1.c: Update test to take into account renamed
_builtin_altivec_ld_interal function.
From-SVN: r47502
Kaveh R. Ghazi [Sat, 1 Dec 2001 01:57:31 +0000 (01:57 +0000)]
configure.in (AC_CHECK_FUNCS): Delete strtoul, bsearch, popen, strchr, strrchr, isascii, gettimeofday.
* configure.in (AC_CHECK_FUNCS): Delete strtoul, bsearch, popen,
strchr, strrchr, isascii, gettimeofday.
* config.in, configure: Regenerate.
f:
* Make-lang.in: Delete references to proj.[co], proj-h.[co].
* proj.c: Delete file.
From-SVN: r47501
Zoltan Hidvegi [Fri, 30 Nov 2001 23:27:52 +0000 (23:27 +0000)]
* unroll.c (unroll_loop): Correct special exit cases.
From-SVN: r47499
Stephane Carrez [Fri, 30 Nov 2001 22:47:54 +0000 (22:47 +0000)]
sparc.c (DF_MODES_NO_S): Fix pr/3623, define to accept DFmode and DImode only.
* config/sparc/sparc.c (DF_MODES_NO_S): Fix pr/3623, define to
accept DFmode and DImode only.
From-SVN: r47497
Aldy Hernandez [Fri, 30 Nov 2001 22:22:24 +0000 (22:22 +0000)]
rs6000.h (STARTING_FRAME_OFFSET): Adjust for altivec.
2001-11-30 Aldy Hernandez <aldyh@redhat.com>
* rs6000.h (STARTING_FRAME_OFFSET): Adjust for altivec.
(STACK_DYNAMIC_OFFSET): Same.
From-SVN: r47495
Richard Henderson [Fri, 30 Nov 2001 21:53:44 +0000 (13:53 -0800)]
* c-decl.c (duplicate_decls): Copy DECL_SAVED_TREE.
From-SVN: r47494
Aldy Hernandez [Fri, 30 Nov 2001 21:21:32 +0000 (21:21 +0000)]
rs6000.h (CALL_REALLY_USED_REGISTERS): New.
2001-11-30 Aldy Hernandez <aldyh@redhat.com>
* rs6000.h (CALL_REALLY_USED_REGISTERS): New.
(CONDITIONAL_REGISTER_USAGE): Set call_really_used_registers to
the values in call_used_registers.
From-SVN: r47493
Jeffrey A Law [Fri, 30 Nov 2001 19:47:11 +0000 (19:47 +0000)]
gthr-dce.h: If _DCE_THREADS is not defined, then just include gthr-single.
* gthr-dce.h: If _DCE_THREADS is not defined, then just include
gthr-single.
From-SVN: r47490
Jason Merrill [Fri, 30 Nov 2001 14:00:25 +0000 (09:00 -0500)]
dwarf2out.c (is_cxx): New fn.
* dwarf2out.c (is_cxx): New fn.
(add_data_member_location_attribute): Check it.
* dbxout.c (dbxout_type): Only look at BINFO_VPTR_FIELD for C++.
From-SVN: r47483
Richard Kenner [Fri, 30 Nov 2001 13:34:12 +0000 (13:34 +0000)]
* dwarf2asm.c (dw2_asm_output_encoded_addr_rtx): Handle const1_rtx.
From-SVN: r47482
Bryce McKinlay [Fri, 30 Nov 2001 09:55:06 +0000 (09:55 +0000)]
* class.c (add_interface_do): Set BINFO_VPTR_FIELD.
From-SVN: r47480
GCC Administrator [Fri, 30 Nov 2001 08:16:49 +0000 (08:16 +0000)]
Daily bump.
From-SVN: r47479
Daniel Berlin [Fri, 30 Nov 2001 05:13:17 +0000 (05:13 +0000)]
genopinit.c (gen_insn): Handle MODE_VECTOR_INT and MODE_VECTOR_FLOAT as allowed.
2001-11-30 Daniel Berlin <dan@cgsoftware.com>
* genopinit.c (gen_insn): Handle MODE_VECTOR_INT and
MODE_VECTOR_FLOAT as allowed.
From-SVN: r47476
Zack Weinberg [Fri, 30 Nov 2001 04:43:05 +0000 (04:43 +0000)]
Purge cruft now we have build libiberty.
* Makefile.in (OBSTACK, VFPRINTF, DOPRINT, STRSTR,
HOST_OBSTACK, HOST_VFPRINTF, HOST_DOPRINT, HOST_STRSTR,
USE_HOST_OBSTACK, USE_HOST_VFPRINTF, USE_HOST_DOPRINT,
USE_HOST_STRSTR): Delete variables.
(vfprintf.o, doprint.o, strstr.o, splay-tree.o, obstack.o,
hashtab.o, safe-ctype.o, $(HOST_PREFIX_1)obstack.o,
$(HOST_PREFIX_1)vfprintf.o, $(HOST_PREFIX_1)doprint.o,
$(HOST_PREFIX_1)strstr.o), $(HOST_PREFIX_1)): Delete rules.
(LIBIBERTY, BUILD_LIBIBERTY): New variables.
(LIBDEPS): Now just $(INTLDEPS) $(LIBIBERTY).
(LIBS): Now just $(INTLLIBS) @LIBS@ $(LIBIBERTY).
(HOST_LIBDEPS): Now just $(BUILD_LIBIBERTY).
(HOST_LIBS): Ditto.
(HOST_RTL): Remove hashtab.o safe-ctype.o.
(OBJS): Remove splay-tree.o.
(gen-protos): Depend on $(HOST_LIBS), not ../libiberty/libiberty.a.
(distclean): No need to delete splay-tree.c obstack.c
hashtab.c safe-ctype.c.
(mostlyclean): Delete build copies of print-rtl.c bitmap.c
errors.c ggc-none.c (all prefixed with $(HOST_PREFIX_1).
* aclocal.m4 (gcc_AC_FUNC_VFPRINTF_DOPRNT, gcc_AC_FUNC_STRSTR):
Delete.
* configure.in: Don't use them.
Set and substitute @FORBUILD@.
* config.in, configure: Regenerate.
* doprint.c: Move to libiberty/_doprnt.c.
* doc/configterms.texi: Document that libiberty is now built
up to three times. Fix typo.
* f/Make-lang.in (f/fini, f/intdoc): Depend on $(HOST_LIBDEPS)
and link with $(HOST_LIBS), not safe-ctype.o.
From-SVN: r47475
Mark Mitchell [Fri, 30 Nov 2001 03:14:56 +0000 (03:14 +0000)]
re PR c++/3048 (Lookup problem (gcc 2.95 regression))
2001-11-29 Mark Mitchell <mark@codesourcery.com>
PR c++/3048
* cp-tree.h (ovl_member): Remove.
* decl2.c (merge_functions): Handle extern "C" functions
specially.
* tree.c (ovl_member): Remove.
From-SVN: r47474
Bryce McKinlay [Fri, 30 Nov 2001 03:05:09 +0000 (03:05 +0000)]
Remove ">>>"
From-SVN: r47472
Bryce McKinlay [Fri, 30 Nov 2001 03:04:01 +0000 (03:04 +0000)]
Makefile.am (nat_headers, [...]): Depend on .class files, not libgcj.jar.
* Makefile.am (nat_headers, x_nat_headers): Depend on .class files, not
libgcj.jar.
(nat_files, x_nat_files): Build native files in subdirectories using
the same dependency options as the java files.
(gnu/gcj/runtime/FirstThread.h): Remove explicit rule and friend
declarations.
* configure.in: Put dependencies for .cc files in deps.mak.
* Makefile.in: Rebuilt.
* configure: Rebuilt.
From-SVN: r47471
Jason Merrill [Fri, 30 Nov 2001 02:38:43 +0000 (21:38 -0500)]
dwarf2out.c (add_data_member_location_attribute): Do the right thing for virtual bases.
* dwarf2out.c (add_data_member_location_attribute): Do the
right thing for virtual bases.
* dbxout.c (dbxout_type): For a virtual base, print the offset
within the vtable.
From-SVN: r47469
Zoltan Hidvegi [Fri, 30 Nov 2001 02:16:31 +0000 (02:16 +0000)]
doloop.c (doloop_valid_p): Check for LTU and GTU as well.
2001-11-29 Zoltan Hidvegi <hzoli@hzoli.2y.net>
* doloop.c (doloop_valid_p): Check for LTU and GTU as well.
From-SVN: r47468
Aldy Hernandez [Fri, 30 Nov 2001 02:04:23 +0000 (02:04 +0000)]
rs6000.c (function_arg): Unnamed vector arguments go in memory.
* rs6000.c (function_arg): Unnamed vector arguments go in memory.
Remove unused attribute for named.
From-SVN: r47466
Kaveh R. Ghazi [Fri, 30 Nov 2001 01:55:24 +0000 (01:55 +0000)]
genattrtab.c (attr_rtx_1): New function containing the majority of `attr_rtx'.
* genattrtab.c (attr_rtx_1): New function containing the
majority of `attr_rtx'. Move variable declarations into the
scope where they are used. Eliminate unnecessary gotos.
(attr_rtx): Now just a wrapper for `attr_rtx_1' using VA_OPEN,
VA_FIXEDARG, and VA_CLOSE.
From-SVN: r47465
Hans-Peter Nilsson [Fri, 30 Nov 2001 00:29:30 +0000 (00:29 +0000)]
* config/cris/cris.h (EXTRA_CONSTRAINT_T): Fix typo in comment.
From-SVN: r47464
Hans-Peter Nilsson [Fri, 30 Nov 2001 00:17:49 +0000 (00:17 +0000)]
cris.c (cris_notice_update_cc): Check first destination also against overlap with cc_status.value2 and second...
* config/cris/cris.c (cris_notice_update_cc): Check first
destination also against overlap with cc_status.value2 and second
destination against overlap with cc_status.value1. For overlaps,
clear overlapped value, don't just CC_STATUS_INIT.
* config/cris/cris.h (EXTRA_CONSTRAINT_T): Fix spacing and FIXME.
(LINK_SPEC): Remove whitespace at end of line.
From-SVN: r47463
Jakub Jelinek [Thu, 29 Nov 2001 22:40:55 +0000 (23:40 +0100)]
* c-lex.c (init_c_lex): Canonicalize "-" filename to "".
From-SVN: r47461
Jakub Jelinek [Thu, 29 Nov 2001 22:39:10 +0000 (23:39 +0100)]
gcc.c (ASM_DEBUG_SPEC): Only check HAVE_AS_G*_DEBUG_FLAG macros for the supported debugging types.
* gcc.c (ASM_DEBUG_SPEC): Only check HAVE_AS_G*_DEBUG_FLAG
macros for the supported debugging types.
From-SVN: r47460
Paolo Carlini [Thu, 29 Nov 2001 22:31:02 +0000 (23:31 +0100)]
locale_facets.tcc (__pad): Add bool parameter to correctly pad internal-adjusted const char*-type objects.
2001-11-29 Paolo Carlini <pcarlini@unitus.it>
libstdc++/3655
* include/bits/locale_facets.tcc (__pad): Add bool parameter to
correctly pad internal-adjusted const char*-type objects.
* include/bits/locale_facts.tcc (num_put::_M_insert): Update call.
* include/bits/ostream.tcc (operator<<(_CharT , char, const
_CharT*, const char*, const basic_string&): Update calls.
* src/locale-inst.tcc: Update declarations.
* testsuite/27_io/ostream_inserter_arith.cc (test04): Add test.
From-SVN: r47459
Mark Mitchell [Thu, 29 Nov 2001 22:01:58 +0000 (22:01 +0000)]
re PR c++/4842 (-Woverloaded-virtual does not work)
PR c++/4842
* class.c (get_basefndecls): Take an IDENTIFIER_NODE, not a
FUNCTION_DECL, as input.
(mark_overriders): Remove.
(warn_hidden): Rework for the new ABI.
From-SVN: r47458
Mark Mitchell [Thu, 29 Nov 2001 21:44:57 +0000 (21:44 +0000)]
re PR c++/3471 (gcc 3.01 reports error about a private copy constructor that shouldn't get called.)
PR c++/3471
* call.c (convert_like_real): Do not build additional temporaries
for rvalues of class type.
From-SVN: r47455
Craig Rodrigues [Thu, 29 Nov 2001 21:39:41 +0000 (21:39 +0000)]
re PR other/4932 (the i386 backend crashes on incorrect asm("... %c0 ..."))
2001-11-29 Craig Rodrigues <rodrigc@gcc.gnu.org>
PR other/4932
* config/i386/i386.c (print_operand): Verify that the
argument to %c is a constant and not a conditional which
needs to be reversed.
From-SVN: r47453
Phil Edwards [Thu, 29 Nov 2001 21:02:34 +0000 (21:02 +0000)]
howto.html: Finish allocator notes (inst and 3.0).
2001-11-29 Phil Edwards <pme@gcc.gnu.org>
* docs/html/ext/howto.html: Finish allocator notes (inst and 3.0).
From-SVN: r47452
Mark Mitchell [Thu, 29 Nov 2001 20:19:41 +0000 (20:19 +0000)]
re PR c++/3471 (gcc 3.01 reports error about a private copy constructor that shouldn't get called.)
PR c++/3471
* call.c (convert_like_real): Do not build additional temporaries
for rvalues of class type.
From-SVN: r47451
Benjamin Kosnik [Thu, 29 Nov 2001 20:14:38 +0000 (20:14 +0000)]
locale_facets.tcc (num_get::do_get(long double)): Fix __traits_type typo.
2001-11-29 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/locale_facets.tcc (num_get::do_get(long double)):
Fix __traits_type typo.
From-SVN: r47449
Mark Mitchell [Thu, 29 Nov 2001 19:04:47 +0000 (19:04 +0000)]
memtemp100.C: Remove non-standard constructs.
* g++.old-deja/g++.pt/memtemp100.C: Remove non-standard
constructs.
From-SVN: r47448
Geoffrey Keating [Thu, 29 Nov 2001 18:12:37 +0000 (18:12 +0000)]
emit-rtl.c (gen_lowpart_common): Fix conversion of REAL_VALUE_TYPEs to an array of target integers.
* emit-rtl.c (gen_lowpart_common): Fix conversion of
REAL_VALUE_TYPEs to an array of target integers. Fix extraction
of low part of those arrays for 32bit and 64bit hosts.
From-SVN: r47446
Richard Henderson [Thu, 29 Nov 2001 17:53:13 +0000 (09:53 -0800)]
* init.c: Remove obsolete dwarf2 frame.h section.
From-SVN: r47445
Nathan Sidwell [Thu, 29 Nov 2001 17:15:56 +0000 (17:15 +0000)]
cp-tree.h (UNIQUELY_DERIVED_FROM_P): Use lookup base.
cp:
* cp-tree.h (UNIQUELY_DERIVED_FROM_P): Use lookup base.
(ACCESSIBLY_UNIQUELY_DERIVED_FROM_P): Likewise.
(PUBLICLY_UNIQUELY_DERIVED_FROM_P: Likewise.
(DERIVED_FROM_P): Likewise.
(enum base_access): Renumber, add ba_quiet bit mask.
(get_binfo): Remove.
(get_base_distance): Remove.
(binfo_value): Remove.
(ACCESSIBLY_DERIVED_FROM_P): Remove.
* call.c (standard_conversion): Use lookup_base.
* class.c (strictly_overrides): Likewise.
(layout_virtual_bases): Likewise.
(warn_about_ambiguous_direct_bases): Likewise.
(is_base_of_enclosing_class): Likewise.
(add_vcall_offset_vtbl_entries_1): Likewise.
* cvt.c (build_up_reference): Adjust comment.
* init.c (build_member_call): Reformat.
* search.c (get_binfo): Remove.
(get_base_distance_recursive): Remove.
(get_base_distance): Remove.
(lookup_base_r): Tweak.
(lookup_base): Add ba_quiet control. Complete the types here.
(covariant_return_p): Use lookup_base.
* tree.c (binfo_value): Remove.
(maybe_dummy_object): Use lookup_base.
* typeck.c (build_static_cast): Use lookup_base.
(get_delta_difference): Likewise.
* typeck2.c (binfo_or_else): Use lookup_base.
(build_scoped_ref): Add back error_mark_check.
(build_m_component_ref): Use lookup_base.
From-SVN: r47444
Kaveh R. Ghazi [Thu, 29 Nov 2001 17:12:52 +0000 (17:12 +0000)]
* Makefile.in (insn-output.o): Depend on insn-codes.h.
From-SVN: r47443