- 08 Feb, 2002 13 commits
-
-
* c-common.c (c_expand_expr): Revert 2002-02-06 patch. * c-parse.in (compstmt): Clear last_expr_type. * parse.y (primary, primary_no_id): Use compstmt_or_stmtexpr instead of compstmt. (compstmt_or_stmtexpr): Renamed from compstmt. (compstmt): In addition to compstmt_or_stmtexpr clear last_expr_type. * gcc.c-torture/execute/20020206-1.c: Test whether nesting 2 expression statements work instead. * gcc.dg/noncompile/20020207-1.c: New test. From-SVN: r49609
Jakub Jelinek committed -
2002-02-08 Phil Edwards <pme@gcc.gnu.org> * docs/doxygen/TODO: Update. * docs/doxygen/doxygroups.cc: Tweak __gnu_cxx description. * docs/doxygen/mainpage.html: Add TODO list link. * docs/doxygen/user.cfg.in: Add @doctodo hook. * docs/doxygen/tables.html: New file, emoty structure only. * include/bits/stl_iterator.h: Doxygenate just about everything. * include/bits/stl_iterator_base_funcs.h: Ditto, clean up spaces. * include/bits/stl_iterator_base_types.h: Add notes. From-SVN: r49608
Phil Edwards committed -
* java/io/natFile.cc (_access): Use __builtin_alloca. (_stat): Likewise. (attr): Likewise. (getCanonicalPath): Likewise. (performList): Likewise. (performMkdir): Likewise. (performSetReadOnly): Likewise. (performRenameTo): Likewise. (performSetLastModified): Likewise. (performCreate): Likewise. (performDelete): Likewise. From-SVN: r49607
Tom Tromey committed -
* loop.c (strength_reduce): Sink final_value when not eliminating a biv. From-SVN: r49606
Richard Henderson committed -
From-SVN: r49605
Richard Henderson committed -
From-SVN: r49604
Adam Megacz committed -
2002-02-07 David O'Brien <obrien@FreeBSD.org> * config/sparc/freebsd.h: Fix mismatched spec {. From-SVN: r49603
David O'Brien committed -
2002-02-07 Stephan Buys <sbproxy@icon.co.za> * include/bits/stl_map.h: Tweak doxygen markup. * include/bits/stl_multimap.h: Doxygenate and remove extra spaces. * include/bits/stl_vector.h: Likewise. From-SVN: r49602
Stephan Buys committed -
2002-02-07 Benjamin Kosnik <bkoz@redhat.com> libstdc++/5286 libstdc++/3860 * include/std/std_fstream.h (filebuf::__file_type): Change to __basic_file<char>. (filebuf::_M_convert_to_external): Declare. * include/bits/fstream.tcc (filebuf::_M_convert_to_external): Define codecvt bits for wide streams. (filebuf::_M_really_overflow): Use it. (filebuf::underflow): Use codecvt. * config/locale/codecvt_specializations_ieee_1003.1-200x.h: (codecvt<__enc_traits>::do_out): Deal with partial. (codecvt<__enc_traits>::do_encoding): Return something useful. * src/codecvt.cc (codecvt<wchar_t>::do_encoding): Return sizeof wchar_t. * testsuite/22_locale/codecvt_members_unicode_char.cc (test01): Change expected encoding output. (test02): Same. * testsuite/22_locale/codecvt_members_wchar_t_char.cc (test01): Same. (test02): Same. From-SVN: r49601
Benjamin Kosnik committed -
From-SVN: r49600
Bryce McKinlay committed -
2002-02-07 David Billinghurst <David.Billinghurst@riotinto.com> * lib/prune.exp: Remove "In (program|subroutine"block-data)" message from g77 * lib/g77-dg.exp: Trim g77 error messages so that they are recognised by dg.exp. From-SVN: r49599
David Billinghurst committed -
* cfgrtl.c: Include recog.h and insn-config.h. (keep_with_call_p): Fix general_operand invocation. * Makefile.in (cfgrtl.o): Update dependencies. From-SVN: r49598
Richard Henderson committed -
* config/h8300/h8300.c (two_insn_adds_subs_operand): Revise a comment. Accept HImode only if TARGET_H8300. From-SVN: r49597
Kazu Hirata committed
-
- 07 Feb, 2002 27 commits
-
-
* adaint.c (__gnat_to_gm_time): First arg is int, not time_t. * adaint.h (__gnat_to_gm_time): Update prototype. From-SVN: r49596
Richard Henderson committed -
2002-02-07 Eric Christopher <echristo@redhat.com> * config/mips/crtn.asm: Cleanup #ifdefs. Add ChangeLog entry for previous patch that didn't seem to make it. From-SVN: r49595
Eric Christopher committed -
2002-02-07 David Billinghurst <David.Billinghurst@riotinto.com> PR fortran/5473 * g77.dg/pr5473.f: Now dg-error. Add additional cases. From-SVN: r49594
David Billinghurst committed -
From-SVN: r49593
Tom Rix committed -
* g++.old-deja/g++.brendan/new2.C: Arrange for allocated memory to be sufficiently aligned for integers. From-SVN: r49592
Richard Henderson committed -
* 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
-