nathan [Tue, 22 Oct 2002 08:56:49 +0000 (08:56 +0000)]
PR c++/7209
* fold_const.c (fold_binary_op_with_conditional_arg): Always
build compound_expr if we used save_expr.
testsuite:
* g++.dg/expr/cond1.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58405
138bc75d-0d04-0410-961f-
82ee72b054a4
amodra [Tue, 22 Oct 2002 07:59:41 +0000 (07:59 +0000)]
* output.h (SECTION_NOTYPE): Define.
* varasm.c (default_section_type_flags_1): Set SECTION_NOTYPE for
init array sections.
(default_elf_asm_named_section): Mind SECTION_NOTYPE.
* config/arm/arm.c (arm_elf_asm_named_section): Likewise. Also
merge TLS support.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58404
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Tue, 22 Oct 2002 07:17:19 +0000 (07:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58403
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Tue, 22 Oct 2002 05:04:48 +0000 (05:04 +0000)]
* class.c (empty_base_at_nonzero_offset_p): New function.
(layout_nonempty_base_or_field): Do not check for conflicts when
laying out a virtual base using the GCC 3.2 ABI.
(build_base_field): Correct checking for presence of empty classes
at non-zero offsets when clearing CLASSTYPE_NEARLY_EMPTY_P.
* g++.dg/abi/vbase13.C: New test.
* g++.dg/abi/vbase14.C: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58397
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Tue, 22 Oct 2002 00:17:15 +0000 (00:17 +0000)]
* real.c (sticky_rshift_significand): Return inexact, don't
or it in immediately.
(sub_significands): Accept incomming carry.
(div_significands, rtd_divmod): Update for sub_significands change.
(round_for_format): Update for sticky_rshift_significand change.
(do_add): Don't involve the inexact bit in addition, do give the
inexact bit as the subtraction carry-in.
(encode_internal, decode_internal, real_internal_format): New.
* real.h (real_internal_format): Declare.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58396
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Tue, 22 Oct 2002 00:09:41 +0000 (00:09 +0000)]
* paranoia.cc (real_c_float::image): Accomodate size of
real_internal format.
(main): Unbuffer stdio. Add real_internal format.
(floor_log2_wide): New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58395
138bc75d-0d04-0410-961f-
82ee72b054a4
uweigand [Mon, 21 Oct 2002 23:10:38 +0000 (23:10 +0000)]
* libgcc2.c: Fix __udiv_w_sdiv breakage on platforms that
don't define sdiv_qrnnd.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58393
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Mon, 21 Oct 2002 22:44:51 +0000 (22:44 +0000)]
* config/h8300/h8300.h (EIGHTBIT_CONSTANT_ADDRESS_P): Simplify
using IN_RANGE.
(TINY_CONSTANT_ADDRESS_P): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58392
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Mon, 21 Oct 2002 22:09:06 +0000 (22:09 +0000)]
* i386.c (builtin_description): Add punpcklqdq and movdq2q
(ix86_init_mmx_sse_builtins): Add v2di_ftype_void, di_ftype_v2di,
v16qi_ftype_pchar, void_ftype_pchar_v16qi, v4si_ftype_pchar,
void_ftype_pchar_v4si; Initialize __builtin_ia32_movdq2q,
__builtin_ia32_loaddqa, __builtin_ia32_loaddqu, __builtin_ia32_loadd
__builtin_ia32_storedqa, __builtin_ia32_storedqu, __builtin_ia32_stored
__builtin_ia32_setzero128.
(ix86_expand_builtin): Handle IX86_BUILTIN_CLRTI, IX86_BUILTIN_LOADDQA,
IX86_BUILTIN_LOADDQU, IX86_BUILTIN_LOADD, IX86_BUILTIN_STOREDQA,
IX86_BUILTIN_STOREDQU, IX86_BUILTIN_STORED, Ix86_BUILTIN_MOVQ.
* i386.h (ix86_builtins): Add IX86_BUILTIN_LOADDQA, IX86_BUILTIN_LOADDQU,
IX86_BUILTIN_STOREDQA, IX86_BUILTIN_STOREDQU, IX86_BUILTIN_LOADD,
IX86_BUILTIN_STORED, IX86_BUILTIN_CLRTI, IX86_BUILTIN_MOVDQ2Q,
IX86_BUILTIN_PUNPCKLQDQ128, Ix86_BUILTIN_MOVQ.
* i386.md (sse2_punpcklqdq, sse2_movqsse2_loadd, sse2_stored,
sse2_movq): New patterns.
(sse2_movdqa, sse2_movdqu, sse2_movdq2q): Fix.
* xmmintrin.h (_mm_load_si128, _mm_loadu_si128, _mm_loadl_epi64,
_mm_store_si128, _mm_storeu_si128, _mm_storel_epi64,
_mm_setzero_si128, _mm_set_epi64, _mm_set_epi32, _mm_set_epi16,
_mm_set_epi8, _mm_set1_epi64, _mm_set1_epi32, _mm_set1_epi16,
_mm_set1_epi8, _mm_setr_epi64, _mm_setr_epi32, _mm_setr_epi16,
_mm_setr_epi8, _mm_unpacklo_epi64,_mm_set_moveq): New functions.
(_mm_insert_epi16): Fix.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58391
138bc75d-0d04-0410-961f-
82ee72b054a4
dalej [Mon, 21 Oct 2002 21:58:15 +0000 (21:58 +0000)]
remove > > > glitch
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58390
138bc75d-0d04-0410-961f-
82ee72b054a4
dalej [Mon, 21 Oct 2002 21:56:40 +0000 (21:56 +0000)]
Fix fastmath-specific crash PR 7133.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58389
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Mon, 21 Oct 2002 21:47:44 +0000 (21:47 +0000)]
* class.c (include_empty_classes): Use normalize_rli.
(layout_class_type): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58388
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Mon, 21 Oct 2002 20:27:14 +0000 (20:27 +0000)]
* config/i386/i386.c (x86_64_sign_extended_value): Add allow_rip
argument. In CM_SMALL_PIC model consider SYMBOL_REFs binding locally or
from constant pool or LABEL_REFs as sign extended if allow_rip.
Change all +-1GB limits to +-16MB.
(x86_64_general_operand, x86_64_szext_general_operand,
x86_64_nonmemory_operand, x86_64_movabs_operand,
x86_64_szext_nonmemory_operand, x86_64_immediate_operand,
legitimate_address_p, ix86_expand_int_movcc): Update callers.
(local_symbolic_operand): Don't allow offsets bigger than +-16MB
in CM_SMALL_PIC model.
(legitimate_pic_address_disp_p): Don't check offsets before
calling local_symbolic_operand.
(legitimize_pic_address): Force offsets bigger than +-16MB into
register.
* config/i386/i386.h (EXTRA_CONSTRAINT, CONST_COSTS): Likewise.
* config/i386/i386-protos.h (x86_64_sign_extended_value): Update
prototype.
* configure.in: Test for @GOTNTPOFF and @INDNTPOFF on IA-32 too.
Add x86-64 test. Set tls_first_minor to 14 on IA-32 and x86-64.
* configure: Rebuilt.
* config/i386/i386.c (x86_64_sign_extended_value): Don't allow TLS
SYMBOL_REFs unless enclosed in UNSPEC. Handle UNSPEC_DTPOFF,
UNSPEC_GOTNTPOFF and UNSPEC_NTPOFF.
(legitimate_address_p): Allow foo@dtpoff(base) even on TARGET_64BIT
-fpic.
(ix86_encode_section_info): Don't ever generate TLSGD or TLSLD for
non-pic code if TARGET_64BIT.
(legitimize_address): Generate 64-bit TLS sequences.
(output_pic_addr_const): Support x86-64 TLS operators.
(i386_output_dwarf_dtprel): Output 64-bit DTPOFF as .long f@DTPOFF, 0.
(print_operand_address): Use %fs instead of %gs on TARGET_64BIT.
Don't append (%rip) in 64-bit TLSGD and TLSLD sequences.
(output_addr_const_extra): Support x86-64 TLS operators.
(maybe_get_pool_constant): Handle TARGET_64BIT -fpic.
(ix86_tls_get_addr): Use __tls_get_addr on TARGET_64BIT
unconditionally.
* config/i386/i386.md (*tls_global_dynamic_gnu): Renamed to...
(*tls_global_dynamic_32_gnu): ..., add !TARGET_64BIT.
(*tls_global_dynamic_sun): Renamed to...
(*tls_global_dynamic_32_sun): ..., add !TARGET_64BIT.
(tls_global_dynamic): Renamed to...
(tls_global_dynamic_32): ... this.
(tls_global_dynamic_64, *tls_global_dynamic_64): New.
(*tls_local_dynamic_base_dynamic_gnu): Renamed to...
(*tls_local_dynamic_base_dynamic_32_gnu): ..., add !TARGET_64BIT.
(*tls_local_dynamic_base_dynamic_sun): Renamed to...
(*tls_local_dynamic_base_dynamic_32_sun): ..., add !TARGET_64BIT.
(tls_local_dynamic_base_dynamic): Renamed to...
(tls_local_dynamic_base_dynamic_32): ... this.
(tls_local_dynamic_base_dynamic_64,
*tls_local_dynamic_base_dynamic_64): New.
(*tls_local_dynamic_once): Renamed to...
(*tls_local_dynamic_32_once): ... this.
* gcc.dg/tls/pic-1.c: New test.
* gcc.dg/tls/nonpic-1.c: New test.
* gcc.dg/
20021018-1.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58383
138bc75d-0d04-0410-961f-
82ee72b054a4
uweigand [Mon, 21 Oct 2002 20:25:38 +0000 (20:25 +0000)]
* libgcc2.c: Inline __udiv_w_sdiv when compiling __udivdi3,
__divdi3, __umoddi3, or __moddi3.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58382
138bc75d-0d04-0410-961f-
82ee72b054a4
uweigand [Mon, 21 Oct 2002 20:24:57 +0000 (20:24 +0000)]
* c-opts.c (missing_arg): Use cl_options[opt_index].opt_code
instead of just opt_index as switch expression.
* calls.c (store_one_arg): Change type of 'excess_align'
to unsigned int.
* profile.c (output_gcov_string): Change type of 'temp'
to size_t.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58381
138bc75d-0d04-0410-961f-
82ee72b054a4
uweigand [Mon, 21 Oct 2002 20:21:00 +0000 (20:21 +0000)]
* lib/profopt.exp (profopt-cleanup): New argument TESTCASE.
Remove only files with the same base name as the test case.
(profopt-perf-value): Pass TESTCASE to profopt-cleanup.
(profopt-execute): Likewise. Also, remove old profiling
and performance data files before running the tests.
* gcc.misc-tests/bprob.exp: Remove profopt-cleanup calls.
* g++.dg/bprob/bprob.exp: Likewise.
* g77.dg/bprob/bprob.exp: Likewise. Also, relax regexp
to allow more general test case names.
* g++.dg/bprob/bprob-1.C: Rename to ...
* g++.dg/bprob/g++-bprob-1.C: ... this.
* g77.dg/bprob/bprob-1.f: Rename to ...
* g77.dg/bprob/g77-bprob-1.f: ... this.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58380
138bc75d-0d04-0410-961f-
82ee72b054a4
uweigand [Mon, 21 Oct 2002 19:41:11 +0000 (19:41 +0000)]
* config/s390/fixdfdi.h (__fixunsdfdi, __fixdfdi): Add prototypes.
(__fixunssfdi, __fixsfdi): Likewise.
* config/s390/s390.c (s390_single_hi): Initialize 'value'.
(s390_single_qi): Likewise.
(s390_emit_epilogue): Initialize 'offset'. Remove signed vs.
unsigned comparison warning.
(s390_return_addr_rtx): New function.
* config/s390/s390-protos.h (s390_return_addr_rtx): Declare it.
* config/s390/s390.h (RETURN_ADDR_RTX): Use it.
(HARD_REGNO_MODE_OK): Rewrite condition to silence warnings.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58379
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Mon, 21 Oct 2002 19:05:47 +0000 (19:05 +0000)]
* gcc.dg/noncompile/920923-1.c: Prevent spurious regressions with
bison 1.50 or later.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58374
138bc75d-0d04-0410-961f-
82ee72b054a4
aph [Mon, 21 Oct 2002 18:26:34 +0000 (18:26 +0000)]
2002-10-15 Andrew Haley <aph@redhat.com>
* parse.y (patch_invoke): Call force_evaluation_order on a static
arg list.
(resolve_qualified_expression_name): Call force_evaluation_order
on a arg list that is part of a Qualified Expression Name.
* lang.c (dump_compound_expr): New.
(java_dump_tree): New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58369
138bc75d-0d04-0410-961f-
82ee72b054a4
janis [Mon, 21 Oct 2002 17:42:49 +0000 (17:42 +0000)]
2002-10-21 Janis Johnson <janis187@us.ibm.com>
* g++.dg/README: Describe more test directories.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58364
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Mon, 21 Oct 2002 16:47:14 +0000 (16:47 +0000)]
* decl.c (reshape_init): Tweak handling of character arrays.
* g++.dg/init/array6.C: Add additional tests.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58363
138bc75d-0d04-0410-961f-
82ee72b054a4
uweigand [Mon, 21 Oct 2002 15:42:23 +0000 (15:42 +0000)]
* gcc.dg/weak/typeof-2.c: Handle s390x targets as well.
* gcc.misc-tests/linkage.exp: Handle s390x targets in -m31 mode.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58361
138bc75d-0d04-0410-961f-
82ee72b054a4
uweigand [Mon, 21 Oct 2002 15:27:27 +0000 (15:27 +0000)]
* config/s390/s390.c (s390_output_mi_vcall_thunk): New function.
(TARGET_ASM_OUTPUT_MI_VCALL_THUNK): Define target hook.
(s390_output_mi_thunk): Remove.
(TARGET_ASM_OUTPUT_MI_THUNK): Remove.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58360
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Mon, 21 Oct 2002 13:14:26 +0000 (13:14 +0000)]
* config/h8300/h8300.h (N_REG_CLASSES): Parenthesize.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58359
138bc75d-0d04-0410-961f-
82ee72b054a4
kazu [Mon, 21 Oct 2002 12:49:08 +0000 (12:49 +0000)]
* gcc.c-torture/compile/
20020604-1.x: New.
* gcc.c-torture/compile/simd-5.x: Likewise.
* gcc.c-torture/execute/920710-1.x: Likewise.
* gcc.c-torture/execute/
20020720-1.x: Disable on h8300.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58358
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Mon, 21 Oct 2002 08:40:24 +0000 (08:40 +0000)]
PR c++/8218
* cp-tree.h (lang_type_class): Add contains_empty_class_p.
(CLASSTYPE_CONTAINS_EMPTY_CLASS_P): New macro.
* class.c (check_bases): Update CLASSTYPE_CONTAINS_EMPTY_CLASS_P.
(check_field_decls): Likewise.
(layout_class_type): Likewise.
(finish_struct_1): Initialize it.
(walk_subobject_offsets): Use it to prune searches.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58356
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Mon, 21 Oct 2002 07:57:10 +0000 (07:57 +0000)]
* g++.dg/inherit/override1.C: Add dg-options clause.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58355
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Mon, 21 Oct 2002 07:17:55 +0000 (07:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58354
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Mon, 21 Oct 2002 05:04:07 +0000 (05:04 +0000)]
Fix date, grrr.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58346
138bc75d-0d04-0410-961f-
82ee72b054a4
mkoch [Mon, 21 Oct 2002 04:53:50 +0000 (04:53 +0000)]
2002-10-11 Michael Koch <konqueror@gmx.de>
* java/net/URL.java
(URL): Activate SecurityManager checks.
(equals): Use URLStreamHandler implementation instead of doing it
alone. This allows special protocol stream handlers to change default
behaviour.
(hashCode): Use URLStreamHandler implementation instead of doing it
alone. This allows special protocol stream handlers to change default
behaviour.
* java/net/URLStreamHandler.java
(equals): Implemented default URL equality check.
(hostsEqual): Implemented default URL equality check.
(hashCode): Implemented default URL hashCode algorithm.
* java/net/natPlainDatagramSocketImpl.cc:
No lines longer then 80 characters.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58345
138bc75d-0d04-0410-961f-
82ee72b054a4
megacz [Mon, 21 Oct 2002 01:50:14 +0000 (01:50 +0000)]
2002-10-20 Adam Megacz <adam@xwt.org>
* aclocal.m4 (CHECK_FOR_BROKEN_MINGW_LD): added
* configure.in: enabled hash sync on Win32
* include/win32-threads.h (_Jv_ThreadId_t): added.
* java/lang/natObject.cc (_Jv_MonitorEnter, _Jv_MonitorExit,
heavy_lock_obj_finalization_proc, wait, notify, notifyAll):
removed some posix-isms, use Thread::sleep() instead of usleep,
added code to clear bottom three bits if platform has a broken
linker. * include/win32-threads.h (_Jv_ThreadId_t): added.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58344
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Sun, 20 Oct 2002 23:47:43 +0000 (23:47 +0000)]
2002-10-19 Ranjit Mathew <rmathew@hotmail.com>
* java/lang/natRuntime.cc (insertSystemProperties): Added GCJ
runtime property "gnu.gcj.progname" containing the name used to
invoke the current Java program (similar to argv[0] for C
programs).
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58343
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Sun, 20 Oct 2002 23:47:05 +0000 (23:47 +0000)]
2002-10-20 Ranjit Mathew <rmathew@hotmail.com>
* gcj.texi: Added item describing the GCJ runtime property
"gnu.gcj.progname".
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58342
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Sun, 20 Oct 2002 23:30:24 +0000 (23:30 +0000)]
* jartool.c: Use mode 0666 when opening new file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58341
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sun, 20 Oct 2002 22:37:14 +0000 (22:37 +0000)]
* target.h (struct gcc_target): Line wrap.
* config/alpha/alpha.c (alpha_output_mi_thunk_osf): Static.
(TARGET_ASM_OUTPUT_MI_THUNK): Define here...
* config/alpha/alpha.h: ... not here.
* config/alpha/alpha-protos.h: Update.
* config/arm/arm.c, config/arm/arm.h, config/arm/arm-protos.h
config/cris/cris-protos.h, config/cris/cris.c, config/cris/cris.h,
config/frv/frv-protos.h, config/frv/frv.c, config/frv/frv.h,
config/i386/i386-protos.h, config/i386/i386.c, config/i386/openbsd.h,
config/i386/unix.h, config/i960/i960-protos.h, config/i960/i960.c,
config/i960/i960.h, config/ia64/ia64-protos.h, config/ia64/ia64.c,
config/ia64/ia64.h, config/m68k/linux.h, config/m68k/m68k-protos.h,
config/m68k/m68k.c, config/m68k/netbsd-elf.h, config/m68k/openbsd.h,
config/mmix/mmix-protos.h, config/mmix/mmix.c, config/mmix/mmix.h,
config/pa/pa-protos.h, config/pa/pa.c, config/pa/pa.h,
config/s390/s390-protos.h, config/s390/s390.c, config/s390/s390.h,
config/sparc/openbsd.h, config/sparc/sparc-protos.h,
config/sparc/sparc.c, config/sparc/sparc.h,
config/stormy16/stormy16-protos.h, config/stormy16/stormy16.c,
config/stormy16/stormy16.h: Similarly.
* config/m68k/m68k.c (m68k_output_mi_thunk): Replicate mnemonic
selection logic from call patterns.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58340
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Sun, 20 Oct 2002 21:19:51 +0000 (21:19 +0000)]
* config/m68k/m68k.c (m68k_output_mi_thunk): Fix typo.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58339
138bc75d-0d04-0410-961f-
82ee72b054a4
rakdver [Sun, 20 Oct 2002 20:38:41 +0000 (20:38 +0000)]
PR other/8202
* i386.c (ix86_init_mmx_sse_builtins, ix86_expand_builtin): Define and
expand __builtin_ia32_pslldqi128 and __builtin_ia32_psrldqi128.
* i386.h (IX86_BUILTIN_PSLLDQI128, IX86_BUILTIN_PSRLDQI128): New.
* xmmintrin.h (_mm_srli_si128, _mm_slli_si128): New.
* testsuite/gcc.dg/i386-sse-3.c: Add tests for _mm_srli_si128 and
_mm_slli_si128.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58338
138bc75d-0d04-0410-961f-
82ee72b054a4
sayle [Sun, 20 Oct 2002 19:18:30 +0000 (19:18 +0000)]
PR c/761
* toplev.c (flag_unsafe_profile_arcs): Remove.
(flag_bounded_pointers): Remove.
(flag_bounds_check): Correct comments.
(lang_independent_options): Remove -funsafe-profile-arcs and
-fbounded-pointers. Correct -fbounds-check comments.
* flags.h: Correct flag_schedule_interblock comments.
(flag_bounded_pointers): Remove prototype.
(flag_bounds_check): Correct comments.
* c-opts.c (c_common_init_options): No need to mark
flag_bounds_check as unspecified.
(c_common_post_options): And no need to set it from
flag_bounded_pointers if its still unspecified.
* doc/invoke.texi: Fix some overfull hboxes in "make dvi".
Document --version, -feliminate-dwarf-2-dups, -fno-sched-interblock,
-fno-sched-spec, -fsched-spec-load, -fsched-spec-load-dangerous,
-fsched-verbose=n, -fno-branch-count-reg and -fbounds-check.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58334
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Sun, 20 Oct 2002 18:52:01 +0000 (18:52 +0000)]
* alpha-protos.h (alpha_output_mi_thunk_osf): Update signature to
match target.h.
* arm-protos.h, arm.c (arm_output_mi_thunk): Likewise.
* cris-protos.h, cris.c (cris_asm_output_mi_thunk): Likewise.
* frv-protos.h, frv.c (frv_asm_output_mi_thunk): Likewise.
* i386-protos.h, i386.c (x86_output_mi_vcall_thunk,
x86_output_mi_thunk): Likewise.
* i960-protos.h, i960.c (i960_output_mi_thunk): Likewise.
* ia64-protos.h, ia64.c (ia64_output_mi_thunk): Likewise.
* m68k-protos.h, m68k.c (m68k_output_mi_thunk): Likewise.
* mmix-protos.h, mmix.c (mmix_asm_output_mi_thunk): Likewise.
* rs6000-protos.h, rs6000.c (output_mi_thunk): Likewise.
* s390-protos.h, s390.c (s390_output_mi_thunk): Likewise.
* stormy16-protos.h, stormy16.c (xstormy16_asm_output_mi_thunk):
Likewise.
* vax-protos.h, vax.c (vax_output_mi_thunk): Likewise.
* target.h (gcc_target): Update output_mi_thunk and
output_mi_vcall_thunk to take a HOST_WIDE_INT delta and
vcall_index.
* config/alpha/alpha.c: Replace ASM_OUTPUT_MI_THUNK with
TARGET_ASM_OUTPUT_MI_THUNK in comments.
* config/alpha/vms.h (ASM_OUTPUT_MI_THUNK): Don't #undef it.
(TARGET_ASM_OUTPUT_MI_THUNK): #undef it.
* config/frv/frv.h (DEFAULT_VTABLE_THUNKS): Remove definition.
* config/i386/i386-protos.h (x86_output_mi_vcall_thunk): Update
signature.
* config/i386/i386.c (x86_output_mi_vcall_thunk): Likewise.
* config/i386/openbsd.h: Replace ASM_OUTPUT_MI_THUNK with
TARGET_ASM_OUTPUT_MI_THUNK in comments.
* config/i960/i960.h (ASM_OUTPUT_MI_THUNK): Don't define.
(TARGET_ASM_OUTPUT_MI_THUNK): Do define.
* config/m68k/openbsd.h: Replace ASM_OUTPUT_MI_THUNK with
TARGET_ASM_OUTPUT_MI_THUNK in comments.
* config/rs6000/rs6000.c (rs6000_ra_ever_killed): Remove #ifdef
ASM_OUTPUT_MI_THUNK and replace with check of targetm.
* doc/tm.texi (TARGET_ASM_OUTPUT_MI_THUNK): Update signature.
(TARGET_ASM_OUTPU_MI_VCALL_THUNK): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58333
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sun, 20 Oct 2002 07:17:12 +0000 (07:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58330
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Sat, 19 Oct 2002 23:03:21 +0000 (23:03 +0000)]
* real.c (do_add): Fix 0+0 sign corner case.
(do_divide): Fix Inf/0 corner case.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58322
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Sat, 19 Oct 2002 22:34:17 +0000 (22:34 +0000)]
* i386.c (classify_argument): Pass MMX arguments in memory
(ix86_expand_builtin): Expand proper address mode for cflush.
* i386.md (movdqa): Fix typo.
(sse2_cflush): Accept DImode addresses.
* xmmintrin.h (_mm_sqrt_sd): Accept two arguments.
(_mm_max_sd): Fix pasto.
(_mm_storeh_pd, _mm_storel_pd): Fix.
* i386.c (bdesc_comi): Fix to match specification.
(ix86_expand_sse_comi): Emit the comparison properly.
* i386.md (sse_comi, sse2_comi, sse_ucomi, sse2_ucomi):
Do not use comparison operator.
(vnmaskcmp): Fix template.
* xmmintrin.h (_mm_cvtps_pi16): Fix.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58321
138bc75d-0d04-0410-961f-
82ee72b054a4
schwab [Sat, 19 Oct 2002 19:27:24 +0000 (19:27 +0000)]
* lib/compat.exp (compat-run): Prepend "./" when $dest has no
directory component.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58318
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Sat, 19 Oct 2002 17:13:50 +0000 (17:13 +0000)]
* mmintrin.h (__m64): typedef it to v2si.
(_mm_cvtsi32_si64, _mm_cvtsi32_si64_mm_sll_pi16,
_mm_sll_pi32, _mm_sll_pi64, _mm_slli_pi64, _mm_sra_pi16,
_mm_sra_pi32, _mm_srl_pi16, _mm_srl_pi32, _mm_srl_pi64,
_mm_srli_pi64, _mm_and_si64, _mm_andnot_si64,
_mm_or_si64, _mm_xor_si64): Add neccesary casts.
* xmmintrin.h (_mm_setzero_si64): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58316
138bc75d-0d04-0410-961f-
82ee72b054a4
spop [Sat, 19 Oct 2002 10:12:33 +0000 (10:12 +0000)]
* dependence.c : Removed.
* Makefile.in : Remove dependence.o.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58307
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Sat, 19 Oct 2002 08:48:37 +0000 (08:48 +0000)]
* mmintrin.h (__m64): typedef it to v2si.
(_mm_cvtsi32_si64, _mm_cvtsi32_si64_mm_sll_pi16,
_mm_sll_pi32, _mm_sll_pi64, _mm_slli_pi64, _mm_sra_pi16,
_mm_sra_pi32, _mm_srl_pi16, _mm_srl_pi32, _mm_srl_pi64,
_mm_srli_pi64, _mm_and_si64, _mm_andnot_si64,
_mm_or_si64, _mm_xor_si64): Add neccesary casts.
* xmmintrin.h (_mm_setzero_si64): Likewise.
* i386.h (ALIGN_MODE_128): Update comment; add missing modes
(SSE_REG_MODE_P, MMX_REG_MODE_P): New macros.
PR target/7693
Patch by Shawn Wagner
* mmintrin.h: Replace pi64 by si64.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58306
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Sat, 19 Oct 2002 07:17:13 +0000 (07:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58305
138bc75d-0d04-0410-961f-
82ee72b054a4
dje [Sat, 19 Oct 2002 04:36:30 +0000 (04:36 +0000)]
* rs6000.md (movdf_hardfloat32): Order alternatives consistently.
Use length of 4 not *.
(movdf_hardfloat64): Same. Support DFmode moves to/from CTR/LR.
(movdf_softfloat64): Likewise.
(movdi_internal32): Use length of 4 not *.
(movti_power): Same.
(ctrsi, ctrdi): Same.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58299
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Sat, 19 Oct 2002 03:14:11 +0000 (03:14 +0000)]
* c-decl.c, cp/decl.c (start_decl): Point users of the old initialized-
typedef extension at __typeof__.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58297
138bc75d-0d04-0410-961f-
82ee72b054a4
spop [Sat, 19 Oct 2002 02:42:48 +0000 (02:42 +0000)]
*** empty log message ***
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58296
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Fri, 18 Oct 2002 23:54:10 +0000 (23:54 +0000)]
* real.c (cmp_significand_0, rtd_divmod, ten_to_mptwo): New.
(real_to_decimal): Re-implement using the logic from the
gcc 3.2 etoasc. Comment heavily.
(div_significands): Simplify loop startup and comparison logic.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58295
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Fri, 18 Oct 2002 23:42:35 +0000 (23:42 +0000)]
* g++.dg/inherit/thunk1.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58294
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Fri, 18 Oct 2002 23:35:40 +0000 (23:35 +0000)]
* target-def.h (TARGET_ASM_OUTPUT_MI_THUNK): Default to NULL.
(TARGET_ASM_OUTPUT_MI_VCALL_THUNK): Likewise.
(TARGET_ASM_OUT): Add them.
* target.h (asm_out): Add output_mi_thunk and
output_mi_vcall_thunk.
* config/alpha/alpha.h (ASM_OUTPUT_MI_THUNK): Rename to ...
(TARGET_ASM_OUTPUT_MI_THUNK): ... this.
* config/arm/arm-protos.h (arm_output_mi_thunk): Declare.
* config/arm/arm.c (arm_output_mi_thunk): Define.
* config/arm/arm.h (ASM_OUTPUT_MI_THUNK): Rename to ...
(TARGET_ASM_OUTPUT_MI_THUNK): ... this.
* config/cris/cris.h (ASM_OUTPUT_MI_THUNK): Rename to ...
(TARGET_ASM_OUTPUT_MI_THUNK): ... this.
* config/frv/frv.h (ASM_OUTPUT_MI_THUNK): Rename to ...
(TARGET_ASM_OUTPUT_MI_THUNK): ... this.
* config/i386/i386-protos.h (x86_output_mi_thunk): Adjust
prototype.
(x86_output_mi_vcall_thunk): Declare.
* config/i386/i386.c (override_options): Clear
output_mi_vcall_thunk in 64-bit mode.
(ix86_fntype_regparm): New function.
(ix86_return_pops_args): Use it.
(ia32_this_parameter): New function.
(x86_output_mi_vcall_thunk): New function.
(x86_output_mi_thunk): Use it
* config/i386/unix.h (TARGET_ASM_OUTPUT_MI_THUNK): Adjust.
(TARGET_ASM_OUTPUT_MI_VCALL_THUNK): Define.
* config/i960/i960-protos.h (i960_output_mi_thunk): Declare.
* config/i960/i960.c (i960_output_mi_thunk): New function.
* config/i960/i960.h (ASM_OUTPUT_MI_THUNK): Adjust.
* config/ia64/ia64-protos.h (ia64_output_mi_thunk): Declare.
* config/ia64/ia64.c (ia64_output_mi_thunk): Define.
* config/ia64/ia64.h (ASM_OUTPUT_MI_THUNK): Rename to ...
(TARGET_ASM_OUTPUT_MI_THUNK): ... this.
* config/m68k/m68k-protos.h (m68k_output_mi_thunk): New function.
* config/m68k/linux.h (ASM_OUTPUT_MI_THUNK): Rename to ...
(TARGET_ASM_OUTPUT_MI_THUNK): ... this.
* config/m68k/netbsd-elf.h (ASM_OUTPUT_MI_THUNK): Rename to ...
(TARGET_ASM_OUTPUT_MI_THUNK): ... this.
* config/mmix/mmix.h (ASM_OUTPUT_MI_THUNK): Rename to ...
(TARGET_ASM_OUTPUT_MI_THUNK): ... this.
* config/pa/pa.h (ASM_OUTPUT_MI_THUNK): Rename to ...
(TARGET_ASM_OUTPUT_MI_THUNK): ... this.
* config/rs6000/sysv4.h (ASM_OUTPUT_MI_THUNK): Rename to ...
(TARGET_ASM_OUTPUT_MI_THUNK): ... this.
* config/s390/s390-protos.h (s390_output_mi_thunk): Declare.
* config/s390/s390.c (s390_output_mi_thunk): Define.
* config/s390/s390.h (ASM_OUTPUT_MI_THUNK): Rename to ...
(TARGET_ASM_OUTPUT_MI_THUNK): ... this.
* config/sparc/sparc.h (ASM_OUTPUT_MI_THUNK): Rename to ...
(TARGET_ASM_OUTPUT_MI_THUNK): ... this.
* config/stormy16/stormy16.h (ASM_OUTPUT_MI_THUNK): Rename to ...
(TARGET_ASM_OUTPUT_MI_THUNK): ... this.
* config/vax/vax-protos.h (vax_output_mi_thunk): Declare.
* config/vax/vax.c (vax_output_mi_thunk): Define.
* config/vax/vax.h (ASM_OUTPUT_MI_THUNK): Rename to ...
(TARGET_ASM_OUTPUT_MI_THUNK): ... this.
* doc/tm.texi: Adjust documentation.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58293
138bc75d-0d04-0410-961f-
82ee72b054a4
thorpej [Fri, 18 Oct 2002 23:10:35 +0000 (23:10 +0000)]
* config/netbsd.h (NETBSD_ENABLE_EXECUTE_STACK): Define
__enable_execute_stack function.
* config/alpha/netbsd.h (TRANSFER_FROM_TRAMPOLINE): Define
as NETBSD_ENABLE_EXECUTE_STACK.
* config/i386/netbsd-elf.h (TRANSFER_FROM_TRAMPOLINE): Ditto.
* config/i386/netbsd.h (TRANSFER_FROM_TRAMPOLINE): Ditto.
* config/i386/netbsd64.h (TRANSFER_FROM_TRAMPOLINE): Ditto.
* config/sparc/netbsd-elf.h (TRANSFER_FROM_TRAMPOLINE): Ditto.
* config/sparc/netbsd.h (TRANSFER_FROM_TRAMPOLINE): Ditto.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58292
138bc75d-0d04-0410-961f-
82ee72b054a4
thorpej [Fri, 18 Oct 2002 23:00:50 +0000 (23:00 +0000)]
* config/i386/i386.c (x86_initialize_trampoline): Emit a call
to __enable_execute_stack with the address of the trampoline
if TRANSFER_FROM_TRAMPOLINE is defined.
* config/i386/i386.h (TARGET_64BIT): Expand to a compile-time
constant if building libgcc2.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58291
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Fri, 18 Oct 2002 21:46:53 +0000 (21:46 +0000)]
* class.c (base_derived_from): Make sure return value is a bool.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58290
138bc75d-0d04-0410-961f-
82ee72b054a4
ljrittle [Fri, 18 Oct 2002 21:37:53 +0000 (21:37 +0000)]
* testsuite/thread/pthread1.cc: Remove needless workaround
for FreeBSD 5.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58289
138bc75d-0d04-0410-961f-
82ee72b054a4
ljrittle [Fri, 18 Oct 2002 21:25:13 +0000 (21:25 +0000)]
* config/abi/i386-unknown-freebsd4.7/baseline_symbols.txt: Remove.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58288
138bc75d-0d04-0410-961f-
82ee72b054a4
ljrittle [Fri, 18 Oct 2002 21:22:16 +0000 (21:22 +0000)]
* configure.target (freebsd*): Use abi_baseline_triplet.
* config/abi/i386-unknown-freebsd4/baseline_symbols.txt: New file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58287
138bc75d-0d04-0410-961f-
82ee72b054a4
ljrittle [Fri, 18 Oct 2002 20:52:57 +0000 (20:52 +0000)]
* docs/html/23_containers/howto.html (GLIBCPP_FORCE_NEW): Document
new environment variable which replaces all uses of __USE_MALLOC
macro.
* docs/html/ext/howto.html (GLIBCPP_FORCE_NEW): Likewise.
(__mem_interface): Remove all references to old internal typedef.
* include/backward/alloc.h (__USE_MALLOC): Remove it and all
guarded code.
* include/bits/c++config (__USE_MALLOC): Update related error
message and comment.
* include/bits/stl_alloc.h (__USE_MALLOC): Remove it and all
guarded code. Update all related comments.
(__mem_interface): Unconditionally replace it with __new_alloc.
However, leave the typedef around in case anyone used it.
(__default_alloc_template<>::_S_force_new): New class static.
(__default_alloc_template<>::allocate, deallocate): Add
run-time controlled feature similar to what __USE_MALLOC code
path had provided.
* src/stl-inst.cc (__USE_MALLOC): Remove it and all
guarded code.
* testsuite/21_strings/capacity.cc: Remove reference to __USE_MALLOC.
Add documentation on GLIBCPP_FORCE_NEW environment variable.
* testsuite/ext/allocators.cc: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58286
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Fri, 18 Oct 2002 09:26:42 +0000 (09:26 +0000)]
(strictly_overrides): Remove.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58284
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Fri, 18 Oct 2002 09:21:06 +0000 (09:21 +0000)]
* class.c (find_final_overrider_data_s): Remove overriding_fn and
overriding_base.
(dfs_base_derived_from): New function.
(base_derived_from): Likewise.
(dfs_find_final_overrider): Use base_derived_from.
(find_final_overrider): Adjust.
* g++.dg/inherit/override1.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58283
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Fri, 18 Oct 2002 09:00:47 +0000 (09:00 +0000)]
PR c++/8080
* semantics.c (finish_for_cond, finish_while_stmt_cond): Don't mess
with condition decls in a template.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58282
138bc75d-0d04-0410-961f-
82ee72b054a4
nathan [Fri, 18 Oct 2002 08:09:58 +0000 (08:09 +0000)]
cp:
* class.c (add_method): Compare template parms too.
testsuite:
* g++.dg/overload/member2.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58278
138bc75d-0d04-0410-961f-
82ee72b054a4
gdr [Fri, 18 Oct 2002 08:02:13 +0000 (08:02 +0000)]
Update email address
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58277
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Fri, 18 Oct 2002 07:17:14 +0000 (07:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58276
138bc75d-0d04-0410-961f-
82ee72b054a4
pme [Fri, 18 Oct 2002 04:46:54 +0000 (04:46 +0000)]
2002-10-18 Phil Edwards <pme@gcc.gnu.org>
* configure.in: Use target, not target_alias, when matching triplet
patterns.
* configure: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58270
138bc75d-0d04-0410-961f-
82ee72b054a4
sayle [Fri, 18 Oct 2002 03:29:17 +0000 (03:29 +0000)]
* doc/c-tree.texi: Update description of COND_EXPR tree nodes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58268
138bc75d-0d04-0410-961f-
82ee72b054a4
geoffk [Fri, 18 Oct 2002 00:30:23 +0000 (00:30 +0000)]
* config/rs6000/rs6000.h (HARD_REGNO_MODE_OK): Allow arbitrary modes
in CTR/LR/MQ.
* config/rs6000/rs6000.md (movcc_internal1): Support CCmode moves
to/from CTR/LR/MQ.
(movsf_hardfloat): Support SFmode moves to/from CTR/LR/MQ.
(movsf_softfloat): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58267
138bc75d-0d04-0410-961f-
82ee72b054a4
janis [Fri, 18 Oct 2002 00:22:58 +0000 (00:22 +0000)]
2002-10-17 Janis Johnson <janis187@us.ibm.com>
* g++.dg/README: Describe new compat directory.
* g++.dg/dg.exp: Skip tests in compat directory.
* README.compat: New file.
* lib/compat.exp: New expect script.
* g++.dg/compat: New test directory.
* g++.dg/compat/compat.exp: New expect script.
* g++.dg/compat/abi: New test directory.
* g++.dg/compat/abi/bitfield1_x.C, g++.dg/compat/abi/bitfield1_main.C,
g++.dg/compat/abi/bitfield1_y.C, g++.dg/compat/abi/bitfield1.h,
g++.dg/compat/abi/bitfield2_x.C, g++.dg/compat/abi/bitfield2_main.C,
g++.dg/compat/abi/bitfield2_y.C, g++.dg/compat/abi/bitfield2.h,
g++.dg/compat/abi/vbase8-10_x.C, g++.dg/compat/abi/vbase8-10_main.C,
g++.dg/compat/abi/vbase8-10_y.C, g++.dg/compat/abi/vbase8-10.h,
g++.dg/compat/abi/vbase8-21_x.C, g++.dg/compat/abi/vbase8-21_main.C,
g++.dg/compat/abi/vbase8-21_y.C, g++.dg/compat/abi/vbase8-21.h,
g++.dg/compat/abi/vbase8-22_x.C, g++.dg/compat/abi/vbase8-22_main.C,
g++.dg/compat/abi/vbase8-22_y.C, g++.dg/compat/abi/vbase8-22.h,
g++.dg/compat/abi/vbase8-4_x.C, g++.dg/compat/abi/vbase8-4_main.C,
g++.dg/compat/abi/vbase8-4_y.C, g++.dg/compat/abi/vbase8-4.h: New files.
* g++.dg/compat/break: New test directory.
* g++.dg/compat/break/empty6_x.C, g++.dg/compat/break/empty6_main.C,
g++.dg/compat/break/empty6_y.C, g++.dg/compat/break/empty6.h,
g++.dg/compat/break/vbase10_x.C, g++.dg/compat/break/vbase10_main.C,
g++.dg/compat/break/vbase10_y.C, g++.dg/compat/break/vbase10.h,
g++.dg/compat/break/vbase11_x.C, g++.dg/compat/break/vbase11_main.C,
g++.dg/compat/break/vbase11_y.C, g++.dg/compat/break/vbase11.h,
g++.dg/compat/break/bitfield7_x.C, g++.dg/compat/break/bitfield7_main.C,
g++.dg/compat/break/bitfield7_y.C, g++.dg/compat/break/bitfield7.h,
g++.dg/compat/break/bitfield5_x.C, g++.dg/compat/break/bitfield5_main.C,
g++.dg/compat/break/bitfield5_y.C, g++.dg/compat/break/bitfield5.h,
g++.dg/compat/break/README: New files.
* g++.dg/compat/eh: New test directory.
* g++.dg/compat/eh/ctor1_x.C, g++.dg/compat/eh/ctor1_main.C,
g++.dg/compat/eh/ctor1_y.C, g++.dg/compat/eh/ctor1.h,
g++.dg/compat/eh/ctor2_x.C, g++.dg/compat/eh/ctor2_main.C,
g++.dg/compat/eh/ctor2_y.C, g++.dg/compat/eh/ctor2.h,
g++.dg/compat/eh/dtor1_x.C, g++.dg/compat/eh/dtor1_main.C,
g++.dg/compat/eh/dtor1_y.C, g++.dg/compat/eh/dtor1.h,
g++.dg/compat/eh/filter1_x.C, g++.dg/compat/eh/filter1_main.C,
g++.dg/compat/eh/filter1_y.C, g++.dg/compat/eh/filter1.h,
g++.dg/compat/eh/filter2_x.C, g++.dg/compat/eh/filter2_main.C,
g++.dg/compat/eh/filter2_y.C,
g++.dg/compat/eh/new1_x.C, g++.dg/compat/eh/new1_main.C,
g++.dg/compat/eh/new1_y.C,
g++.dg/compat/eh/nrv1_x.C, g++.dg/compat/eh/nrv1_main.C,
g++.dg/compat/eh/nrv1_y.C, g++.dg/compat/eh/nrv1.h,
g++.dg/compat/eh/spec3_x.C, g++.dg/compat/eh/spec3_main.C,
g++.dg/compat/eh/spec3_y.C, g++.dg/compat/eh/spec3.h,
g++.dg/compat/eh/template1_x.C, g++.dg/compat/eh/template1_main.C,
g++.dg/compat/eh/template1_y.C, g++.dg/compat/eh/template1.h,
g++.dg/compat/eh/unexpected1_x.C, g++.dg/compat/eh/unexpected1_main.C,
g++.dg/compat/eh/unexpected1_y.C: New files.
* g++.dg/compat/init: New test directory.
* g++.dg/compat/init/array5_x.C, g++.dg/compat/init/array5_main.C,
g++.dg/compat/init/array5_y.C,
g++.dg/compat/init/byval1_x.C, g++.dg/compat/init/byval1_main.C,
g++.dg/compat/init/byval1_y.C, g++.dg/compat/init/byval1.h,
g++.dg/compat/init/dtor1_x.C, g++.dg/compat/init/dtor1_main.C,
g++.dg/compat/init/dtor1_y.C, g++.dg/compat/init/dtor1.h,
g++.dg/compat/init/elide1_x.C, g++.dg/compat/init/elide1_main.C,
g++.dg/compat/init/elide1_y.C, g++.dg/compat/init/elide1.h,
g++.dg/compat/init/init-ref2_x.C, g++.dg/compat/init/init-ref2_main.C,
g++.dg/compat/init/init-ref2_y.C: New files.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58266
138bc75d-0d04-0410-961f-
82ee72b054a4
janis [Fri, 18 Oct 2002 00:15:26 +0000 (00:15 +0000)]
2002-10-17 Janis Johnson <janis187@us.ibm.com>
* Makefile.in (site.exp): Add ALT_CXX_UNDER_TEST and COMPAT_OPTIONS.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58265
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Thu, 17 Oct 2002 22:35:49 +0000 (22:35 +0000)]
PR c++/7584
* class.c (handle_using_decl): Allow the declaration used to be
from an ambiguous base.
PR c++/7584
* g++.dg/inherit/using3.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58262
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Thu, 17 Oct 2002 21:39:58 +0000 (21:39 +0000)]
* g++.dg/abi/mangle16.C: Adjust.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58259
138bc75d-0d04-0410-961f-
82ee72b054a4
thorpej [Thu, 17 Oct 2002 20:58:48 +0000 (20:58 +0000)]
* config/alpha/alpha.c (alpha_initialize_trampoline): Use
tramp, not addr, to pass the trampoline address to
__enable_execute_stack.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58258
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Thu, 17 Oct 2002 17:55:06 +0000 (17:55 +0000)]
oops, one extra typo.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58256
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Thu, 17 Oct 2002 17:35:23 +0000 (17:35 +0000)]
Replace "ior" by "or".
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58255
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Thu, 17 Oct 2002 17:13:41 +0000 (17:13 +0000)]
* gcc.dg/
20021017-2.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58253
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Thu, 17 Oct 2002 17:09:17 +0000 (17:09 +0000)]
* mmintrin.h: Guard by __MMX__
* xmmintrin.h: Guard by __SSE__
PR other/8062
* xmmintrin.h (_MM_SHUFFLE2): New macro.
(_mm_load*_?d): New functions.
(_mm_set*_?d): New functions.
(_mm_store*_?d): New functions.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58252
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Thu, 17 Oct 2002 17:07:15 +0000 (17:07 +0000)]
* pt.c (convert_template_argument): Revert this change:
2002-10-16 Mark Mitchell <mark@codesourcery.com>
* pt.c (convert_template_argument): Do not fold non-type
template rguments when inside a template.
* g++.dg/abi/mangle17.C: Adjust.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58251
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Thu, 17 Oct 2002 15:13:10 +0000 (15:13 +0000)]
PR opt/7630
* reload.c (reload_inner_reg_of_subreg): New argument output;
(push_reload): Update call.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58248
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Thu, 17 Oct 2002 15:11:57 +0000 (15:11 +0000)]
Really commit patch announced at Oct 14
PR c/7344
* predict.c (can_predict_insn_p): New function.
(estimate_probability): Avoid unnecesary work.
(process_note_prediction): Likewise.
* toplev.c (rest_of_compilation): Account early branch prediction pass
as TV_BRANCH_PROB.
PR other/8048
Found by Ian Ollmann
* xmmintrin.h (_mm_shuffle_pd): Fix typo.
(_mm_load?_pd): Likewise.
(_mm_store?_pd): Likewise.
PR target/7386
* i386.c (builtin_description):Drop cmpg[te]s[sd].
* xmmintrin.h (__mm_cmpg[te]_s[sd]): Rewrite using
swapped alternative.
PR opt/7630
* reload1.c (reload_inner_reg_of_subreg): New argument output;
(push_reload): Update call.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58247
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Thu, 17 Oct 2002 13:54:32 +0000 (13:54 +0000)]
Really commit patch announced at Oct 14
PR c/7344
* predict.c (can_predict_insn_p): New function.
(estimate_probability): Avoid unnecesary work.
(process_note_prediction): Likewise.
* toplev.c (rest_of_compilation): Account early branch prediction pass
as TV_BRANCH_PROB.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58246
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Thu, 17 Oct 2002 07:40:35 +0000 (07:40 +0000)]
* init.c (expand_default_init): Handle brace-enclosed initializers
correctly.
* g++.dg/init/array8.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58245
138bc75d-0d04-0410-961f-
82ee72b054a4
gccadmin [Thu, 17 Oct 2002 07:17:10 +0000 (07:17 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58244
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Thu, 17 Oct 2002 06:56:44 +0000 (06:56 +0000)]
* gcc.dg/special/mips-abi.exp: New test.
* gcc.dg/special/mips-abi.s: Empty file used by the above.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58238
138bc75d-0d04-0410-961f-
82ee72b054a4
rsandifo [Thu, 17 Oct 2002 06:53:35 +0000 (06:53 +0000)]
* config.gcc (mips*-*-*): Add OBJECT_FORMAT_ELF to $tm_defines
if using mips/elf.h or mips/elf64.h.
* config/mips/elf.h (OBJECT_FORMAT_ELF): Remove.
* config/mips/elf64.h (OBJECT_FORMAT_ELF): Remove.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58237
138bc75d-0d04-0410-961f-
82ee72b054a4
ljrittle [Thu, 17 Oct 2002 05:26:21 +0000 (05:26 +0000)]
2002-10-17 Momchil Velikov <velco@fadata.bg>
Loren J. Rittle <ljrittle@acm.org>
* configure.in: Add *-freebsd* to cross list.
* configure: Rebuilt.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58236
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Thu, 17 Oct 2002 02:07:45 +0000 (02:07 +0000)]
* mangle.c (write_expression): Correct handling of enumeration
constants.
(write_template_arg): Likewise.
* pt.c (convert_template_argument): Do not fold non-type template
arguments when inside a template.
* g++.dg/abi/mangle16.C: New test.
* g++.dg/abi/mangle17.C: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58234
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Thu, 17 Oct 2002 01:19:59 +0000 (01:19 +0000)]
2002-10-16 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/locale_facets.h (__timepunct::__timepunct): Allocate
_M_name_timepunct.
(__timepunct::~__timepunct): Deallocate, remove specialization
declarations.
(messages::messages): Allocate _M_name_messages.
(messages::~messages): Deallocate.
(messages_byname): Same.
* config/locale/gnu/time_members.cc (__timepunct::~__timepunct):
Remove.
* config/locale/generic/time_members.cc (__timepunct::~__timepunct):
Remove.
* docs/html/install.html: Add es_MX, en_PH to required locales list.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58232
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Thu, 17 Oct 2002 00:17:59 +0000 (00:17 +0000)]
PR c++/7478
* cvt.c (convert_to_reference): Allow references as the incoming
type.
PR c++/7478
* g++.dg/template/ref1.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58230
138bc75d-0d04-0410-961f-
82ee72b054a4
aldyh [Wed, 16 Oct 2002 23:08:43 +0000 (23:08 +0000)]
2002-10-16 Aldy Hernandez <aldyh@redhat.com>
* config/rs6000/rs6000.c (function_arg): Set inner mode of V1DI to
SI.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58227
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Wed, 16 Oct 2002 23:07:29 +0000 (23:07 +0000)]
* paranoia.cc (ENUM_BITFIELD): New.
(class): Define as klass around real.h.
(real_c_float): Not a template any longer; define MODE as a
class static constant; use real_format elements for SIZE.
Update uses of real_to_decimal and real_to_hexadecimal.
(main): Change -g argument to use a format name.
(mode_for_size): Remove.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58226
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Wed, 16 Oct 2002 21:39:24 +0000 (21:39 +0000)]
* gcc.c-torture/execute/
20020720-1.x: Don't XFAIL for mips.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58224
138bc75d-0d04-0410-961f-
82ee72b054a4
uweigand [Wed, 16 Oct 2002 21:25:26 +0000 (21:25 +0000)]
* gcc.dg/weak/typeof-2.c: For S/390 targets, return before baz3 test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58222
138bc75d-0d04-0410-961f-
82ee72b054a4
jakub [Wed, 16 Oct 2002 20:07:03 +0000 (20:07 +0000)]
* config.table: Use mh-s390pic for s390x too.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58221
138bc75d-0d04-0410-961f-
82ee72b054a4
uweigand [Wed, 16 Oct 2002 19:09:25 +0000 (19:09 +0000)]
* config/s390/linux.h (ASM_DOUBLE, _ASM_OUTPUT_LONG): Remove.
(LPREFIX): Likewise.
(ASM_COMMENT_START, LOCAL_LABEL_PREFIX, ASM_FORMAT_PRIVATE_NAME,
ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT,
ASM_OUTPUT_ALIGN, ASM_OUTPUT_SKIP, ASM_OUTPUT_ALIGNED_BSS,
TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP, BSS_SECTION_ASM_OP,
GLOBAL_ASM_OP, ASM_OUTPUT_MI_THUNK): Move to s390.h.
* config/s390/s390.h (ASM_COMMENT_START, LOCAL_LABEL_PREFIX,
ASM_FORMAT_PRIVATE_NAME, ASM_OUTPUT_ALIGN, ASM_OUTPUT_SKIP,
ASM_OUTPUT_ALIGNED_BSS, TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
BSS_SECTION_ASM_OP): Move from linux.h.
(ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Likewise.
Also, use ASM_GENERATE_INTERNAL_LABEL instead of LPREFIX.
* config/s390/s390.c (s390_function_profiler): Use
ASM_GENERATE_INTERNAL_LABEL instead of LPREFIX.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58219
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Wed, 16 Oct 2002 18:58:38 +0000 (18:58 +0000)]
PR c++/7524
* g++.dg/init/array7.C: New test.
PR c++/7524
* method.c (do_build_assign_ref): Use cp_build_qualified_type, not
build_qualified_type.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58217
138bc75d-0d04-0410-961f-
82ee72b054a4
bkoz [Wed, 16 Oct 2002 16:14:10 +0000 (16:14 +0000)]
2002-10-16 Benjamin Kosnik <bkoz@redhat.com>
* config/linker-map.gnu: Add exports for codecvt constructors
where size_t == unsigned long.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58208
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Wed, 16 Oct 2002 14:58:15 +0000 (14:58 +0000)]
Fix for PR libgcj/8234:
* java/util/zip/natInflater.cc (reset): Reset avail_in.
* java/util/zip/natDeflater.cc (reset): Reset avail_in.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58205
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Wed, 16 Oct 2002 13:14:23 +0000 (13:14 +0000)]
PR target/7386
* i386.c (builtin_description):Drop cmpg[te]s[sd].
* xmmintrin.h (__mm_cmpg[te]_s[sd]): Rewrite using
swapped alternative.
* doc/extend.texi (X86 Built-in Functions): Remove killed builtins.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58202
138bc75d-0d04-0410-961f-
82ee72b054a4