aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2000-08-24codecvt.h: Tweaks.Benjamin Kosnik2-7/+20
2000-08-23 Benjamin Kosnik <bkoz@purist.soma.redhat.com> * bits/codecvt.h: Tweaks. * testsuite/22_locale/codecvt_unicode_wchar_t.cc (test01): Fix up initial string literals for UCS4. From-SVN: r35936
2000-08-24one last tweakJason Merrill1-1/+1
From-SVN: r35935
2000-08-24OK, once more:Jason Merrill2-3/+4
* lib/old-dejagnu.exp: Also ignore "In member function" and "At global scope". From-SVN: r35934
2000-08-24oopsJason Merrill1-1/+1
From-SVN: r35933
2000-08-24* lib/old-dejagnu.exp: Also ignore "In member function ".Jason Merrill2-2/+6
From-SVN: r35932
2000-08-23NativeThread.java (NativeThread): Removed assignment to `alive_flag', call ↵Alexandre Petit-Bianco3-1/+16
`init'. 2000-08-23 Alexandre Petit-Bianco <apbianco@cygnus.com> * gnu/gcj/jni/NativeThread.java (NativeThread): Removed assignment to `alive_flag', call `init'. (init): New native method. * gnu/gcj/jni/natNativeThread.cc (init): New native method implementation. (http://sources.redhat.com/ml/java-patches/2000-q3/msg00142.html) From-SVN: r35931
2000-08-23typeck.c (build_ptrmemfunc): Save the input pmf.Jason Merrill4-2/+49
* typeck.c (build_ptrmemfunc): Save the input pmf. * method.c (process_modifiers): Use same_type_p. From-SVN: r35930
2000-08-23java-tree.h (flag_extraneous_semicolon): New extern.Alexandre Petit-Bianco5-15/+45
2000-08-08 Alexandre Petit-Bianco <apbianco@cygnus.com> * java-tree.h (flag_extraneous_semicolon): New extern. * lang-options.h: (-Wextraneous-semicolon): New option. * lang.c (flag_redundant): Fixed typo in leading comment. (flag_extraneous_semicolon): New global. (lang_decode_option): Set `flag_extraneous_semicolon' when -Wall. Decode `-Wextraneous-semicolon'. * parse.y (type_declaration:): Removed `SC_TK' hack, added `empty_statement' rule. (class_body_declaration): Likewise. (method_body:): Accept `;' as a method body. (static_initializer:): Removed `SC_TK' hack. (constructor_block_end:): Likewise. (empty_statement:): Report deprecated empty declaration. Fixes gcj/295 (Fix to gcj/295: http://sources.redhat.com/ml/java-prs/2000-q3/msg00095.html) From-SVN: r35929
2000-08-24configure.in [...] (TARGET, TARGETDIR): Set.Alexandre Oliva3-0/+7
* configure.in [i*86-*-freebsd*] (TARGET, TARGETDIR): Set. * configure: Rebuilt. From-SVN: r35928
2000-08-23* dependence.c: Replace `[][]' with `[][MAX_SUBSCRIPTS]'.Alexandre Oliva2-9/+15
From-SVN: r35927
2000-08-23* Makefile.in (GCC_PASSES): Add specs.Hans-Peter Nilsson2-1/+5
From-SVN: r35926
2000-08-23com-rt.def: Adapt macro DEFGFRT to accept CONST boolean.Toon Moene5-235/+296
2000-08-23 Toon Moene <toon@moene.indiv.nluug.nl> * com-rt.def: Adapt macro DEFGFRT to accept CONST boolean. * com.c (macro DEFGFRT): Use CONST boolean. (ffecom_call_binop_): Choose between call by value and call by reference. (ffecom_expr_): Use direct calls to (g)libc functions for POW_DD, LOG10, (float) MOD. (ffecom_make_gfrt_): Add const indication to table of intrinsics. * com.h (macro DEFGFRT): Use CONST boolean. * intrin.def: Adjust DEFIMP definition of LOG10, (float) MOD. From-SVN: r35925
2000-08-23* gcc.dg/noncompile/label-lineno-1.c: New test.Kaveh R. Ghazi2-0/+18
From-SVN: r35924
2000-08-23* gcc.dg/c99-array-nonobj-1.c: New test.Joseph Myers2-0/+31
From-SVN: r35923
2000-08-23Minor cleanup of ia64 unwind handler code.Jim Wilson3-6/+28
* frame.h (IA64_UNW_EHANDLER, IA64_UNW_UHANDLER): New. * config/ia64/frame-ia64.c (__get_personality): Return zero if neither EHANDLER nor UHANDLER bit is set. (__get_except_table): Likewise. From-SVN: r35922
2000-08-23missed one...Nick Clifton1-1/+1
From-SVN: r35921
2000-08-23Replace upper case condition code strings with lower case.Nick Clifton2-79/+82
From-SVN: r35920
2000-08-23Replace STRUCT_VALUE_REGNUm by STRUCT_VALUENick Clifton2-3/+7
From-SVN: r35919
2000-08-23cpphash.h (IN_I): New flag for directive table.Zack Weinberg4-10/+32
* cpphash.h (IN_I): New flag for directive table. * cpplib.c (DIRECTIVE_TABLE): Mark #define, #undef, #ident, and #pragma with IN_I. (_cpp_check_directive): If -fpreprocessed, execute directives marked with IN_I. Issue no warnings in this case. * cpplex.c (_cpp_get_token): Expand no macros if -fpreprocessed. From-SVN: r35918
2000-08-23c-common.c (print_char_table): Allow 'I' flag with %d, %i and %u.Joseph Myers6-3/+142
* c-common.c (print_char_table): Allow 'I' flag with %d, %i and %u. (check_format_info): Support printf 'I' flag; warn about it with -pedantic. testsuite: * gcc.dg/c99-printf-2.c, gcc.dg/format-xopen-1.c: Add some more tests. * gcc.dg/format-ext-1.c: New test. From-SVN: r35917
2000-08-23cp-tree.h (DECL_CLONED_FUNCTION_P): Check DECL_LANG_SPECIFIC.Mark Mitchell4-10/+31
* cp-tree.h (DECL_CLONED_FUNCTION_P): Check DECL_LANG_SPECIFIC. * mangle.c (write_function_type): Change prototype. (write_encoding): Don't mangle return types for constructors or destructors. (write_type): Adjust call to write_function_type. * pt.c (instantiate_template): Instantiate alternate entry points when instantiating the main function. From-SVN: r35916
2000-08-23cp-demangle.c (result_close_template_list): Remove function.Alex Samuel2-18/+79
* cp-demangle.c (result_close_template_list): Remove function. (result_add_separated_char): New function. (result_open_template_list): New macro. (result_close_template_list): Likewise. (demangle_prefix): Don't set template_p if the prefix ends with a ctor name. (demangle_type_ptr): Remove duplicate RETURN_IF_ERROR. (demangle_type): Check for template args after substitution. (demangle_template_args): Use result_open_template_list. From-SVN: r35915
2000-08-23Dummy checkin of footer.html to force web sync.Phil Edwards1-1/+1
From-SVN: r35914
2000-08-23tr-warn4.c, [...]: New tests.Kaveh R. Ghazi11-0/+233
* gcc.dg/cpp/tr-warn4.c, gcc.dg/cpp/tr-warn5.c, gcc.dg/wtr-aggr-init-1.c, gcc.dg/wtr-escape-1.c, gcc.dg/wtr-int-type-1.c, gcc.dg/wtr-static-1.c, gcc.dg/wtr-strcat-1.c, gcc.dg/wtr-switch-1.c, gcc.dg/wtr-unary-plus-1.c, gcc.dg/wtr-union-init-1.c: New tests. From-SVN: r35913
2000-08-23Added John David Anglin's name to patch for HP-UX bootstrapAlexandre Oliva1-1/+3
From-SVN: r35912
2000-08-23arm.c (arm_expand_prologue): Ensure that the stack-adjustment barrier can't ↵Richard Earnshaw2-2/+18
be ignored by the alias analysis... * arm.c (arm_expand_prologue): Ensure that the stack-adjustment barrier can't be ignored by the alias analysis code. From-SVN: r35911
2000-08-23Update to pthread and addition of sys/machine.hBruce Korb2-0/+22
From-SVN: r35910
2000-08-23Fixed the test for aix_pthreadBruce Korb1-1/+2
From-SVN: r35909
2000-08-23Fix sed script for sysv86_string fixEli Zaretskii3-9/+11
From-SVN: r35908
2000-08-23Added a line to the test baseBruce Korb1-0/+1
From-SVN: r35907
2000-08-23error.c (cp_print_error_function): Don't use embedded '\n' in output_printf.Gabriel Dos Reis2-5/+8
* error.c (cp_print_error_function): Don't use embedded '\n' in output_printf. From-SVN: r35906
2000-08-23* MAINTAINERS: Add self as a build machinery (*.in) maintainer.Alexandre Oliva2-1/+6
From-SVN: r35905
2000-08-23simplify-rtx.c (simplify_rtx): Don't pass VOIDmode to ↵Alexandre Oliva3-3/+25
simplify_relational_operation() unless... * simplify-rtx.c (simplify_rtx): Don't pass VOIDmode to simplify_relational_operation() unless both operands are of VOIDmode. * cse.c (fold_rtx): Likewise. From-SVN: r35904
2000-08-23Daily bump.Jeff Law5-5/+5
From-SVN: r35903
2000-08-23decl.c (init_decl_processing): Remove bogus initialization.Gabriel Dos Reis3-1/+21
* decl.c (init_decl_processing): Remove bogus initialization. * error.c (lang_print_error_function): Restore here. (init_error): Initialize print_error_function. From-SVN: r35902
2000-08-23acconfig.h: _GLIBCPP_USING_THREADS and some workaround types added.Phil Edwards10-1195/+1725
2000-08-23 Phil Edwards <pme@sourceware.cygnus.com> * acconfig.h: _GLIBCPP_USING_THREADS and some workaround types added. * acinclude.m4: New macro, GLIBCPP_ENABLE_WCHAR. Set the threads definition as well, and some minor spelling/spacing fixes. If building libio, check for certain typedefs. * libio/_G_config.h: Wrap _IO_MTSAFE_IO in _GLIBCPP_USING_THREADS. Conditionally define _LARGEFILE64_SOURCE, otherwise the 64-bit types will never be there. * libio/libio.h: In the null case, _IO_lock_t can't just be void. * src/string-inst.cc: Use _GLIBCPP_USE_WCHAR_T. * configure.in: Update the cache a bit more often. * mkcheck.in: For check-install, also need to -I the testsuite dir. From-SVN: r35901
2000-08-23rtlanal.c (rtx_unstable_p): The pic register is stable (within one function) ↵John Wehle4-21/+56
and the actual rtx should be... * rtlanal.c (rtx_unstable_p): The pic register is stable (within one function) and the actual rtx should be used when checking the registers. (rtx_addr_can_trap_p): Pic memory addresses can't trap. * alias.c (true_dependence, write_dependence_p): Fix bug in previous patch. * i386.c (ix86_GOT_alias_set): New. (legitimize_pic_address): Use it. * rtlanal.c (rtx_unstable_p): An unchanging MEM is only stable if its address is stable. (rtx_varies_p): An unchanging MEM can't vary if its address doesn't vary. From-SVN: r35900
2000-08-23* c-parse.in (unop +): Restrict -Wtraditional warnings to user code.Kaveh R. Ghazi2-1/+5
From-SVN: r35899
2000-08-22* MAINTAINERS: Add self as a build machinery (*.in) maintainerDJ Delorie2-0/+5
From-SVN: r35898
2000-08-22locale-inst.cc: Add codecvt<unicode_t...Benjamin Kosnik11-98/+302
2000-08-22 Benjamin Kosnik <bkoz@purist.soma.redhat.com> * src/locale-inst.cc: Add codecvt<unicode_t, wchar_t, __enc_traits> instantiations for has_facet and use_facet. * testsuite/22_locale/codecvt_unicode_wchar_t.cc: New file, for testing two-byte unicode encodings converted to four-byte UCS4 encodings. * bits/codecvt.h (codecvt<__enc_traits>): Fix do_unshift. * testsuite/22_locale/codecvt_unicode_char.cc (test01): Add correct state/encoding information. * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Add wcsrtombs, mbsrtowcs checks as codecvt<wchar_t, char, mbstate_t> needs them now. Add checks for langinfo.h, nl_langinfo function call. * libio/iofwide.c (_IO_fwide): Simplify, as nl_langinfo is assumed. From-SVN: r35897
2000-08-22Forgot to commit.J. David Anglin1-0/+8
From-SVN: r35896
2000-08-22* decl2.c (arg_assoc): Revert my 2000-08-11 change.Theodore Papadopoulo2-10/+7
From-SVN: r35895
2000-08-22vax.h (ASM_SPEC): Pass `-J' to assembler.J. David Anglin4-93/+112
* vax.h (ASM_SPEC): Pass `-J' to assembler. * x-vax-gcc: New file for bootstrapping with gcc. * x-vax: Use X_CFLAGS rather than X_CPPFLAGS to pass `-J'. * configure.in: Use x-vax-gcc with gcc. * configure: Rebuilt. From-SVN: r35894
2000-08-22Makefile.in (error.o): Depends on diagnostic.hGabriel Dos Reis6-77/+232
* Makefile.in (error.o): Depends on diagnostic.h * cp-tree.h (problematic_instantiation_changed, record_last_problematic_instantiation, current_instantiation, print_instantiation_context): Declare. (maybe_print_template_context): Remove. * decl.c (init_decl_processing): Set print_error_function to NULL. (lang_print_error_function): Remove, since we're using a new machinery. * error.c: #include diagnostic.h (function_category): New function. (cp_diagnostic_starter): Likewise. (cp_diagnostic_finalizer): Likewise. (cp_print_error_function): Likewise. (maybe_print_instantiation_context): Likewise. (print_instantiation_full_context): Likewise. (print_instantiation_partial_context): Likewise. (print_instantiation_context): Define. (init_error): Initialize diagnostic pager and finalizer. * pt.c (problematic_instantiation_changed): Define. (record_last_problematic_instantiation): Likewise. (current_instantiation): Likewise. (maybe_print_template_context): Remove. (print_template_context): Likewise. (current_tinst_level): Make static to reflect Brendan Kehoe's change of 1995-04-13. (push_tinst_level): Call print_instantiation_context. From-SVN: r35893
2000-08-22toplev.c (rest_of_compilation): Rebuild label notes after post-reload ↵J"orn Rennecke2-1/+11
splitting pass if... * toplev.c (rest_of_compilation): Rebuild label notes after post-reload splitting pass if new labels have been created. From-SVN: r35892
2000-08-22diagnostic.h (output_buffer_state): New macro.Gabriel Dos Reis3-13/+25
* diagnostic.h (output_buffer_state): New macro. * diagnostic.c (diagnostic_for_decl, sorry, default_print_error_function, output_do_verbatim, report_diagnostic, report_problematic_module): Use it. (wrap_text): Tweak. (output_format): Use wrap_text instead of maybe_wrap_text. From-SVN: r35891
2000-08-22Use macros to replace duplicated bodies of assembler code.Nick Clifton2-607/+292
From-SVN: r35890
2000-08-22sh.md (cmpeqdi_t splitter): Fix a reverse testing.Kaz Kojima3-1/+10
* config/sh/sh.md (cmpeqdi_t splitter): Fix a reverse testing. * config/sh/sh.c (prepare_scc_operands): Apply force_reg to sh_compare_op1 when the mode is DImode and sh_compare_op1 isn't const0_rtx. From-SVN: r35889
2000-08-22Before performing any restorative additions...Nick Clifton2-25/+56
Before performing any restorative additions, test for bottom bits of IP being set, rather than relying upon the RORs not matching. From-SVN: r35888
2000-08-22calls.c (check_sibcall_argument_overlap_1): Adjust for ARGS_GROW_DOWNWARD.Alexandre Oliva2-0/+13
* calls.c (check_sibcall_argument_overlap_1): Adjust for ARGS_GROW_DOWNWARD. (check_sibcall_argument_overlap): Likewise. From-SVN: r35887