Skip to content
Snippets Groups Projects
  1. Aug 23, 2000
  2. Aug 22, 2000
    • Benjamin Kosnik's avatar
      locale-inst.cc: Add codecvt<unicode_t... · ae658d47
      Benjamin Kosnik authored
      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
      ae658d47
    • J. David Anglin's avatar
      Forgot to commit. · 62432849
      J. David Anglin authored
      From-SVN: r35896
      62432849
    • Theodore Papadopoulo's avatar
      * decl2.c (arg_assoc): Revert my 2000-08-11 change. · 3add6264
      Theodore Papadopoulo authored
      From-SVN: r35895
      3add6264
    • J. David Anglin's avatar
      vax.h (ASM_SPEC): Pass `-J' to assembler. · a86d4a91
      J. David Anglin authored
              * 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
      a86d4a91
    • Gabriel Dos Reis's avatar
      Makefile.in (error.o): Depends on diagnostic.h · cb753e49
      Gabriel Dos Reis authored
      	* 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
      cb753e49
    • J"orn Rennecke's avatar
      toplev.c (rest_of_compilation): Rebuild label notes after post-reload splitting pass if... · 1eb994b7
      J"orn Rennecke authored
      	* toplev.c (rest_of_compilation): Rebuild label notes after
      	post-reload splitting pass if new labels have been created.
      
      From-SVN: r35892
      1eb994b7
    • Gabriel Dos Reis's avatar
      diagnostic.h (output_buffer_state): New macro. · f6a542de
      Gabriel Dos Reis authored
      	* 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
      f6a542de
    • Nick Clifton's avatar
      Use macros to replace duplicated bodies of assembler code. · 888e552f
      Nick Clifton authored
      From-SVN: r35890
      888e552f
    • Kaz Kojima's avatar
      sh.md (cmpeqdi_t splitter): Fix a reverse testing. · 89e43e33
      Kaz Kojima authored
      	* 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
      89e43e33
    • Nick Clifton's avatar
      Before performing any restorative additions... · 7405dc37
      Nick Clifton authored
      Before performing any restorative additions, test for bottom bits of IP being
      set, rather than relying upon the RORs not matching.
      
      From-SVN: r35888
      7405dc37
    • Alexandre Oliva's avatar
      calls.c (check_sibcall_argument_overlap_1): Adjust for ARGS_GROW_DOWNWARD. · d60eab50
      Alexandre Oliva authored
              * calls.c (check_sibcall_argument_overlap_1): Adjust for
              ARGS_GROW_DOWNWARD.
              (check_sibcall_argument_overlap): Likewise.
      
      From-SVN: r35887
      d60eab50
    • David Edelsohn's avatar
      aix.h (ASM_DECLARE_FUNCTION_NAME): Call named_section() or text_section() as... · 9861b0c9
      David Edelsohn authored
      aix.h (ASM_DECLARE_FUNCTION_NAME): Call named_section() or text_section() as appropriate instead of emitting text...
      
      	* aix.h (ASM_DECLARE_FUNCTION_NAME): Call named_section() or
              text_section() as appropriate instead of emitting text csect
      	pseudo-op directly.
      	(TEXT_SECTION_ASM_OP): Only require default 32-bit alignment.
      	(UNIQUE_SECTION): Define macro.
      	(ASM_OUTPUT_SECTION_NAME): Define macro.
      	* rs6000.c (rs6000_override_options): Disable -ffunction-sections
              on AIX if debugging and -fdata-sections always.
      
      From-SVN: r35886
      9861b0c9
    • Geoff Berry's avatar
      bitset (bitset::_M_is_any): Don't use __BITSET_WORDS macro on _Nw since _Nw is... · 180ca3a1
      Geoff Berry authored
      bitset (bitset::_M_is_any): Don't use __BITSET_WORDS macro on _Nw since _Nw is already the number of words...
      
      
      	* stl/bitset (bitset::_M_is_any): Don't use __BITSET_WORDS macro
      	on _Nw since _Nw is already the number of words in the bitset.
      
      From-SVN: r35885
      180ca3a1
    • Benjamin Kosnik's avatar
      float-i386.h (LDBL_EPSILON): Remove __convert_long_double machinery. · 72972a41
      Benjamin Kosnik authored
      2000-08-22 Steven King <sxking@uswest.net>
      
      	* config/float-i386.h (LDBL_EPSILON): Remove __convert_long_double
      	machinery.
      	(LDBL_MAX): Same here.
      
      From-SVN: r35884
      72972a41
    • Steven King's avatar
      float-i386.h (LDBL_EPSILON): Remove __convert_long_double machinery. · df3a88f0
      Steven King authored
      2000-08-22 Steven King <sxking@uswest.net>
      
      	* config/float-i386.h (LDBL_EPSILON): Remove __convert_long_double
      	machinery.
      	(LDBL_MAX): Same here.
      
      From-SVN: r35883
      df3a88f0
    • Benjamin Kosnik's avatar
      atomicity.h: Change __attribute__ ((unused)) to __attribute__ ((__unused__)). · 7e0ec38b
      Benjamin Kosnik authored
      2000-08-22  Richard B. Kreckel  <Richard.Kreckel@Uni-Mainz.DE>
      
      	* config/cpu/alpha/bits/atomicity.h: Change __attribute__
      	((unused)) to __attribute__ ((__unused__)).
      	* config/cpu/arm/bits/atomicity.h: Same.
      	* config/cpu/generic/bits/atomicity.h: Same.
      	* config/cpu/i386/bits/atomicity.h: Same.
      	* config/cpu/i486/bits/atomicity.h: Same.
      	* config/cpu/powerpc/bits/atomicity.h: Same.
      	* config/cpu/sparc/sparc32/bits/atomicity.h: Same.
      	* config/cpu/sparc/sparc64/bits/atomicity.h: Same.
      
      From-SVN: r35882
      7e0ec38b
    • Jason Merrill's avatar
      fix so failures are diagnosed · d29de343
      Jason Merrill authored
      From-SVN: r35881
      d29de343
    • Jason Merrill's avatar
      tweak · f2a32740
      Jason Merrill authored
      From-SVN: r35880
      f2a32740
    • Richard Henderson's avatar
      * flow.c (tidy_fallthru_edge): Update b->end properly. · b578dbd7
      Richard Henderson authored
      From-SVN: r35879
      b578dbd7
    • Levente Farkas's avatar
      basic_string.h: Fix up parameter names. · bbcec4ef
      Levente Farkas authored
      2000-08-14  Levente Farkas  <lfarkas@mindmaker.hu>
      
      	* bits/basic_string.h: Fix up parameter names.
      
      From-SVN: r35878
      bbcec4ef
    • Brent Verner's avatar
      Makefile.am (INCLUDES): Put $(CSHADOW_INCLUDES) before $(top_srcdir) · f3342f73
      Brent Verner authored
      2000-08-22  Brent Verner <brent@rcfile.org>
      
      	* src/Makefile.am (INCLUDES): Put $(CSHADOW_INCLUDES) before
      	$(top_srcdir)
      	* src/Makefile.in: Regenerate.
      
      From-SVN: r35877
      f3342f73
    • Stan Cox's avatar
      Makefile.in (OBJS): Add dependence.o. · d061bc1e
      Stan Cox authored
      	* Makefile.in (OBJS): Add dependence.o.
      	* dependence.c: New file.
      
      From-SVN: r35876
      d061bc1e
    • Alexandre Oliva's avatar
      invoke.texi (SH Options): Document -m4-nofpu... · 3cadd778
      Alexandre Oliva authored
      * invoke.texi (SH Options): Document -m4-nofpu,
      -m4-single-only, -m4-single, -m4, -mbigtable, -mfmovd,
      -mhitachi, -mnomacsave, -misize, -mpadstruct, -mspace.
      
      From-SVN: r35875
      3cadd778
    • Joseph Myers's avatar
      c-common.c (check_format_info): Give the 'some locales' warning for strftime... · 23e4d028
      Joseph Myers authored
      c-common.c (check_format_info): Give the 'some locales' warning for strftime %Ey rather than the unconditional...
      
      	* c-common.c (check_format_info): Give the 'some locales' warning
      	for strftime %Ey rather than the unconditional 'only last 2 digits
      	of year' one.
      
      testsuite:
      	* gcc.dg/c90-strftime-2.c, gcc.dg/c99-strftime-1.c,
      	gcc.dg/c99-strftime-2.c: New tests.
      
      From-SVN: r35874
      23e4d028
    • Richard Henderson's avatar
      alias.c (init_alias_analysis): Do not register struct_value_incoming_rtx or... · bc82c87c
      Richard Henderson authored
      alias.c (init_alias_analysis): Do not register struct_value_incoming_rtx or static_chain_rtx as pointing to...
      
              * alias.c (init_alias_analysis): Do not register
              struct_value_incoming_rtx or static_chain_rtx as pointing
              to stack memory.
      
      From-SVN: r35873
      bc82c87c
    • Richard Henderson's avatar
      New test. · f95b2ff9
      Richard Henderson authored
      From-SVN: r35872
      f95b2ff9
    • Benjamin Kosnik's avatar
      codecvt.h: Implement codecvt<wchar_t, char, mbstate_t>. · 6f322d27
      Benjamin Kosnik authored
      
      2000-08-21  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>
      
      	* bits/codecvt.h: Implement codecvt<wchar_t, char, mbstate_t>. Fix
      	up __enc_traits template so as to be marginally useful.
      	* src/codecvt.cc: And here.
      	* bits/char_traits: Tweak.
      	* bits/locale_facets.h: Tweak.
      	* bits/locale_facets.tcc: Tweak.
      	* bits/localefwd.h: Tweak.
      	* src/locale-inst.cc: Add use_facet/has_facet instantiations here.
      	* testsuite/22_locale/codecvt_wchar_t_cc.cc: New file.
      	* testsuite/22_locale/codecvt_char_char.cc: New file.
      	* testsuite/22_locale/codecvt_unicode_char.cc: New file.
      
      From-SVN: r35871
      6f322d27
    • Benjamin Kosnik's avatar
      codecvt.h: Implement codecvt<wchar_t, char, mbstate_t>. · a5834d1b
      Benjamin Kosnik authored
      2000-08-21  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>
      
      	* bits/codecvt.h: Implement codecvt<wchar_t, char, mbstate_t>. Fix
      	up __enc_traits template so as to be marginally useful.
      	* src/codecvt.cc: And here.
      	* bits/char_traits: Tweak.
      	* bits/locale_facets.h: Tweak.
      	* bits/locale_facets.tcc: Tweak.
      	* bits/localefwd.h: Tweak.
      	* src/locale-inst.cc: Add use_facet/has_facet instantiations here.
      	* testsuite/22_locale/codecvt_wchar_t_cc.cc: New file.
      	* testsuite/22_locale/codecvt_char_char.cc: New file.
      	* testsuite/22_locale/codecvt_unicode_char.cc: New file.
      
      From-SVN: r35870
      a5834d1b
    • Alexandre Oliva's avatar
      (TYPE_RETURNS_STACK_DEPRESSED): Insert blank between · 199acebb
      Alexandre Oliva authored
      `FUNCTION_TYPE_CHECK' and `(NODE)'.
      
      From-SVN: r35869
      199acebb
    • Jeff Law's avatar
      Daily bump. · 3b679680
      Jeff Law authored
      From-SVN: r35868
      3b679680
    • Jeffrey A Law's avatar
      7db9125f
    • Gabriel Dos Reis's avatar
      diagnostic.h (report_problematic_module): Declare. · b413d64d
      Gabriel Dos Reis authored
      2000-08-22  Gabriel Dos Reis  <gdr@codesourcery.com>
      
      	* diagnostic.h (report_problematic_module): Declare.
      	* diagnostic.c (report_problematic_module): New function.
      	(report_error_function): Tweak.
      
      From-SVN: r35866
      b413d64d
Loading