Loren J. Rittle
dae1b24731
* config/abi/i386-unknown-freebsd4.7/baseline_symbols.txt: Remove.
...
From-SVN: r58288
2002-10-18 21:25:13 +00:00
Loren J. Rittle
8478f1708a
configure.target (freebsd*): Use abi_baseline_triplet.
...
* configure.target (freebsd*): Use abi_baseline_triplet.
* config/abi/i386-unknown-freebsd4/baseline_symbols.txt: New file.
From-SVN: r58287
2002-10-18 21:22:16 +00:00
Loren J. Rittle
0b564d905f
howto.html (GLIBCPP_FORCE_NEW): Document new environment variable which replaces all uses of __USE_MALLOC macro.
...
* 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.
From-SVN: r58286
2002-10-18 20:52:57 +00:00
Mark Mitchell
d3f76a7098
(strictly_overrides): Remove.
...
From-SVN: r58284
2002-10-18 09:26:42 +00:00
Mark Mitchell
9368208b08
class.c (find_final_overrider_data_s): Remove overriding_fn and overriding_base.
...
* 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.
From-SVN: r58283
2002-10-18 09:21:06 +00:00
Jason Merrill
5275f2bf28
re PR c++/8080 ([Regression in main trunk] g++ 3.3 ICE in make_decl_rtl)
...
PR c++/8080
* semantics.c (finish_for_cond, finish_while_stmt_cond): Don't mess
with condition decls in a template.
From-SVN: r58282
2002-10-18 05:00:47 -04:00
Nathan Sidwell
8a188e2490
class.c (add_method): Compare template parms too.
...
cp:
* class.c (add_method): Compare template parms too.
testsuite:
* g++.dg/overload/member2.C: New test.
From-SVN: r58278
2002-10-18 08:09:58 +00:00
Gabriel Dos Reis
e6ffac8ac0
Update email address
...
From-SVN: r58277
2002-10-18 08:02:13 +00:00
GCC Administrator
ab1a35938d
Daily bump.
...
From-SVN: r58276
2002-10-18 07:17:14 +00:00
Phil Edwards
a0f27776ac
configure.in: Use target, not target_alias, when matching triplet patterns.
...
2002-10-18 Phil Edwards <pme@gcc.gnu.org>
* configure.in: Use target, not target_alias, when matching triplet
patterns.
* configure: Regenerate.
From-SVN: r58270
2002-10-18 04:46:54 +00:00
Roger Sayle
7b35bba35d
* doc/c-tree.texi: Update description of COND_EXPR tree nodes.
...
From-SVN: r58268
2002-10-18 03:29:17 +00:00
Geoffrey Keating
b991a865a1
rs6000.h (HARD_REGNO_MODE_OK): Allow arbitrary modes in CTR/LR/MQ.
...
* 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.
From-SVN: r58267
2002-10-18 00:30:23 +00:00
Janis Johnson
768bf0ab4d
README: Describe new compat directory.
...
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.
From-SVN: r58266
2002-10-18 00:22:58 +00:00
Janis Johnson
fa87045106
Makefile.in (site.exp): Add ALT_CXX_UNDER_TEST and COMPAT_OPTIONS.
...
2002-10-17 Janis Johnson <janis187@us.ibm.com>
* Makefile.in (site.exp): Add ALT_CXX_UNDER_TEST and COMPAT_OPTIONS.
From-SVN: r58265
2002-10-18 00:15:26 +00:00
Mark Mitchell
982216be8c
re PR c++/7584 (Erroneous ambiguous base error on using declaration)
...
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.
From-SVN: r58262
2002-10-17 22:35:49 +00:00
Mark Mitchell
2d05cd9641
* g++.dg/abi/mangle16.C: Adjust.
...
From-SVN: r58259
2002-10-17 21:39:58 +00:00
Jason Thorpe
e31c295716
alpha.c (alpha_initialize_trampoline): Use tramp, not addr, to pass the trampoline address to __enable_execute_stack.
...
* config/alpha/alpha.c (alpha_initialize_trampoline): Use
tramp, not addr, to pass the trampoline address to
__enable_execute_stack.
From-SVN: r58258
2002-10-17 20:58:48 +00:00
Jan Hubicka
a020b527ca
oops, one extra typo.
...
From-SVN: r58256
2002-10-17 17:55:06 +00:00
Jan Hubicka
57658fa46b
Replace "ior" by "or".
...
From-SVN: r58255
2002-10-17 17:35:23 +00:00
Jan Hubicka
ff229ff6f4
* gcc.dg/20021017-2.c: New test.
...
From-SVN: r58253
2002-10-17 17:13:41 +00:00
Jan Hubicka
48126a9798
re PR other/8062 (double precision loads and stores missing from xmmintrin.h)
...
* 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.
From-SVN: r58252
2002-10-17 17:09:17 +00:00
Mark Mitchell
d768a5895b
pt.c (convert_template_argument): Revert this change: 2002-10-16 Mark Mitchell <mark@codesourcery.com>
...
* 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.
From-SVN: r58251
2002-10-17 17:07:15 +00:00
Jan Hubicka
4bf1d92ee0
re PR rtl-optimization/7630 (gcc 3.2 breaks on Mozilla 1.0's JS sources with -march=pentium4)
...
PR opt/7630
* reload.c (reload_inner_reg_of_subreg): New argument output;
(push_reload): Update call.
From-SVN: r58248
2002-10-17 15:13:10 +00:00
Jan Hubicka
ccc4bdea16
Really commit patch announced at Oct 14 PR c/7344
...
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.
From-SVN: r58247
2002-10-17 15:11:57 +00:00
Jan Hubicka
2ffa993239
Really commit patch announced at Oct 14 PR c/7344
...
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.
From-SVN: r58246
2002-10-17 13:54:32 +00:00
Mark Mitchell
b216f69b04
init.c (expand_default_init): Handle brace-enclosed initializers correctly.
...
* init.c (expand_default_init): Handle brace-enclosed initializers
correctly.
* g++.dg/init/array8.C: New test.
From-SVN: r58245
2002-10-17 07:40:35 +00:00
GCC Administrator
15e0653ea2
Daily bump.
...
From-SVN: r58244
2002-10-17 07:17:10 +00:00
Richard Sandiford
6e53546d88
mips-abi.exp: New test.
...
* gcc.dg/special/mips-abi.exp: New test.
* gcc.dg/special/mips-abi.s: Empty file used by the above.
From-SVN: r58238
2002-10-17 06:56:44 +00:00
Richard Sandiford
4db83639f4
config.gcc (mips*-*-*): Add OBJECT_FORMAT_ELF to $tm_defines if using mips/elf.h or mips/elf64.h.
...
* 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.
From-SVN: r58237
2002-10-17 06:53:35 +00:00
Momchil Velikov
58be18836f
configure.in: Add *-freebsd* to cross list.
...
2002-10-17 Momchil Velikov <velco@fadata.bg>
Loren J. Rittle <ljrittle@acm.org>
* configure.in: Add *-freebsd* to cross list.
* configure: Rebuilt.
Co-Authored-By: Loren J. Rittle <ljrittle@acm.org>
From-SVN: r58236
2002-10-17 05:26:21 +00:00
Mark Mitchell
d3133e688d
mangle.c (write_expression): Correct handling of enumeration constants.
...
* 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.
From-SVN: r58234
2002-10-17 02:07:45 +00:00
Benjamin Kosnik
2982f6ffc4
locale_facets.h (__timepunct::__timepunct): Allocate _M_name_timepunct.
...
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.
From-SVN: r58232
2002-10-17 01:19:59 +00:00
Mark Mitchell
2303a07914
re PR c++/7478 (internal compiler error on static_cast inside template)
...
PR c++/7478
* cvt.c (convert_to_reference): Allow references as the incoming
type.
PR c++/7478
* g++.dg/template/ref1.C: New test.
From-SVN: r58230
2002-10-17 00:17:59 +00:00
Aldy Hernandez
f9dd72da28
rs6000.c (function_arg): Set inner mode of V1DI to SI.
...
2002-10-16 Aldy Hernandez <aldyh@redhat.com>
* config/rs6000/rs6000.c (function_arg): Set inner mode of V1DI to
SI.
From-SVN: r58227
2002-10-16 23:08:43 +00:00
Richard Henderson
fc76a969eb
paranoia.cc (ENUM_BITFIELD): New.
...
* 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.
From-SVN: r58226
2002-10-16 16:07:29 -07:00
Kaveh R. Ghazi
e055ba36a1
* gcc.c-torture/execute/20020720-1.x: Don't XFAIL for mips.
...
From-SVN: r58224
2002-10-16 21:39:24 +00:00
Ulrich Weigand
6e2ac1aeef
* gcc.dg/weak/typeof-2.c: For S/390 targets, return before baz3 test.
...
From-SVN: r58222
2002-10-16 21:25:26 +00:00
Jakub Jelinek
7da64d7a72
* config.table: Use mh-s390pic for s390x too.
...
From-SVN: r58221
2002-10-16 22:07:03 +02:00
Ulrich Weigand
63a1ff8624
linux.h (ASM_DOUBLE, [...]): Remove.
...
* 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.
From-SVN: r58219
2002-10-16 19:09:25 +00:00
Mark Mitchell
451c08992e
re PR c++/7524 ([Regression from GCC 2.95.3] f(const float arg[3]) fails)
...
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.
From-SVN: r58217
2002-10-16 18:58:38 +00:00
Benjamin Kosnik
57e172dd3a
linker-map.gnu: Add exports for codecvt constructors where size_t == unsigned long.
...
2002-10-16 Benjamin Kosnik <bkoz@redhat.com>
* config/linker-map.gnu: Add exports for codecvt constructors
where size_t == unsigned long.
From-SVN: r58208
2002-10-16 16:14:10 +00:00
Tom Tromey
315b65915c
re PR libgcj/8234 (ZipInputStream chokes when InputStream.read() returns small chunks)
...
Fix for PR libgcj/8234:
* java/util/zip/natInflater.cc (reset): Reset avail_in.
* java/util/zip/natDeflater.cc (reset): Reset avail_in.
From-SVN: r58205
2002-10-16 14:58:15 +00:00
Jan Hubicka
d09e61b9b0
re PR c++/7386 (ran gcc compiler and it said to report htebug)
...
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.
From-SVN: r58202
2002-10-16 13:14:23 +00:00
GCC Administrator
daa65de74b
Daily bump.
...
From-SVN: r58194
2002-10-16 07:17:12 +00:00
David O'Brien
6ba08913bd
Remove bogus copyright message in my last entry.
...
From-SVN: r58188
2002-10-16 03:45:02 +00:00
Richard Henderson
da6eec72f5
real.c (real_to_decimal): Accept BUF_SIZE and CROP_TRAILING_ZEROS as arguments.
...
gcc/
* real.c (real_to_decimal): Accept BUF_SIZE and CROP_TRAILING_ZEROS
as arguments. Bound DIGITS by the available buffer size.
(real_to_hexadecimal): Likewise.
* real.h (real_to_decimal, real_to_hexadecimal): Update prototypes.
(REAL_VALUE_TO_DECIMAL): Remove.
* c-common.c, c-pretty-print.c, print-rtl.c, print-tree.c,
sched-vis.c, config/arc/arc.c, config/c4x/c4x.c, config/fr30/fr30.c,
config/i370/i370.h, config/i386/i386.c, config/i960/i960.c,
config/ip2k/ip2k.c, config/m32r/m32r.c, config/m68hc11/m68hc11.c,
config/m68k/hp320.h, config/m68k/m68k.h, config/m68k/sun2o4.h,
config/m68k/sun3.h, config/mips/mips.c, config/ns32k/ns32k.c,
config/pdp11/pdp11.h, config/vax/vax.h: Update all callers to
use real_to_decimal directly, and with the proper arguments.
* doc/tm.texi (REAL_VALUE_TO_DECIMAL): Remove.
gcc/cp/
* error.c (dump_expr): Use real_to_decimal directly, and with
the new arguments.
gcc/f/
* target.h (ffetarget_print_real1, ffetarget_print_real2): Use
real_to_decimal directly, and with the new arguments.
From-SVN: r58187
2002-10-15 17:40:39 -07:00
Richard Henderson
ba0bb02d1d
* jcf-parse.c (get_constant): Fix type warning.
...
From-SVN: r58186
2002-10-15 17:36:17 -07:00
Mark Mitchell
3fa3c4bd5d
decl.c (reshape_init): Fix typo.
...
* decl.c (reshape_init): Fix typo.
* cp-tree.h (operator_name_info_t): Add arity.
* lex.c (init_operators): Initialize it.
* mangle.c (write_conversion_operator_name): New function.
(write_unqualified_name): Use it.
(write_template_args): Accept template arguments as a TREE_LIST.
(write_expression): Adjust handling of qualified names to match
specification.
* g++.dg/init/array6.C: New test.
* g++.dg/abi/mangle13.C: Likewise.
* g++.dg/abi/mangle14.C: Likewise.
* g++.dg/abi/mangle15.C: Likewise.
From-SVN: r58185
2002-10-15 23:59:23 +00:00
Jim Wilson
c15c18c581
Fix x86 miscompilation of gdb mips simulator.
...
* reload1.c (merge_assigned_reloads): After converting overlapping
reloads to RELOAD_OTHER, abort if there are now conflicting reloads.
* config/i386/i386.md (adddi3_1): Add call to ix86_binary_operator_ok.
From-SVN: r58184
2002-10-15 15:46:31 -07:00
Jason Merrill
1a55127d22
call.c (call_builtin_trap): New fn.
...
* call.c (call_builtin_trap): New fn.
(convert_arg_to_ellipsis): Use it. Downgrade error to warning.
(build_call): Don't set current_function_returns_abnormally outside
a function.
From-SVN: r58180
2002-10-15 18:03:53 -04:00