uweigand [Fri, 17 Oct 2003 13:36:48 +0000 (13:36 +0000)]
* combine.c (simplify_set): Do not clear out undobuf.other_insn
already set elsewhere.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72602
138bc75d-0d04-0410-961f-
82ee72b054a4
kcook [Fri, 17 Oct 2003 12:28:33 +0000 (12:28 +0000)]
* config/i386/i386.c (ix86_expand_prologue): Use
gen_allocate_stack_worker.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72601
138bc75d-0d04-0410-961f-
82ee72b054a4
ro [Fri, 17 Oct 2003 11:44:33 +0000 (11:44 +0000)]
* config.gcc (mips-sgi-irix6*o32): Only enable use_collect2
without gas.
(mips-sgi-irix6*): Likewise.
* config/mips/iris6gas.h: New file.
* gcc/config.gcc (mips-sgi-irix6*): Use it.
* config/mips/mips.h (TARGET_IRIX): Provide default.
(TARGET_IRIX5): Likewise.
(TARGET_SGI_O32_AS): Likewise.
* config/mips/iris5.h (TARGET_IRIX): Redefine as 1.
(TARGET_IRIX5): Likewise.
* config/mips/iris6.h (TARGET_IRIX6): Remove.
(TARGET_IRIX5): Redefine as 0.
* config/mips/mips.c (mips_output_external): Test for IRIX 6 O32
linker workaround with TARGET_IRIX and mips_abi instead of
ASM_OUTPUT_UNDEF_FUNCTION.
(mips_file_end): Inline old ASM_OUTPUT_UNDEF_FUNCTION definition,
testing TARGET_IRIX and mips_abi explicitly.
* config/mips/iris5.h (ASM_OUTPUT_UNDEF_FUNCTION): Remove.
* config/mips/iris6.h (ASM_OUTPUT_UNDEF_FUNCTION): Remove undef.
* config/mips/mips.c (irix_output_external_libcall): Renamed from
mips_output_external_libcall.
Use new TARGET_IRIX in guard.
* config/mips/mips-protos.h (irix_output_external_libcall): Match
this.
* config/mips/iris5.h (TARGET_ASM_EXTERNAL_LIBCALL): Likewise.
* config/mips/iris5gas.h (HAVE_GAS_SHF_MERGE): Update comment.
Define as 0.
* config/mips/iris6.h (FUNCTION_NAME_ALREADY_DECLARED): Define
depending on mips_abi.
* config/mips/linux.h (FUNCTION_NAME_ALREADY_DECLARED): Define as 1.
* config/mips/mips.c (mips_output_function_prologue): Test
FUNCTION_NAME_ALREADY_DECLARED at runtime.
(mips_output_function_epilogue): Likewise.
(build_mips16_function_stub): Likewise.
(build_mips16_call_stub): Likewise.
* config/mips/mips.h (FUNCTION_NAME_ALREADY_DECLARED): Provide
default.
* config/mips/iris6.h (DWARF2_UNWIND_INFO): Don't define for native
IRIX 6 O32 assembler.
(SUBTARGET_CC1_SPEC): Enforce mips2 ISA with O32 ABI.
(TARGET_OS_CPP_BUILTINS): Define _ABIO32, use it to define
_MIPS_SIM for O32 ABI.
(DWARF2_FRAME_INFO): Don't define for native IRIX 6 O32 assembler.
(ASM_DECLARE_FUNCTION_NAME): Integrate mips.h version.
(ASM_DECLARE_FUNCTION_SIZE): Move undef before redefinition.
Integrate O32 version.
(SUBTARGET_ASM_SPEC): Handle -mabi=32.
(SUBTARGET_ASM_DEBUGGING_SPEC): Add mdebug_asm_spec for gas with
O32 ABI.
(BSS_SECTION_ASM_OP_32): Define.
(BSS_SECTION_ASM_OP_64): Likewise.
(BSS_SECTION_ASM_OP): Define differently for O32 and N32/N64 ABIs
using them.
(TARGET_ASM_NAMED_SECTION): Reflect renaming.
Move up to allow override for O32 ABI without GNU as.
(EH_FRAME_SECTION_NAME): Define explicitly.
(MUST_USE_SJLJ_EXCEPTIONS): Define.
[_MIPS_SIM == _ABIO32 && !GAS] (CTORS_SECTION_ASM_OP,
DTORS_SECTION_ASM_OP): Dummy definitions.
(TARGET_ASM_NAMED_SECTION): Undef statically.
(EH_FRAME_SECTION_NAME): Likewise.
(ASM_OUTPUT_FILENAME): Integrate mips.h version.
(LINK_SPEC): Only use default options -call_shared -no_unresolved
without -r.
Don't pass -init, -fini with -mabi=32.
(COLLECT_PARSE_FLAG): Define.
* config/mips/mips.c (iris6_asm_named_section_1): Changed guard to
TARGET_IRIX.
Renamed to use irix_ prefix.
(iris6_asm_named_section): Likewise.
(iris_section_align_entry_eq): Likewise.
(iris_section_align_entry_hash): Likewise.
(iris6_file_start): Likewise.
(iris6_section_align_1): Likewise.
(iris6_file_end): Likewise.
(iris6_section_type_flags): Likewise.
(iris_section_align_htab): Likewise.
(iris_orig_asm_out_file): Likewise.
[TARGET_IRIX] (TARGET_ASM_FILE_START): Reflect rename.
(TARGET_ASM_FILE_END): Likewise.
(TARGET_SECTION_TYPE_FLAGS): Likewise.
* config/mips/mips.c [TARGET_IRIX5 && !TARGET_IRIX6]
(TARGET_ASM_UNALIGNED_HI_OP): Use runtime initialization in
override_options instead.
(TARGET_ASM_UNALIGNED_SI_OP): Likewise.
(TARGET_ASM_UNALIGNED_DI_OP): Likewise.
* config/mips/mips.c (override_options) [USE_COLLECT2]: Restore
flag_gnu_linker to defaults without USE_COLLECT2 for non-IRIX O32
assemblers.
Likewise for constructor/destructor handling.
(override_options): Handle IRIX O32 assembler quirks.
[TARGET_IRIX] (irix_asm_named_section): Handle O32 ABI with and
without gas.
(mips_file_start): Use new TARGET_IRIX.
(mips_declare_object_name): No special processing for IRIX O32
assembler.
(mips_finish_declare_object): Likewise.
(irix_asm_output_align): Renamed from iris6_asm_output_align.
Don't record alignment for O32 ABI.
(irix_file_start): Renamed from iris6_file_start.
Return early for O32 ABI.
(irix_file_end): Renamed from iris6_file_end.
Don't emit .section directives for O32 ABI.
* config/mips/iris6.h (ASM_OUTPUT_ALIGN): Reflect renaming.
* config/mips/mips-protos.h (irix_asm_output_align): Likewise.
* config/mips/t-iris6 (MULTILIB_OPTIONS): Add mabi=32.
(MULTILIB_OSDIRNAMES): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72600
138bc75d-0d04-0410-961f-
82ee72b054a4
ro [Fri, 17 Oct 2003 11:27:13 +0000 (11:27 +0000)]
* collect2.c (COLLECT_PARSE_FLAG): Provide default.
(main): Use it.
* doc/tm.texi (COLLECT_PARSE_FLAG): Document it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72599
138bc75d-0d04-0410-961f-
82ee72b054a4
ro [Fri, 17 Oct 2003 11:22:58 +0000 (11:22 +0000)]
* config-ml.in (multi-do): Pass MULTIFLAGS to subdir makes.
libobjc:
* Makefile.in (runtime-info.h): Use MULTIFLAGS.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72598
138bc75d-0d04-0410-961f-
82ee72b054a4
lerdsuwa [Fri, 17 Oct 2003 11:14:55 +0000 (11:14 +0000)]
PR c++/12369
* g++.dg/template/friend25.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72596
138bc75d-0d04-0410-961f-
82ee72b054a4
rearnsha [Fri, 17 Oct 2003 10:58:17 +0000 (10:58 +0000)]
* arm-modes.def (CC_Nmode): New condition code mode.
* arm.c (thumb_condition_code): Delete.
(arm_select_cc_mode): Handle single-bit test for Thumb.
(arm_print_operand, cases 'd' and 'D'): Don't special case the
condition code logic for Thumb.
(get_arm_condition_code): Handle CC_Nmode.
(thumb_cbrch_target_operand): New function.
* arm.h (PREDICATE_CODES): Add thumb_cbrch_target_operand.
* arm-protos.h (thumb_cbrch_target_operand): Add prototype.
* arm.md: Add Thumb split patterns for zero_extract and
sign_extract.
(tbit_cbranch, andsi3_cbranch_scratch, andsi3_cbranch)
(orrsi3_cbranch_scratch, orrsi3_cbranch, xorsi3_cbranch_scratch)
(xorsi3_cbranch, addsi3_cbranch, addsi3_cbranch_scratch)
(subsi3_cbranch, subsi3_cbranch_scratch): New Thumb patterns.
(cbranchne_decr1): Re-work to use CC_Nmode.
* arm.c (thumb_expand_epilogue): Add clobbers of registers restored
by the return instruction. Add a use of the link register if it
wasn't stored.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72595
138bc75d-0d04-0410-961f-
82ee72b054a4
rearnsha [Fri, 17 Oct 2003 10:30:43 +0000 (10:30 +0000)]
* flow.c (init_propagate_block_info): Don't abort if a conditional
jump is not a comparison of a register. Instead, just don't record
conditional life information.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72594
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Fri, 17 Oct 2003 04:56:47 +0000 (04:56 +0000)]
fix
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72592
138bc75d-0d04-0410-961f-
82ee72b054a4
danglin [Fri, 17 Oct 2003 03:32:21 +0000 (03:32 +0000)]
PR optimization/12630
* pa.md (movstrsi, movstrsi_internal): Use match_scratch in clobbers
for operands 7 and 8.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72590
138bc75d-0d04-0410-961f-
82ee72b054a4
dje [Fri, 17 Oct 2003 01:56:59 +0000 (01:56 +0000)]
Change TARGET_ALTIVEC to TARGET_ALTIVEC_ABI.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72589
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Fri, 17 Oct 2003 00:16:09 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72587
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Fri, 17 Oct 2003 00:16:06 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72586
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Thu, 16 Oct 2003 22:53:32 +0000 (22:53 +0000)]
Remove PR 8610 heading mistakenly added to last ChangeLog entry.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72584
138bc75d-0d04-0410-961f-
82ee72b054a4
kcook [Thu, 16 Oct 2003 22:38:32 +0000 (22:38 +0000)]
eliminate conflict indicator
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72583
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Thu, 16 Oct 2003 22:37:53 +0000 (22:37 +0000)]
2003-10-16 Petur Runolfsson <peturr02@ru.is>
PR libstdc++/8610
PR libstdc++/11450
PR libstdc++/11543
PR libstdc++/12065
* config/io/basic_file_stdio.cc (__basic_file::seekoff):
Change return value from streampos to streamoff.
(__basic_file::seekpos): Delete.
* config/io/basic_file_stdio.h: Same.
* config/io/c_io_stdio.h: Remove streamoff and wstreamsize typedefs.
* include/Makefile.am (bits_headers): Add bits/postypes.h.
* include/bits/char_traits.h: Include bits/postypes.h instead of
bits/fpos.h.
* include/bits/fstream.tcc (basic_filebuf::open,
basic_filebuf::pbackfail): Don't use < or >= to compare pos_type
values, use == and != instead.
(basic_filebuf::_M_seek): Use explicit conversion from streamoff
to pos_type.
(basic_filebuf::imbue): Don't use ! on pos_type values, use
== instead. Don't use __check_facet(_M_codecvt) unless is_open().
* include/bits/postypes.h: New file.
Add __streamoff_base_type typedef, streamsize.
(streamoff, streampos, wstreampos): Define typedefs, with
streamoff defined as...
(streamoff): New class. Document implementation defined
aspects.
(fpos): New implementation. Document implementation defined
aspects.
* include/bits/sstream.tcc (basic_stringbuf::seekpos): Use
explicit conversion from pos_type to off_type.
* include/std/std_iosfwd.h: Include bits/postypes.h instead
of bits/fpos.h.
* testsuite/27_io/basic_filebuf/seekoff/char/11543.cc: New test.
* testsuite/27_io/basic_filebuf/seekoff/wchar_t/11543.cc: New test.
* testsuite/27_io/fpos/11450.cc: New test.
* testsuite/27_io/fpos/mbstate_t/12065.cc: New test.
* testsuite/27_io/fpos/mbstate_t/4_neg.cc: New test.
* testsuite/27_io/types/3.cc: New test.
2003-10-16 Benjamin Kosnik <bkoz@redhat.com>
* configure.host: Remove fpos_include_dir.
* configure.ac: Remove FPOS_INC_SRCDIR.
* configure: Regenerate.
* acinclude.m4 (GLIBCXX_ENABLE_CSTDIO): Remove FPOS_H.
* aclocal.m4: Regenerate.
* include/Makefile.am (host_headers): Remove fpos.h.
(bits_headers): Add postypes.h.
* include/Makefile.in: Regenerate.
* config/os/gnu-linux/fposh: Remove.
* config/os/generic/fpos.h: Remove.
* testsuite/27_io/basic_filebuf/seekoff/char/1-in.cc: Fixup.
* testsuite/27_io/basic_filebuf/seekoff/char/1-io.cc: Same.
* testsuite/27_io/basic_filebuf/seekoff/char/1-out.cc: Same.
* testsuite/27_io/basic_filebuf/seekoff/char/2-in.cc: Same.
* testsuite/27_io/basic_filebuf/seekoff/char/2-io.cc: Same.
* testsuite/27_io/basic_filebuf/seekoff/char/2-out.cc: Same.
* testsuite/27_io/basic_filebuf/seekpos/char/1-in.cc: Same.
* testsuite/27_io/basic_filebuf/seekpos/char/1-io.cc: Same.
* testsuite/27_io/basic_filebuf/seekpos/char/1-out.cc: Same.
* testsuite/27_io/basic_filebuf/seekpos/char/2-in.cc: Same.
* testsuite/27_io/basic_filebuf/seekpos/char/2-io.cc: Same.
* testsuite/27_io/basic_filebuf/seekpos/char/2-out.cc: Same.
* testsuite/27_io/basic_istream/seekg/char/2.cc: Same.
* testsuite/27_io/basic_stringbuf/seekoff/char/1.cc: Same.
* testsuite/27_io/basic_stringbuf/seekpos/char/1.cc: Same.
* testsuite/27_io/fpos/mbstate_t/3.cc: Same.
* testsuite/27_io/objects/char/10.cc: Same.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72582
138bc75d-0d04-0410-961f-
82ee72b054a4
kcook [Thu, 16 Oct 2003 22:37:03 +0000 (22:37 +0000)]
* objc/Make-lang.in (objc-parse.o): Honor $(parsedir) for objc-parse.c.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72581
138bc75d-0d04-0410-961f-
82ee72b054a4
ralph [Thu, 16 Oct 2003 21:35:42 +0000 (21:35 +0000)]
* java/lang/StringBuffer.java (getChars): Fix array index checks.
(append, substring, insert): Likewise.
* testsuite/libjava.lang/StringBuffer_overflow.java: New file.
* testsuite/libjava.lang/StringBuffer_overflow.out: New file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72579
138bc75d-0d04-0410-961f-
82ee72b054a4
ralph [Thu, 16 Oct 2003 21:28:23 +0000 (21:28 +0000)]
* java/lang/natString.cc (getChars):
Fix validation of array indexes.
(getBytes, regionMatches, startsWith, valueOf): Likewise.
* testsuite/libjava.lang/String_overflow.java: New file.
* testsuite/libjava.lang/String_overflow.out: New file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72578
138bc75d-0d04-0410-961f-
82ee72b054a4
ralph [Thu, 16 Oct 2003 21:19:53 +0000 (21:19 +0000)]
* prims.cc (_Jv_NewObjectArray): Make sure byte size doesn't
overflow a jint.
(_Jv_NewPrimArray): Check for overflowing a jint, replacing a
check for overflowing size_t, since the lower level functions
take a jint.
* testsuite/libjava.lang/newarray_overflow.java: New file.
* testsuite/libjava.lang/newarray_overflow.out: New file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72577
138bc75d-0d04-0410-961f-
82ee72b054a4
ralph [Thu, 16 Oct 2003 21:04:15 +0000 (21:04 +0000)]
* MAINTAINERS: Add myself to 'Write After Approval' section.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72576
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Thu, 16 Oct 2003 21:01:01 +0000 (21:01 +0000)]
2003-10-16 Benjamin Kosnik <bkoz@redhat.com>
* acconfig.h: Add HAVE_DRAND48.
* crossconfig.m4: Remove ISATTY.
* aclocal.m4: Regenerated.
* config.h.in: Regenerated.
* configure: Regenerated.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72575
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Thu, 16 Oct 2003 20:36:45 +0000 (20:36 +0000)]
2003-10-16 Paolo Carlini <pcarlini@suse.de>
* src/locale.cc (locale::locale(const char*)): ... one
more comparison missed in the previous commit.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72574
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Thu, 16 Oct 2003 20:33:43 +0000 (20:33 +0000)]
2003-10-16 Benjamin Kosnik <bkoz@redhat.com>
* acconfig.h: Add HAVE_DRAND48 and HAVE_ISATTY.
* aclocal.m4: Regenerated.
* config.h.in: Regenerated.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72573
138bc75d-0d04-0410-961f-
82ee72b054a4
bernie [Thu, 16 Oct 2003 19:47:45 +0000 (19:47 +0000)]
* config/cpu/m68k/atomicity.h (__exchange_and_add): Use TAS on
__mcf5400__. Don't rely on __mc68000__ to detect a bare 68000.
Document SMP safeness of asm macros.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72570
138bc75d-0d04-0410-961f-
82ee72b054a4
dannysmith [Thu, 16 Oct 2003 19:37:53 +0000 (19:37 +0000)]
* config/i386/cygming.h (ASM_OUTPUT_DEF_FROM_DECLS): Define.
* config/i386/winnt.c (gen_stdcall_suffix): Make static
(gen_fastcall_suffix): Likewise.
(i386_pe_dllexport_p): Likewise.
(i386_pe_dllimport_p): Likewise.
(i386_pe_mark_dllexport): Likewise.
(i386_pe_mark_dllimport): Likewise.
(i386_pe_asm_named_section): Fix formatting.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72566
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Thu, 16 Oct 2003 19:18:52 +0000 (19:18 +0000)]
* gennews (files): Add GCC 3.3 files.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72565
138bc75d-0d04-0410-961f-
82ee72b054a4
zlaski [Thu, 16 Oct 2003 19:12:54 +0000 (19:12 +0000)]
2003-10-16 Ziemowit Laski <zlaski@apple.com>
* objc.dg/try-catch-2.m: Relax target triple to all Darwin
versions.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72563
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Thu, 16 Oct 2003 18:05:57 +0000 (18:05 +0000)]
* configure.in: Add snprintf to gcc_AC_CHECK_DECLS list.
* system.h: Declare snprintf if necessary.
* configure, config.in: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72557
138bc75d-0d04-0410-961f-
82ee72b054a4
dje [Thu, 16 Oct 2003 17:59:06 +0000 (17:59 +0000)]
* config/rs6000/rs6000.c (rs6000_va_arg): Only align vector
arguments if TARGET_ALTIVEC.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72555
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Thu, 16 Oct 2003 17:53:49 +0000 (17:53 +0000)]
2003-10-16 Paolo Carlini <pcarlini@suse.de>
* src/locale.cc (locale::locale(const char*)): Tweak
a couple of comparisons to use basic_string operators.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72554
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Thu, 16 Oct 2003 17:24:07 +0000 (17:24 +0000)]
2003-10-16 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/12540
* config/locale/gnu/monetary_members.cc
(moneypunct<wchar_t, true/false>::_M_initialize_moneypunct):
Don't leak memory if new throws.
* src/locale.cc (locale::locale(const char*)): In order not
to leak memory in case new throws, use a basic_string type
for __res too and avoid strdup.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72553
138bc75d-0d04-0410-961f-
82ee72b054a4
hjl [Thu, 16 Oct 2003 15:23:11 +0000 (15:23 +0000)]
2003-10-16 H.J. Lu <hongjiu.lu@intel.com>
* testsuite/demangle-expected: Update the expected output of
_GLOBAL__I__Z2fnv.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72552
138bc75d-0d04-0410-961f-
82ee72b054a4
bernie [Thu, 16 Oct 2003 11:57:24 +0000 (11:57 +0000)]
* config.guess: Update to 2003-10-16 version.
* config.sub: Update to 2003-10-16 version.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72550
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Thu, 16 Oct 2003 10:58:14 +0000 (10:58 +0000)]
* gcc.c-torture/execute/
20031003-1.c: Enable only when INT_MAX
==
2147483647.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72549
138bc75d-0d04-0410-961f-
82ee72b054a4
sayle [Thu, 16 Oct 2003 02:36:48 +0000 (02:36 +0000)]
* builtins.c (fold_builtin_memcpy, fold_builtin_mempcpy,
fold_builtin_memmove, fold_builtin_strcpy, fold_builtin_strncpy,
fold_builtin_memcmp, fold_builtin_strcmp, fold_builtin_strncmp):
New functions.
(expand_builtin_memcpy): Use integer_zerop instead of testing
host_integerp and tree_low_cst directly. Move misapplied hunk
for optimization wher SRC and DEST point to the same location.
(expand_builtin_mempcpy): From here.
(expand_builtin_memmove): Use integer_zerop instead of testing
host_integerp and tree_low_cst_directly.
(expand_builtin_memset): Likewise.
(expand_builtin_memcmp): Likewise (and for integer_onep).
(expand_builtin_strncmp): Likewise.
(fold_builtin): Call the appropriate fold_builtin_foo functions
to optimize memcpy, mempcpy, memmove, strcpy, strncpy, memcmp,
strcmp and strncmp.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72547
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Thu, 16 Oct 2003 02:15:20 +0000 (02:15 +0000)]
* gcc.c-torture/execute/960416-1.x: Remove.
* gcc.c-torture/execute/divconst-3.x: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72545
138bc75d-0d04-0410-961f-
82ee72b054a4
geoffk [Thu, 16 Oct 2003 01:16:38 +0000 (01:16 +0000)]
* config/darwin-protos.h (machopic_non_lazy_ptr_name): Delete
prototype. Clean up some whitespace.
* config/darwin.c: Use gen_rtx_FOO (...) rather than
gen_rtx (FOO, ...).
(machopic_non_lazy_ptr_name): Make static.
(name_needs_quotes): Allow '.' and '$' unquoted.
(machopic_legitimize_pic_address): Improve codegen in dynamic-no-pic
case.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72544
138bc75d-0d04-0410-961f-
82ee72b054a4
kcook [Thu, 16 Oct 2003 00:57:55 +0000 (00:57 +0000)]
Fix CRLF problem with
20031012-1.c
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72543
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Thu, 16 Oct 2003 00:16:06 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72541
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Wed, 15 Oct 2003 23:10:20 +0000 (23:10 +0000)]
problem that current decl duplication mechanizm
>
> /* If we didn't remap this variable, so we can't mess with its
> TREE_CHAIN. If we remapped this variable to the return slot, it's
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72539
138bc75d-0d04-0410-961f-
82ee72b054a4
sayle [Wed, 15 Oct 2003 22:32:27 +0000 (22:32 +0000)]
2003-10-15 G�bor L�ki <alga@rgai.hu>
* fold-const.c (tree_swap_operands_p): disables
some features when optimizing for size.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72538
138bc75d-0d04-0410-961f-
82ee72b054a4
daney [Wed, 15 Oct 2003 22:28:04 +0000 (22:28 +0000)]
* config/mips/linux.h (MD_FALLBACK_FRAME_STATE_FOR): New
* config/mips/mips.h (DWARF_FRAME_REGNUM): Fixed to allow unwind
from leaf functions.
(DWARF_FRAME_RETURN_COLUMN): Ditto.
(SIGNAL_UNWIND_RETURN_COLUMN): New, used
by MD_FALLBACK_FRAME_STATE_FOR.
* testsuite/gcc.dg/cleanup-9.c: Added mips*-*-linux* target.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72537
138bc75d-0d04-0410-961f-
82ee72b054a4
daney [Wed, 15 Oct 2003 22:24:56 +0000 (22:24 +0000)]
* config/mips/linux.h (MD_FALLBACK_FRAME_STATE_FOR): New
* config/mips/mips.h (DWARF_FRAME_REGNUM): Fixed to allow unwind
from leaf functions.
(DWARF_FRAME_RETURN_COLUMN): Ditto.
(SIGNAL_UNWIND_RETURN_COLUMN): New, used
by MD_FALLBACK_FRAME_STATE_FOR.
* testsuite/gcc.dg/cleanup-9.c: Added mips*-*-linux* target.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72536
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Wed, 15 Oct 2003 22:06:16 +0000 (22:06 +0000)]
Remove stray blank line
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72535
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Wed, 15 Oct 2003 21:57:21 +0000 (21:57 +0000)]
* genmodes.c: Include hashtab.h.
(modes_by_name, hash_mode, eq_mode, struct mode_adjust)
(adj_bytesize, adj_alignment, adj_format, new_adjust)
(_ADD_ADJUST, ADJUST_BYTESIZE, ADJUST_ALIGNMENT, ADJUST_FORMAT)
(print_maybe_const_decl, emit_mode_adjustments): New.
(known_modes): Rename to modes.
(find_mode): Kill class argument; look up in hash table.
(new_mode): Insert into hash table also.
(new_adjust): New.
(reset_float_format, make_partial_integer_mode)
(make_vector_mode): Tweak error reporting.
(reset_float_format): Correct type of fourth argument.
(emit_insn_modes_h): Add #defines to help make mode_size,
mode_base_align, and real_format_for_mode conditionally const.
(emit_mode_size, emit_mode_base_align): Use print_maybe_const_decl.
(emit_real_format_for_mode): Likewise, but temporarily disabled.
(emit_insn_modes_c): Call emit_mode_adjustments.
(main): Initialize modes_by_name.
* Makefile.in: Update dependencies.
* machmode.def: Document EXPR arguments and new ADJUST_* statements.
* machmode.h: Use CONST_MODE_SIZE and CONST_MODE_BASE_ALIGN in
declarations of mode_size and mode_base_align. Declare
init_adjust_machine_modes.
* toplev.c (backend_init): Call init_adjust_machine_modes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72534
138bc75d-0d04-0410-961f-
82ee72b054a4
hainque [Wed, 15 Oct 2003 17:24:44 +0000 (17:24 +0000)]
* genmodes.c (calc_wider_mode): Allocate enough room for all the
entries we'll possibly assign in the sort buffer.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72531
138bc75d-0d04-0410-961f-
82ee72b054a4
uweigand [Wed, 15 Oct 2003 17:12:01 +0000 (17:12 +0000)]
Fixed up last commit.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72530
138bc75d-0d04-0410-961f-
82ee72b054a4
uweigand [Wed, 15 Oct 2003 17:10:20 +0000 (17:10 +0000)]
* config.gcc (s390x-ibm-tpf*): New target.
* doc/invoke.texi: Document it.
* config/s390/t-tpf: New file.
* config/s390/tpf.h: New file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72529
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Wed, 15 Oct 2003 15:50:47 +0000 (15:50 +0000)]
2003-10-15 Michael Koch <konqueror@gmx.de>
* java/text/RuleBasedCollator.java
(RuleBasedCollator): Moved around, documentation added.
(compare): Documentation added.
(equals): Likewise.
(getCollationElementIterator): Likewise.
(getCollationKey): Likewise.
(getRules): Likewise.
(hashCode): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72528
138bc75d-0d04-0410-961f-
82ee72b054a4
daney [Wed, 15 Oct 2003 15:40:13 +0000 (15:40 +0000)]
* MAINTAINERS: Added myself to 'Write After Approval' section.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72527
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Wed, 15 Oct 2003 15:13:03 +0000 (15:13 +0000)]
2003-10-15 Michael Koch <konqueror@gmx.de>
* java/text/RuleBasedCollator.java
(CollationElement): Renamed from RBCElement and moved into
RuledBasedCollator as inner class.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72525
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Wed, 15 Oct 2003 14:49:30 +0000 (14:49 +0000)]
2003-10-15 Michael Koch <konqueror@gmx.de>
* java/text/CollationElementIterator.java
(CollationElementIterator): Moved, documenatation added, call setText.
(next): Reformated.
(reset): Reformated.
(setText): New method.
(getOffset): New method.
* java/text/CollationKey.java
(getSourceString): Reformated.
(hashCode): Reformated.
(toByteArray): Reformated.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72523
138bc75d-0d04-0410-961f-
82ee72b054a4
hp [Wed, 15 Oct 2003 14:13:03 +0000 (14:13 +0000)]
Forgot to mention cris_notice_update_cc in last ChangeLog entry
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72522
138bc75d-0d04-0410-961f-
82ee72b054a4
hp [Wed, 15 Oct 2003 14:07:57 +0000 (14:07 +0000)]
PR target/12598
* config/cris/cris.md (define_split "*mov_sidesi_biap_mem"+1)
(define_splits "*mov_sidesi_mem"+1, "casesi"+9, +10, +11, +12):
Use cris_mem_op and replace_equiv_address, not gen_rtx_MEM.
("call", "call_value", define_split "*mov_sidesi_mem"+19, +20)
(define_split "*mov_sidesi_mem"+21, +22, +23, +24, +25, +26, +27)
(define_split "*mov_sidesi_mem"+28, +29, +30): Use
replace_equiv_address, not gen_rtx_MEM.
* config/cris/cris.c (cris_mem_op): New match_operator function.
* config/cris/cris.h (PREDICATE_CODES): Add cris_mem_op.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72521
138bc75d-0d04-0410-961f-
82ee72b054a4
hp [Wed, 15 Oct 2003 14:03:15 +0000 (14:03 +0000)]
PR target/12598
* gcc.dg/torture/cris-volatile-1.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72520
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Wed, 15 Oct 2003 14:02:37 +0000 (14:02 +0000)]
2003-10-15 Michael Koch <konqueror@gmx.de>
* java/util/zip/InflaterInputStream.java
(InflaterInputStream): Renamed infl to inf and bufsize to size,
added description to exception, check for inf == null and size < 0.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72519
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Wed, 15 Oct 2003 13:57:00 +0000 (13:57 +0000)]
2003-10-15 Michael Koch <konqueror@gmx.de>
* java/text/AttributedCharacterIterator.java,
java/text/CharacterIterator.java: Reformated.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72518
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Wed, 15 Oct 2003 13:44:22 +0000 (13:44 +0000)]
2003-10-15 Michael Koch <konqueror@gmx.de>
* javax/swing/UIDefaults.java (putDefaults):
Readded accidently removed "public" modifier.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72517
138bc75d-0d04-0410-961f-
82ee72b054a4
bernie [Wed, 15 Oct 2003 10:29:27 +0000 (10:29 +0000)]
* config/m68k/m68k.h (MASK_SEP_DATA, TARGET_SEP_DATA,
MASK_ID_SHARED_LIBRARY, TARGET_ID_SHARED_LIBRARY): Move
definitions after the other flags.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72516
138bc75d-0d04-0410-961f-
82ee72b054a4
falk [Wed, 15 Oct 2003 08:00:29 +0000 (08:00 +0000)]
* MAINTAINERS: Move myself from 'Bug database only accounts' to
'Write After Approval' section. Update email.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72515
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Wed, 15 Oct 2003 02:37:10 +0000 (02:37 +0000)]
oops
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72511
138bc75d-0d04-0410-961f-
82ee72b054a4
pinskia [Wed, 15 Oct 2003 02:17:34 +0000 (02:17 +0000)]
2003-10-14 Jeff Bailey <jbailey@nisa.net>
PR libstdc++/12562
* crossconfig.m4: Share the config between *-linux* and *-gnu*.
* configure: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72510
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Wed, 15 Oct 2003 00:16:06 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72508
138bc75d-0d04-0410-961f-
82ee72b054a4
zlaski [Wed, 15 Oct 2003 00:10:27 +0000 (00:10 +0000)]
2003-10-14 Ziemowit Laski <zlaski@apple.com>
* c-parse.in (methoddef, methodproto): Call objc_add_method()
instead of add_method().
* objc/objc-act.c (objc_check_decl): Do not check for
constant_string_type.
(add_method): Rename to objc_add_method().
(really_start_method): Call objc_add_method() instead of
add_method().
* objc/objc-act.h (add_method): Rename to objc_add_method().
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72506
138bc75d-0d04-0410-961f-
82ee72b054a4
uweigand [Tue, 14 Oct 2003 22:55:36 +0000 (22:55 +0000)]
* config/s390/s390-protos.h (s390_alc_comparison): Add prototype.
(s390_slb_comparison): Likewise.
* config/s390/s390.c (s390_alc_comparison, s390_slb_comparison):
New functions.
* config/s390/s390.h (PREDICATE_CODES): Add s390_alc_comparison
and s390_slb_comparison.
* config/s390/s390.md ("*adddi3_31", "*subdi3_31"): Do not use on
zSeries machines.
("*adddi3_31z", "*subdi3_31z"): New insns.
("*adddi3_alc_cc", "*adddi3_alc", "*subdi3_slb_cc", "*subdi3_slb",
"*addsi3_alc_cc", "*addsi3_alc", "*subsi3_slb_cc", "*subsi3_slb"):
New insns.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72505
138bc75d-0d04-0410-961f-
82ee72b054a4
neroden [Tue, 14 Oct 2003 22:10:20 +0000 (22:10 +0000)]
* configure.in: Clean up some feedback echoes.
* configure: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72503
138bc75d-0d04-0410-961f-
82ee72b054a4
neroden [Tue, 14 Oct 2003 21:39:57 +0000 (21:39 +0000)]
* gettext.m4: Properly quote arguments to AC_DEFUN.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72501
138bc75d-0d04-0410-961f-
82ee72b054a4
neroden [Tue, 14 Oct 2003 21:21:07 +0000 (21:21 +0000)]
* aclocal.m4: Properly quote names of macros being defined.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72499
138bc75d-0d04-0410-961f-
82ee72b054a4
neroden [Tue, 14 Oct 2003 21:01:09 +0000 (21:01 +0000)]
* configure: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72497
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Tue, 14 Oct 2003 20:47:07 +0000 (20:47 +0000)]
PR c++/11878
* tree.c (build_target_expr_with_type): Call force_rvalue for
classes with non-trivial copy ctors.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72496
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Tue, 14 Oct 2003 20:46:45 +0000 (20:46 +0000)]
PR c++/11063
* typeck.c (build_modify_expr): Call convert rather than abort.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72495
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Tue, 14 Oct 2003 20:46:27 +0000 (20:46 +0000)]
PR c++/11878
* tree.c (build_target_expr_with_type): Call force_rvalue for
classes with non-trivial copy ctors.
PR c++/11063
* typeck.c (build_modify_expr): Call convert rather than abort.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72494
138bc75d-0d04-0410-961f-
82ee72b054a4
gdr [Tue, 14 Oct 2003 20:34:41 +0000 (20:34 +0000)]
Breack out decl.c (3/n)
* name-lookup.c: Include flags.h
(lookup_name_current_level): Make static.
(add_decl_to_level): Likewise.
(push_local_binding): Likewise.
(push_overloaded_decl): Likewise.
(lookup_using_namespace): Likewise.
(qualified_lookup_using_namespace): Likewise.
(lookup_type_current_level): Likewise.
(unqualified_namespace_lookup): Likewise.
(namespace_ancestor): Likewise.
(push_using_directive): Likewise.
* decl.c (pushdecl): Move to name-lookup.c.
(pushdecl_top_level_1): Likewise.
(pushdecl_top_level): Likewise.
(pushdecl_top_level_and_finish): Likewise.
(maybe_push_decl): Likewise.
(push_using_decl): Likewise.
(push_overloaded_decl): Likewise.
(make_anon_name): Likewise.
(anon_cnt): Likewise.
(clear_anon_tags): Likewise.
(maybe_inject_for_scope_var): Likewise.
(check_for_out_of_scope_variable): Likewise.
* Make-lang.in (cp/name-lookup.o): Depend on flags.h.
* decl.c (warn_extern_redeclared_static): Export.
* cp-tree.h (warn_extern_redeclared_static): Declare.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72492
138bc75d-0d04-0410-961f-
82ee72b054a4
neroden [Tue, 14 Oct 2003 19:51:11 +0000 (19:51 +0000)]
* config.gcc (am33_2.0-*-linux*): Use t-slibgcc-elf-ver.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72490
138bc75d-0d04-0410-961f-
82ee72b054a4
sje [Tue, 14 Oct 2003 19:25:54 +0000 (19:25 +0000)]
* config/ia64/ia64.c (ia64_expand_call): Force function address
to DImode.
* config/ia64/ia64.md (call_gp): Put DImode on operand 0.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72489
138bc75d-0d04-0410-961f-
82ee72b054a4
uweigand [Tue, 14 Oct 2003 19:21:45 +0000 (19:21 +0000)]
* config/s390/s390.md ("muldf3", "*muldf3", "*muldf3_ibm",
"mulsf3", "*mulsf3", "*mulsf3_ibm"): Do not clobber CC.
("divdf3", "*divdf3", "*divdf3_ibm", "divsf3", "*divsf3",
"*divsf3_ibm"): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72488
138bc75d-0d04-0410-961f-
82ee72b054a4
neroden [Tue, 14 Oct 2003 19:07:21 +0000 (19:07 +0000)]
gcc:
* config.gcc, config/m68hc11/t-m68hc11-gas: Replace uses of
target_alias with target_noncanonical.
ada:
* Make-lang.in: Replace uses of $(target_alias) with
$(target_noncanonical).
* ada/Makefile.in: Remove unused mention of $(target_alias).
cp:
* Make-lang.in: Replace uses of $(target_alias) with
$(target_noncanonical).
java:
* Make-lang.in: Replace uses of $(target_alias) with
$(target_noncanonical).
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72487
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Tue, 14 Oct 2003 18:43:27 +0000 (18:43 +0000)]
* stor-layout.c (do_type_align): New fn, split out from...
(layout_decl): ...here. Do all alignment calculations for
FIELD_DECLs here.
(update_alignment_for_field): Not here.
(start_record_layout, debug_rli): Remove unpadded_align.
* tree.h (struct record_layout_info_s): Remove unpadded_align.
* c-decl.c (finish_enum): Don't set DECL_SIZE, DECL_ALIGN
or DECL_MODE on the CONST_DECLs.
(finish_struct): Don't mess with DECL_ALIGN.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72485
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Tue, 14 Oct 2003 17:53:42 +0000 (17:53 +0000)]
2003-10-14 Paolo Bonzini <bonzini@gnu.org>
* interpret.cc (_Jv_InterpMethod::run): Don't
use libffi types, they were meant to be internal.
* gcj/javaprims.h (_Jv_ulong): New typedef.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72482
138bc75d-0d04-0410-961f-
82ee72b054a4
carlo [Tue, 14 Oct 2003 17:49:11 +0000 (17:49 +0000)]
Lets add the correct test case instead.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72481
138bc75d-0d04-0410-961f-
82ee72b054a4
carlo [Tue, 14 Oct 2003 17:46:19 +0000 (17:46 +0000)]
PR libstdc++/12600
* include/bits/demangle.h (session<Allocator>::
decode_unqualified_name(string_type& output)): Fail on a
<operator-name> when decoding <template-argument>.
* testsuite/demangle/regression/cw-15.cc: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72480
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Tue, 14 Oct 2003 17:15:27 +0000 (17:15 +0000)]
2003-10-14 Paolo Carlini <pcarlini@unitus.it>
PR libstdc++/11480
* include/bits/stl_algo.h (unique): Fix.
* testsuite/25_algorithms/unique.cc: Move to unique/1.cc.
* testsuite/25_algorithms/unique/11480.cc: New, from the PR.
* testsuite/25_algorithms/unique/2.cc: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72478
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Tue, 14 Oct 2003 15:57:40 +0000 (15:57 +0000)]
fixed patch submitter's name
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72476
138bc75d-0d04-0410-961f-
82ee72b054a4
geoffk [Tue, 14 Oct 2003 15:01:44 +0000 (15:01 +0000)]
* expr.c (block_move_libcall_safe_for_call_parm): Clean up,
and add case for machines where outgoing register parameters
get stack space.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72474
138bc75d-0d04-0410-961f-
82ee72b054a4
geoffk [Tue, 14 Oct 2003 15:01:14 +0000 (15:01 +0000)]
* config/darwin.c (machopic_indirect_data_reference): Use a scratch
register when generating indirect address.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72473
138bc75d-0d04-0410-961f-
82ee72b054a4
paolo [Tue, 14 Oct 2003 14:56:29 +0000 (14:56 +0000)]
2003-10-14 Paolo Carlini <pcarlini@unitus.it>
* src/localename.cc (_M_replace_categories, M_replace_facet):
Const-ify a couple of variables.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72472
138bc75d-0d04-0410-961f-
82ee72b054a4
sayle [Tue, 14 Oct 2003 13:40:33 +0000 (13:40 +0000)]
* MAINTAINERS: Move myself from 'Write After Approval' to
'Various Maintainers' section as middle-end maintainer.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72468
138bc75d-0d04-0410-961f-
82ee72b054a4
sayle [Tue, 14 Oct 2003 13:31:27 +0000 (13:31 +0000)]
PR optimization/9325
* gcc.c-torture/execute/
20031003-1.c: Remove non-portable tests
for overflowing floating point to integer conversion during RTL
simplification.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72467
138bc75d-0d04-0410-961f-
82ee72b054a4
rearnsha [Tue, 14 Oct 2003 13:22:14 +0000 (13:22 +0000)]
* arm.c (arm_addimm_operand): MODE arguemnt is unused.
* arm.md (cbranchne_decr1): Fix bootstrap warning.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72466
138bc75d-0d04-0410-961f-
82ee72b054a4
ro [Tue, 14 Oct 2003 11:46:47 +0000 (11:46 +0000)]
* fixinc/inclhack.def (alpha_pthread_gcc): New fix.
* fixinc/fixincl.x: Regenerate.
* fixinc/tests/base/pthread.h [ALPHA_PTHREAD_GCC_CHECK]: New
testcase.
Fixes PR bootstrap/9330.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72465
138bc75d-0d04-0410-961f-
82ee72b054a4
echristo [Tue, 14 Oct 2003 08:39:24 +0000 (08:39 +0000)]
2003-10-13 Eric Christopher <echristo@redhat.com>
* config/frv/frv.c (frv_adjust_field_align): Redo check for
too wide bitfields.
(frv_hard_regno_mode_ok): Add SPR_P and AP_FIRST.
* config/frv/frv.h (FUNCTION_PROFILER): Remove abort call.
(SBSS_SECTION_ASM_OP): Remove.
(EXTRA_SECTIONS): Remove in_sbss.
(EXTRA_SECTION_FUNCTIONS): Remove SBSS_SECTION_FUNCTION.
(SBSS_SECTION_FUNCTION, sbss_section): Remove.
(ASM_OUTPUT_ALIGNED_DECL_LOCAL): Change sbss_section to
named_section.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72463
138bc75d-0d04-0410-961f-
82ee72b054a4
gdr [Tue, 14 Oct 2003 08:19:06 +0000 (08:19 +0000)]
* name-lookup.h (cxx_scope_find_binding_for_name): Don't export.
(binding_for_name): Likewise.
(cxx_binding_clear): Move to name-lookup.c.
* name-lookup.c (cxx_scope_find_binding_for_name): Now static.
(binding_for_name): Likewise.
* decl2.c (is_ancestor): Move to name-lookup.c
(namespace_ancestor): Likewise.
(add_using_namespace): Likewise.
(ambiguous_decl): Likewise.
(lookup_using_namespace): Likewise.
(qualified_lookup_using_namespace): Likewise.
(set_decl_namespace): Likewise.
(decl_namespace): Likewise.
(current_decl_namespace): Likewise.
(push_decl_namespace): Likewise.
(pop_decl_namespace): Likewise.
(push_scope): Likewise.
(pop_scope): Likewise.
(struct arg_lookup): Likewise.
(arg_assoc): Likewise.
(arg_assoc_args): Likewise.
(arg_assoc_type): Likewise.
(add_function): Likewise.
(arg_assoc_namespace): Likewise.
(arg_assoc_class): Likewise.
(arg_assoc_template_arg): Likewise.
(do_namespace_alias): Likewise.
(validate_nonmember_using_decl): Likewise.
(do_nonmember_using_decl): Likewise.
(do_toplevel_using_decl): Likewise.
(do_local_using_decl): Likewise.
(do_class_using_decl): Likewise.
(do_using_directive): Likewise.
(constructor_name_full): Likewise.
(constructor_name): Likewise.
(constructor_name_p): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72462
138bc75d-0d04-0410-961f-
82ee72b054a4
andreast [Tue, 14 Oct 2003 04:47:10 +0000 (04:47 +0000)]
2003-10-14 Petur Runolfsson <peturr02@ru.is>
Andreas Tobler <a.tobler@schweiz.ch>
* src/locale.cc (locale::_S_initialize): Workaround a confusion
of the use of the gthr API when __gthread_active_p() returns true.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72458
138bc75d-0d04-0410-961f-
82ee72b054a4
neroden [Tue, 14 Oct 2003 03:41:42 +0000 (03:41 +0000)]
* Makefile.in, configure.in, config.host, mkheaders.in: Replace
uses of ${target_alias} for directory names (and other places which
won't like the empty string) with ${target_noncanonical}. Introduce
call early in configure.in to _GCC_TOPLEV_NONCANONICAL_TARGET so it's
available.
* configure: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72457
138bc75d-0d04-0410-961f-
82ee72b054a4
ian [Tue, 14 Oct 2003 02:17:47 +0000 (02:17 +0000)]
* config/arm/iwmmxt.md (cond_iwmmxt_movsi_insn): New pattern.
* config/arm/arm.md: For splits which rely on conditional moves,
remove ! TARGET_IWMMXT condition.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72456
138bc75d-0d04-0410-961f-
82ee72b054a4
zlaski [Tue, 14 Oct 2003 00:38:48 +0000 (00:38 +0000)]
2003-10-13 Ziemowit Laski <zlaski@apple.com>
* objc/execute/_cmd.m: Fix typo.
* objc.dg/image-info.m, objc.dg/symtab-1.m:
Relax 'scan-assembler' regexp.
* objc.dg/try-catch-1.m, objc.dg/try-catch-3.m,
objc.dg/try-catch-4.m: Run on non-Darwin targets.
* objc.dg/zero-link-2.m: Remove blank line.
* objc.dg/zero-link-3.m: New test case.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72455
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Tue, 14 Oct 2003 00:16:36 +0000 (00:16 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72453
138bc75d-0d04-0410-961f-
82ee72b054a4
davem [Tue, 14 Oct 2003 00:06:52 +0000 (00:06 +0000)]
* ifcvt.c (num_removed_blocks): Rename to num_true_changes.
(find_cond_trap): Always increment if we emit a conditional
trap insn.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72450
138bc75d-0d04-0410-961f-
82ee72b054a4
geoffk [Mon, 13 Oct 2003 23:11:52 +0000 (23:11 +0000)]
* g77.f-torture/execute/980520-1.x: XFAIL at -O0.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72448
138bc75d-0d04-0410-961f-
82ee72b054a4