OSDN Git Service

pf3gnuchains/gcc-fork.git
23 years ago * tm.texi (File Framework): Document UNALIGNED_SHORT_ASM_OP,
rth [Sat, 3 Mar 2001 02:44:19 +0000 (02:44 +0000)]
    * tm.texi (File Framework): Document UNALIGNED_SHORT_ASM_OP,
        UNALIGNED_INT_ASM_OP, and UNALIGNED_DOUBLE_INT_ASM_OP.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40198 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * Makefile.in (OBJS): Add dwarf2asm.o.
rth [Sat, 3 Mar 2001 02:17:07 +0000 (02:17 +0000)]
* Makefile.in (OBJS): Add dwarf2asm.o.
* dwarf2asm.c, dwarf2asm.h: New files.
* dwarf2out.c (*): Use them.
(size_of_uleb128, size_of_sleb128): Remove.
(output_uleb128, output_sleb128): Remove.
(UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP): Remove.
(UNALIGNED_DOUBLE_INT_ASM_OP, ASM_BYTE_OP): Remove.
(UNALIGNED_OFFSET_ASM_OP, UNALIGNED_WORD_ASM_OP): Remove.
(FDE_LABEL, LINE_NUMBER_BEGIN_LABEL, LINE_NUMBER_END_LABEL): New.
(ASM_OUTPUT_DWARF_DATA1, ASM_OUTPUT_DWARF_DELTA1): Remove.
(ASM_OUTPUT_DWARF_DATA2, ASM_OUTPUT_DWARF_DELTA2): Remove.
(ASM_OUTPUT_DWARF_DATA4, ASM_OUTPUT_DWARF_DELTA4): Remove.
(ASM_OUTPUT_DWARF_DATA, ASM_OUTPUT_DWARF_DELTA): Remove.
(ASM_OUTPUT_DWARF_ADDR, ASM_OUTPUT_DWARF_ADDR_DATA): Remove.
(ASM_OUTPUT_DWARF_ADDR_DELTA, ASM_OUTPUT_DWARF_ADDR_CONST): Remove.
(ASM_OUTPUT_DWARF_OFFSET4, ASM_OUTPUT_DWARF_OFFSET): Remove.
(ASM_OUTPUT_DWARF_CONST_DOUBLE): Remove.
(ASM_OUTPUT_DWARF_NSTRING, ASM_OUTPUT_DWARF_STRING): Remove.
(dwarf2out_frame_debug): Remove unused variables.
(output_loc_operands): Don't abort on 8 byte constants if
host integers are wide enough.
(output_symbolic_ref): Remove.
(size_of_die): Don't assume 4 byte host integers.
(output_line_info): Use ASM_GENERATE_INTERNAL_LABEL for begin
and end labels.
(add_const_value_attribute) [CONST_INT]: Verify we're not doing
something stupid with HOST_WIDE_INT to long truncation.
[CONST_DOUBLE]: Likewise.

* config/arm/conix-elf.h (UNALIGNED_WORD_ASM_OP): Remove.
(ASM_OUTPUT_DWARF2_ADDR_CONST, ASM_OUTPUT_DWARF_ADDR_CONST): Remove.
* config/arm/unknown-elf.h: Likewise.
* config/rs6000/aix.h (UNALIGNED_SHORT_ASM_OP): New.
(UNALIGNED_INT_ASM_OP, UNALIGNED_DOUBLE_INT_ASM_OP): New.
(ASM_OUTPUT_DWARF_ADDR_VAR, ASM_OUTPUT_DWARF_DELTA_VAR): Remove.
(ASM_OUTPUT_DWARF_DELTA2, ASM_OUTPUT_DWARF_DELTA4): Remove.
(ASM_OUTPUT_DWARF_DELTA, ASM_OUTPUT_DWARF_ADDR_DELTA): Remove.
(ASM_OUTPUT_DWARF_ADDR, ASM_OUTPUT_DWARF_DATA4): Remove.
(ASM_OUTPUT_DWARF_DATA2, ASM_OUTPUT_DWARF_OFFSET4): Remove.
(ASM_OUTPUT_DWARF_OFFSET): Remove.
* config/rs6000/sysv4.h (ASM_OUTPUT_DWARF_ADDR): Remove.
* config/sparc/sp64-elf.h (UNALIGNED_DOUBLE_INT_ASM_OP): New.
(UNALIGNED_LONGLONG_ASM_OP, ASM_OUTPUT_DWARF_ADDR): Remove.
(ASM_OUTPUT_DWARF_ADDR_CONST, ASM_OUTPUT_DWARF_REF): Remove.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40197 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * cselib.c (hash_rtx): Cast enums to unsigned int.
danglin [Fri, 2 Mar 2001 23:15:32 +0000 (23:15 +0000)]
* cselib.c (hash_rtx): Cast enums to unsigned int.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40196 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agoRemove RCS ident strings to allow comparisions with multiple source checkouts to...
nickc [Fri, 2 Mar 2001 22:21:24 +0000 (22:21 +0000)]
Remove RCS ident strings to allow comparisions with multiple source checkouts to work

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40195 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agoremove spurious code
nickc [Fri, 2 Mar 2001 21:55:29 +0000 (21:55 +0000)]
remove spurious code

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40194 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * print-rtl.c (print_rtx): Cast enums to int for comparison.
danglin [Fri, 2 Mar 2001 21:41:37 +0000 (21:41 +0000)]
* print-rtl.c (print_rtx): Cast enums to int for comparison.
* c-decl.c (grokdeclarator): Cast enums to int for comparison and
shifts.
* c-format.c (C_STD_VER): Cast to int for comparisons.
(check_function_format): Cast various enums to int for &.
(maybe_read_dollar_number): Likewise.
(check_format_info): Likewise.
(check_format_info_main): Likewise.
* expr.c (emit_move_insn_1): Cast enums to unsigned int for comparison.
(safe_from_p): Likewise.
* varasm.c (const_hash): Cast enum to int for %.
* emit-rtl.c (init_emit_once): Use int loop variable to work around
pcc enum problems with < and ++ operators.
* regclass.c (init_reg_sets_1): Cast enums for comparison.
(choose_hard_reg_mode): Use unsigned int to iterate over CCmodes.
(regclass_init): Change enum class to int to iterate over reg_classes.
* genrecog.c (merge_trees): Cast enums for comparison.
* rtl.h (GET_CODE): Cast to enum rtx_code.
(PUT_CODE): Cast to ENUM_BITFIELD(rtx_code).
(GET_MODE): Cast to enum machine_mode.
(PUT_MODE): Cast to ENUM_BITFIELD(machine_mode).
(GET_NOTE_INSN_NAME): Cast enum to int.
* tree.h (TREE_CODE): Cast to enum tree_code.
(TREE_SET_CODE): Cast VALUE to ENUM_BITFIELD(tree_code).
        * timevar.c (timevar_print): Change loop variable id from enum to
unsigned int.
* fixinc/fixincl.c (VLEVEL): Cast enums in comparison to unsigned int.
* config/i386/i386.md: Use PUT_MODE for mode assignment.
* toplev.c (compile_file): Cast enum DFI to int.
(decode_d_option): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40193 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago2001-03-02 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
bkoz [Fri, 2 Mar 2001 21:38:26 +0000 (21:38 +0000)]
2001-03-02  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>

        * include/bits/istream.tcc: change type of __extracted to __size_type

2001-03-02  Benjamin Kosnik  <bkoz@redhat.com>

* src/wstring-inst.cc: New file.
* src/Makefile.am (EXTRA_LTLIBRARIES): Remove.
(libinst_wstring_la_SOURCES): Remove.
(libstdc___la_LIBADD): Remove libinst_wstring_la.
(sources): Add wstring-inst.cc
* acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Remove
libinst_wstring_la.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40192 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago* cppinit.c (append_include_chain): Mark "after" include file name list as a
cgf [Fri, 2 Mar 2001 17:20:30 +0000 (17:20 +0000)]
* cppinit.c (append_include_chain): Mark "after" include file name list as a
system directory.
* cpp.texi: Document new behavior.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40189 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago2001-03-02 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
bkoz [Fri, 2 Mar 2001 17:18:54 +0000 (17:18 +0000)]
2001-03-02  Peter Schmid  <schmid@snake.iap.physik.tu-darmstadt.de>

        * src/locale.cc: initialise __ret with zero
        * src/strstream.cc:cast gptr to int_type

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40188 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agocp:
nathan [Fri, 2 Mar 2001 11:48:38 +0000 (11:48 +0000)]
cp:
* typeck.c (build_static_cast): Allow enum to enum conversions
as per DR 128.
testsuite:
* g++.old-deja/g++.other/enum3.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40187 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agocp:
nathan [Fri, 2 Mar 2001 11:44:57 +0000 (11:44 +0000)]
cp:
* class.c (check_field_decls): Pointers to member do not a
non-pod struct make, as per DR 148.
testsuite:
* g++.old-deja/g++.other/pod1.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40186 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agocp:
nathan [Fri, 2 Mar 2001 11:32:45 +0000 (11:32 +0000)]
cp:
* call.c (joust): cp_pedwarn when using gnu extension concerning
worst conversion sequences.
testsuite:
* g++.old-deja/g++.ext/overload1.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40182 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * ifcvt.c (noce_operand_ok): Handle properly unarry operations.
hubicka [Fri, 2 Mar 2001 11:00:29 +0000 (11:00 +0000)]
* ifcvt.c (noce_operand_ok): Handle properly unarry operations.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40181 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agoDaily bump.
gccadmin [Fri, 2 Mar 2001 08:16:18 +0000 (08:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40179 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * cppfiles.c (struct include_file): Update.
neil [Fri, 2 Mar 2001 07:35:12 +0000 (07:35 +0000)]
    * cppfiles.c (struct include_file): Update.
        (stack_include_file): Use search_from.
        (cpp_included, find_include_file): Update.
        (cpp_execute_include): Update.  ptr->name may not be
        null terminated.  Use the new search_from member variable
        of cpp_buffer.
        (_cpp_compare_file_date): Similarly.
        (search_from): New function, similiar to actual_directory.
        (actual_directory): Delete.
        (remap_filename): Update.  loc->name may not be null terminated.
        (struct file_name_list): Rename search_path.  Update.
        * cpphash.h (struct cpp_buffer): Delete actual_dir.  New members
        search_from and dir.
        (struct cpp_reader): Remove actual_dirs.
        * cppinit.c (struct cpp_pending): Update for renamed objects.
        (append_include_chain, remove_dup_dir, remove_dup_dirs,
        merge_include_chains, cpp_destroy, cpp_start_read): Similarly.
        * cpplib.h (struct cpp_options): Similarly.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40178 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago Changes merged from Kawa's gnu.math.
bothner [Fri, 2 Mar 2001 06:55:33 +0000 (06:55 +0000)]
Changes merged from Kawa's gnu.math.
* java/math/BigInteger.java
* gnu/gcj/math/MPN.java (rshift0): New method handles zero shift count.
(rshift(int[],int[],int,int):  Removed - not needed.
(gcd):  Use rshift0 rather than rshift.
* java/math/BigInteger.java (setShiftRight):  Likewise.
(divide):  Simplify by using rshift0.
(divide):  Zero-extend results if high-order bit set.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40177 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * config/xm-lynx.h, config/xm-std32.h, config/a29k/xm-a29k.h,
zack [Fri, 2 Mar 2001 01:51:02 +0000 (01:51 +0000)]
* config/xm-lynx.h, config/xm-std32.h, config/a29k/xm-a29k.h,
config/a29k/xm-unix.h, config/alpha/xm-alpha.h,
config/arc/xm-arc.h, config/arm/xm-arm.h, config/c4x/xm-c4x.h,
config/clipper/xm-clix.h, config/convex/xm-convex.h,
config/d30v/xm-d30v.h, config/dsp16xx/xm-dsp16xx.h,
config/elxsi/xm-elxsi.h, config/fr30/xm-fr30.h,
config/h8300/xm-h8300.h, config/i370/xm-i370.h,
config/i370/xm-linux.h, config/i370/xm-mvs.h,
config/i370/xm-oe.h, config/i386/xm-aix.h,
config/i386/xm-i386.h, config/i386/xm-osf.h,
config/i860/xm-i860.h, config/i960/xm-i960.h,
config/ia64/xm-ia64.h, config/m32r/xm-m32r.h,
config/m68k/xm-m68k.h, config/m88k/xm-m88k.h,
config/mcore/xm-mcore.h, config/mips/xm-mips.h,
config/mn10200/xm-mn10200.h, config/mn10300/xm-mn10300.h,
config/ns32k/xm-ns32k.h, config/pa/xm-linux.h,
config/pa/xm-pa.h, config/pa/xm-pa64hpux.h,
config/pa/xm-pahpux.h, config/pa/xm-papro.h,
config/pj/xm-pj.h, config/romp/xm-romp.h,
config/rs6000/xm-beos.h, config/rs6000/xm-rs6000.h,
config/rs6000/xm-sysv4.h, config/sh/xm-sh.h,
config/sparc/xm-sparc.h, config/sparc/xm-sysv4.h,
config/v850/xm-v850.h, config/vax/xm-vax.h,
config/vax/xm-vms.h, config/we32k/xm-we32k.h:
Do not define TRUE or FALSE.

* config/i386/xm-aix.h, config/i386/xm-osf.h: Delete; made
empty by above change.
* config.gcc: Remove references to these files.

* configure.in: Detect stdbool.h.
* configure, config.in: Regenerate.
* system.h: Include stddef.h here if available.  Set
HAVE__BOOL based on GCC_VERSION and __STDC_VERSION__.  Then
set up a sensible boolean type at the very end.

* combine.c, cse.c, expr.c, fold-const.c, gensupport.c,
f/com.c, config/mcore/mcore.c:
Rename variables named 'true' and/or 'false'.

* hash.h: Delete 'boolean' typedef and related #undefs.
* f/proj.h: Delete 'bool' type.  Don't include stddef.h here.

* function.c, ggc-common.c, hash.h, hash.c, tlink.c, cp/decl.c,
java/class.c, java/decl.c, java/java-tree.h:
Replace all uses of 'boolean' with 'bool'.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40176 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * safe-ctype.h (_sch_test): Cast enum bit to unsigned short int for pcc
danglin [Fri, 2 Mar 2001 01:17:23 +0000 (01:17 +0000)]
* safe-ctype.h (_sch_test): Cast enum bit to unsigned short int for pcc
compatibility.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40175 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * cpplib.c (_cpp_init_stacks): Cast enum for comparison.
danglin [Fri, 2 Mar 2001 01:11:50 +0000 (01:11 +0000)]
* cpplib.c (_cpp_init_stacks): Cast enum for comparison.
* cppexp.c (lex): Cast enums for comparison.
* cppinit.c (parse_option): Cast enum for comparison.
* cpplex.c (cpp_spell_token): Cast enums to int for minus.
(cpp_output_token): Likewise.
(cpp_can_paste): Cast enums for comparsion and plus/minus.
(cpp_avoid_paste): Cast enums for minus and comparison.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40174 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * gcc.c, cp/lang-specs.h, f/lang-specs.h, java/lang-specs.h,
zack [Fri, 2 Mar 2001 01:03:47 +0000 (01:03 +0000)]
* gcc.c, cp/lang-specs.h, f/lang-specs.h, java/lang-specs.h,
objc/lang-specs.h: Add zero initializer for cpp_spec field to
all array elements.
* cp/lang-specs.h: Don't put an #ifdef inside the initializer
list; set a default for CPLUSPLUS_CPP_SPEC and use it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40173 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * cpphash.h (struct cpp_reader): Add print_version field.
zack [Fri, 2 Mar 2001 00:42:28 +0000 (00:42 +0000)]
* cpphash.h (struct cpp_reader): Add print_version field.
* cppinit.c (cpp_handle_option): For -v, -version, and --version,
just set print_version and other flags as appropriate.
(cpp_post_options): Print version here if print_version is set.

* toplev.c (exit_after_options): New flag.
(independent_decode_option): Don't exit here; just set
exit_after_options.
(main): Exit after calling lang_hooks.post_options if
exit_after_options is true.

* cppinit.c (append_include_chain): Drop never-used case QUOTE.
(merge_include_chains): Adjust comment to match code.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40171 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * stringpool.c (set_identifier): New function.
zack [Fri, 2 Mar 2001 00:40:00 +0000 (00:40 +0000)]
* stringpool.c (set_identifier): New function.
* tree.h: Prototype it.

* c-parse.in: Kill D_YES. If compiled for objc, call
save_and_forget_protocol_qualifiers from init_reswords.
* objc/objc-act.c (remember_protocol_qualifiers,
forget_protocol_qualifiers): Don't diddle C_IS_RESERVED_WORD.
Swap out the non-keyword IDENTIFIER_NODEs for keyword ones, or
vice versa.
(save_and_forget_protocol_qualifiers): New function.
* c-lex.h: Prototype save_and_forget_protocol_qualifiers.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40170 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago2001-03-01 Diego Novillo <dnovillo@redhat.com>
dnovillo [Thu, 1 Mar 2001 23:11:05 +0000 (23:11 +0000)]
2001-03-01  Diego Novillo  <dnovillo@redhat.com>

* c-semantics.c (prune_unused_decls): Return error_mark_node
instead of (tree) 1 to stop traversing the tree chain.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40166 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago2001-03-01 Phil Edwards <pme@sources.redhat.com>
pme [Thu, 1 Mar 2001 22:32:23 +0000 (22:32 +0000)]
2001-03-01  Phil Edwards  <pme@sources.redhat.com>

* docs/html/faq/index.html:  Update broken links.
* docs/html/faq/index.txt:  Regenerated.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40165 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * config/pa/som.h (ASM_IDENTIFY_GCC): Define.
law [Thu, 1 Mar 2001 18:47:26 +0000 (18:47 +0000)]
    * config/pa/som.h  (ASM_IDENTIFY_GCC): Define.
        (ASM_IDENTIFY_GCC_AFTER_SOURCE): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40164 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agoUndo some breakage introduced Feb 18
bernds [Thu, 1 Mar 2001 17:51:18 +0000 (17:51 +0000)]
Undo some breakage introduced Feb 18

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40162 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * pa.c (emit_move_sequence): Verify operand0 is a hard register
law [Thu, 1 Mar 2001 16:48:44 +0000 (16:48 +0000)]
    * pa.c (emit_move_sequence): Verify operand0 is a hard register
        before determining its register class.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40160 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agoRotate bundles earlier in ia64_sched_reorder
bernds [Thu, 1 Mar 2001 14:25:30 +0000 (14:25 +0000)]
Rotate bundles earlier in ia64_sched_reorder

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40157 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agoEmit NOPs in the assembly output.
bernds [Thu, 1 Mar 2001 14:20:17 +0000 (14:20 +0000)]
Emit NOPs in the assembly output.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40156 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agoFix register renaming problem
bernds [Thu, 1 Mar 2001 14:04:23 +0000 (14:04 +0000)]
Fix register renaming problem

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40152 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agocp:
nathan [Thu, 1 Mar 2001 14:01:39 +0000 (14:01 +0000)]
cp:
Implement using decls inside template functions.
* decl2.c (validate_nonmember_using_decl): Don't special case
fake_std_node in the global namespace. Don't reject early when
processing a template.
(do_local_using_decl): Add to statement tree. Don't do further
processing when building a template.
* pt.c (tsubst_expr, DECL_STMT case): Deal with USING_DECLs.
testsuite:
* g++.old-deja/g++.pt/using1.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40151 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agocp:
nathan [Thu, 1 Mar 2001 13:51:00 +0000 (13:51 +0000)]
cp:
* decl2.c (do_nonmember_using_decl): Don't complain if we find
same function. Do complain about ambiguating extern "C"
declarations.
testsuite:
* g++.old-deja/g++.other/using9.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40148 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agoFix register elimination problem
bernds [Thu, 1 Mar 2001 13:35:13 +0000 (13:35 +0000)]
Fix register elimination problem

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40147 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agoAvoid exponential runtime
bernds [Thu, 1 Mar 2001 13:21:30 +0000 (13:21 +0000)]
Avoid exponential runtime

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40145 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agoDaily bump.
gccadmin [Thu, 1 Mar 2001 08:16:44 +0000 (08:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40143 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agoq
bkoz [Thu, 1 Mar 2001 01:19:21 +0000 (01:19 +0000)]
q
2001-02-28  Benjamin Kosnik  <bkoz@redhat.com>

libstdc++/2064
* configure.target: Change irix* to irix6.5* in target_os table.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40141 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago2001-02-28 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Thu, 1 Mar 2001 00:37:18 +0000 (00:37 +0000)]
2001-02-28  Benjamin Kosnik  <bkoz@redhat.com>

libstdc++/2103
* include/bits/c++config (__GLIBCPP__): Bump number in
anticipation of 2.92.

* include/bits/codecvt.h: Fix typo.
* include/bits/basic_file.h (__basic_file): Don't use _M_wfile for
stdio model.
* acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Enable wchar_t
instantiations for stdio model.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40140 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago2001-02-28 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Wed, 28 Feb 2001 23:30:26 +0000 (23:30 +0000)]
2001-02-28  Benjamin Kosnik  <bkoz@redhat.com>
            Alexandre Oliva  <aoliva@redhat.com>

* Makefile.in (check-c++): Use tabs, not spaces.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40139 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago* config/m68k/m68k.h (MOVE_BY_PIECES_P): Avoid pushing bytes,
dj [Wed, 28 Feb 2001 22:54:22 +0000 (22:54 +0000)]
* config/m68k/m68k.h (MOVE_BY_PIECES_P): Avoid pushing bytes,
since that doesn't work the way gcc wants on a generic m68k.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40138 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * caller-save.c (save_call_clobbered_regs): Fix typo in
rth [Wed, 28 Feb 2001 21:32:54 +0000 (21:32 +0000)]
    * caller-save.c (save_call_clobbered_regs): Fix typo in
        comparison last change.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40136 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago2001-02-28 Phil Edwards <pme@sources.redhat.com>
pme [Wed, 28 Feb 2001 18:42:47 +0000 (18:42 +0000)]
2001-02-28  Phil Edwards  <pme@sources.redhat.com>

* acinclude.m4 (GLIBCPP_CONFIGURE):  Remove GLIBCPP_CFLAGS
  and GLIBCPP_CXXFLAGS as unused variables.
* configure.host:  Likewise.
* configure.target:  Likewise.
* aclocal.m4:  Regenerated.
* configure:  Regenerated.
* Makefile.in:  Regenerated.
* libio/Makefile.in:  Regenerated.
* libmath/Makefile.in:  Regenerated.
* libsupc++/Makefile.in:  Regenerated.
* src/Makefile.in:  Regenerated.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40135 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * i386.c (pentium4_cost): New.
hubicka [Wed, 28 Feb 2001 18:34:35 +0000 (18:34 +0000)]
* i386.c (pentium4_cost): New.
(m_PENT4): New macro.
(x86_push_memory, x86_movx,x86_cmove, x86_deep_branch, x86_use_sahf
x86_sub_esp_4, x86_sub_esp_8, x86_add_esp_4, x86_add_esp_8
x86_integer_DFmode_moves, x86_partial_reg_dependency,
x86_memory_mismatch_stall): Add Pentium4
(x86_use_q_reg, x86_use_any_reg): Kill.
(override_options): Add pentium4.
(incdec_operand): Return 0 for pentium4.
(ix86_issue_rate): Add PROCESSOR_PENTIUM4 and PROCESSOR_ATHLON.
* i386.h (x86_use_q_reg, x86_use_any_reg): Kill.
(TARGET_PENTIUM4): Define.
(enum processor_type): Add PROCESSOR_PENTIUM4.
(CPP_CPU_DEFAULT_SPEC): Add pentium4 support.
* i386.md (attribute "cpu"): Add pentium4.
* invoke.texi (march): Add pentium4.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40134 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * i386.md (sse_mov?fcc*): New patterns and splitters.
hubicka [Wed, 28 Feb 2001 18:29:14 +0000 (18:29 +0000)]
* i386.md (sse_mov?fcc*): New patterns and splitters.
* i386.c (ix86_expand_movcc): Work post-reload; recognize
the SSE based conditional moves.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40133 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * i386.md (attribute mode): Add "TI".
hubicka [Wed, 28 Feb 2001 18:19:23 +0000 (18:19 +0000)]
* i386.md (attribute mode): Add "TI".
(movsf_1): Add pxor support; remove constant propagation splitter.
(movdf_integer): Likewise.
(movdf_nointeger): Likewise.
(movxf constant prop splitter): Handle all modes; update for SSE.
* i386.h (CONST_DOUBLE_OK_FOR_LETTER): Add 'H' for SSE constants.
* i386.c (standard_80387_constant_p): Rewrite.
(standard_sse_constant_p): New.
* i386-protos.h (standard_sse_constant_p): New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40132 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * i386.md (sse_setccsf, sse_setccdf): New.
hubicka [Wed, 28 Feb 2001 18:07:05 +0000 (18:07 +0000)]
* i386.md (sse_setccsf, sse_setccdf): New.
(sse_cmp* patterns): Use '%D' instead of outputtting condition
flag directly.
* i386.c (sse_comparison_operator): Accept the supported unordered
comparses; be ready for fast_math.
(print_operand): Support 'D'.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40131 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * jump.c (reversed_comparison_code): Kill.
hubicka [Wed, 28 Feb 2001 17:55:53 +0000 (17:55 +0000)]
* jump.c (reversed_comparison_code): Kill.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40130 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agoUndo the accidental checkin :(
hubicka [Wed, 28 Feb 2001 17:53:35 +0000 (17:53 +0000)]
Undo the accidental checkin :(

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40129 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * toplev.c (rest_of_compilation): Do post-reload splitting unconditionally
hubicka [Wed, 28 Feb 2001 17:52:30 +0000 (17:52 +0000)]
* toplev.c (rest_of_compilation): Do post-reload splitting unconditionally
for STACK_REGS

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40128 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * i386.md (sse_andti3, sse_nandti_3, sse_xorti3): Add SSE2 versions;
hubicka [Wed, 28 Feb 2001 17:49:37 +0000 (17:49 +0000)]
* i386.md (sse_andti3, sse_nandti_3, sse_xorti3): Add SSE2 versions;
add missing '%' in constraints.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40127 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago2001-02-28 Ovidiu Predescu <ovidiu@cup.hp.com>
ovidiu [Wed, 28 Feb 2001 17:17:09 +0000 (17:17 +0000)]
2001-02-28  Ovidiu Predescu  <ovidiu@cup.hp.com>

* objc-features.texi: Document the @compatibility_alias compiler
directive (description from Nicola Pero <n.pero@mi.flashnet.it>).

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40126 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agoDocument the @compatibility_alias compiler directive (description from
ovidiu [Wed, 28 Feb 2001 17:16:17 +0000 (17:16 +0000)]
Document the @compatibility_alias compiler directive (description from
Nicola Pero <n.pero@mi.flashnet.it>).

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40125 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago2001-02-28 Ovidiu Predescu <ovidiu@cup.hp.com>
ovidiu [Wed, 28 Feb 2001 17:08:09 +0000 (17:08 +0000)]
2001-02-28  Ovidiu Predescu  <ovidiu@cup.hp.com>

* objc/execute/bycopy-3.m: Added new test from Nicola Pero.

* objc/execute/protocol.m (main): Added patch from Nicola Pero.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40124 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agoAdded new test from Nicola Pero.
ovidiu [Wed, 28 Feb 2001 17:05:10 +0000 (17:05 +0000)]
Added new test from Nicola Pero.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40123 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agoAdded.
ovidiu [Wed, 28 Feb 2001 16:58:04 +0000 (16:58 +0000)]
Added.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40122 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * c-common.c (build_common_tree_nodes): Build intTI_type_nodes
hubicka [Wed, 28 Feb 2001 16:25:05 +0000 (16:25 +0000)]
* c-common.c (build_common_tree_nodes): Build intTI_type_nodes
for HOST_BITS_PER_WIDE_INT == 32 too.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40121 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * caller-save.c (reg_save_code, reg_restore_code): Index by mode, not
hubicka [Wed, 28 Feb 2001 16:24:00 +0000 (16:24 +0000)]
* caller-save.c (reg_save_code, reg_restore_code):  Index by mode, not
NREGS.
(insert_save, insert_restore): New parameter save_mode.
(init_caller_save): Update initialization of reg_save_code
and reg_restore_code.
(save_call_clobbered_regs):  Compute save_modes and update calls to
reg_save_code and reg_restore_code.
(insert_restore):  Unsignetize numbers; use save_modes to choose mode
of spill; update use of reg_restore_code.
(insert_save):  Likewise.
* i386.h (HARD_REGNO_CALLER_SAVE_MODE): Update.
* c4x.h (HARD_REGNO_CALLER_SAVE_MODE): Update.
* regs.h (HARD_REGNO_CALLER_SAVE_MODE): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40120 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * ifcvt.c (noce_emit_store_flag, noce_try_store_flag_constants,
hubicka [Wed, 28 Feb 2001 16:20:43 +0000 (16:20 +0000)]
* ifcvt.c (noce_emit_store_flag, noce_try_store_flag_constants,
noce_try_store_flag_inc, noce_try_store_flag_mask,
noce_try_cmove_arith):
Use reversed_comparison_code instead of reverse_comparison and
can_reverse_comparison_p.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40119 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * jump.c (reversed_comparison_code_parts): Allow reversal of
hubicka [Wed, 28 Feb 2001 16:19:16 +0000 (16:19 +0000)]
* jump.c (reversed_comparison_code_parts): Allow reversal of
unordered compares in -ffast-math mode; reverse ordered compares
for FP even w/o -ffast-math.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40118 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agocp:
nathan [Wed, 28 Feb 2001 10:44:05 +0000 (10:44 +0000)]
cp:
Remove floating point and complex type template constant parms.
* pt.c (convert_nontype_argument): Remove REAL_TYPE and
COMPLEX_TYPE extensions.
(invalid_nontype_parm_type_p): Likewise.
testuite:
* g++.old-deja/g++.ext/realpt1.C: Remove.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40117 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agoDaily bump.
gccadmin [Wed, 28 Feb 2001 08:16:08 +0000 (08:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40113 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * print-rtl.c (print_rtx) [i]: Don't print field five on
rth [Wed, 28 Feb 2001 04:26:57 +0000 (04:26 +0000)]
    * print-rtl.c (print_rtx) [i]: Don't print field five on
        NOTEs other than NOTE_INSN_DELETED_LABEL.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40110 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Wed, 28 Feb 2001 03:26:44 +0000 (03:26 +0000)]
2001-02-27  Benjamin Kosnik  <bkoz@redhat.com>

libstdc++/1886
* include/bits/basic_file.h: Include basic_file_model.h.
* config/c_io_libio.cc: Move to...
* config/basic_file_libio.cc: Here.
* config/basic_file_libio.h: New file.
* config/c_io_stdio.cc: Move to...
* config/basic_file_stdio.cc: Here.
* config/basic_file_stdio.h: New file.
* config/c_io_libio.h: Tweak.
* config/c_io_stdio.h: Tweak.
* src/Makefile.am (build_headers): Add basic_file_model.h.
(sources): Add basic_file.cc, remove c++io.cc.
* src/Makefile.in: Regenerate.
* acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Add support for
basic_file_model.h and basic_file.cc.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* testsuite/27_io/filebuf.cc (test05): Add regression.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40109 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Wed, 28 Feb 2001 03:20:36 +0000 (03:20 +0000)]
2001-02-27  Benjamin Kosnik  <bkoz@redhat.com>

libstdc++/1886
* include/bits/basic_file.h: Include basic_file_model.h.
* config/c_io_libio.cc: Move to...
* config/basic_file_libio.cc: Here.
* config/basic_file_libio.h: New file.
* config/c_io_stdio.cc: Move to...
* config/basic_file_stdio.cc: Here.
* config/basic_file_stdio.h: New file.
* config/c_io_libio.h: Tweak.
* config/c_io_stdio.h: Tweak.
* src/Makefile.am (build_headers): Add basic_file_model.h.
(sources): Add basic_file.cc, remove c++io.cc.
* src/Makefile.in: Regenerate.
* acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Add support for
basic_file_model.h and basic_file.cc.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* testsuite/27_io/filebuf.cc (test05): Add regression.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40108 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * mips/xm-iris4.h: Delete #if 0 block (there since before 1997).
zack [Wed, 28 Feb 2001 02:53:45 +0000 (02:53 +0000)]
* mips/xm-iris4.h: Delete #if 0 block (there since before 1997).
* pa/xm-linux.h, pa/xm-pa.h, pa/xm-papro.h: Don't declare errno.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40107 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago2001-02-27 Diego Novillo <dnovillo@redhat.com>
dnovillo [Wed, 28 Feb 2001 01:25:42 +0000 (01:25 +0000)]
2001-02-27  Diego Novillo  <dnovillo@redhat.com>

* c-common.c (walk_stmt_tree): Visit the chain of the current tree
even if walk_subtrees is 0.
* c-semantics.c (prune_unused_decls): Return a non-null value to
stop traversing the tree chain.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40106 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago* config/m68k/m68k.c (output_function_prologue): Save the new CFA
dj [Wed, 28 Feb 2001 00:29:02 +0000 (00:29 +0000)]
* config/m68k/m68k.c (output_function_prologue): Save the new CFA
register, *then* define it as the new CFA.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40104 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Wed, 28 Feb 2001 00:14:16 +0000 (00:14 +0000)]
2001-02-27  Benjamin Kosnik  <bkoz@redhat.com>

Correct license.
* config/cpu/alpha/bits/atomicity.h: Change.
* config/cpu/arm/bits/atomicity.h
* config/cpu/generic/bits/atomicity.h
* config/cpu/i386/bits/atomicity.h
* config/cpu/i486/bits/atomicity.h
* config/cpu/ia64/bits/atomicity.h
* config/cpu/powerpc/bits/atomicity.h
* config/cpu/sparc/sparc32/bits/atomicity.h
* config/cpu/sparc/sparc64/bits/atomicity.h
* config/os/aix/bits/atomicity.h
* config/os/irix/bits/atomicity.h

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40103 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * pa.c (override_options): Promote -fpic to -fPIC.
law [Tue, 27 Feb 2001 23:48:38 +0000 (23:48 +0000)]
    * pa.c (override_options): Promote -fpic to -fPIC.
        (legitimize_pic_address): Simplify due to removal of
        small PIC as a code generation option.
        (secondary_reload_class): Similarly.
        * pa.h (GO_IF_LEGITIMATE_ADDRESS): Similarly.
        (PRINT_OPERAND_ADDRESS): Similarly.
        * pa.md (various patterns): Similarly.
        (small pic lo_sum pattern): Remove.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40101 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Tue, 27 Feb 2001 23:00:35 +0000 (23:00 +0000)]
2001-02-27  Benjamin Kosnik  <bkoz@redhat.com>

* include/bits/std_stdexcept.h (runtime_error): Make string
member non-const.
(logic_error): Same.
* testsuite/19_diagnostics/stdexceptions.cc (test04): Add test.
(test03): Fix.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40098 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago2001-02-27 Jeffrey Oldham <oldham@codesourcery.com>
oldham [Tue, 27 Feb 2001 18:00:41 +0000 (18:00 +0000)]
2001-02-27  Jeffrey Oldham  <oldham@codesourcery.com>

* except.c (call_eh_info): Revert "match_function"'s type.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40097 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Tue, 27 Feb 2001 16:16:12 +0000 (16:16 +0000)]
2001-02-27  Benjamin Kosnik  <bkoz@redhat.com>

* testsuite/19_diagnostics/stdexceptions.cc (test03): Fix.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40095 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * md.texi (min, max): Document
hubicka [Tue, 27 Feb 2001 15:02:57 +0000 (15:02 +0000)]
* md.texi (min, max): Document

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40094 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * i386.md (movsf, movdf): Use movaps for reg-reg moves if
hubicka [Tue, 27 Feb 2001 14:54:15 +0000 (14:54 +0000)]
* i386.md (movsf, movdf): Use movaps for reg-reg moves if
TARGET_PARTIAL_REG_DEPENDENCY.
(truncdfsf2_1_sse, truncdfsf2_2): Penalize the fpreg->mem case.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40093 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * i386.md (mins*, maxs*): New patterns, expanders and splitters.
hubicka [Tue, 27 Feb 2001 14:43:46 +0000 (14:43 +0000)]
* i386.md (mins*, maxs*): New patterns, expanders and splitters.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40092 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agocp:
nathan [Tue, 27 Feb 2001 13:12:17 +0000 (13:12 +0000)]
cp:
Fix ctor vtable vcall offsets.
* class.c (struct vtbl_init_data_s): Add rtti_binfo member.
(build_rtt_vtbl_entries): Lose RTTI_BINFO parameter.
(get_matching_base): Remove.
(get_original_base): New function.
(build_vtbl_initializer): Initialize vid.rtti_binfo.
Use a virtual thunk for a ctor vtable with an index
(add_vcall_offset_vtbl_entries_1): Check if binfo has lost a
primary base within a constructor vtable. Only set
BV_VCALL_INDEX when not a constructor vtable. Adjust vcall offset
when primary base has been lost.
* cp-tree.h (BINFO_VIRTUALS): Remove ambiguity from comment.
testsuite:
* g++.old-deja/g++.abi/vtable3.h: Check vcall offsets too.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40090 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * libgcj.spec.in: Insert %(libgcc) before %(liborig) to fix static
bryce [Tue, 27 Feb 2001 09:41:21 +0000 (09:41 +0000)]
* libgcj.spec.in: Insert %(libgcc) before %(liborig) to fix static
linking.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40089 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agoDaily bump.
gccadmin [Tue, 27 Feb 2001 08:16:08 +0000 (08:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40084 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago2001-02-26 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Tue, 27 Feb 2001 04:28:36 +0000 (04:28 +0000)]
2001-02-26  Benjamin Kosnik  <bkoz@redhat.com>

libstdc++/1972
libstdc++/2089
* include/bits/std_stdexcept.h (logic_error::logic_error): Use
string object, not reference.
(runtime_error::runtime_error): Same.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40082 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago2001-02-26 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Tue, 27 Feb 2001 04:13:17 +0000 (04:13 +0000)]
2001-02-26  Benjamin Kosnik  <bkoz@redhat.com>

libstdc++/1972
libstdc++/2089
* include/bits/std_stdexcept.h (logic_error::logic_error): Use
string object, not reference.
(runtime_error::runtime_error): Same.
* testsuite/19_diagnostics/stdexceptions.cc: New file.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40079 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago2001-02-26 Jeffrey Oldham <oldham@codesourcery.com>
zack [Tue, 27 Feb 2001 01:26:26 +0000 (01:26 +0000)]
2001-02-26  Jeffrey Oldham  <oldham@codesourcery.com>

        * mips.c (mips_make_temp_file): Fix thinko in last change.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40078 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * combine.c (known_cond): Do not reverse the condition when
jle [Tue, 27 Feb 2001 00:48:11 +0000 (00:48 +0000)]
    * combine.c (known_cond): Do not reverse the condition when
        SMAX/UMAX is being considered and the condition is for equality
        or inequality.

        * testsuite/gcc.c-torture/execute/20010221-1.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40077 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago2001-02-26 Phil Edwards <pme@sources.redhat.com>
pme [Mon, 26 Feb 2001 21:48:01 +0000 (21:48 +0000)]
2001-02-26  Phil Edwards  <pme@sources.redhat.com>

* acinclude.m4 (GLIBCPP_CONFIGURE):  Update required compiler version.
  (GLIBCPP_CHECK_COMPILER_FEATURES):  Can safely assume new
  diagnostics.  Remove WFMT_FLAGS.
* configure.in:  Replace WFMT_FLAGS with diagnostics options.
* libsupc++/Makefile.am:  Likewise.
* src/Makefile.am:  Likewise.
* aclocal.m4:  Regenerated.
* configure:  Regenerated.
* Makefile.in:  Regenerated.
* libio/Makefile.in:  Regenerated.
* libmath/Makefile.in:  Regenerated.
* libsupc++/Makefile.in:  Regenerated.
* src/Makefile.in:  Regenerated.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40075 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago2001-02-26 Phil Edwards <pme@sources.redhat.com>
pme [Mon, 26 Feb 2001 20:33:09 +0000 (20:33 +0000)]
2001-02-26  Phil Edwards  <pme@sources.redhat.com>

Fixes libstdc++/2079
* include/backward/iomanip.h:  Expose <ios> manipulators to global
  namespace.
* include/backward/iostream.h:  Also expose std::ws.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40073 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago2001-02-26 Toon Moene <toon@moene.indiv.nluug.nl>
toon [Mon, 26 Feb 2001 20:23:41 +0000 (20:23 +0000)]
2001-02-26  Toon Moene  <toon@moene.indiv.nluug.nl>

* libI77/configure.in: Test for ftruncate.
* libI77/configure: Rebuilt.
* libI77/endfile.c: Use fflush/ftruncate when available.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40072 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago2001-02-26 Will Cohen <wcohen@redhat.com>
wcohen [Mon, 26 Feb 2001 19:57:04 +0000 (19:57 +0000)]
2001-02-26  Will Cohen  <wcohen@redhat.com>

* gcc.c-torture/execute/ieee/20010226-1.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40071 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago2001-02-26 Philip Blundell <philb@gnu.org>
pb [Mon, 26 Feb 2001 18:15:36 +0000 (18:15 +0000)]
2001-02-26  Philip Blundell  <philb@gnu.org>

* config.gcc: Remove obsolete targets "arm*-*-linuxoldld" and
"armv2-*-linux".
* config/arm/linux-elf.h: Remove historical relics related to
above configurations.
* config/arm/linux-oldld.h: Delete.
* config/arm/linux-elf26.h: Delete.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40070 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agonote DECL_INITIAL change
jason [Mon, 26 Feb 2001 17:17:47 +0000 (17:17 +0000)]
note DECL_INITIAL change

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40069 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago2001-02-26 Jeffrey Oldham <oldham@codesourcery.com>
oldham [Mon, 26 Feb 2001 15:59:30 +0000 (15:59 +0000)]
2001-02-26  Jeffrey Oldham  <oldham@codesourcery.com>

* call.c (joust): Ensure more_specialized()'s argument length
parameter has correct value for constructors.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40068 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago2001-02-26 Jeffrey Oldham <oldham@codesourcery.com>
oldham [Mon, 26 Feb 2001 15:54:33 +0000 (15:54 +0000)]
2001-02-26  Jeffrey Oldham  <oldham@codesourcery.com>

* g++.old-deja/g++.pt/overload15.C: New test to stress overloaded
templatized constructors.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40067 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * c-decl.c (finish_decl): Set DECL_DEFER_OUTPUT on tentative file-scope
jason [Mon, 26 Feb 2001 11:11:38 +0000 (11:11 +0000)]
    * c-decl.c (finish_decl): Set DECL_DEFER_OUTPUT on tentative file-scope
        definitions.
        * toplev.c (rest_of_decl_compilation): Check DECL_DEFER_OUTPUT to
        recognize a tentative definition.  Lose obsolete code.

        * toplev.c (wrapup_global_declarations): Don't emit DECL_COMDAT
        variables unless necessary, either.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40066 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * except.c (call_eh_info): Cleanup generation of cp_eh_info struct.
nathan [Mon, 26 Feb 2001 11:01:44 +0000 (11:01 +0000)]
* except.c (call_eh_info): Cleanup generation of cp_eh_info struct.

* decl.c (mark_inlined_fns): Prototype.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40065 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agoDaily bump.
gccadmin [Mon, 26 Feb 2001 08:16:41 +0000 (08:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40064 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * ifcvt.c (struct noce_if_info): Add test_bb.
rth [Sun, 25 Feb 2001 19:34:06 +0000 (19:34 +0000)]
    * ifcvt.c (struct noce_if_info): Add test_bb.
        (noce_get_alt_condition): New.
        (noce_try_minmax, noce_try_abs): New.
        (noce_operand_ok): New.
        (noce_process_if_block): Use them.
        * rtlanal.c (may_trap_p): NEG and ABS can never trap.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40060 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago* config/i386/cygwin.h (CPP_SPEC): Add missing space before w32api include.
cgf [Sun, 25 Feb 2001 19:28:09 +0000 (19:28 +0000)]
* config/i386/cygwin.h (CPP_SPEC): Add missing space before w32api include.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40059 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * config.gcc: Put back pa/t-openbsd and rs6000/t-openbsd.
zack [Sun, 25 Feb 2001 17:23:42 +0000 (17:23 +0000)]
    * config.gcc: Put back pa/t-openbsd and rs6000/t-openbsd.
        * config/mips/mips.c (mips_make_temp_file): Set temp_filename
        properly.
        (mips_asm_file_end): Free temp_filename here.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40058 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * config/i386/i386-protos.h (ix86_set_move_mem_attrs): Move decl.
kenner [Sun, 25 Feb 2001 16:35:48 +0000 (16:35 +0000)]
* config/i386/i386-protos.h (ix86_set_move_mem_attrs): Move decl.
* config/i386/i386.c (ix86_set_move_mem_attrs_1): Fix typo.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40056 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * config/i386/i386.md (movstrsi): Handle FAIL case.
kenner [Sun, 25 Feb 2001 13:33:59 +0000 (13:33 +0000)]
* config/i386/i386.md (movstrsi): Handle FAIL case.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40054 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago * cppinit.c (builtin_array): Update.
neil [Sun, 25 Feb 2001 09:43:03 +0000 (09:43 +0000)]
    * cppinit.c (builtin_array): Update.
        (init_builtins): Flag builtins to warn if redefined or
        undefined.  Define __GXX_WEAK as a normal macro.
        * cpplib.c (do_undef): Warn if flagged NODE_WARN.
        * cpplib.h (NODE_WARN): New flag.
        * cppmacro.c (builtin_macro): Remove handling of __GXX_WEAK__.
        Handle __STDC__ as a builtin only on Solaris.
        (warn_of_redefinition): Renamed from check_macro_definition.
        Reverse sense of test.  Always warn if NODE_WARN.
        (_cpp_create_definition): Use warn_of_redefinition.  Flag
        any macro beginning with "__STDC_" to require a mandatory
        warning if redefined or undefined.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40053 138bc75d-0d04-0410-961f-82ee72b054a4

23 years ago2001-02-25 Greg Freemyer <freemyer@NorcrossGroup.com>
gdr [Sun, 25 Feb 2001 09:24:10 +0000 (09:24 +0000)]
2001-02-25  Greg Freemyer <freemyer@NorcrossGroup.com>

* libmath/mathconf.h (GET_LDOUBLE_MSW64): Fix thinko.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40051 138bc75d-0d04-0410-961f-82ee72b054a4

23 years agoDaily bump.
gccadmin [Sun, 25 Feb 2001 08:16:08 +0000 (08:16 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40049 138bc75d-0d04-0410-961f-82ee72b054a4