OSDN Git Service

pf3gnuchains/gcc-fork.git
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

23 years ago * xm-interix.h, xm-lynx.h, alpha/xm-vms.h, convex/xm-convex.h,
zack [Sun, 25 Feb 2001 05:23:38 +0000 (05:23 +0000)]
* xm-interix.h, xm-lynx.h, alpha/xm-vms.h, convex/xm-convex.h,
i370/xm-i370.h, i370/xm-linux.h, i370/xm-mvs.h, i370/xm-oe.h,
i386/xm-beos.h, i386/xm-dos.h, i386/xm-mingw32.h,
i860/xm-i860.h, m68k/xm-3b1.h, m68k/xm-amix.h, m68k/xm-aux.h,
m68k/xm-crds.h, m68k/xm-mot3300.h, m88k/xm-sysv3.h,
mips/xm-mips.h, rs6000/xm-beos.h, vax/xm-vms.h:
Don't define any of:
USE_PROTOTYPES, vfork, mktemp, SVR3, NO_SYS_PARAMS_H,
P_tmpdir, MVS, NO_DBX_FORMAT, USE_STDARGS, STDC_HEADERS,
NO_PRECOMPILES, i860, __PTR_TO_INT, __INT_TO_PTR, rindex,
index, FULL_PROTOTYPES, AUX, R_OK, W_OK, X_OK, F_OK,
STACK_DIRECTION, MIPS, MAX_READ_LEN, MAX_WRITE_LEN.

* alpha/xm-alpha.h, clipper/xm-clix.h, d30v/xm-d30v.h,
fr30/xm-fr30.h, i370/xm-linux.h: Remove commented-out macro
definitions.

* m68k/xm-3b1.h, m68k/xm-crds.h, m88k/xm-sysv3.h:
Delete now-empty file.

* alpha/vms.h: Define NEED_ATEXIT here...
* alpha/xm-vms.h: ...not here.

* i386/cygwin.h: Don't define PARAMS.
* mips/mips.c: Don't prototype mktemp.  Don't define
P_tmpdir.  Use make_temp_file to create temporary files.
Don't be clever and delete temporary files early.
* f/com.c: Don't define STDC_HEADERS, autoconf handles it.
* config.gcc: Drop references to deleted files.  Don't define
FULL_PROTOTYPES.
* gcc.texi: Don't mention USE_PROTOTYPES.

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

23 years ago * config/i386/i386.c (ix86_set_move_mem_attrs): New function.
kenner [Sun, 25 Feb 2001 01:28:23 +0000 (01:28 +0000)]
* config/i386/i386.c (ix86_set_move_mem_attrs): New function.
(ix86_set_move_mem_attrs_1): Likewise.
* config/i386/i386-protos.h (ix86_set_move_mem_attrs): New declaration.
* config/i386/i386.md (movstrsi): Call it.

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

23 years ago * config.gcc: Expunge references to alpha/t-pe, pa/t-openbsd,
zack [Sun, 25 Feb 2001 01:24:06 +0000 (01:24 +0000)]
    * config.gcc: Expunge references to alpha/t-pe, pa/t-openbsd,
        x-linux-aout, i386/t-go32, t-osf, m68k/x-m68kv,
        ns32k/xm-netbsd.h, rs6000/t-openbsd, rs6000/t-xnewas,
        rs6000/x-aix41-gld.  These are nonexistent, empty, or obsolete.

        (i750a-*-*): Error here if hosting on i750a.
        (alpha*-*-winnt*, ix86-*-winnt3*): Remove stanzas entirely.

        * x-linux-aout, xm-freebsd.h, i386/beos-pe.h, ns32k/xm-netbsd.h:
        Remove (empty modulo comments).

        * 1750a/xm-1750a.h, alpha/config-nt.sed, alpha/win-nt.h,
        alpha/xm-winnt.h, i386/config-nt.sed, i386/os2.h,
        i386/t-winnt, i386/win-nt.h, i386/xm-freebsd.h, i386/xm-os2.h,
        i386/xm-winnt.h, m68k/x-alloca-c, m88k/x-dguxbcs,
        mips/x-netbsd, mips/x-nws3250v4, rs6000/t-xnewas,
        rs6000/t-xrs6000, rs6000/xm-cygwin.h: Remove (obsolete)

        * i386/crtdll.h, i386/cygwin.h, i386/mingw32.h:
        Remove reference to winnt.h in comment.
        * rs6000/t-newas, rs6000/t-rs6000: Override LIBGCC1_TEST to null.

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

23 years ago * config.gcc: Expunge references to alpha/t-pe, pa/t-openbsd,
zack [Sun, 25 Feb 2001 01:06:15 +0000 (01:06 +0000)]
* config.gcc: Expunge references to alpha/t-pe, pa/t-openbsd,
x-linux-aout, i386/t-go32, t-osf, m68k/x-m68kv,
ns32k/xm-netbsd.h, rs6000/t-openbsd, rs6000/t-xnewas,
rs6000/x-aix41-gld.  These are nonexistent, empty, or obsolete.

(i750a-*-*): Error here if hosting on i750a.
(alpha*-*-winnt*, ix86-*-winnt3*): Remove stanzas entirely.

* x-linux-aout, xm-freebsd.h, i386/beos-pe.h, ns32k/xm-netbsd.h:
Remove (empty modulo comments).

* 1750a/xm-1750a.h, alpha/config-nt.sed, alpha/win-nt.h,
alpha/xm-winnt.h, i386/config-nt.sed, i386/os2.h,
i386/t-winnt, i386/win-nt.h, i386/xm-freebsd.h, i386/xm-os2.h,
i386/xm-winnt.h, m68k/x-alloca-c, m88k/x-dguxbcs,
mips/x-netbsd, mips/x-nws3250v4, rs6000/t-xnewas,
rs6000/t-xrs6000, rs6000/xm-cygwin.h: Remove (obsolete)

* i386/crtdll.h, i386/cygwin.h, i386/mingw32.h:
Remove reference to winnt.h in comment.
* rs6000/t-newas, rs6000/t-rs6000: Override LIBGCC1_TEST to null.

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

23 years ago 2001-02-24 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
sirl [Sun, 25 Feb 2001 00:10:59 +0000 (00:10 +0000)]
    2001-02-24  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

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

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

23 years ago 2001-02-24 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
sirl [Sun, 25 Feb 2001 00:08:01 +0000 (00:08 +0000)]
    2001-02-24  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

        * loop.c (check_dbra_loop): A biv has uses besides counting if it is
        used to set another biv.

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

23 years ago * tree.h (BLOCK_DEAD): New macro.
kenner [Sat, 24 Feb 2001 13:15:55 +0000 (13:15 +0000)]
* tree.h (BLOCK_DEAD): New macro.
(struct tree_block): New flag, dead_flag.
* print-tree.c (print_node, case 'b'): Print missing fields.
* emit-rtl.c (remove_unnecessary_notes): Set BLOCK_DEAD.
* function.c (identify_blocks): Enable test for misplaced notes.
(all_blocks): Skip BLOCK_DEAD blocks.
* integrate.c (integrate_decl_tree): Likewise.

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

23 years ago * errors.c (internal_error, trim_filename): New functions.
kenner [Sat, 24 Feb 2001 11:45:36 +0000 (11:45 +0000)]
* errors.c (internal_error, trim_filename): New functions.
(fancy_abort): Call internal_error.
* errors.h (internal_error, trim_filename): New declarations.

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

23 years agoKill stray blank lines
zack [Sat, 24 Feb 2001 08:17:40 +0000 (08:17 +0000)]
Kill stray blank lines

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

23 years agoDaily bump.
gccadmin [Sat, 24 Feb 2001 08:16:12 +0000 (08:16 +0000)]
Daily bump.

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

23 years agoFri Feb 23 18:12:00 2001 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
ovidiu [Sat, 24 Feb 2001 06:14:36 +0000 (06:14 +0000)]
Fri Feb 23 18:12:00 2001  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>

* sendmsg.c (__objc_forward): Delete strlen() declaration.

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

23 years ago* config/mn10300/mn10300.h (DBX_REGISTER_NUMBER): Reverted
aoliva [Sat, 24 Feb 2001 04:20:15 +0000 (04:20 +0000)]
* config/mn10300/mn10300.h (DBX_REGISTER_NUMBER): Reverted
2000-08-26's patch.
(EXTRA_CONSTRAINT): Formatting changes.

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

23 years ago Change to sometimes include class name in ClassFormatError message.
bothner [Sat, 24 Feb 2001 04:15:31 +0000 (04:15 +0000)]
Change to sometimes include class name in ClassFormatError message.

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

23 years ago * rtl.c (rtl_check_failed_code2): Fix typo in last change.
ghazi [Sat, 24 Feb 2001 03:57:59 +0000 (03:57 +0000)]
* rtl.c (rtl_check_failed_code2): Fix typo in last change.

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

23 years ago * java/lang/Throwable.java (CPlusPlusDemangler): Pass -s java to
bothner [Sat, 24 Feb 2001 03:52:49 +0000 (03:52 +0000)]
* java/lang/Throwable.java (CPlusPlusDemangler):  Pass -s java to
c++filt to select java-style output.

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

23 years ago Handle compiling multiple input files at once, and @FILE syntax.
bothner [Sat, 24 Feb 2001 03:36:22 +0000 (03:36 +0000)]
Handle compiling multiple input files at once, and @FILE syntax.
* gcj.texi:  Updated documentation to match.
and parse.h inadvertently left out from previous check-in.

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

23 years agoHandle compiling multiple input files at once, and @FILE syntax. See ChangeLog.
bothner [Sat, 24 Feb 2001 03:28:39 +0000 (03:28 +0000)]
Handle compiling multiple input files at once, and @FILE syntax. See ChangeLog.

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

23 years ago * gcc.c (record_temp_file, pfatal_with_name, error): Make non-static,
bothner [Sat, 24 Feb 2001 03:20:18 +0000 (03:20 +0000)]
* gcc.c (record_temp_file, pfatal_with_name, error):  Make non-static,
so they can be called from java/jvspec.c.
* gcc.h (record_temp_file, pfatal_with_name, error):  Declare.

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

23 years ago * i386.c (ix86_frame): New structure.
hubicka [Sat, 24 Feb 2001 02:34:05 +0000 (02:34 +0000)]
* i386.c (ix86_frame): New structure.
(ix86_compute_frame_size): Kill.
(ix86_compute_frame_layout): New.
(ix86_save_reg): New.
(ix86_can_use_return_insn_p): Use frame layout stuff.
(ix86_expand_prologue): Likewise.
(ix86_expand_epilogue): Likewise.
(ix86_initial_elimination_offset): Likewise.
(ix86_nsaved_regs): Use ix86_save_reg.
(ix86_emit_save_regs): Likewise.

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

23 years ago * flow.c (find_sub_basic_blocks): New function.
hubicka [Sat, 24 Feb 2001 02:32:33 +0000 (02:32 +0000)]
* flow.c (find_sub_basic_blocks): New function.
(split_block): Be ready for basic block introduced by CODE_LABEL.
(commit_one_edge_insertion): Call find_sub_basic_block.

* flow.c (make_edges): Add edge from entry for blocks starting with
label having ALTERNATE_NAME

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

23 years ago * function.c (epilogue_done): Be ready for first basic block not
hubicka [Sat, 24 Feb 2001 02:22:07 +0000 (02:22 +0000)]
* function.c (epilogue_done): Be ready for first basic block not
containing PROLOGUE_END note.
(reposition_prologue_and_epilogue_notes): Avoid placing
PROLOGUE_END note between BASIC_BLOCK.

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

23 years ago * loop.c (canonicalize_condition): Move to reversed_comparison_code.
hubicka [Sat, 24 Feb 2001 02:18:38 +0000 (02:18 +0000)]
* loop.c (canonicalize_condition): Move to reversed_comparison_code.

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

23 years ago* config/i960/i960.h (FRAME_POINTER_REQUIRED): Revert removal of
dj [Fri, 23 Feb 2001 23:05:33 +0000 (23:05 +0000)]
* config/i960/i960.h (FRAME_POINTER_REQUIRED): Revert removal of
check for current_function_has_nonlocal_goto from 1999-11-12.

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

23 years ago * diagnostic.c (trim_filename): No longer static.
kenner [Fri, 23 Feb 2001 21:17:06 +0000 (21:17 +0000)]
* diagnostic.c (trim_filename): No longer static.
* toplev.h (trim_filename): Declare.
* rtl.c (rtl_check_failed_bounds): Call internal_error.
(rtl_check_failed_type1, rtl_check_failed_type2): Likewise.
(rtl_check_failed_code1, rtl_check_failed_code2): Likewise.
(rtvec_check_failed_bounds): Likewise.
* tree.c (tree_check_failed, tree_class_check_failed): Likewise.

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

23 years ago * convert.c (convert_to_integer): Don't do unsigned unless result or
kenner [Fri, 23 Feb 2001 21:10:35 +0000 (21:10 +0000)]
* convert.c (convert_to_integer): Don't do unsigned unless result or
both inputs are unsigned.

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

23 years ago * fold-const.c (fold_convert): Don't call size_int_type_wide if
kenner [Fri, 23 Feb 2001 21:05:41 +0000 (21:05 +0000)]
* fold-const.c (fold_convert): Don't call size_int_type_wide if
input overflows.

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

23 years ago * c-decl.c (set_block): Set NAMES and BLOCKS from BLOCK.
kenner [Fri, 23 Feb 2001 20:38:58 +0000 (20:38 +0000)]
* c-decl.c (set_block): Set NAMES and BLOCKS from BLOCK.
* ch/decl.c, f/com.c, java/decl.c: Likewise.

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

23 years ago * varasm.c (output_constant): Recompute CODE after lang-specific fn.
kenner [Fri, 23 Feb 2001 20:28:58 +0000 (20:28 +0000)]
* varasm.c (output_constant): Recompute CODE after lang-specific fn.

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

23 years ago2001-02-23 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Fri, 23 Feb 2001 19:22:04 +0000 (19:22 +0000)]
2001-02-23  Benjamin Kosnik  <bkoz@redhat.com>

* include/bits/codecvt.h: Use __builtin_alloca.
* include/bits/ostream.tcc: Same.
* include/bits/fstream.tcc: Same.

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

23 years ago Use VAR=${VAR=...} form.
gdr [Fri, 23 Feb 2001 19:13:33 +0000 (19:13 +0000)]
 Use VAR=${VAR=...} form.

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

23 years ago Use $BUILD_DIR/../../gcc/xgcc
gdr [Fri, 23 Feb 2001 19:06:23 +0000 (19:06 +0000)]
 Use $BUILD_DIR/../../gcc/xgcc

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

23 years ago2001-02-23 Jeffrey Oldham <oldham@codesourcery.com>
oldham [Fri, 23 Feb 2001 17:47:52 +0000 (17:47 +0000)]
2001-02-23  Jeffrey Oldham  <oldham@codesourcery.com>

* Makefile.in (resource.o): Add params.h dependence.
* params.def (MAX_DELAY_SLOT_LIVE_SEARCH): New parameter.
* params.h (MAX_DELAY_SLOT_LIVE_SEARCH): Likewise.
* resource.c: Add dependence on params.h.
(current_live_regs): Fix explanatory comment.
(find_basic_block): Add new parameter to permit limiting search
for a BARRIER.
(mark_target_live_regs): Add new argument to find_basic_block call.
(incr_ticks_for_insn): Likewise.

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

23 years ago2001-02-23 Phil Edwards <pme@sources.redhat.com>
pme [Fri, 23 Feb 2001 17:47:34 +0000 (17:47 +0000)]
2001-02-23  Phil Edwards  <pme@sources.redhat.com>

c++/2052
* include/backward/iostream.h:  Expose std::flush in old headers.

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

23 years ago * diagnostic.c (output_to_stream): Rename to
gdr [Fri, 23 Feb 2001 17:28:25 +0000 (17:28 +0000)]
* diagnostic.c (output_to_stream): Rename to
output_buffer_to_stream. Loses the stream parameter.
(init_output_buffer): Set diagnosic_buffer's stream.
(flush_diagnostic_buffer): Adjust.
(default_print_error_function): Likewise.
(finish_diagnostic): Likewise.
(verbatim): Likewise.

* diagnostic.h (struct output_buffer): Add `stream' field.
(output_buffer_attached_stream): New macro.

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

23 years ago * fold-const.c (extract_muldiv) [case PLUS_EXPR]: If not MULT_EXPR,
jakub [Fri, 23 Feb 2001 12:28:07 +0000 (12:28 +0000)]
* fold-const.c (extract_muldiv) [case PLUS_EXPR]: If not MULT_EXPR,
check if either operand is divisible by C.
(multiple_of_p): Handle LSHIFT_EXPR with small constant shift.
If type is signed, consider negative numbers as well.

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

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