- 07 Feb, 2002 31 commits
-
-
* cp-tree.h (instantiate_type_flags): Rename to ... (tsubst_flags_t): ... here. Rename itf_complain to tf_error, add tf_warning flag. (instantiate_type): Adjust prototype. (tsubst, tsubst_expr, tsubst_copy, lookup_template_class, do_type_instantiation, cp_build_qualified_type_real): Likewise. cp_build_qualified_type: Adjust. * class.c (instantiate_type): Adjust parameter. Rename itf_* to tf_*. * call.c (standard_conversion): Rename itf_* to tf_*. (reference_binding): Likewise. (convert_like_real): Likewise. * cvt.c (cp_convert_to_pointer): Likewise. (convert_to_reference): Likewise. * decl.c (lookup_namespace_name): Use tf_* flags. (make_typename_type): Likewise. (grokdeclarator): Likewise. * pt.c (convert_nontype_argument): Adjust COMPLAIN usage. (coerce_template_template_parms, convert_template_argument, coerce_template_parms, maybe_get_template_decl_from_type_decl, lookup_template_class, tsubst_friend_function, tsubst_friend_class, instantiate_class_template, tsubst_template_arg_vector, tsubst_template_parms, tsubst_aggr_type, tsubst_default_argument, tsubst_decl, tsubst_arg_types, tsubst_function_type, tsubst_call_declarator_parms, tsubst, tsubst_copy, tsubst_expr, instantiate_template, fn_type_unification, resolve_overloaded_unification, verify_class_unification, unify, get_bindings_real, do_type_instantiation, regenerate_decl_from_template, instantiate_decl, tsubst_initializer_list, tsubst_enum, get_mostly_instantiated_function_type, invalid_nontype_parm_type_p): Likewise. * tree.c (cp_build_qualified_type_real): Likewise. * typeck.c (build_binary_op): Rename itf_* to tf_*. (build_ptrmemfunc): Likewise. (convert_for_assignment): Likewise. From-SVN: r49591
Nathan Sidwell committed -
2002-02-07 Benjamin Kosnik <bkoz@redhat.com> Wolfgang Bangerth <wolfgang.bangerth@iwr.uni-heidelberg.de> * include/bits/basic_ios.tcc (basic_ios::narrow): Add default value. (basic_ios::widen): Same. Co-Authored-By: Wolfgang Bangerth <wolfgang.bangerth@iwr.uni-heidelberg.de> From-SVN: r49590
Benjamin Kosnik committed -
cp: PR c++/109 * decl.c (grokdeclarator): Allow friend declarations from dependant types. * decl2.c (handle_class_head): Don't push into template parm contexts. * pt.c (push_template_decl_real): Template parm contexts are never being defined. testsuite: * g++.dg/template/friend4.C: New test. From-SVN: r49589
Nathan Sidwell committed -
* gcj.texi (Input Options): --CLASSPATH does not suppress system path. From-SVN: r49588
Tom Tromey committed -
2002-02-07 Paolo Carlini <pcarlini@unitus.it> * testsuite/22_locale/money_get_members_char.cc: Add comment, tidy up. (test01): more "en_HK" tests (without showbase). * testsuite/22_locale/money_get_members_wchar_t.cc: Ditto. From-SVN: r49587
Paolo Carlini committed -
* java/lang/natThrowable.cc: Updated copyright. * java/io/natFileWin32.cc: Updated copyright. * java/io/natFileDescriptorWin32.cc: Updated copyright. * win32-threads.cc: Updated copyright. * name-finder.cc: Updated copyright. * include/name-finder.h: Updated copyright. From-SVN: r49586
Tom Tromey committed -
* include/name-finder.h: Conditionally include sys/wait.h. * include/config.h.in: Rebuilt. From-SVN: r49585
Tom Tromey committed -
* java/io/natFile.cc (_access): Don't stack-allocate buffer. Size buffer based on real size of string. (_stat): Likewise. (attr): Likewise. (getCanonicalPath): Likewise. (performList): Likewise. (performMkdir): Likewise. (performSetReadOnly): Likewise. (unixroot): Removed. (performRenameTo): Likewise. (performSetLastModified): Likewise. (performCreate): Likewise. (performDelete): Likewise. (performListRoots): Always return new array. From-SVN: r49584
Tom Tromey committed -
* prims.cc (_Jv_CreateJavaVM): Call _Jv_platform_initialize. * win32.cc (win32_exception_handler): Now static. * include/win32.h (_Jv_platform_initialize): Declare. (win32_exception_handler): Don't declare. * java/lang/natSystem.cc (currentTimeMillis): Use _Jv_platform_gettimeofday. * posix.cc (_Jv_platform_gettimeofday): Renamed. (_Jv_select): Use new name. (_Jv_platform_initialize): New function. * include/posix.h (_Jv_platform_gettimeofday): Renamed from _Jv_gettimeofday. (_Jv_platform_initialize): Declare. From-SVN: r49583
Tom Tromey committed -
* config/sparc/sparc.c (compute_frame_size): Don't correct frame offset for stack bias. From-SVN: r49582
Jeff Sturm committed -
* configure: Rebuilt. * configure.in: Removed unnecessary parens. From-SVN: r49581
Tom Tromey committed -
2002-02-07 H.J. Lu <hjl@gnu.org> * config/mips/linux.h (SUBTARGET_ASM_DEBUGGING_SPEC): Defined. From-SVN: r49580
H.J. Lu committed -
c-decl.c (finish_function): Warn about a non-void function with no return statement and no abnormal exit. * c-decl.c (finish_function): Warn about a non-void function with no return statement and no abnormal exit. (current_function_returns_abnormally): New variable. (start_function): Clear it. (struct c_language_function): Add returns_abnormally. (push_c_function_context): Save it. (pop_c_function_context): Restore it. (builtin_function): Set TREE_THIS_VOLATILE on return fns. (grokdeclarator): Set C_FUNCTION_IMPLICIT_INT on functions without an explicit return type. * c-tree.h: Declare current_function_returns_abnormally. (C_FUNCTION_IMPLICIT_INT): New macro. * c-typeck.c (build_function_call): Set it. (c_expand_return): Set current_function_returns_value even if the value is erroneous. From-SVN: r49579
Jason Merrill committed -
c-decl.c (finish_function): Warn about a non-void function with no return statement and no abnormal exit. * c-decl.c (finish_function): Warn about a non-void function with no return statement and no abnormal exit. (current_function_returns_abnormally): New variable. (start_function): Clear it. (struct c_language_function): Add returns_abnormally. (push_c_function_context): Save it. (pop_c_function_context): Restore it. (builtin_function): Set TREE_THIS_VOLATILE on return fns. (grokdeclarator): Set C_FUNCTION_IMPLICIT_INT on functions without an explicit return type. * c-tree.h: Declare current_function_returns_abnormally. (C_FUNCTION_IMPLICIT_INT): New macro. * c-typeck.c (build_function_call): Set it. (c_expand_return): Set current_function_returns_value even if the value is erroneous. From-SVN: r49577
Jason Merrill committed -
From-SVN: r49576
Ulrich Weigand committed -
* MAINTAINERS: Put self in as maintainer for x86-64 port. Remove self as Write After Approval. From-SVN: r49575
Jan Hubicka committed -
* i386-protos.h (x86_order_regs_for_local_alloc): Declare * i386.c (x86_order_regs_for_local_alloc): New global function. * i386.h (REG_ALLOC_ORDER): CLeanup. (ORDER_REGS_FOR_LOCAL_ALLOC): New. From-SVN: r49574
Jan Hubicka committed -
2002-02-07 David Billinghurst <David.Billinghurst@riotinto.com> PR fortran/3743 * g77.f-torture/execute/intrinsic-unix-bessel.f: Remove unsupported cases. From-SVN: r49573
David Billinghurst committed -
For some reason AC_HEADER_SYS_WAIT() isn't defining HAVE_SYS_WAIT_H on Linux; this patch backs out my patch that added the #ifdefs until I can figure out what happened. From-SVN: r49572
Adam Megacz committed -
* gcc.dg/debug/dwarf2-1.c: Update for return warnings. * gcc.dg/noncompile/920507-1.c, gcc.dg/noncompile/920721-2.c, gcc.dg/noncompile/label-lineno-1.c, objc.dg/const-str-1.m, objc.dg/const-str-2.m, objc.dg/method-1.m: Likewise. From-SVN: r49571
Richard Henderson committed -
* alias.c (find_base_value): Recall base values for fixed hard regs. * loop.c (loop_regs_update): Don't use single_set on non-insns. From-SVN: r49570
Richard Henderson committed -
From-SVN: r49569
GCC Administrator committed -
* config/mips/mips.md (define_delay) [mips16]: Adjust required length. From-SVN: r49567
Alexandre Oliva committed -
2002-02-06 Adam Megacz <adam@xwt.org> * configure.in: Changed mingw) to *mingw*). * win32.cc: Created this file. * win32.h: Created this file. * win32.cc, prims.cc, win32.h (win32_exception_handler): Moved win32_exception_handler from prims.cc to win32.cc, added header in win32.h. * prims.cc: removed some #ifdef-WIN32'd headers which are no longer needed now that we have platform.h From-SVN: r49566
Adam Megacz committed -
2002-02-06 Adam Megacz <adam@xwt.org> * shs.h, shs.cc, natSimpleSHSStream.cc: use uint<n>_t instead of LONG and BYTE From-SVN: r49565
Adam Megacz committed -
2002-02-06 Adam Megacz <adam@xwt.org> * name-finder.h: don't #include sys/wait.h unless HAVE_SYS_WAIT_H From-SVN: r49564
Adam Megacz committed -
2002-02-06 Adam Megacz <adam@xwt.org> * boehm-gc/include/gc.h: (GC_CreateThread) This function is now exposed on all Win32 platforms. * boehm-gc/win32_threads.c: (GC_CreateThread) This now compiles on Win32; it invokes CreateThread() if GC is built as a DLL; otherwise it registers the thread. * boehm-gc/misc.c (GC_init): Initialize GC_allocate_ml in case libgcjgc was not built as a DLL. From-SVN: r49563
Adam Megacz committed -
From-SVN: r49562
Anthony Green committed -
verify.cc (require_array_type): If argument is a null array of references, return null as the element type. * verify.cc (require_array_type): If argument is a null array of references, return null as the element type. From-SVN: r49561
Tom Tromey committed -
PR c/5609 * stmt.c (resolve_operand_name_1): Take more care with mixed named and unnamed operands. * gcc.dg/asm-4.c: Add case with an unnamed operand in the middle. From-SVN: r49560
Richard Henderson committed -
2002-02-06 Mark Wielaard <mark@klomp.org> * verify.cc (verify_instructions_0) [op_dup2]: Actually push the duplicate of a wide type. From-SVN: r49559
Mark Wielaard committed
-
- 06 Feb, 2002 9 commits
-
-
c_locale_generic.cc: Do not trust _GLIBCPP_HAVE_STRTOF or _GLIBCPP_HAVE_STRTOLD as set by configure. * config/locale/c_locale_generic.cc: Do not trust _GLIBCPP_HAVE_STRTOF or _GLIBCPP_HAVE_STRTOLD as set by configure. From-SVN: r49558
Loren J. Rittle committed -
From-SVN: r49557
Janis Johnson committed -
* loop.c (remove_constant_addition): Avoid clobbering a shared CONST expression. Co-Authored-By: Jan Hubicka <jh@suse.cz> From-SVN: r49556
Janis Johnson committed -
* verify.cc (type::isnull): New method. (require_array_type): Handle case where array is null. (verify_instructions_0) [op_arraylength]: Likewise. From-SVN: r49555
Tom Tromey committed -
2002-02-06 Toon Moene <toon@moene.indiv.nluug.nl> PR fortran/4730 fortran/5473 * com.c (ffecom_expr_): Deal with %VAL constructs. * intrin.c (ffeintrin_check_): Handle 'N' constraints for intrinsics, to indicate "no larger than default kind" integers and logicals. * intrin.def: Use 'N' constraints in table of intrinsics. * intdoc.c: Document this constraint. * intdoc.texi: Regenerated. From-SVN: r49554
Toon Moene committed -
* config.gcc (s390x-*-linux*): Add t-linux64 makefile fragment. * config/s390/t-linux64: New file. * config/s390/libgcc-glibc.ver: New file. From-SVN: r49553
Ulrich Weigand committed -
* config/s390/linux64.h: Delete file. * config/s390/s390x.h: New file. * config.gcc (s390x-*-linux*): Use s390x.h instead of linux64.h as target header file. * config/s390/linux.h (TARGET_VERSION): Define depending on DEFAULT_TARGET_64BIT. (CPP_SPEC, ASM_SPEC, LINK_SPEC): Likewise. (SIZE_TYPE, PTRDIFF_TYPE): Likewise. (NO_BUILTIN_SIZE_TYPE, NO_BUILTIN_PTRDIFF_TYPE): Define. (CPP_ARCH31_SPEC, CPP_ARCH64_SPEC): New defines. (LINK_ARCH31_SPEC, LINK_ARCH64_SPEC): New defines. (EXTRA_SPEC): New define. * config/s390/s390.h (TARGET_VERSION): Define depending on DEFAULT_TARGET_64BIT. (MASK_RETURN_ADDR): Add run-time check for TARGET_64BIT. From-SVN: r49552
Ulrich Weigand committed -
c-decl.c (finish_function): Warn about a non-void function with no return statement and no abnormal exit. * c-decl.c (finish_function): Warn about a non-void function with no return statement and no abnormal exit. (current_function_returns_abnormally): New variable. (start_function): Clear it. (struct c_language_function): Add returns_abnormally. (push_c_function_context): Save it. (pop_c_function_context): Restore it. (builtin_function): Set TREE_THIS_VOLATILE on return fns. (grokdeclarator): Set C_FUNCTION_IMPLICIT_INT on functions without an explicit return type. * c-tree.h: Declare current_function_returns_abnormally. (C_FUNCTION_IMPLICIT_INT): New macro. * c-typeck.c (build_function_call): Set it. (c_expand_return): Set current_function_returns_value even if the value is erroneous. From-SVN: r49551
Jason Merrill committed -
PR c/5420: * c-common.c (c_unsafe_for_reeval): Make COMPOUND_LITERAL_EXPR unsafe for reevaluation. * gcc.c-torture/execute/20020206-2.c: New test. From-SVN: r49550
Jakub Jelinek committed
-