platform/upstream/linaro-gcc.git
23 years ago * configure: Handle temporary files securely using mkdir.
jsm28 [Tue, 2 Oct 2001 06:39:18 +0000 (06:39 +0000)]
* configure: Handle temporary files securely using mkdir.

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

23 years agoFix ia64 scheduler/predicated insn bug report from SAP.
wilson [Tue, 2 Oct 2001 05:00:19 +0000 (05:00 +0000)]
Fix ia64 scheduler/predicated insn bug report from SAP.
* sched-deps.c (add_dependence): When elide conditional dependence,
check that insn doesn't modify cond2.

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

23 years ago2001-10-01 Dale Johannesen <dalej@apple.com>
shebs [Tue, 2 Oct 2001 03:36:45 +0000 (03:36 +0000)]
2001-10-01  Dale Johannesen  <dalej@apple.com>

        * config/rs6000/rs6000.h (enum processor_type): Add support
        for 7400 (G4) and 7450.
        (RTX_COSTS): Ditto.
        * config/rs6000/rs6000.c (rs6000_override_options): Ditto.
        (rs6000_issue_rate): Ditto.
        (rs6000_adjust_cost): Fix cycle counts for compares.
        (debug_stack_info):  Fix an obvious typo.
        * config/rs6000/rs6000.md: Add functional units for 7400 and 7450.
        * doc/invoke.texi: Document.
        * config/rs6000/darwin.h (TARGET_DEFAULT): Set to be reasonable
        for Darwin.
        (PROCESSOR_DEFAULT): Ditto.

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

23 years ago * Makefile.in (STAGE2_FLAGS_TO_PASS): Propagate HOST_CC.
ljrittle [Tue, 2 Oct 2001 02:09:40 +0000 (02:09 +0000)]
* Makefile.in (STAGE2_FLAGS_TO_PASS): Propagate HOST_CC.
(fixinc.sh): Map CC, CFLAGS and LDFLAGS to HOST_* versions for
later recursive make invocation.

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

23 years agoFix for ia64-java bug reported by Hans Boehm.
wilson [Tue, 2 Oct 2001 02:01:55 +0000 (02:01 +0000)]
Fix for ia64-java bug reported by Hans Boehm.
* optabs.c (emit_libcall_block): When using non-call exceptions,
don't add REG_LIBCALL reg notes to trapping calls.

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

23 years ago * flow.c (propagate_block_delete_libcall): Remove unused first arg
mmitchel [Mon, 1 Oct 2001 23:35:03 +0000 (23:35 +0000)]
* flow.c (propagate_block_delete_libcall): Remove unused first arg
(propagate_one_insn):  Update for above change

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

23 years ago * unwind-sjlj.c (_Unwind_GetRegionStart, _Unwind_GetDataRelBase,
mmitchel [Mon, 1 Oct 2001 23:31:47 +0000 (23:31 +0000)]
* unwind-sjlj.c (_Unwind_GetRegionStart, _Unwind_GetDataRelBase,
_Unwind_GetTextRelBase): Argument is unused.

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

23 years ago * alias.c (get_alias_set): Try to replace PLACEHOLDER_EXPR.
kenner [Mon, 1 Oct 2001 23:22:24 +0000 (23:22 +0000)]
* alias.c (get_alias_set): Try to replace PLACEHOLDER_EXPR.
Loop through NOPs, placeholders, and components.
Don't go through NOPs if change mode.
(record_alias_subset): Do nothing if SUBSET and SET are the same.
* emit-rtl.c (set_mem_alias_set): Enable check.
* expr.c (find_placeholder): New function.
(expand_expr, case PLACEHOLDER_EXPR): Use it.
(expand_expr, case COMPONENT_EXPR): Always copy OP0 when we need
to modify it and avoid unneeded copies.
* expr.h (expand_expr): Always define.
(find_placeholder): New declaration.

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

23 years ago * java/io/FileWriter.java: Merge with Classpath.
mark [Mon, 1 Oct 2001 18:24:54 +0000 (18:24 +0000)]
* java/io/FileWriter.java: Merge with Classpath.
* java/io/FilterInputStream.java: Ditto.
(mark): no longer synchronized
(reset): Likewise
* java/io/FilterOutputStream.java: Merge with Classpath.
* java/io/FilterReader.java: Ditto.
(mark): no longer synchronized
(reset): Likewise
* java/io/FilterWriter.java: Merge with Classpath.
* java/io/Writer.java: Ditto.
* java/lang/Compiler.java: Ditto.
* java/lang/Process.java: Ditto.
* java/lang/Void.java: Ditto.
* java/net/ContentHandler.java: Ditto.
* java/net/DatagramPacket.java: Ditto.
* java/net/MulticastSocket.java: Merge comments with Classpath.

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

23 years ago * config/cpu/cris/bits/atomicity.h: Correct file header.
hp [Mon, 1 Oct 2001 16:57:44 +0000 (16:57 +0000)]
* config/cpu/cris/bits/atomicity.h: Correct file header.

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

23 years ago * config/m68hc11/m68hc11.md ("add-split"): Fix add split when
ciceron [Mon, 1 Oct 2001 13:33:55 +0000 (13:33 +0000)]
* config/m68hc11/m68hc11.md ("add-split"): Fix add split when
operand 2 is the stack pointer.
("addr-peephole"): Fix address computation peephole when operand 2
is the stack pointer.

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

23 years ago * config/i386/i386.c (ix86_va_arg): Call set_mem_alias_set.
kenner [Mon, 1 Oct 2001 13:24:12 +0000 (13:24 +0000)]
* config/i386/i386.c (ix86_va_arg): Call set_mem_alias_set.
(ix86_setup_incoming_varargs): Likewise.

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

23 years ago * decl.c (grokdeclarator): Copy array typedef handling from C
jason [Mon, 1 Oct 2001 13:18:49 +0000 (13:18 +0000)]
    * decl.c (grokdeclarator): Copy array typedef handling from C
        frontend.

        * decl.c (grokdeclarator): Copy too-large array handling from C
        frontend.

        * stor-layout.c (layout_type): Don't complain about too-large
        array here.

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

23 years ago * function.c (keep_stack_depressed): Don't use delete_insn.
kenner [Mon, 1 Oct 2001 11:00:47 +0000 (11:00 +0000)]
* function.c (keep_stack_depressed): Don't use delete_insn.

* expr.h (set_mem_alias_set): Move decl to here.
* rtl.h (mem_attrs): New typedef and struct.
(union rtunion_def): Add field for mem_attrs.
(X0MEMATTR, MEM_ATTRS): New macros.
(MEM_ALIAS_SET): Use MEM_ATTRS.
(MEM_DECL, MEM_OFFSET, MEM_SIZE, MEM_ALIGN): New macros.
(MEM_COPY_ATTRIBUTES): Copy MEM_ATTRS.
(set_mem_alias_set): Delete decl from here.

* alias.c (set_mem_alias_set): Delete from here.
* emit-rtl.c (mem_attrs_htab): New variable.
(rtx_htab_mark, rtx_htab_mark_1): Deleted.
(mem_attrs_htab_hash, mem_attrs_htab_eq): New functions.
(mem_attrs_mark, get_mem_attrs): Likewise.
(gen_rtx_MEM): Clear MEM_ATTRS.
(set_mem_attributes): Move to here.
(set_mem_alias_set): Likewise, and call get_mem_attrs.
(init_emit_once): const_int_htab now deletable htab.
Initialize mem_attrs_htab.
* explow.c (set_mem_attributes): Delete from here.
* function.c (put_var_into_stack): Clear MEM_ATTRS.
(gen_mem_addressof): Likewise; rework to use set_mem_attributes.
* ggc-common.c (ggc_mark_rtx_children, case MEM): New case.
* reload1.c (reload): Rework changing REG to MEM.

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

23 years ago * mi6.c, mi6a.h, mi6b.h, mi6c.h, mi6d.h, mi6e.h: Correct tests.
neil [Mon, 1 Oct 2001 10:04:36 +0000 (10:04 +0000)]
* mi6.c, mi6a.h, mi6b.h, mi6c.h, mi6d.h, mi6e.h: Correct tests.

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

23 years agoDaily bump.
gccadmin [Mon, 1 Oct 2001 07:16:48 +0000 (07:16 +0000)]
Daily bump.

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

23 years ago2001-10-01 Toon Moene <toon@moene.indiv.nluug.nl>
toon [Mon, 1 Oct 2001 06:30:39 +0000 (06:30 +0000)]
2001-10-01  Toon Moene  <toon@moene.indiv.nluug.nl>

* Makefile.in: Set major:minor:sub version number
of shared libf2c to 0:0:0.

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

23 years ago * POTFILES.in: Add all missing files.
zack [Mon, 1 Oct 2001 04:21:20 +0000 (04:21 +0000)]
* POTFILES.in: Add all missing files.

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

23 years ago2001-09-30 Toon Moene <toon@moene.indiv.nluug.nl>
toon [Sun, 30 Sep 2001 22:50:54 +0000 (22:50 +0000)]
2001-09-30  Toon Moene  <toon@moene.indiv.nluug.nl>

* libf2c/ChangeLog: Forgot to check in.
* libf2c/libU77/config.hin: Forgot to check in.

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

23 years ago2001-09-29 Juergen Pfeifer <juergen.pfeifer@gmx.net>
toon [Sun, 30 Sep 2001 22:06:23 +0000 (22:06 +0000)]
2001-09-29  Juergen Pfeifer  <juergen.pfeifer@gmx.net>

Make libf2c a shared library (gcc/f directory).

* Make-lang.in: Pass define of frtbegin.o to compilation of g77spec.c.
* g77spec.c (lang_specific_driver): Treat linking in of frtbegin.o.

2001-09-29  Juergen Pfeifer  <juergen.pfeifer@gmx.net>
            Toon Moene  <toon@moene.indiv.nluug.nl>

Make libf2c a shared library (libf2c directory).

* aclocal.m4: Get definition of libtool.
* Makefile.in: Use libtool.
* configure.in: Use libtool.
* configure: Regenerated.
* libF77/Makefile.in: Use libtool; treat main program contained in
libF77/main.c specially.
* libF77/configure.in: Use libtool.
* libF77/configure: Regenerated.
* libI77/Makefile.in: Use libtool.
* libI77/configure.in: Use libtool.
* libI77/configure: Regenerated.
* libU77/Makefile.in: Use libtool.
* libU77/configure.in: Use libtool.
* libU77/configure: Regenerated.
* libU77/date_.c: Adapt for -fPIC compiling.
* libU77/vxtidate_.c: Ditto.

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

23 years ago2001-09-30 H.J. Lu <hjl@gnu.org>
hjl [Sun, 30 Sep 2001 18:22:39 +0000 (18:22 +0000)]
2001-09-30  H.J. Lu <hjl@gnu.org>

* acconfig.h (PREFIX_INCLUDE_DIR): New variable.
* config.in: Rebuild.

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

23 years ago * java/io/DataInput.java: Merge with Classpath.
mark [Sun, 30 Sep 2001 18:04:38 +0000 (18:04 +0000)]
* java/io/DataInput.java:  Merge with Classpath.
* java/io/DataOutput.java:  Idem.
* java/io/FilenameFilter.java:  Idem.
* java/io/Serializable.java:  Idem.
* java/lang/Cloneable.java:  Idem.
* java/lang/Comparable.java:  Idem.
* java/lang/Runnable.java:  Idem.
* java/lang/reflect/Member.java:  Idem.
* java/net/ContentHandlerFactory.java:  Idem.
* java/net/FileNameMap.java:  Idem.
* java/net/SocketImplFactory.java:  Idem.
* java/net/SocketOptions.java:  Idem.
* java/net/URLStreamHandlerFactory.java:  Idem.

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

23 years ago * config/m68hc11/m68hc11.md ("cmpqi_1"): Fix constraints.
ciceron [Sun, 30 Sep 2001 17:33:18 +0000 (17:33 +0000)]
* config/m68hc11/m68hc11.md ("cmpqi_1"): Fix constraints.
("tsthi_1"): Avoid allocation in register y.
("*movqi_68hc12"): Reorganize and fix constraints.
("zero_extendqisi2"): Prefer d over x and y for operand 1.
("addqi3"): Likewise.
("addhi3"): Fix constraints.
("*logicalhi3_zexthi"): Disparage soft registers.

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

23 years ago * config/m68hc11/m68hc11.c (m68hc11_gen_movhi): Fix move of sp
ciceron [Sun, 30 Sep 2001 12:51:17 +0000 (12:51 +0000)]
* config/m68hc11/m68hc11.c (m68hc11_gen_movhi): Fix move of sp
to tmp reg.

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

23 years ago * config/m68hc11/m68hc11.h(INCOMING_RETURN_ADDR_RTX): Remove so
ciceron [Sun, 30 Sep 2001 12:44:06 +0000 (12:44 +0000)]
* config/m68hc11/m68hc11.h(INCOMING_RETURN_ADDR_RTX): Remove so
that we use setjmp/longjmp exceptions.

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

23 years ago * mi6.c, mi6a.h, mi6b.h, mi6c.h, mi6d.h, mi6e.h: New test.
neil [Sun, 30 Sep 2001 12:02:22 +0000 (12:02 +0000)]
* mi6.c, mi6a.h, mi6b.h, mi6c.h, mi6d.h, mi6e.h: New test.

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

23 years ago * cpphash.h (POOL_ALIGN, POOL_FRONT, POOL_LIMIT, POOL_BASE,
neil [Sun, 30 Sep 2001 10:03:11 +0000 (10:03 +0000)]
* cpphash.h (POOL_ALIGN, POOL_FRONT, POOL_LIMIT, POOL_BASE,
POOL_SIZE, POOL_ROOM, POOL_COMMIT, struct cpp_chunk,
struct cpp_pool, _cpp_init_pool, _cpp_free_pool, _cpp_pool_reserve,
_cpp_pool_alloc, _cpp_next_chunk): Remove.
(_cpp_extend_buff, BUFF_ROOM): Update.
(_cpp_append_extend_buff): New.
(struct cpp_reader): Remove macro_pool, add a_buff.
* cppinit.c (cpp_create_reader): Initialize a_buff, instead of
macro_pool.
(cpp_destroy): Free a_buff instead of macro_pool.
* cpplex.c (new_chunk, chunk_suitable, _cpp_next_chunk,
new_chunk, _cpp_init_pool, _cpp_free_pool, _cpp_pool_reserve,
_cpp_pool_alloc, ): Remove.
(parse_number, parse_string): Update use of _cpp_extend_buff.
(_cpp_extend_buff): Update.
(_cpp_append_extend_buff, cpp_aligned_alloc): New.
* cpplib.c (glue_header_name, parse_answer):
Update use of _cpp_extend_buff.
(cpp_register_pragma, cpp_register_pragma_space): Use
_cpp_aligned_alloc.
(do_assert, do_unassert): Check for EOL, update.
* cppmacro.c (stringify_arg, collect_args): Update to use
_cpp_extend_buff and _cpp_append_extend_buff.
(save_parameter, parse_params, alloc_expansion_token,
_cpp_create_definition): Rework memory management.

* gcc.dg/cpp/redef2.c: Add test.

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

23 years ago PR libgcj/4383
bryce [Sun, 30 Sep 2001 07:52:16 +0000 (07:52 +0000)]
PR libgcj/4383

* gnu/gcj/protocol/file/Connection.java (connect): Throw
FileNotFoundException if appropriate.
* gnu/gcj/protocol/file/Handler.java (openConnection): Throw an
IOException if we got a file: url with a hostname. Comment out protocol
switch to ftp for now.
* java/net/URL.java (URL): Include protocol name in exception
message
when handler can't be found.

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

23 years agoDaily bump.
gccadmin [Sun, 30 Sep 2001 07:16:14 +0000 (07:16 +0000)]
Daily bump.

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

23 years ago * java/lang/natClass.cc (_Jv_IsAssignableFrom): Handle the case of
bryce [Sun, 30 Sep 2001 02:41:54 +0000 (02:41 +0000)]
    * java/lang/natClass.cc (_Jv_IsAssignableFrom): Handle the case of
        an uninitialized target class.

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

23 years ago* config/i386/xm-djgpp.h (GCC_DRIVER_HOST_INITIALIZATION): Don't
dj [Sun, 30 Sep 2001 01:34:42 +0000 (01:34 +0000)]
* config/i386/xm-djgpp.h (GCC_DRIVER_HOST_INITIALIZATION): Don't
update md_exec_prefix.
(UPDATE_PATH_HOST_CANONICALIZE): Don't free PATH as it can point
to string constant.

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

23 years ago* config/s390/s390.h (EXTRA_CC_MODES): Add CCLmode.
uweigand [Sat, 29 Sep 2001 22:56:14 +0000 (22:56 +0000)]
* config/s390/s390.h (EXTRA_CC_MODES): Add CCLmode.
(SELECT_CC_MODE): Use s390_select_ccmode.
* config/s390/s390-protos.h (s390_select_ccmode): Add.
* config/s390/s390.c (s390_select_ccmode): New.
(s390_match_ccmode): Add CCLmode.
(s390_branch_condition_mask, s390_branch_condition_mnemonic): New.
(output_branch_condition, output_inverse_branch_condition): Removed.
(print_operand): Use s390_branch_condition_mnemonic.
* config/s390/s390.md (addsi3_cc, addsi3_cconly, addsi3_cconly2,
subsi3_cc, subsi3_cconly): Use logical instructions and CCLmode.
(bunordered, bordered, buneq, bungt, bunlt, bnuge, bunle, bltgt): New.

* config/s390/s390.c (check_and_change_labels): Preserve CC mode
when converting conditional branches to far branches.
* config/s390/s390.md (cmpstr_const, cmpstr_64, cmpstr_31, cmpint_si,
cmpint_di): Use CCSmode instead of CCUmode.

* config/s390/s390.c (legitimate_la_operand_p): New.
* config/s390/s390-protos.h (legitimate_la_operand_p): Add.
* config/s390/s390.md (movsi): Convert load address patterns to
arithmetic operations when necessary.
(addaddr_picR, addaddr_picL, addaddr_picN): Removed.
(do_la): Renamed to *do_la and use legitimate_la_operand_p.
(*do_la_reg_0): Don't use before reload.

* config/s390/s390.c (legitimize_address): Make more efficient
use of two-register addressing mode.

* config/s390/s390.c (s390_function_prologue): Fix incorrect prolog
with -mno-backchain in some corner cases.

* config/s390/s390.md (cmpsi_cct): Operands 0 and 1 do not commute.

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

23 years ago* reload.c (find_reloads): Mark new USE insns with QImode.
aoliva [Sat, 29 Sep 2001 21:52:12 +0000 (21:52 +0000)]
* reload.c (find_reloads): Mark new USE insns with QImode.
(find_reloads_toplev, find_reloads_address, subst_reg_equivs,
find_reloads_subreg_address): Likewise.
* regrename.c (note_sets, clear_dead_regs): Abort if pseudos are
encountered.
* reload1.c (reload_combine_note_use): Likewise, inside USEs and
CLOBBERs.
(reload): Make sure there are no USEs with mode other than
VOIDmode.  At the end, remove those marked with QImode.

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

23 years ago* config-lang.in (target_libs): Added target-gperf, so that we
aoliva [Sat, 29 Sep 2001 19:55:39 +0000 (19:55 +0000)]
* config-lang.in (target_libs): Added target-gperf, so that we
don't try to build it if C++ is disabled.

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

23 years ago* Makefile.in (configure-target-gperf): Depend on $(ALL_GCC_CXX).
aoliva [Sat, 29 Sep 2001 19:36:13 +0000 (19:36 +0000)]
* Makefile.in (configure-target-gperf): Depend on $(ALL_GCC_CXX).

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

23 years ago * gnu/gcj/runtime/SharedLibLoader.java: New class.
bothner [Sat, 29 Sep 2001 19:16:27 +0000 (19:16 +0000)]
* gnu/gcj/runtime/SharedLibLoader.java:  New class.
* gnu/gcj/runtime/natSharedLibLoader.cc:  Native methods.
* Makefile.am:  Update accordingly.
* configure.in:  Add AC_CHECK_LIB for dlopen.
* include/config.h.in:  Add HAVE_DLOPEN.

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

23 years ago * cppdefault.c (cpp_include_defaults): Also search PREFIX_INCLUDE_DIR.
bothner [Sat, 29 Sep 2001 18:22:05 +0000 (18:22 +0000)]
* cppdefault.c (cpp_include_defaults):  Also search PREFIX_INCLUDE_DIR.
* Makefile.in (includedir):  Rename to local_includedir.
(includedir):  Define as $(prefix)/include.
* config.in (PREFIX_INCLUDE_DIR):  New variable.
* configure.in (PREFIX_INCLUDE_DIR):  Test for new variable.

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

23 years ago * config/cpu/cris/bits/limits.h: New file.
hp [Sat, 29 Sep 2001 16:49:48 +0000 (16:49 +0000)]
* config/cpu/cris/bits/limits.h: New file.

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

23 years ago * configure.target (LIMITSH): Set for cris.
hp [Sat, 29 Sep 2001 16:49:20 +0000 (16:49 +0000)]
* configure.target (LIMITSH): Set for cris.
(cpu_include_dir): Set for cris-*-*.
* config/cpu/cris/bits/atomicity.h: New file.
* config/cpu/cris/bits/limits.h: New file.

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

23 years ago* configure: Regenerate.
dj [Sat, 29 Sep 2001 16:48:58 +0000 (16:48 +0000)]
* configure: Regenerate.

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

23 years agoDocumentation for vector extensions
bernds [Sat, 29 Sep 2001 16:33:20 +0000 (16:33 +0000)]
Documentation for vector extensions

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

23 years ago * doc/invoke.texi (Optimize Options): Revert an accidental checkin.
hubicka [Sat, 29 Sep 2001 13:15:47 +0000 (13:15 +0000)]
* doc/invoke.texi (Optimize Options): Revert an accidental checkin.

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

23 years ago * cse.c (cse_insn) [HAVE_cc0]: Fix typo delete-insn -> delete_insn.
hp [Sat, 29 Sep 2001 12:17:04 +0000 (12:17 +0000)]
* cse.c (cse_insn) [HAVE_cc0]: Fix typo delete-insn -> delete_insn.

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

23 years ago * doc/invoke.texi (Optimize Options): Delete spurious @table.
hp [Sat, 29 Sep 2001 10:56:04 +0000 (10:56 +0000)]
* doc/invoke.texi (Optimize Options): Delete spurious @table.

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

23 years agoDaily bump.
gccadmin [Sat, 29 Sep 2001 07:16:56 +0000 (07:16 +0000)]
Daily bump.

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

23 years ago * Makefile.am (libgcj_la_LDFLAGS): Added $(GCLIBS), $(ZLIBS).
jsturm [Sat, 29 Sep 2001 04:07:28 +0000 (04:07 +0000)]
* Makefile.am (libgcj_la_LDFLAGS): Added $(GCLIBS), $(ZLIBS).
* Makefile.in: Rebuilt.

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

23 years agoRemove deleted a29k/udi.h
zack [Sat, 29 Sep 2001 00:35:43 +0000 (00:35 +0000)]
Remove deleted a29k/udi.h

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

23 years ago * varasm.c (assemble_integer): Bound alignment check by
rth [Sat, 29 Sep 2001 00:26:02 +0000 (00:26 +0000)]
    * varasm.c (assemble_integer): Bound alignment check by
        BIGGEST_ALIGNMENT.

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

23 years ago * cfgrtl.c (redirect_edge_and_branch): Abort if redirect_jump fails.
rth [Sat, 29 Sep 2001 00:25:08 +0000 (00:25 +0000)]
    * cfgrtl.c (redirect_edge_and_branch): Abort if redirect_jump fails.

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

23 years ago2001-09-28 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Fri, 28 Sep 2001 23:44:48 +0000 (23:44 +0000)]
2001-09-28  Benjamin Kosnik  <bkoz@redhat.com>

* config/locale/time_members_gnu.h (__timepunct::_M_get_helper): Add.
(__timepunct::_M_put_helper): Add.
* config/locale/time_members_generic.h: Same.
* include/bits/locale_facets.h (__match_parallel): Remove. Format.
(__timepunct): Add data members.
(__timepunct::_M_days): Add.
(__timepunct::_M_days_abbreviated): Add.
(__timepunct::_M_months): Add.
(__timepunct::_M_months_abbreviated): Add.
(__timepunct::_M_initialize_timepunct): Add.
* include/bits/locale_facets.tcc: Same.
* src/locale-inst.cc: Remove instantiations for __match_parallel.
* acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add CTIME_CC.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* testsuite/22_locale/time_put_members_char.cc: Mark XFAIL.
* testsuite/22_locale/time_put_members_char.cc (test01): New file.
* testsuite/22_locale/time_get.cc: New file.

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

23 years ago * config/i386/sol2.h (CPLUSPLUS_CPP_SPEC): Define.
ro [Fri, 28 Sep 2001 21:35:06 +0000 (21:35 +0000)]
* config/i386/sol2.h (CPLUSPLUS_CPP_SPEC): Define.

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

23 years ago * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Use
ro [Fri, 28 Sep 2001 19:42:12 +0000 (19:42 +0000)]
* testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Use
correct multilib builddir.
Properly locate libgcc_s.

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

23 years agoAdd support for 3Dnow builtins
bernds [Fri, 28 Sep 2001 18:00:35 +0000 (18:00 +0000)]
Add support for 3Dnow builtins

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

23 years ago * i386-protos.h (ix86_setup_incoming_varargs, ix86_va_arg,
hubicka [Fri, 28 Sep 2001 17:20:25 +0000 (17:20 +0000)]
* i386-protos.h (ix86_setup_incoming_varargs, ix86_va_arg,
ix86_va_start, ix86_build_va_list): Declare.
* i386.c (ix86_setup_incoming_varargs, ix86_va_arg,
ix86_va_start, ix86_build_va_list): New global functions.
* i386.md (sse_prologue_save_insn): New insn.
(sse_prologue_save): New expander.
* i386.h (EXPAND_BUILTIN_VA_ARG, EXPAND_BUILTIN_VA_START,
BUILD_VA_LIST_TYPE, SETUP_INCOMING_VARARGS): New macros.

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

23 years ago * concat.c: Include stdlib.h.
ghazi [Fri, 28 Sep 2001 15:31:03 +0000 (15:31 +0000)]
* concat.c: Include stdlib.h.

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

23 years ago * cpplex.c (new_buff, _cpp_get_buff, _cpp_extend_buff):
neil [Fri, 28 Sep 2001 13:25:38 +0000 (13:25 +0000)]
* cpplex.c (new_buff, _cpp_get_buff, _cpp_extend_buff):
Use size_t everywhere, make definitions consistent with
prototypes.

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

23 years ago * gcse.c (replace_store_insn): Use delete_insn.
hubicka [Fri, 28 Sep 2001 13:01:41 +0000 (13:01 +0000)]
* gcse.c (replace_store_insn): Use delete_insn.
* loop.c (move_movables): Likewise; avoid delete_insn
from clobbering notes moved elsewhere.
(check_dbra_loop): Use delete_insn.
* ssa.c (convert_from_ssa): Likewise.
* cse.c (cse_insn): Use delete_insn.

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

23 years ago * cpphash.h (struct cpp_buff): Make unsigned.
neil [Fri, 28 Sep 2001 09:40:22 +0000 (09:40 +0000)]
* cpphash.h (struct cpp_buff): Make unsigned.
(_cpp_get_buff): Take length of size_t.
(_cpp_unaligned_alloc): New.
(BUFF_ROOM, BUFF_FRONT, BUFF_LIMIT): New.
(struct cpp_reader): Remove ident_pool.  Add u_buff.
* cppinit.c (cpp_create_reader): Initialize u_buff, not ident_pool.
(cpp_destroy): Destroy u_buff, not ident_pool.
* cpplex.c (parse_number, parse_string, save_comment,
cpp_token_as_text): Update to use the unaligned buffer.
(new_buff): Make unsigned.
(_cpp_unaligned_alloc): New.
* cpplib.c (glue_header_name): Update to use the unaligned buffer.
* cppmacro.c (new_number_token, builtin_macro, stringify_arg):
Similarly.
(collect_args): Make unsigned.

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

23 years agoDaily bump.
gccadmin [Fri, 28 Sep 2001 07:16:44 +0000 (07:16 +0000)]
Daily bump.

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

23 years ago * cpplex.c (cpp_output_token): Use a putc loop for
zack [Fri, 28 Sep 2001 07:00:27 +0000 (07:00 +0000)]
* cpplex.c (cpp_output_token): Use a putc loop for
SPELL_OPERATOR, and fwrite for SPELL_IDENT.

* configure.in: Detect fwrite_unlocked and fprintf_unlocked.
* configure, config.in: Regenerate.
* system.h: Replace fwrite and fprintf with their unlocked
variants if available.

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

23 years ago2001-09-28 Robert Anderson <rwa@alumni.princeton.edu>
toon [Fri, 28 Sep 2001 06:21:55 +0000 (06:21 +0000)]
2001-09-28  Robert Anderson  <rwa@alumni.princeton.edu>

* expr.c (ffeexpr_sym_rhs_dimlist_): Allow array elements
as bounds of adjustable arrays.

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

23 years ago * dwarf2out.c (dwarf2out_frame_finish): Never elide .debug_frame
rth [Fri, 28 Sep 2001 00:23:54 +0000 (00:23 +0000)]
    * dwarf2out.c (dwarf2out_frame_finish): Never elide .debug_frame
        in favour of .eh_frame.

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

23 years ago2001-09-27 Phil Edwards <pme@gcc.gnu.org>
pme [Thu, 27 Sep 2001 22:44:24 +0000 (22:44 +0000)]
2001-09-27  Phil Edwards  <pme@gcc.gnu.org>

* include/std/*:  Add Doxygen hooks.
* docs/doxygen/Intro.3:  New file, general intro to the man pages.
* docs/doxygen/mainpage.doxy:  Formatting tweaks.  List our own links
rather than using a generated index.
* docs/doxygen/user.cfg.in:  Disable the index, enable man pages.
* docs/doxygen/run_doxygen:  Massage the generated man pages, using...
* docs/doxygen/stdheader.cc:  ...this new file.

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

23 years ago(FUNCTION_VALUE): Change hardcoded 33 and 3 to macros.
aldyh [Thu, 27 Sep 2001 21:48:25 +0000 (21:48 +0000)]
(FUNCTION_VALUE): Change hardcoded 33 and 3 to  macros.
LIBCALL_VALUE: Likewise.

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

23 years ago* libiberty.texi: (Top level): Add syncodeindex pg. Add
dj [Thu, 27 Sep 2001 19:55:37 +0000 (19:55 +0000)]
* libiberty.texi: (Top level): Add syncodeindex pg.  Add
@dircategory and @direntry directives.  Add @finalout.
(many nodes): Lose the next,prev,up pointers on the @nide line.
(Using, Supplemental Functions, Replacement Functions): Fix
markup.
(Functions): Move around, to allow makeinfo to build the manual
without next,prev,up pointers in thye node lines.
(Licenses): Fix typos.

* index.c, rindex.c, strchr.c, strerror.c, strrchr.c, strstr.c,
strtol.c, xatexit.c, xexit.c, xmalloc.c: Fix spelling and markup.
* functions.texi: Regenerate.

* copying-lib.texi: Lose the next,prev,up pointers on the @node
line.

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

23 years ago* configure.in: Don't use in-tree texinfo, because libiberty must
dj [Thu, 27 Sep 2001 19:44:32 +0000 (19:44 +0000)]
* configure.in: Don't use in-tree texinfo, because libiberty must
be built before it.  Check for makeinfo version 4 or higher.
* functions.texi: Regenerate.

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

23 years ago * gcc.c-torture/execute/loop-2e.x: This is a manifestation of a
geoffk [Thu, 27 Sep 2001 19:32:24 +0000 (19:32 +0000)]
* gcc.c-torture/execute/loop-2e.x: This is a manifestation of a
long-standing bug on i686, apparently.
* gcc.c-torture/execute/loop-2c.x: New file.
* gcc.c-torture/execute/loop-2d.x: New file.
* gcc.c-torture/execute/loop-3c.x: New file.

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

23 years ago2001-09-26 Alexandre Petit-Bianco <apbianco@redhat.com>
apbianco [Thu, 27 Sep 2001 19:20:12 +0000 (19:20 +0000)]
2001-09-26  Alexandre Petit-Bianco  <apbianco@redhat.com>

* parse.y (check_final_variable_indirect_assignment): For
COMPOUND_EXPR, return only if finals were found initialized
properly, if not, keep on checking.
(check_final_variable_global_assignment_flag): New local
error_found, set when appropriate and used to decide whether to
report uninitialized finals. Fixed typo in comment.

( http://gcc.gnu.org/ml/gcc-patches/2001-09/msg01160.html )

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

23 years ago2001-09-27 Alexandre Petit-Bianco <apbianco@redhat.com>
apbianco [Thu, 27 Sep 2001 19:17:16 +0000 (19:17 +0000)]
2001-09-27  Alexandre Petit-Bianco  <apbianco@redhat.com>

* libjava.compile/final_initialization_in_ctor.java: New file

( http://gcc.gnu.org/ml/gcc-patches/2001-09/msg01160.html )

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

23 years ago2001-09-26 Will Cohen <wcohen@redhat.com>
wcohen [Thu, 27 Sep 2001 18:01:15 +0000 (18:01 +0000)]
2001-09-26  Will Cohen <wcohen@redhat.com>

* configure.in (*-*-linux*): Disable configuration of target-newlib
and target-libgloss.

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

23 years ago * java/util/IdentityHashMap.java (containsKey): Use getHash.
tromey [Thu, 27 Sep 2001 16:49:13 +0000 (16:49 +0000)]
* java/util/IdentityHashMap.java (containsKey): Use getHash.
(get): Likewise.
(put): Likewise.
(remove): Likewise.
(getHash): New method.
(tombstone, emptyslot): Now static final.
(put): Correctly determine when to rehash, and correctly rehash.
(containsKey, remove): Test against table length with `>='.

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

23 years ago * cpphash.h: Update comment.
neil [Thu, 27 Sep 2001 12:59:38 +0000 (12:59 +0000)]
* cpphash.h: Update comment.
* cpplex.c: Update comments.
(_cpp_can_paste): Remove.
* cpplib.h (_cpp_can_paste): Remove.
* cppmacro.c (paste_tokens, paste_all_tokens): Update to use the
lexer rather than _cpp_can_paste.

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

23 years ago * doc/cppinternals.texi: Update.
neil [Thu, 27 Sep 2001 11:10:40 +0000 (11:10 +0000)]
* doc/cppinternals.texi: Update.

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

23 years agoDaily bump.
gccadmin [Thu, 27 Sep 2001 07:16:41 +0000 (07:16 +0000)]
Daily bump.

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

23 years ago * include/Makefile.am: Remove RCS Id strings.
shebs [Thu, 27 Sep 2001 00:48:01 +0000 (00:48 +0000)]
    * include/Makefile.am: Remove RCS Id strings.
        * src/Makefile.am: Ditto.
        * docs/doxygen/run_doxygen: Ditto.
        * docs/html/configopts.html: Ditto.
        * docs/html/documentation.html: Ditto.
        * docs/html/explanations.html: Ditto.
        * docs/html/install.html: Ditto.
        * docs/html/17_intro/howto.html: Ditto.
        * docs/html/18_support/howto.html: Ditto.
        * docs/html/19_diagnostics/howto.html: Ditto.
        * docs/html/20_util/howto.html: Ditto.
        * docs/html/21_strings/howto.html: Ditto.
        * docs/html/22_locale/howto.html: Ditto.
        * docs/html/23_containers/howto.html: Ditto.
        * docs/html/24_iterators/howto.html: Ditto.
        * docs/html/25_algorithms/howto.html: Ditto.
        * docs/html/26_numerics/howto.html: Ditto.
        * docs/html/27_io/howto.html: Ditto.
        * docs/html/ext/howto.html: Ditto.
        * docs/html/ext/sgiexts.html: Ditto.
        * docs/html/faq/index.html: Ditto.
        * docs/html/faq/index.txt: Ditto.

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

23 years ago * gnu/classpath/Configuration.java.in (INIT_LOAD_LIBRARY): New
tromey [Thu, 27 Sep 2001 00:24:52 +0000 (00:24 +0000)]
* gnu/classpath/Configuration.java.in (INIT_LOAD_LIBRARY): New
constant.
* java/io/StreamTokenizer.java, java/util/ResourceBundle.java:
Re-merged with Classpath.

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

23 years ago * java/io/DataInputStream.java (readChar): Use readFully.
tromey [Wed, 26 Sep 2001 22:49:02 +0000 (22:49 +0000)]
* java/io/DataInputStream.java (readChar): Use readFully.
(readInt): Likewise.
(readLong): Likewise.
(readShort): Likewise.
(readUnsignedShort): Likewise.

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

23 years ago * cpphash.h (struct cpp_pool): Remove locks and locked.
neil [Wed, 26 Sep 2001 21:44:35 +0000 (21:44 +0000)]
* cpphash.h (struct cpp_pool): Remove locks and locked.
(struct cpp_context): Add member buff.
(struct cpp_reader): Remove member argument_pool.
(_cpp_lock_pool, _cpp_unlock_pool): Remove.
* cppinit.c (cpp_create_reader, cpp_destroy): Argument_pool is dead.
* cpplex.c (chunk_suitable): Remove pool argument.
(MIN_BUFF_SIZE, BUFF_SIZE_UPPER_BOUND, EXTENDED_BUFF_SIZE): New.
(new_buff, _cpp_extend_buff): Update.
(_cpp_get_buff): Fix silly pointer bug.  Be more selective about
which buffer is returned.
(_cpp_next_chunk, _cpp_init_pool): Pool locking removed.
(_cpp_lock_pool, _cpp_unlock_pool): Remove.
* cppmacro.c (lock_pools, unlock_pools): Remove.
(push_ptoken_context): Take a _cpp_buff.
(enter_macro_context): Pool locking removed.
(replace_args): Use a _cpp_buff for the replacement list with
arguments replaced.
(push_token_context): Clear buff.
(expand_arg): Use _cpp_pop_context.
(_cpp_pop_context): Free a context's buffer, if any.

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

23 years ago* Makefile.in (EXTRA_TARGET_FLAGS): Pass RANLIB_FOR_TARGET for
aoliva [Wed, 26 Sep 2001 21:13:34 +0000 (21:13 +0000)]
* Makefile.in (EXTRA_TARGET_FLAGS): Pass RANLIB_FOR_TARGET for
RANLIB.

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

23 years ago* c-typeck.c (digest_init): Check for sizeless arrays.
dj [Wed, 26 Sep 2001 21:02:16 +0000 (21:02 +0000)]
* c-typeck.c (digest_init): Check for sizeless arrays.

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

23 years ago * optabs.c (init_one_libfunc): Create a dummy function type
rth [Wed, 26 Sep 2001 20:02:51 +0000 (20:02 +0000)]
    * optabs.c (init_one_libfunc): Create a dummy function type
        instead of using error_mark_node.

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

23 years ago* configure.in (MAKEINFO, PERL): Detect these.
dj [Wed, 26 Sep 2001 18:16:17 +0000 (18:16 +0000)]
* configure.in (MAKEINFO, PERL): Detect these.
(--enable-maintainer-mode): Add.
* configure: Regenerate.
* Makefile.in (MAKEINFO, PERL): Define.
(libiberty.info, libiberty.dvi, libiberty.html): New.
(CFILES): Add bsearch.c.
(CONFIGURED_OFILES): New, list of objects configure might add.
(maint-missing, maint-buildall): New, for maintainers only.
(clean, mostlyclean): Add info/dvi/html files.
* libiberty.texi, copying-lib.texi, obstacks.texi, functions.texi: New.
* gather-docs: New, for maintainers.
* maint-tool: New, for maintainers.
* alloca.c, atexit.c, basename.c, bcmp.c, bcopy.c, bsearch.c,
bzero.c, calloc.c, clock.c, configure.in, configure, getcwd.c,
getpagesize.c, getpwd.c, index.c, memchr.c, memcmp.c, memcpy.c,
memmove.c, memset.c, putenv.c, rename.c, rindex.c, setenv.c,
sigsetmask.c, strcasecmp.c, strchr.c, strdup.c, strerror.c,
strncasecmp.c, strncmp.c, strrchr.c, strstr.c, strtod.c, strtol.c,
tmpnam.c, vfork.c, vprintf.c, waitpid.c, xatexit.c, xexit.c,
xmalloc.c, xmemdup.c, xstrdup.c, xstrerror.c: Add or update
documentation.

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

23 years ago * cpphash.h (struct _cpp_buff, _cpp_get_buff, _cpp_release_buff,
neil [Wed, 26 Sep 2001 17:52:50 +0000 (17:52 +0000)]
* cpphash.h (struct _cpp_buff, _cpp_get_buff, _cpp_release_buff,
_cpp_extend_buff, _cpp_free_buff): New.
(struct cpp_reader): New member free_buffs.
* cppinit.c (cpp_destroy): Free buffers.
* cpplex.c (new_buff, _cpp_release_buff, _cpp_get_buff,
_cpp_extend_buff, _cpp_free_buff): New.
* cpplib.h (struct cpp_options): Remove unused member.
* cppmacro.c (collect_args): New.  Combines the old parse_arg
and parse_args.  Use _cpp_buff for memory allocation.
(funlike_invocation_p, replace_args): Update.

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

23 years ago * solaris_threads.c (MAX_ORIG_STACK_SIZE) [I386]: Provide special
ro [Wed, 26 Sep 2001 13:22:03 +0000 (13:22 +0000)]
* solaris_threads.c (MAX_ORIG_STACK_SIZE) [I386]: Provide special
Solaris 2/Intel definition.

* configure.in (i?86-*-solaris2.[89]*): Define
SOLARIS25_PROC_VDB_BUG_FIXED.
* include/private/gcconfig.h [I386 && SUNOS5]: Use it.
* configure: Regenerate.

* include/private/gcconfig.h [I386 && SUNOS5] (DATASTART): Use _etext.
(DATAEND): Define using _end.

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

23 years ago * final.c (final_scan_insn): Use delete_insn instead of delete_note.
hubicka [Wed, 26 Sep 2001 11:22:35 +0000 (11:22 +0000)]
* final.c (final_scan_insn): Use delete_insn instead of delete_note.

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

23 years ago2001-09-25 Andrew Haley <aph@cambridge.redhat.com>
aph [Wed, 26 Sep 2001 10:38:18 +0000 (10:38 +0000)]
2001-09-25  Andrew Haley  <aph@cambridge.redhat.com>

* except.c (sjlj_mark_call_sites): Change address inside sequence.

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

23 years ago2001-09-24 Andrew Haley <aph@cambridge.redhat.com>
aph [Wed, 26 Sep 2001 10:35:46 +0000 (10:35 +0000)]
2001-09-24  Andrew Haley  <aph@cambridge.redhat.com>

        * config/sh/linux.h (LINK_SPEC): Set dynamic-linker to agree with
        glibc.

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

23 years agoDaily bump.
gccadmin [Wed, 26 Sep 2001 07:34:41 +0000 (07:34 +0000)]
Daily bump.

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

23 years ago2001-09-25 Phil Edwards <pme@gcc.gnu.org>
pme [Wed, 26 Sep 2001 01:45:49 +0000 (01:45 +0000)]
2001-09-25  Phil Edwards  <pme@gcc.gnu.org>

* testsuite/21_strings/c_strings.cc (test01, test02):  Increase
`carray' size.

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

23 years ago2001-09-25 Phil Edwards <pme@gcc.gnu.org>
pme [Tue, 25 Sep 2001 23:51:17 +0000 (23:51 +0000)]
2001-09-25  Phil Edwards  <pme@gcc.gnu.org>

* docs/html/20_util/howto.html:  Add anchor name.
* docs/html/23_containers/howto.html:  Line wrapping, another link.
* docs/html/25_algorithms/howto.html:  Another note.

* docs/html/ext/howto.html:  Link to SGI extensions.  List DRs and
link to them...
* docs/html/ext/lwg-active.html:  ...in this new file (from R19),
* docs/html/ext/lwg-defects.html:  and this new file (from R19).
* docs/html/ext/sgiexts.html:  New file.  Mention SGI extensions
carried over to libstdc++-v3.
* docs/html/faq/index.html:  Link to SGI extensions.  Mention the
"missing .." pseudobug.
* docs/html/faq/index.txt:  Regenerate.

* include/bits/ios_base.h:  DR-related comment cleanup.
* include/bits/istream.tcc:  Likewise.
* include/bits/locale_facets.h:  Likewise.
* include/bits/locale_facets.tcc:  Likewise.
* include/bits/ostream.tcc:  Likewise.
* include/bits/std_bitset.h:  Likewise.
* include/bits/std_iosfwd.h:  Likewise.
* include/bits/std_istream.h:  Likewise.
* include/bits/std_ostream.h:  Likewise.
* include/bits/std_streambuf.h:  Likewise.
* include/bits/stl_pair.h:  Likewise.
* include/bits/streambuf_iterator.h:  Likewise.

* include/bits/std_map.h:  Remove unused header inclusion guard
_CPP_BITS_STL_TREE_H from around bits/stl_tree.h.
* include/bits/std_set.h:  Likewise.

* include/bits/stl_function.h:  Doxygen markup.
* docs/doxygen/doxygroups.cc:  New file, specifying module grouping.
* libsupc++/typeinfo:  Doxygen markup tweak.

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

23 years ago * concat.c (reconcat): Fix for traditional C.
ghazi [Tue, 25 Sep 2001 22:05:40 +0000 (22:05 +0000)]
* concat.c (reconcat): Fix for traditional C.

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

23 years ago * doc/install.texi (Specific, ia64-*-linux): Document.
janis [Tue, 25 Sep 2001 21:17:34 +0000 (21:17 +0000)]
* doc/install.texi (Specific, ia64-*-linux): Document.

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

23 years agoFix last patch to allow indexed operand.
dje [Tue, 25 Sep 2001 18:02:42 +0000 (18:02 +0000)]
Fix last patch to allow indexed operand.

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

23 years ago * Makefile.in (cfgrtl.o): Add.
hubicka [Tue, 25 Sep 2001 15:26:55 +0000 (15:26 +0000)]
* Makefile.in (cfgrtl.o): Add.
* basic-block.h (alloc_block, alloc_aux_for_block, alloc_aux_for_blocks,
free_aux_for_block, alloc_aux_for_edge, alloc_aux_for_edges,
free_aux_for_edge): Declare.
* cfg.c
(HAVE_return): Undefine.
* basic-block.h (alloc_block, alloc_aux_for_block, alloc_aux_for_blocks,
free_aux_for_block, alloc_aux_for_edge, alloc_aux_for_edges,
free_aux_for_edge): New global functions.
(first_delete_block): New static variable.
(init_flow): Clear first_delete_block.
(basic_block_for_insn, label_value_list, tail_recursion_label_list,
 can_delete_note_p, can_delete_label_p, commit_one_edge_insertion,
 try_redirect_by_replacing_jump, last_loop_beg_note,
 back_edge_of_syntactic_loop_p, force_nonfallthru_and_redirect,
 delete_insn, delete_insn_chain, create_basic_block_structure,
 create_basic_block, flow_delete_block, compute_bb_for_insn,
 free_bb_for_insn, update_bb_for_insn, set_block_for_insn,
 set_block_for_new_insns, split_block, merge_blocks_nomove,
 block_label, try_redirect_by_replacing_jump, last_loop_beg_note,
 redirect_edge_and_branch, force_nonfallthru_and_redirect,
 force_nonfallthru, redirect_edge_and_branch_force, tidy_fallthru_edge,
 tidy_fallthru_edges, split_edge, insert_insn_on_edge,
 commit_one_edge_insertion, commit_edge_insertions, dump_bb, debug_bb,
 debug_bb_n, print_rtl_with_bb, verify_flow_info, purge_dead_edges,
 purge_all_dead_edges): Move to ....
* cfgrtl.c: New file; .... Here.

* bb-reorder.c (fixup_reorder_chain): Use alloc_aux_for_block.
(reroder_basic_block): Use alloc_aux_for_blocks.
* predict.c (estimate_bb_frequencies): Likewise; use
alloc_aux_for_edges.
* profile.c (compute_branch_probabilities): Likewise.
(branch_prob): Likewise.
* reg-stack.c (reg_to_stack): Likewise.

* emit-rtl.c (emit_insns_after): Never return NULL.

* basic-block.h (set_block_for_new_insns): Delete.
* cfgrtl.c (set_block_for_new_insns): Delete.

* cfgcleanup.c (try_optimize_cfg): Add fake exit edges for noreturn
calls when crossjumping.

* cfgcleanup.c (try_simplify_condjump): Cleanup invert_jump call.
* unroll.c (copy_loop_body): Use delete_insn.

* final.c (final, final_scan_insn): Use delete_insn/delete_note.
* function.c (fixup_var_refs_insn, fixup_var_refs_1,
keep_stack_depressed): Likewise.
* gcse.c (cprop_cc0_jump): Likewise.
* local-alloc.c (update_equiv_regs): Likewise.
* loop.c (scan_loop, loop_delete_insns): Likewise.
* regmove.c (try_auto_increment, fixup_match_1): Likewise.
* reload1.c (reload, calculate_needs_all_insns, reload_as_needed,
delete_output_reload, delete_address_reloads_1,
reload_cse_delete_noop_set, reload_combine, reload_cse_move2add):
Likewise.
* sibcall.c (replace_call_placeholder): Likewise.
* cse.c (cse_insn): Likewise.

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

23 years agoSSE/MMX builtins bugfixes
bernds [Tue, 25 Sep 2001 14:59:36 +0000 (14:59 +0000)]
SSE/MMX builtins bugfixes

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

23 years agoAdd target_flags mask bit to builtin definitions
bernds [Tue, 25 Sep 2001 12:26:25 +0000 (12:26 +0000)]
Add target_flags mask bit to builtin definitions

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

23 years ago * 20010925-1.c: New testcase for incorrect sibcall optimization.
grahams [Tue, 25 Sep 2001 11:52:13 +0000 (11:52 +0000)]
20010925-1.c: New testcase for incorrect sibcall optimization.

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

23 years ago * sibcall.c (skip_copy_to_return_value): Tighten return value
grahams [Tue, 25 Sep 2001 11:39:35 +0000 (11:39 +0000)]
    * sibcall.c (skip_copy_to_return_value): Tighten return value
        copy check.

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

23 years agoDaily bump.
gccadmin [Tue, 25 Sep 2001 07:16:10 +0000 (07:16 +0000)]
Daily bump.

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

23 years ago * gcc.dg/cpp/20000625-2.c: Correct line number.
neil [Tue, 25 Sep 2001 06:18:03 +0000 (06:18 +0000)]
* gcc.dg/cpp/20000625-2.c: Correct line number.

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