hubicka [Sat, 20 Oct 2001 10:09:07 +0000 (10:09 +0000)]
* i386.h (SSE_REGPARM_MAX): Set to 8 for x86_64.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46375
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Sat, 20 Oct 2001 10:04:00 +0000 (10:04 +0000)]
* basic-block.h (find_sub_basic_blocks): Use sbitmap parameter.
* cfgbuild.c (find_bb_boundaries, compute_outgoing_frequencies):
Break out from ...
(find_sub_basic_blocks): ... here;
(find_many_sub_basic_blocks): New.
* recog.c (split_all_insns): Update find_sub_basic_blocks call.
* i386.h (ASM_PREFERRED_EH_DATA_FORMAT): Define sdata4.
* i386.c (ix86_va_arg): Kill indirect_p handling; fix aliasing issues.:
* i386.c (split_di, split_ti): Revamp to use simplify_subreg.
* timevar.def (TV_LIFE, TV_LIFE_UPDATE, TV_MODE_SWITCH): new.
* flow.c (update_life_info): Measure time.
* c-decl.c: Include timevar.h
(c_expand_body): Measure time.
* toplev.c (rest_of_compilation): Measure time of mode switching
separately.
* Makefile.in (c-decl.o, cfgcleanup.o): Add dependancy.
* toplev.c (flag_asynchronous_unwind_tables): New global variable.
(lang_independent_options): Add asynchronous-unwind-tables
(toplev_main): flag_asynchronous_unwind_tables implies
flag_unwind_tables.
* flags.h (flag_asynchronous_unwind_tables): Declare.
* dwarf2out.c (dwarf2out_stack_adjust): Take into account
flag_asynchronous_unwind_tables.
(output_call_frame_info): Likewise.
* invoke.texi (-fasynchronous-unwind-tables): Document.
* i386.c (optimization_options): Enable
flag_asynchronous_unwind_tables.
* i386.c (ix86_expand_setcc): Always expect target to be QImode.
* i386.md (s* expanders): Destination is QImode.
* toplev.c (rest_of_compilation): Do not call clear_log_links.
* rtl.h (clear_log_links): Kill.
* flow.c (clear_log_links): Make static; accept blocks parameter;
do no clear life info.
(update_life_info): Call clear_log_links.
* cfganal.c (forwarder_block_p): Avoid active_insn_p calls.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46374
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Sat, 20 Oct 2001 09:00:53 +0000 (09:00 +0000)]
* cpplex.c (handle_newline, skip_escaped_newlines,
get_effective_char, skip_block_comment, skip_line_comment,
parse_identifier_slow, parse_number, parse_string,
_cpp_lex_direct): Update to do more stepping back.
(trigraph_ok): Similarly. Rename trigraph_p.
(SAVE_STATE, RESTORE_STATE): Remove.
(BUFF_SIZE_UPPER_BOUND): Tweak. Add sanity check.
* cpplib.c (destringize): Rename destringize_and_run, and
call run_directive directly.
(_cpp_do__Pragma): Simplify.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46373
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sat, 20 Oct 2001 07:16:39 +0000 (07:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46372
138bc75d-0d04-0410-961f-
82ee72b054a4
mark [Sat, 20 Oct 2001 06:26:45 +0000 (06:26 +0000)]
* java/lang/Double.java: More Classpath merging
(isInfinite): Don't use doubleToLongBits
(isNaN (Object)): return v != v
(initIDs): make native
* java/lang/Float.java: Ditto
(isInfinite): Don't use floatToIntBits
(isNaN (Object)): return v != v
* java/lang/natDouble.cc: add empty initIDs()
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46370
138bc75d-0d04-0410-961f-
82ee72b054a4
hjl [Sat, 20 Oct 2001 05:39:06 +0000 (05:39 +0000)]
2001-10-19 H.J. Lu <hjl@gnu.org>
* Makefile.in ($(TARGETLIB)): Also generate pic/$(TARGETLIB) if
necessary.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46369
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Sat, 20 Oct 2001 00:24:14 +0000 (00:24 +0000)]
* pe.c (arm_pe_unique_section): Const-ify.
* pe.h (TARGET_ASM_NAMED_SECTION): Undef before defining.
(switch_to_section): Add static prototype.
* output.h (drectve_section): Prototype.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46368
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Fri, 19 Oct 2001 23:05:15 +0000 (23:05 +0000)]
2001-10-19 Benjamin Kosnik <bkoz@redhat.com>
* mkcheck.in (static_fail): Remove older memory limit functionality.
Disable E_TIME due to formatting issues.
* README: Update.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46367
138bc75d-0d04-0410-961f-
82ee72b054a4
sirl [Fri, 19 Oct 2001 22:27:41 +0000 (22:27 +0000)]
2001-10-19 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* config.gcc (i[34567]86-*-gnu*, arc-*-elf*, d30v-*,
fr30-*-elf, hppa*64*-*-linux*, parisc*64*-*-linux*, hppa*-*-linux*,
parisc*-*-linux*, i370-*-linux*, i[34567]86-*-chorusos*,
i[34567]86-*-elf*, i[34567]86-ncr-sysv4*, i[34567]86-*-netware,
i[34567]86-sequent-ptx4*, i[34567]86-sequent-sysv4*,
i[34567]86-*-beoself*, i[34567]86-*-beos*, i[34567]86-*-freebsd*,
i[34567]86-*-netbsdelf*, i[34567]86-*-linux*libc1,
i[34567]86-*-linux*, i[34567]86-moss-msdos*, i[34567]86-*-moss*,
i[34567]86-go32-rtems*, i[34567]86-*-rtems*, i[34567]86-*-rtemself*,
i[34567]86-*-solaris2*, i[34567]86-*-sysv5*, i[34567]86-*-sysv4*,
i[34567]86-*-udk*, i[34567]86-*-osf1*, i[34567]86-dg-dgux*,
i860-alliant-*, i860-*-sysv4*, ia64*-*-aix*, ia64*-*-linux*,
ia64*-*-hpux*, m32r-*-elf*, m88k-dg-dgux*, m88k-*-sysv4*, mcore-*-elf,
mips*-*-linux*, mn10200-*-*, mn10300-*-*, pj*-linux*, pjl-*,
powerpc64-*-linux*, powerpc-*-sysv*, powerpc-*-netbsd*,
powerpc-*-chorusos*, powerpc-*-eabiaix*, powerpc-*-eabisim*,
powerpc-*-elf*, powerpc-*-eabi*, powerpc-*-rtems*,
powerpc-*-linux*libc1, powerpc-*-linux*, powerpc-wrs-vxworks*,
powerpcle-wrs-vxworks*, powerpcle-*-sysv*, powerpcle-*-elf*,
powerpcle-*-eabisim*, powerpcle-*-eabi*, powerpcle-*-solaris2*,
rs6000-*-mach*, s390-*-linux*, s390x-*-linux*, sh-*-elf*,
sh-*-rtemself*, sh-*-rtems*, sh-*-linux*, stormy16-*-elf,
v850-*-rtems*, v850-*-*, x86_64-*-linux*), cris-*-aout, cris-*-elf,
cris-*-none, cris-*-linux*: Update ${tmfile} list.
(c4x-*-rtems*, c4x-*, i[34567]86-go32-rtems*, i[34567]86-*-rtemscoff*,
i[34567]86-*-rtems*, i[34567]86-*-rtemself*, i[34567]86-*-osf1*,
mn10200-*-*, mn10300-*-*, powerpc-*-beos*, powerpc-*-darwin*,
powerpc-wrs-vxworks*, powerpcle-wrs-vxworks*, v850-*-rtems*,
v850-*-*): Delete superflous ${cpu_type} setting.
* config/linux.h: Delete svr4.h include.
(SET_ASM_OP): Delete.
* config/netware.h (INT_ASM_OP): Undef before define.
* config/ptx4.h: Delete elfos.h include.
(PREFERRED_DEBUGGING_TYPE): Undef instead of wrapping.
* config/svr4.h: Delete elfos.h include. Update commentary.
* config/arc/arc.h, config/d30v/d30v.h, config/fr30/fr30.h,
config/m32r/m32r.h, config/m88k/sysv4.h, config/mn10200/mn10200.h,
config/mn10200/mn10300.h, config/stormy16/stormy16.h,
config/v850/v850.h: Delete svr4.h include.
* config/i370/linux.h, config/i386/osf1elf.h, config/m68k/linux.h,
config/m68k/m68kv4.h, config/m88k/sysv4.h,
config/sparc/sysv4.h: Update includes.
* config/i386/beos-elf.h, config/i386/netware.h, config/i386/ptx4-i.h,
config/i386/rtemself.h, config/i386/sol2.h, config/i386/sysv4.h,
config/i386/sysv5.h, config/i386/udk.h, config/ia64/linux.h,
config/m88k/dguxbcs.h: Delete includes.
* config/i386/dgux.h, config/i386/osf1elfgdb.h: Delete include.
(PREFERRED_DEBUGGING_TYPE): Undef before defining it.
* config/i860/fx2800.h (ASM_OUTPUT_SOURCE_LINE): Undef before defining
it.
* config/m88k/dgux.h: Delete include.
(SDB_DEBUGGING_INFO, PREFERRED_DEBUGGING_TYPE): Undef before
defining it.
* config/pj/pj.h (ASM_GENERATE_INTERNAL_LABEL,
ASM_OUTPUT_INTERNAL_LABEL, ASM_OUTPUT_SKIP): Undef before defining it.
* config/sh/elf.h: Update include.
(SDB_DEBUGGING_INFO, DWARF2_DEBUGGING_INFO, PREFERRED_DEBUGGING_TYPE,
DWARF2_ASM_LINE_DEBUG_INFO): Move behind includes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46366
138bc75d-0d04-0410-961f-
82ee72b054a4
clm [Fri, 19 Oct 2001 21:23:29 +0000 (21:23 +0000)]
* config/stormy16/stormy-abi: Updates to varargs descriptions.
* config/stormy16/stormy16.c (stormy16_build_va_list): Reverse
base and count fields.
(stormy16_expand_builtin_va_start): last_reg_count changed to
size_of_reg_args. Use count + size in first comparison.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46365
138bc75d-0d04-0410-961f-
82ee72b054a4
mark [Fri, 19 Oct 2001 20:36:07 +0000 (20:36 +0000)]
* javax/naming/BinaryRefAddr.java: New file
* javax/naming/InitialContext.java: Compile fix
* javax/naming/InvalidNameException.java: Add comments
* javax/naming/Name.java: Ditto
* javax/naming/NamingException.java: Implement
* javax/naming/OperationNotSupportedException.java: Compile fix
* javax/naming/RefAddr.java: Implement
* javax/naming/StringRefAddr.java: Add comments and implement
* javax/naming/directory/InitialDirContext.java: Compile fix
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46364
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Fri, 19 Oct 2001 19:54:06 +0000 (19:54 +0000)]
* langhooks.h (LANG_HOOKS_HONOR_READONLY): New macro.
* toplev.h (struct lang_hooks): New field HONOR_READONLY.
* emit-rtl.c (set_mem_attributes): Set RTX_UNCHANGING_P from
TREE_READONLY and TYPE_READONLY if lang_hooks.honor_readonly.
Set alignment from type if INDIRECT_REF.
(adjust_address_1, offset_address): Simplify alignment compuitation.
* expr.c (expand_expr, case INDIRECT_REF): Don't set RTX_UNCHANGING_P
here; done by set_mem_attributes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46361
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Fri, 19 Oct 2001 19:42:46 +0000 (19:42 +0000)]
* Makefile.in (rtlanal.o): Depend on $(TM_P_H).
* arm-protos.h (rdata_section, zero_init_section, common_section):
Prototype.
* arm.h (ASM_OUTPUT_DEF_FROM_DECLS): Const-ify.
* avr.h (ASM_OUTPUT_SKIP): Rename macro parameter to avoid
traditional mode stringification.
* function.c (thread_prologue_and_epilogue_insns): Wrap variable
in macros controling its use.
* rtlanal.c: Include tm_p.h.
* varasm.c (asm_output_aligned_bss): Mark parameter with
ATTRIBUTE_UNUSED.
(assemble_constant_align, assemble_start_function, assemble_align,
assemble_variable, assemble_trampoline_template,
output_constant_def_contents): Wrap potentially empty if-stmt body
in brackets.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46360
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Fri, 19 Oct 2001 19:39:57 +0000 (19:39 +0000)]
* a29k-protos.h (literal_section): Prototype.
* a29k.h (ASM_FILE_START): Don't discard pointer qualifier.
* a29k.md: Ensure function pointers are prototyped.
* genattrtab.c (write_eligible_delay): Mark parameter with
ATTRIBUTE_UNUSED.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46359
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Fri, 19 Oct 2001 19:37:09 +0000 (19:37 +0000)]
* calls.c (emit_call_1): Mark parameter with ATTRIBUTE_UNUSED.
* 1750a.c (print_operand): Fix format specifier warning.
* 1750a.h (ASM_FILE_START): Don't discard pointer qualifier.
* 1750a.md: Likewise.
* gcc.c (init_gcc_specs): Wrap with ENABLE_SHARED_LIBGCC.
* genemit.c (output_add_clobbers): Mark parameter with
ATTRIBUTE_UNUSED.
* genrecog.c (write_subroutine): Likewise.
* integrate.c (expand_inline_function): Delete unused variable.
* varasm.c (remove_from_pending_weak_list): Wrap with
ASM_WEAKEN_LABEL.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46358
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Fri, 19 Oct 2001 19:34:44 +0000 (19:34 +0000)]
* config/alpha/alpha.c (summarize_insn): Don't abort on ASM_INPUT.
* gcc.dg/
20011018-1.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46357
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Fri, 19 Oct 2001 19:28:03 +0000 (19:28 +0000)]
* simplify-rtx.c (simplify_plus_minus): Negate constant iff its neg
field is different to previous argument's neg field.
* gcc.c-torture/execute/
20011019-1.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46356
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Fri, 19 Oct 2001 19:22:20 +0000 (19:22 +0000)]
* final.c (get_decl_from_op): New function.
(output_asm_insn): Call it; write "*" when item with decl is address.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46355
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Fri, 19 Oct 2001 18:43:34 +0000 (18:43 +0000)]
2001-10-19 Brendan Kehoe <brendan@zen.org>
* include/bits/std_complex.h: Default initialize second argument
of polar to 0, as specified in Library DR #79
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46354
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Fri, 19 Oct 2001 18:39:00 +0000 (18:39 +0000)]
2001-08-19 Brendan Kehoe <brendan@zen.org>
* include/bits/std_complex.h: Default initialize second argument
of polar to 0, as specified in Library DR #79
2001-10-19 Brendan Kehoe <brendan@zen.org>
* include/bits/stl_raw_storage_iter.h (operator=): Fix to call
_Construct instead of construct.
2001-10-19 Brendan Kehoe <brendan@zen.org>
* include/bits/basic_string.tcc (find_first_not_of): Take out check for
__n being non-zero, since the standard does not mandate that.
e.g., a search for "" in "" should yield position 0, not npos.
(find_last_not_of): Likewise.
2001-10-19 Brendan Kehoe <brendan@zen.org>
* include/bits/stl_bvector.h (vector<bool>::_M_range_check): Fix
to throw out_of_range, not range_error, thus sayeth $23.1.1.13.
2001-10-19 Brendan Kehoe <brendan@zen.org>
* include/bits/stl_iterator.h (reverse_iterator::current): Rename
member from _M_current, and change all uses; thus sayeth $24.4.1.1.
2001-10-19 Brendan Kehoe <brendan@zen.org>
* include/bits/stl_algo.h (partial_sort): Add missing `>' on the
template parameter _ValueType.
2001-10-19 Brendan Kehoe <brendan@zen.org>
* include/bits/std_limits.h: Clean up extra semicolons.
* include/bits/locale_facets.h: Likewise.
* include/bits/type_traits.h: Likewise.
2001-10-19 Brendan Kehoe <brendan@zen.org>
* include/bits/localefwd.h (locale::combine): Add const for lib DR 14.
* include/bits/locale_facets.tcc (locale::combine): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46353
138bc75d-0d04-0410-961f-
82ee72b054a4
bosch [Fri, 19 Oct 2001 18:29:51 +0000 (18:29 +0000)]
* Makefile.in (tools, gnattools): Remove gnatmem.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46352
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Fri, 19 Oct 2001 17:45:51 +0000 (17:45 +0000)]
* gcc.c-torture/execute/ieee/ieee.exp: Change sh-*-* to sh*-*-*.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46351
138bc75d-0d04-0410-961f-
82ee72b054a4
janis [Fri, 19 Oct 2001 16:52:31 +0000 (16:52 +0000)]
* doc/install.texi (Specific, sparc-sun-solaris2*) Copy documentation
about 64-bit support from the 3.0_branch version.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46350
138bc75d-0d04-0410-961f-
82ee72b054a4
janis [Fri, 19 Oct 2001 16:51:17 +0000 (16:51 +0000)]
* doc/install.texi (Specific, sparc-sun-solaris2*) Copy documentation
about 64-bit support from the 3.0_branch version.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46349
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Fri, 19 Oct 2001 15:17:39 +0000 (15:17 +0000)]
* aclocal.m4 (AM_WITH_NLS): AC_DEFINE HAVE_LIBINTL_H and
USE_INCLUDED_LIBINTL when appropriate.
* configure, config.in: Regenerate.
* Makefile.in (datadir): Set to @datadir@.
(intl.o): Also depend on $(CONFIG_H) and system.h.
* intl.c: Factor out common gettext initialization sequence.
(gcc_init_libintl): New function.
* intl.h: Include intl/libgnuintl.h if USE_INCLUDED_LIBINTL;
otherwise include libintl.h if HAVE_LIBINTL_H; otherwise turn
off NLS. Add multiple include guard. No need to #ifdef-guard
an #undef. Prototype gcc_init_libintl here.
* collect2.c (main), cppmain.c (general_init), gcc.c (main),
gcov.c (main), protoize.c (main), toplev.c (toplev_main):
Use gcc_init_libintl.
intl:
* Makefile.in: Don't copy libgnuintl.h anywhere.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46348
138bc75d-0d04-0410-961f-
82ee72b054a4
clm [Fri, 19 Oct 2001 14:03:29 +0000 (14:03 +0000)]
* config/stormy16/stormy16.h (ASM_COMMENT_START): Define.
* config/stormy16/stormy16.c (stormy16_split_move): Make
sure that REG_INC notes are present for auto_inc operands.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46347
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Fri, 19 Oct 2001 09:35:19 +0000 (09:35 +0000)]
2001-10-19 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/locale_facets.h (__timepunct::_M_put_helper):
Declare specializations for char, wchar_t.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46346
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Fri, 19 Oct 2001 07:16:27 +0000 (07:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46344
138bc75d-0d04-0410-961f-
82ee72b054a4
aj [Fri, 19 Oct 2001 06:34:23 +0000 (06:34 +0000)]
* configure.target: Add x86-64.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46343
138bc75d-0d04-0410-961f-
82ee72b054a4
aj [Fri, 19 Oct 2001 06:34:01 +0000 (06:34 +0000)]
* config/cpu/x86-64/bits/limits.h: New file.
* config/cpu/x86-64/bits/atomicity.h: New file.
* configure.target: Add x86-64.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46342
138bc75d-0d04-0410-961f-
82ee72b054a4
aj [Fri, 19 Oct 2001 06:29:18 +0000 (06:29 +0000)]
* configure: Regenerated.
* configure.in: Add x86_64 to switch statements.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46341
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Fri, 19 Oct 2001 05:04:54 +0000 (05:04 +0000)]
* config/alpha/alpha.md (sibcall_osf_1): Load destination
address into $27 explicitly.
(sibcall_value_osf_1): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46340
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Fri, 19 Oct 2001 01:07:52 +0000 (01:07 +0000)]
Install correct version of file
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46339
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Thu, 18 Oct 2001 23:43:59 +0000 (23:43 +0000)]
* java/io/BufferedWriter.java (write(String,int,int)): Correctly
check bounds.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46338
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Thu, 18 Oct 2001 21:34:14 +0000 (21:34 +0000)]
* emit-rtl.c (gen_reg_rtx): Also reallocate reg_decl array.
(offset_address): New function.
(free_emit_status): Free regno_decl.
(init_emit): Pass proper number of elements to xcalloc.
Allocate regno_decl.
(mark_emit_status): Mark regno_decl values.
* expr.c (highest_pow2_factor): New function.
(expand_assigment): Use it and offset_address.
Properly handle ptr_mode vs. Pmode in offset calculation.
(store_constructor, expand_expr_unaligned): Likewise.
(expand_expr, case COMPONENT_EXPR): Likewise.
* expr.h (offset_address): New decl.
* function.h (struct emit_status): Add regno_decl.
(REGNO_DECL): New macro.
* final.c (output_asm_name): Move in file and don't conditionalize
on flag_print_asm_name.
(output_asm_insn): Only call output_asm_name if flag_print_asm_name.
Output names of operands, if known.
* function.c (assign_parms): Set REGNO_DECL.
* integrate.c (integrate_decl_tree): Likewise.
* stmt.c (expand_decl): Likewise.
* regclass.c (reg_scan_mark_refs): Propagate REGNO_DECL for copies.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46337
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Thu, 18 Oct 2001 18:43:20 +0000 (18:43 +0000)]
Fix the typo for real now.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46336
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Thu, 18 Oct 2001 18:29:25 +0000 (18:29 +0000)]
* gcc.dg/attr-noinline.c, gcc.dg/attr-used.c: New tests.
* gcc.dg/attr-invalid.c: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46335
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Thu, 18 Oct 2001 18:29:02 +0000 (18:29 +0000)]
* attribs.c (handle_noinline_attribute): New function.
(handle_used_attribute): Likewise.
(c_common_attribute_table): Added noinline and used.
* doc/extend.texi (Function Attributes): Document them.
* c-decl.c (duplicate_decls): Propagate DECL_UNINLINABLE.
Warn when merging inline with attribute noinline.
(start_decl, start_function): Warn if inline and attribute
noinline appear in the same declaration.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46334
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Thu, 18 Oct 2001 18:27:48 +0000 (18:27 +0000)]
* decl.c (duplicate_decls): Propagate DECL_UNINLINABLE.
Warn when merging inline with attribute noinline.
(start_decl, start_function): Warn if inline and attribute
noinline appear in the same declaration.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46333
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Thu, 18 Oct 2001 17:51:47 +0000 (17:51 +0000)]
* java/security/Security.java (loadProviders): Removed unused
`pname' variable. Don't create `File' object. Don't update
`providerCount'.
(providerCount): Removed.
(insertProviderAt): Don't use `providerCount'.
(addProvider(Provider,int)): Likewise.
(removeProvider): Likewise.
(addProvider(Provider)): Rewrote.
(getProviders): Rewrote.
(getProvider): Don't use `providerCount'.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46332
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Thu, 18 Oct 2001 08:28:33 +0000 (08:28 +0000)]
* testsuite/gcc.dg/
20011015-1.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46331
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Thu, 18 Oct 2001 07:16:22 +0000 (07:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46329
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Thu, 18 Oct 2001 03:57:51 +0000 (03:57 +0000)]
* std.c (ffestd_labeldef_format): Fix variable/stmt ordering.
(ffestd_R737A): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46328
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Thu, 18 Oct 2001 00:05:29 +0000 (00:05 +0000)]
* gnu/java/security/provider/SHA1PRNG.java (engineNextBytes):
Rewrote.
* java/security/SecureRandom.java (setSeed(long)): Don't set seed
if secureRandomSpi is not initialized.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46327
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Thu, 18 Oct 2001 00:03:48 +0000 (00:03 +0000)]
* Makefile.in: Rebuilt.
* Makefile.am (secdir): New macro.
(install-data-local): Install new data files.
* java/security/classpath.security: New file.
* java/security/libgcj.security: New file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46326
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Thu, 18 Oct 2001 00:01:49 +0000 (00:01 +0000)]
* java/security/Security.java (loadProviders): Added `vendor'
argument.
Load both `classpath' and `java.vm.name' providers.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46325
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Wed, 17 Oct 2001 22:34:54 +0000 (22:34 +0000)]
* com.h: Remove FFECOM_targetCURRENT, FFECOM_ONEPASS, BUILT_FOR_270,
BUILT_FOR_280, FFECOM_GCC_INCLUDE, all derivitive defines, and all
related conditional compilation directives.
* bad.c, bld.c, bld.h, com.c, equiv.c, equiv.h, global.h, intdoc.c,
intrin.c, intrin.h, lex.c, parse.c, sta.c, std.c, ste.c, ste.h, stt.c,
stt.h, stw.h, symbol.c, symbol.h, target.h, top.c: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46324
138bc75d-0d04-0410-961f-
82ee72b054a4
dj [Wed, 17 Oct 2001 21:15:41 +0000 (21:15 +0000)]
* argv.c, asprintf.c, choose-temp.c, concat.c, cplus-dem.c,
ffs.c, fnmatch.txh, getruntime.c, make-temp-file.c,
mkstemps.c, pexecute.c, random.c, strsitnal.c, vasprintf.c:
Improve manual formatting.
* functions.texi: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46323
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Wed, 17 Oct 2001 20:39:13 +0000 (20:39 +0000)]
* config.gcc: Update c4x and i370 for C front end-specific
dependencies.
* config/c4x/c4x-c.c: New.
* config/c4x/c4x-protos.h (c4x_handle_pragma): Remove.
(code_tree, data_tree, pure_tree, noreturn_tree, interrupt_tree):
New declarations.
* config/c4x/c4x.c: Don't include c-lex.h or c-pragma.h.
(code_tree, data_tree, pure_tree, noreturn_tree, interrupt_tree):
Make extern.
(c4x_init_pragma): Remove.
(c4x_parse_pragma, c4x_pr_CODE_SECTION, c4x_pr_DATA_SECTION,
c4x_pr_FUNC_IS_PURE, c4x_pr_FUNC_NEVER_RETURNS, c4x_pr_INTERRUPT,
c4x_pr_ignored): Move to c4x-c.c.
* config/c4x/c4x.h (REGISTER_TARGET_PRAGMAS): Update.
* config/c4x/t-c4x: Update.
* config/i370/i370-c.c: New.
* config/i370/i370.c: Don't include c-lex.h or c-pragma.h.
(i370_pr_map): Move to i370-c.c.
* config/i370/t-i370: New.
* doc/tm.texi: Update.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46322
138bc75d-0d04-0410-961f-
82ee72b054a4
pme [Wed, 17 Oct 2001 18:14:58 +0000 (18:14 +0000)]
2001-10-17 Phil Edwards <pme@gcc.gnu.org>
* docs/html/17_intro/howto.html: Remove 1999 links (and explain
why). Add link to recent message.
* docs/html/faq/index.html (5.6): Reformat text only; fixup <pre>
markup.
* docs/html/faq/index.txt: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46321
138bc75d-0d04-0410-961f-
82ee72b054a4
shebs [Wed, 17 Oct 2001 18:08:39 +0000 (18:08 +0000)]
* config/rs6000/rs6000.c: Make assorted mechanical formatting and
typo fixes throughout.
(machopic_output_stub): Remove some dead code.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46320
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Wed, 17 Oct 2001 18:03:41 +0000 (18:03 +0000)]
2001-10-17 Anthony Green <green@redhat.com>
* java/security/Security.java (loadProviders): Fix bug in how
providers are loaded.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46319
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Wed, 17 Oct 2001 17:19:18 +0000 (17:19 +0000)]
ada/
* Makefile.in (misc.o): Depend on langhooks.h.
* misc.c: Include it.
(LANG_HOOKS_INIT, LANG_HOOKS_INIT_OPTIONS): New.
(LANG_HOOKS_DECODE_OPTION): New.
(lang_hooks): Use LANG_HOOKS_INITIALIZER.
f/
* Make-lang.in (f/com.o): Depend on langhooks.h.
* com.c: Include it.
(LANG_HOOKS_INIT, LANG_HOOKS_FINISH): New.
(LANG_HOOKS_INIT_OPTIONS, LANG_HOOKS_DECODE_OPTION): New.
(lang_hooks): Use LANG_HOOKS_INITIALIZER.
java/
* Make-lang.in (java/lang.o): Depend on langhooks.h.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46318
138bc75d-0d04-0410-961f-
82ee72b054a4
rearnsha [Wed, 17 Oct 2001 16:20:04 +0000 (16:20 +0000)]
* cpplex.c (_cpp_get_buff): Fix off-by-one error that caused memory
leak.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46317
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Wed, 17 Oct 2001 15:57:03 +0000 (15:57 +0000)]
For PR java/4295:
* aclocal.m4, configure, Makefile.in: Rebuilt.
* configure.in: Added AC_EXEEXT.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46316
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Wed, 17 Oct 2001 09:40:21 +0000 (09:40 +0000)]
* Makefile.in (print-rtl.o): Depend on TREE_H.
* alias.c (get_alias_set): Make two passes over objects to first
see if inner object is access via restricted pointer.
Defer allocating alias set for restricted pointer until here.
Call find_placeholder with second arg nonzero.
Minor cleanups.
* c-common.c (c_apply_type_quals_to_decl): Defer getting alias
set for restricted pointer types.
* emit-rtl.c (set_mem_attributes): Set more attributes.
(set_mem_align, change_address, adjust_address_1): New functions.
(change_address_1): Now static.
(adjust_address, adjust_address_nv): Deleted.
(replace_equiv_address): Call change_address_1.
* expr.c (get_inner_reference): Handle PLACEHOLDER_EXPR.
(find_placeholder): Get starting point from PLIST arg.
(expand_expr, case PLACEHOLDER_EXPR): Initialize find_placeholder arg.
* expr.h (set_mem_align, change_address, adjust_address_1): New decls.
(adjust_address, adjust_address_nv): New macros.
* print-rtl.c (tree.h): New include.
(print_rtx, case MEM): Print all memory attributes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46314
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Wed, 17 Oct 2001 09:31:36 +0000 (09:31 +0000)]
* Makefile.in (print-rtl.o): Depend on TREE_H.
* alias.c (get_alias_set): Make two passes over objects to first
see if inner object is access via restricted pointer.
Defer allocating alias set for restricted pointer until here.
Call find_placeholder with second arg nonzero.
Minor cleanups.
* emit-rtl.c (set_mem_attributes): Set more attributes.
(set_mem_align, change_address, adjust_address_1): New functions.
(change_address_1): Now static.
(adjust_address, adjust_address_nv): Deleted.
(replace_equiv_address): Call change_address_1.
* expr.c (get_inner_reference): Handle PLACEHOLDER_EXPR.
(find_placeholder): Get starting point from PLIST arg.
(expand_expr, case PLACEHOLDER_EXPR): Initialize find_placeholder arg.
* expr.h (set_mem_align, change_address, adjust_address_1): New decls.
(adjust_address, adjust_address_nv): New macros.
* print-rtl.c (tree.h): New include.
(print_rtx, case MEM): Print all memory attributes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46313
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Wed, 17 Oct 2001 09:05:18 +0000 (09:05 +0000)]
* config/alpha/alpha.c (direct_call_operand): Don't fall off end.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46311
138bc75d-0d04-0410-961f-
82ee72b054a4
gerald [Wed, 17 Oct 2001 08:44:09 +0000 (08:44 +0000)]
* c-tree.texi: Eliminate duplicated word.
* cpp.texi: Likewise.
* install.texi: Likewise.
* invoke.texi: Likewise.
* tm.texi: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46310
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Wed, 17 Oct 2001 07:16:59 +0000 (07:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46309
138bc75d-0d04-0410-961f-
82ee72b054a4
ljrittle [Wed, 17 Oct 2001 04:55:30 +0000 (04:55 +0000)]
* include/gc_pthread_redirects.h: Generalize test to use GC_PTHREADS.
* linux_threads.c (WRAP_FUNC(pthread_join)): Conditionalized on
GC_FREEBSD_THREADS, handle strange interaction between system
pthread implementation and boehm-gc signal-handler architecture.
* tests/test.c (main): Conditionalized on GC_FREEBSD_THREADS,
set stack.
* include/private/gcconfig.h (configuration keyed off FREEBSD):
Define SIG_SUSPEND, SIG_THR_RESTART. Do not define
MPROTECT_VDB when GC_FREEBSD_THREADS is defined.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46307
138bc75d-0d04-0410-961f-
82ee72b054a4
collison [Wed, 17 Oct 2001 04:38:50 +0000 (04:38 +0000)]
Add ChangeLog entry for dsp16xx/dsp16xx.c change.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46306
138bc75d-0d04-0410-961f-
82ee72b054a4
collison [Wed, 17 Oct 2001 04:36:18 +0000 (04:36 +0000)]
* dsp16xx.c: Fix comment formatting to match GNU standards.
(dsp16xx_output_function_prologue): Change type of 'size'
parameter from 'int' to HOST_WIDE_INT.
(dsp16xx_output_function_epilogue): Change type of 'size'
parameter from 'int' to HOST_WIDE_INT.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46305
138bc75d-0d04-0410-961f-
82ee72b054a4
ljrittle [Wed, 17 Oct 2001 04:17:09 +0000 (04:17 +0000)]
* Makefile.am (test.o): Find tests/test.c in $(srcdir).
* Makefile.in: Rebuilt.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46304
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Wed, 17 Oct 2001 01:39:47 +0000 (01:39 +0000)]
* configure.in (HAVE_AS_GOTOFF_IN_DATA): New x86 check.
* configure, config.in: Rebuild.
* config/i386/i386.c (ix86_output_addr_vec_elt): New.
(ix86_output_addr_diff_elt): New.
* config/i386/i386.h (ASM_OUTPUT_ADDR_VEC_ELT): Use them.
(ASM_OUTPUT_ADDR_DIFF_ELT): Likewise.
(JUMP_TABLES_IN_TEXT_SECTION): New.
* config/i386/i386.md (tablejump): Handle HAVE_AS_GOTOFF_IN_DATA.
* config/i386/i386-protos.h: Update.
* config/i386/386bsd.h, config/i386/beos-elf.h,
config/i386/freebsd-aout.h, config/i386/freebsd.h,
config/i386/i386-interix.h, config/i386/i386elf.h,
config/i386/linux.h, config/i386/netbsd-elf.h,
config/i386/netbsd.h, config/i386/openbsd.h,
config/i386/ptx4-i.h, config/i386/rtemself.h,
config/i386/sco5.h, config/i386/sysv4.h, config/i386/x86-64.h
(ASM_OUTPUT_ADDR_DIFF_ELT, JUMP_TABLES_IN_TEXT_SECTION): Remove.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46303
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Wed, 17 Oct 2001 01:00:40 +0000 (01:00 +0000)]
* cp-tree.h (BOUND_TEMPLATE_TEMPLATE_PARM_TYPE_CHECK): Defined
for tree checking disabled.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46302
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Wed, 17 Oct 2001 00:32:56 +0000 (00:32 +0000)]
* stmt.c (expand_asm_operands): Update commentary.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46301
138bc75d-0d04-0410-961f-
82ee72b054a4
shebs [Tue, 16 Oct 2001 23:22:27 +0000 (23:22 +0000)]
* config/darwin.h (GCC_NAME): Remove, no longer used.
(NO_MATH_LIBRARY): Ditto.
(MATH_LIBRARY): Define to emptiness.
(DWARF2_DEBUGGING_INFO): Define.
(PREFERRED_DEBUGGING_TYPE): Define.
(EXTRA_SECTION_FUNCTIONS): Add darwin_exception_section.
(EXCEPTION_SECTION): Define.
(ASM_PREFERRED_EH_DATA_FORMAT): Define.
* config/darwin.c (darwin_encode_section_info): Handle case of
DECL_INITIAL being error_mark_node.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46300
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Tue, 16 Oct 2001 22:44:39 +0000 (22:44 +0000)]
* alpha.c (current_file_function_operand): Don't fail for profiling.
(direct_call_operand): New.
* alpha-protos.h: Declare it.
* alpha.h (EXTRA_CONSTRAINT): Use it.
(PREDICATE_CODES): Add it.
(ASM_OUTPUT_MI_THUNK): Remove.
* alpha32.h (ASM_OUTPUT_MI_THUNK): Remove.
* alpha.md (sibcall_osf_1, sibcall_value_osf_1): Add 's' alternative.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46299
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Tue, 16 Oct 2001 22:38:40 +0000 (22:38 +0000)]
* config/i386/netbsd-elf.h (ASM_OUTPUT_ADDR_DIFF_ELT): Define.
(JUMP_TABLES_IN_TEXT_SECTION): Define.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46298
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Tue, 16 Oct 2001 22:24:16 +0000 (22:24 +0000)]
* cfg.c (free_edge): Break out from ....
(remove_edge): ... here.
(clear_edges): Use free_edge.
* att.h (ASM_QUAD): Add comment.
* bsd.h, sco5.h, sun386.h (ASM_QUAD): Define.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46297
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Tue, 16 Oct 2001 22:04:20 +0000 (22:04 +0000)]
* i386.c (split_ti): New function.
(ix86_split_to_parts): Support TImodes.
* i386.h (VALID_INT_MODE_P): Add TImode.
* i386.md (movdi splitter): Fix.
(movti): Support 64bit integer registers.
(movti_rex64): New function and splitter.
* i386.c (*_cost): Add movsx/movzx cost.
* i386.h (struct processor_costs): Add movsx/movzx fields.
(RTX_COSTS): Handle zero/sign extend + avoid believing that
64bit operations require split on 64bit machine.
(CONST_COST): Make large 64bit constants expensive on 64bit compilation.
* i386.c (ix86_setup_incomming_varargs): Fix mode of PLUS.
(ix86_expand_move): Avoid pushes of memory if size does not match;
move long constants to register.
(x86_initialize_trampoline): Fix mode.
* i386.h (ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT):
Use ASM_QUAD on 64bit.
* i386.md (test pattern): Disallow impossible constants.
(tablejump PIC expander): Fix emitting of sum.
(movdicc_rex64): Rename to movdicc.
* linux64.h (LINK_SPEC): Add missing '%'.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46296
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Tue, 16 Oct 2001 22:00:32 +0000 (22:00 +0000)]
* gcj/javaprims.h: Updated class list.
* java/util/Hashtable.java: Re-merged with Classpath.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46295
138bc75d-0d04-0410-961f-
82ee72b054a4
hp [Tue, 16 Oct 2001 21:19:34 +0000 (21:19 +0000)]
* cp-tree.h (VFIELD_NAME_FORMAT) [NO_DOLLAR_IN_LABEL &&
NO_DOT_IN_LABEL]: Adjust to match VFIELD_NAME.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46293
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Tue, 16 Oct 2001 21:17:59 +0000 (21:17 +0000)]
* tree-inline.c (inlinable_function_p): Leave it up to the
front-end to turn -finline-functions into DECL_INLINE set for all
functions.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46292
138bc75d-0d04-0410-961f-
82ee72b054a4
shebs [Tue, 16 Oct 2001 20:16:45 +0000 (20:16 +0000)]
* config/rs6000/darwin.h (ASM_COMMENT_START): Define.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46291
138bc75d-0d04-0410-961f-
82ee72b054a4
bosch [Tue, 16 Oct 2001 19:12:53 +0000 (19:12 +0000)]
* trans.c (tree_transform): Adjust to recent change in
expand_asm_operands to implement named asm operands.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46289
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Tue, 16 Oct 2001 13:09:17 +0000 (13:09 +0000)]
* g++.dg/template/unify2.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46288
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Tue, 16 Oct 2001 13:07:29 +0000 (13:07 +0000)]
* pt.c (UNIFY_ALLOW_MAX_CORRECTION): Define.
(unify): Only handle MINUS_EXPR specially if the above flag is set
and the subtracted constant is 1. Clear the flag on recursive calls.
Set it when unifying the maximum value in an INTEGER_TYPE's range.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46287
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Tue, 16 Oct 2001 13:02:39 +0000 (13:02 +0000)]
* g++.dg/other/exception-specification.C: New test
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46286
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Tue, 16 Oct 2001 13:01:44 +0000 (13:01 +0000)]
* decl.c (bad_specifiers): Don't allow exception specifications
on any typedefs.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46285
138bc75d-0d04-0410-961f-
82ee72b054a4
bryce [Tue, 16 Oct 2001 11:18:03 +0000 (11:18 +0000)]
Forgot this file in last commit.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46284
138bc75d-0d04-0410-961f-
82ee72b054a4
bryce [Tue, 16 Oct 2001 09:01:40 +0000 (09:01 +0000)]
* Makefile.am, acinclude.m4, configure.in: Imported GC 6.1 Alpha 1
and merged local changes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46283
138bc75d-0d04-0410-961f-
82ee72b054a4
bryce [Tue, 16 Oct 2001 08:35:17 +0000 (08:35 +0000)]
Eliminate use of C++ static constructors.
* interpret.cc: Remove static Utf8Consts. Use namespace gcj.
* jni.cc: Likewise.
* resolve.cc: Likewise.
* defineclass.cc: Likewise.
(_Jv_ClassReader::handleClassBegin): Synchronize call to
_Jv_RegisterClass.
* include/jvm.h (void_signature, clinit_name, init_name, finit_name):
Declare in namespace gcj.
* java/lang/Class.h (Class): Remove initialization for primitive
types.
(friend void _Jv_InitPrimClass): This is in prims.cc.
* prims.cc (_Jv_InitPrimClass): Do primitive type initialization
here instead.
(void_signature, clinit_name, init_name, finit_name): Define in
namespace gcj.
(_Jv_CreateJavaVM): Call _Jv_InitThreads, _Jv_InitGC, and
_Jv_InitializeSyncMutex from here. Initialize Utf8 constants.
Initialize primitive types.
* java/lang/natClassLoader.cc (_Jv_RegisterClasses): Don't call
initialization routines. Don't synchronize.
* java/lang/natRuntime.cc (_load): Synchronize on java.lang.Class
across dlopen call.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46282
138bc75d-0d04-0410-961f-
82ee72b054a4
bryce [Tue, 16 Oct 2001 07:36:12 +0000 (07:36 +0000)]
* name-finder.cc (_Jv_name_finder::lookup): Check for NULL dli_sname.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46280
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Tue, 16 Oct 2001 07:16:11 +0000 (07:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46278
138bc75d-0d04-0410-961f-
82ee72b054a4
bryce [Tue, 16 Oct 2001 05:47:01 +0000 (05:47 +0000)]
2001-10-15 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
* java/util/HashMap.java (HashEntry.clone): Removed.
(HashMap(Map)): Use putAllInternal.
(clone): Likewise.
(putAllInternal): New method. Efficient counterpart to putAll which
does not call put().
* java/util/LinkedHashMap.java (rethread): Removed.
(putAllInternal): New method. Clear "head" and "tail".
(addEntry): New argument "callRemove". Don't call removeEldestEntry()
if callRemove == false.
* Makefile.am: Add new classes RandomAccess and LinkedHashMap.
* Makefile.in: Rebuilt.
2001-10-15 Eric Blake <ebb9@email.byu.edu>
* java/util/Collection.java: Updated javadoc.
* java/util/Comparator.java: Updated javadoc.
* java/util/Enumeration.java: Updated javadoc.
* java/util/Iterator.java: Updated javadoc.
* java/util/List.java: Updated javadoc.
* java/util/ListIterator.java: Updated javadoc.
* java/util/Map.java: Updated javadoc.
* java/util/RandomAccess.java: New file.
* java/util/Set.java: Updated javadoc.
* java/util/SortedMap.java: Updated javadoc.
* java/util/SortedSet.java: Updated javadoc.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46277
138bc75d-0d04-0410-961f-
82ee72b054a4
amodra [Tue, 16 Oct 2001 04:19:26 +0000 (04:19 +0000)]
* recog.c: Formatting and comment typo fixes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46276
138bc75d-0d04-0410-961f-
82ee72b054a4
amodra [Tue, 16 Oct 2001 03:33:48 +0000 (03:33 +0000)]
* configure.in (gcc_cv_as_bfd_srcdir): New. Use it to find gas
version in single tree build.
* configure: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46275
138bc75d-0d04-0410-961f-
82ee72b054a4
dj [Tue, 16 Oct 2001 02:50:13 +0000 (02:50 +0000)]
* Makefile.in (TEXIFILES): Add fnmatch.txh.
(maint-undoc): New.
maint-tool: Add "undoc" tool.
* alloca.c, argv.c, asprintf.c, choose-temp.c, concat.c,
fdmatch.c, ffs.c, getruntime.c, insque.c, lbasename.c,
make-temp-file.c, mkstemps.c, pexecute.c, random.c, spaces.c,
strerror.s, strsignal.c, strtol.c, vasprintf.c: Add or update
documentation.
* fnmatch.txh: New.
* functions.texi: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46274
138bc75d-0d04-0410-961f-
82ee72b054a4
dje [Tue, 16 Oct 2001 00:43:21 +0000 (00:43 +0000)]
rs6000.md (cr_logical): Swap order of CODE and MODE arguments to
gen_rtx and compare operand with const0_rtx.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46273
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Mon, 15 Oct 2001 22:45:03 +0000 (22:45 +0000)]
* java/lang/reflect/AccessibleObject.java (checkPermission):
Implemented.
Updated copyright information.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46272
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Mon, 15 Oct 2001 22:42:42 +0000 (22:42 +0000)]
2001-10-15 Hans Boehm <Hans_Boehm@hp.com>
* java/lang/natObject.cc (heavy_lock): Moved fields
old_client_data, old_finalization_proc near beginning.
(heavy_lock_finalization_proc): Now inline; changed type of
argument.
(JV_SYNC_TABLE_SZ): Now 2048.
(mp): New global.
(spin): `mp' now global.
(heavy_lock_obj_finalization_proc): Updated to correctly handle
heavy lock finalization.
(remove_all_heavy): New function.
(maybe_remove_all_heavy): Likewise.
(_Jv_MonitorEnter): Throw exception if object is NULL.
(_Jv_MonitorExit): Likewise. Also, clear long lists of unlocked
heavy locks.
* include/jvm.h (_Jv_AllocTraceTwo): Declare.
* nogc.cc (_Jv_AllocTraceTwo): New function.
* boehm.cc (trace_two_vtable): New global.
(_Jv_AllocTraceTwo): New function.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46271
138bc75d-0d04-0410-961f-
82ee72b054a4
apbianco [Mon, 15 Oct 2001 22:10:56 +0000 (22:10 +0000)]
2001-10-15 Alexandre Petit-Bianco <apbianco@redhat.com>
* lang.c (langhooks.h): Included.
(LANG_HOOKS_INIT): Redefined.
(LANG_HOOKS_INIT_OPTIONS): Likewise.
(LANG_HOOKS_DECODE_OPTION): Likewise.
(struct lang_hooks lang_hooks): New initialization.
( http://gcc.gnu.org/ml/gcc-patches/2001-10/msg00692.html )
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46270
138bc75d-0d04-0410-961f-
82ee72b054a4
neil [Mon, 15 Oct 2001 20:10:13 +0000 (20:10 +0000)]
* system.h: Poison old unused target macros.
* config/dsp16xx.h (ASM_OPEN_PAREN, ASM_CLOSE_PAREN): Remove.
* config/stormy16/stormy16.c: Update references to obsolete macros.
* config/stormy16/stormy16.h: Similarly.
* config/stormy16/stormy16.md: Similarly.
* config/cris/cris.h: Similarly.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46269
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Mon, 15 Oct 2001 17:46:06 +0000 (17:46 +0000)]
* Makefile.in: Rebuilt.
* Makefile.am (awt_java_source_files): Added new file.
* java/beans/AppletInitializer.java: New file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46267
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Mon, 15 Oct 2001 16:32:51 +0000 (16:32 +0000)]
* java/net/SocketPermission.java (hostport, actions): Now
private.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46266
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Mon, 15 Oct 2001 07:16:13 +0000 (07:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46264
138bc75d-0d04-0410-961f-
82ee72b054a4
mark [Mon, 15 Oct 2001 06:31:13 +0000 (06:31 +0000)]
* java/lang/Double.java: Partial merge with Classpath
(TYPE): initialized through VMClassLoader.getPrimitiveClass()
(value): made final
(static): new static block to load native libary (not used in libgcj)
(Double (String)): call parseDouble()
(byteValue): removed, already defined in superclass Number
(shortValue): likewise
(valueOf (String)): call new Double(String) directly
(compare (double,double)): new 1.4 method
(compareTo (Double)): call new compare(double,double) method
(initIDs): new private method (not used in libgcj)
* java/lang/Float.java: Partial merge with Classpath
(TYPE): initialized through VMClassLoader.getPrimitiveClass()
(value): made final
(static): new static block to load native libary (not used in libgcj)
(Float (String)): call parseFloat()
(byteValue): removed, already defined in superclass Number
(shortValue): likewise
(valueOf (String)): call new Float(String) directly
(compare (float,float)): new 1.4 method
(compareTo (Float)): call new compare(double,double) method
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46263
138bc75d-0d04-0410-961f-
82ee72b054a4
bryce [Mon, 15 Oct 2001 04:58:04 +0000 (04:58 +0000)]
This commit was generated by cvs2svn to compensate for changes in r46260,
which included commits to RCS files with non-trunk default branches.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46261
138bc75d-0d04-0410-961f-
82ee72b054a4