Nick Clifton
02689e1833
Replace upper case condition code strings with lower case.
...
From-SVN: r35920
2000-08-23 19:37:09 +00:00
Nick Clifton
64a7723db4
Replace STRUCT_VALUE_REGNUm by STRUCT_VALUE
...
From-SVN: r35919
2000-08-23 19:28:44 +00:00
Zack Weinberg
bbdac7d000
cpphash.h (IN_I): New flag for directive table.
...
* 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-23 18:29:53 +00:00
Joseph Myers
d8eceea40c
c-common.c (print_char_table): Allow 'I' flag with %d, %i and %u.
...
* 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-23 18:32:50 +01:00
Mark Mitchell
94350948fb
cp-tree.h (DECL_CLONED_FUNCTION_P): Check DECL_LANG_SPECIFIC.
...
* 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-23 17:12:23 +00:00
Alex Samuel
e282c9c9f5
cp-demangle.c (result_close_template_list): Remove function.
...
* 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-23 17:03:03 +00:00
Phil Edwards
b3102f834d
Dummy checkin of footer.html to force web sync.
...
From-SVN: r35914
2000-08-23 16:42:12 +00:00
Kaveh R. Ghazi
8a45161343
tr-warn4.c, [...]: New tests.
...
* 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-23 16:13:47 +00:00
Alexandre Oliva
23d168774e
Added John David Anglin's name to patch for HP-UX bootstrap
...
From-SVN: r35912
2000-08-23 16:13:42 +00:00
Richard Earnshaw
e04c2d6ca1
arm.c (arm_expand_prologue): Ensure that the stack-adjustment barrier can't 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-23 15:15:21 +00:00
Bruce Korb
47db946ca4
Update to pthread and addition of sys/machine.h
...
From-SVN: r35910
2000-08-23 14:13:18 +00:00
Bruce Korb
d0650b61d2
Fixed the test for aix_pthread
...
From-SVN: r35909
2000-08-23 14:08:57 +00:00
Eli Zaretskii
f4306baa73
Fix sed script for sysv86_string fix
...
From-SVN: r35908
2000-08-23 14:03:47 +00:00
Bruce Korb
ed4befff9a
Added a line to the test base
...
From-SVN: r35907
2000-08-23 13:58:08 +00:00
Gabriel Dos Reis
a64e73290a
error.c (cp_print_error_function): Don't use embedded '\n' in output_printf.
...
* error.c (cp_print_error_function): Don't use embedded '\n' in
output_printf.
From-SVN: r35906
2000-08-23 09:31:12 +00:00
Alexandre Oliva
e7977565ad
* MAINTAINERS: Add self as a build machinery (*.in) maintainer.
...
From-SVN: r35905
2000-08-23 08:26:50 +00:00
Alexandre Oliva
95d0e5f1d0
simplify-rtx.c (simplify_rtx): Don't pass VOIDmode to 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-23 07:59:06 +00:00
Jeff Law
f17eb5d40f
Daily bump.
...
From-SVN: r35903
2000-08-23 01:45:07 -06:00
Gabriel Dos Reis
a72462a4fd
decl.c (init_decl_processing): Remove bogus initialization.
...
* 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-23 06:36:15 +00:00
Phil Edwards
697c2a3964
acconfig.h: _GLIBCPP_USING_THREADS and some workaround types added.
...
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-23 04:38:42 +00:00
John Wehle
55efb413f8
rtlanal.c (rtx_unstable_p): The pic register is stable (within one function) 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 03:54:23 +00:00
Kaveh R. Ghazi
aac625acc6
* c-parse.in (unop +): Restrict -Wtraditional warnings to user code.
...
From-SVN: r35899
2000-08-23 01:00:52 +00:00
DJ Delorie
126bb9ed7a
* MAINTAINERS: Add self as a build machinery (*.in) maintainer
...
From-SVN: r35898
2000-08-22 20:21:46 -04:00
Benjamin Kosnik
ae658d47a4
locale-inst.cc: Add codecvt<unicode_t...
...
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-22 23:44:23 +00:00
J. David Anglin
62432849bc
Forgot to commit.
...
From-SVN: r35896
2000-08-22 17:13:12 -06:00
Theodore Papadopoulo
3add6264c6
* decl2.c (arg_assoc): Revert my 2000-08-11 change.
...
From-SVN: r35895
2000-08-22 18:54:15 -04:00
J. David Anglin
a86d4a919a
vax.h (ASM_SPEC): Pass `-J' to assembler.
...
* 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-22 16:29:08 -06:00
Gabriel Dos Reis
cb753e4921
Makefile.in (error.o): Depends on diagnostic.h
...
* 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-22 20:26:41 +00:00
J"orn Rennecke
1eb994b78b
toplev.c (rest_of_compilation): Rebuild label notes after post-reload 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-22 21:24:10 +01:00
Gabriel Dos Reis
f6a542dece
diagnostic.h (output_buffer_state): New macro.
...
* 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-22 20:20:32 +00:00
Nick Clifton
888e552fda
Use macros to replace duplicated bodies of assembler code.
...
From-SVN: r35890
2000-08-22 19:50:12 +00:00
Kaz Kojima
89e43e3315
sh.md (cmpeqdi_t splitter): Fix a reverse testing.
...
* 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-22 20:39:56 +01:00
Nick Clifton
7405dc3753
Before performing any restorative additions...
...
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-22 19:37:02 +00:00
Alexandre Oliva
d60eab50e1
calls.c (check_sibcall_argument_overlap_1): Adjust for ARGS_GROW_DOWNWARD.
...
* calls.c (check_sibcall_argument_overlap_1): Adjust for
ARGS_GROW_DOWNWARD.
(check_sibcall_argument_overlap): Likewise.
From-SVN: r35887
2000-08-22 13:30:49 -06:00
David Edelsohn
9861b0c9d6
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
2000-08-22 15:27:31 -04:00
Geoff Berry
180ca3a1bb
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
2000-08-22 13:24:01 -06:00
Benjamin Kosnik
72972a41a7
float-i386.h (LDBL_EPSILON): Remove __convert_long_double machinery.
...
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
2000-08-22 18:51:21 +00:00
Steven King
df3a88f003
float-i386.h (LDBL_EPSILON): Remove __convert_long_double machinery.
...
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
2000-08-22 18:48:57 +00:00
Benjamin Kosnik
7e0ec38b14
atomicity.h: Change __attribute__ ((unused)) to __attribute__ ((__unused__)).
...
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
2000-08-22 18:24:16 +00:00
Jason Merrill
d29de343fe
fix so failures are diagnosed
...
From-SVN: r35881
2000-08-22 14:16:12 -04:00
Jason Merrill
f2a32740dd
tweak
...
From-SVN: r35880
2000-08-22 14:15:57 -04:00
Richard Henderson
b578dbd7d6
* flow.c (tidy_fallthru_edge): Update b->end properly.
...
From-SVN: r35879
2000-08-22 11:12:15 -07:00
Levente Farkas
bbcec4ef37
basic_string.h: Fix up parameter names.
...
2000-08-14 Levente Farkas <lfarkas@mindmaker.hu>
* bits/basic_string.h: Fix up parameter names.
From-SVN: r35878
2000-08-22 17:29:57 +00:00
Brent Verner
f3342f7303
Makefile.am (INCLUDES): Put $(CSHADOW_INCLUDES) before $(top_srcdir)
...
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
2000-08-22 17:22:38 +00:00
Stan Cox
d061bc1e93
Makefile.in (OBJS): Add dependence.o.
...
* Makefile.in (OBJS): Add dependence.o.
* dependence.c: New file.
From-SVN: r35876
2000-08-22 16:16:20 +00:00
Alexandre Oliva
3cadd7783a
invoke.texi (SH Options): Document -m4-nofpu...
...
* invoke.texi (SH Options): Document -m4-nofpu,
-m4-single-only, -m4-single, -m4, -mbigtable, -mfmovd,
-mhitachi, -mnomacsave, -misize, -mpadstruct, -mspace.
From-SVN: r35875
2000-08-22 14:39:31 +00:00
Joseph Myers
23e4d0281a
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
2000-08-22 15:06:57 +01:00
Richard Henderson
bc82c87cad
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
2000-08-22 01:42:46 -07:00
Richard Henderson
f95b2ff93e
New test.
...
From-SVN: r35872
2000-08-22 01:41:02 -07:00
Benjamin Kosnik
6f322d2778
codecvt.h: Implement codecvt<wchar_t, char, mbstate_t>.
...
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
2000-08-22 08:19:00 +00:00