- 18 Oct, 2002 9 commits
-
-
PR c++/8080 * semantics.c (finish_for_cond, finish_while_stmt_cond): Don't mess with condition decls in a template. From-SVN: r58282
Jason Merrill committed -
cp: * class.c (add_method): Compare template parms too. testsuite: * g++.dg/overload/member2.C: New test. From-SVN: r58278
Nathan Sidwell committed -
From-SVN: r58277
Gabriel Dos Reis committed -
From-SVN: r58276
GCC Administrator committed -
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
Phil Edwards committed -
From-SVN: r58268
Roger Sayle committed -
* 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
Geoffrey Keating committed -
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
Janis Johnson committed -
2002-10-17 Janis Johnson <janis187@us.ibm.com> * Makefile.in (site.exp): Add ALT_CXX_UNDER_TEST and COMPAT_OPTIONS. From-SVN: r58265
Janis Johnson committed
-
- 17 Oct, 2002 19 commits
-
-
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
Mark Mitchell committed -
From-SVN: r58259
Mark Mitchell committed -
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
Jason Thorpe committed -
From-SVN: r58256
Jan Hubicka committed -
From-SVN: r58255
Jan Hubicka committed -
From-SVN: r58253
Jan Hubicka committed -
* 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
Jan Hubicka committed -
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
Mark Mitchell committed -
PR opt/7630 * reload.c (reload_inner_reg_of_subreg): New argument output; (push_reload): Update call. From-SVN: r58248
Jan Hubicka committed -
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
Jan Hubicka committed -
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
Jan Hubicka committed -
* init.c (expand_default_init): Handle brace-enclosed initializers correctly. * g++.dg/init/array8.C: New test. From-SVN: r58245
Mark Mitchell committed -
From-SVN: r58244
GCC Administrator committed -
* gcc.dg/special/mips-abi.exp: New test. * gcc.dg/special/mips-abi.s: Empty file used by the above. From-SVN: r58238
Richard Sandiford committed -
* 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
Richard Sandiford committed -
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
Momchil Velikov committed -
* 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
Mark Mitchell committed -
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
Benjamin Kosnik committed -
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
Mark Mitchell committed
-
- 16 Oct, 2002 12 commits
-
-
2002-10-16 Aldy Hernandez <aldyh@redhat.com> * config/rs6000/rs6000.c (function_arg): Set inner mode of V1DI to SI. From-SVN: r58227
Aldy Hernandez committed -
* 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
Richard Henderson committed -
From-SVN: r58224
Kaveh R. Ghazi committed -
From-SVN: r58222
Ulrich Weigand committed -
From-SVN: r58221
Jakub Jelinek committed -
* 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
Ulrich Weigand committed -
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
Mark Mitchell committed -
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
Benjamin Kosnik committed -
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
Tom Tromey committed -
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
Jan Hubicka committed -
From-SVN: r58194
GCC Administrator committed -
From-SVN: r58188
David O'Brien committed
-