Benjamin Kosnik [Thu, 24 Aug 2000 18:58:42 +0000 (18:58 +0000)]
acconfig.h: Revert.
2000-08-24 Benjamin Kosnik <bkoz@purist.soma.redhat.com>
* acconfig.h: Revert.
* acinclude.m4: Revert.
* libio/_G_config.h: Revert.
* libio/libio.h: Revert.
From-SVN: r35941
Joseph Myers [Thu, 24 Aug 2000 16:14:55 +0000 (17:14 +0100)]
c-common.c (time_char_table): Don't allow width with %F.
* c-common.c (time_char_table): Don't allow width with %F.
(check_format_info): Don't allow "Z" length with scanf.
testsuite:
* gcc.dg/c99-scanf-2.c: Remove test for scanf "Z" length.
* gcc.dg/format-ext-2.c: New test.
From-SVN: r35940
Gabriel Dos Reis [Thu, 24 Aug 2000 08:30:02 +0000 (08:30 +0000)]
diagnostic.c (finish_diagnostic): Define.
* diagnostic.c (finish_diagnostic): Define.
(output_do_printf): Use wrap_text instead of output_add_string.
(default_print_error_function): Avoid embedded '\n'.
* diagnostic.h (flush_diagnostic_buffer): Declare.
cp/
* error.c (print_instantiation_context): Don't forget to flush the
buffer.
From-SVN: r35939
Jeff Law [Thu, 24 Aug 2000 07:45:07 +0000 (01:45 -0600)]
Daily bump.
From-SVN: r35938
Mark Wielaard [Thu, 24 Aug 2000 06:56:38 +0000 (06:56 +0000)]
PrintWriter.java (print(String)): Don't catch IOException, write(String) already does.
* java/io/PrintWriter.java (print(String)): Don't catch IOException,
write(String) already does.
From-SVN: r35937
Benjamin Kosnik [Thu, 24 Aug 2000 06:13:51 +0000 (06:13 +0000)]
codecvt.h: Tweaks.
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
Jason Merrill [Thu, 24 Aug 2000 05:43:15 +0000 (01:43 -0400)]
one last tweak
From-SVN: r35935
Jason Merrill [Thu, 24 Aug 2000 05:01:38 +0000 (01:01 -0400)]
OK, once more:
* lib/old-dejagnu.exp: Also ignore "In member function" and
"At global scope".
From-SVN: r35934
Jason Merrill [Thu, 24 Aug 2000 04:38:08 +0000 (00:38 -0400)]
oops
From-SVN: r35933
Jason Merrill [Thu, 24 Aug 2000 04:37:29 +0000 (00:37 -0400)]
* lib/old-dejagnu.exp: Also ignore "In member function ".
From-SVN: r35932
Alexandre Petit-Bianco [Thu, 24 Aug 2000 02:16:57 +0000 (02:16 +0000)]
NativeThread.java (NativeThread): Removed assignment to `alive_flag', call `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
Jason Merrill [Thu, 24 Aug 2000 01:57:19 +0000 (21:57 -0400)]
typeck.c (build_ptrmemfunc): Save the input pmf.
* typeck.c (build_ptrmemfunc): Save the input pmf.
* method.c (process_modifiers): Use same_type_p.
From-SVN: r35930
Alexandre Petit-Bianco [Thu, 24 Aug 2000 01:44:00 +0000 (01:44 +0000)]
java-tree.h (flag_extraneous_semicolon): New extern.
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
Alexandre Oliva [Thu, 24 Aug 2000 01:01:57 +0000 (01:01 +0000)]
configure.in [...] (TARGET, TARGETDIR): Set.
* configure.in [i*86-*-freebsd*] (TARGET, TARGETDIR): Set.
* configure: Rebuilt.
From-SVN: r35928
Alexandre Oliva [Wed, 23 Aug 2000 22:52:25 +0000 (22:52 +0000)]
* dependence.c: Replace `[][]' with `[][MAX_SUBSCRIPTS]'.
From-SVN: r35927
Hans-Peter Nilsson [Wed, 23 Aug 2000 22:35:13 +0000 (22:35 +0000)]
* Makefile.in (GCC_PASSES): Add specs.
From-SVN: r35926
Toon Moene [Wed, 23 Aug 2000 21:16:19 +0000 (23:16 +0200)]
com-rt.def: Adapt macro DEFGFRT to accept CONST boolean.
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
Kaveh R. Ghazi [Wed, 23 Aug 2000 21:12:15 +0000 (21:12 +0000)]
* gcc.dg/noncompile/label-lineno-1.c: New test.
From-SVN: r35924
Joseph Myers [Wed, 23 Aug 2000 20:58:04 +0000 (21:58 +0100)]
* gcc.dg/c99-array-nonobj-1.c: New test.
From-SVN: r35923
Jim Wilson [Wed, 23 Aug 2000 20:55:01 +0000 (20:55 +0000)]
Minor cleanup of ia64 unwind handler code.
* 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
Nick Clifton [Wed, 23 Aug 2000 19:46:57 +0000 (19:46 +0000)]
missed one...
From-SVN: r35921
Nick Clifton [Wed, 23 Aug 2000 19:37:09 +0000 (19:37 +0000)]
Replace upper case condition code strings with lower case.
From-SVN: r35920
Nick Clifton [Wed, 23 Aug 2000 19:28:44 +0000 (19:28 +0000)]
Replace STRUCT_VALUE_REGNUm by STRUCT_VALUE
From-SVN: r35919
Zack Weinberg [Wed, 23 Aug 2000 18:29:53 +0000 (18:29 +0000)]
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
Joseph Myers [Wed, 23 Aug 2000 17:32:50 +0000 (18:32 +0100)]
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
Mark Mitchell [Wed, 23 Aug 2000 17:12:23 +0000 (17:12 +0000)]
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
Alex Samuel [Wed, 23 Aug 2000 17:03:03 +0000 (17:03 +0000)]
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
Phil Edwards [Wed, 23 Aug 2000 16:42:12 +0000 (16:42 +0000)]
Dummy checkin of footer.html to force web sync.
From-SVN: r35914
Kaveh R. Ghazi [Wed, 23 Aug 2000 16:13:47 +0000 (16:13 +0000)]
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
Alexandre Oliva [Wed, 23 Aug 2000 16:13:42 +0000 (16:13 +0000)]
Added John David Anglin's name to patch for HP-UX bootstrap
From-SVN: r35912
Richard Earnshaw [Wed, 23 Aug 2000 15:15:21 +0000 (15:15 +0000)]
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
Bruce Korb [Wed, 23 Aug 2000 14:13:18 +0000 (14:13 +0000)]
Update to pthread and addition of sys/machine.h
From-SVN: r35910
Bruce Korb [Wed, 23 Aug 2000 14:08:57 +0000 (14:08 +0000)]
Fixed the test for aix_pthread
From-SVN: r35909
Eli Zaretskii [Wed, 23 Aug 2000 14:03:47 +0000 (17:03 +0300)]
Fix sed script for sysv86_string fix
From-SVN: r35908
Bruce Korb [Wed, 23 Aug 2000 13:58:08 +0000 (13:58 +0000)]
Added a line to the test base
From-SVN: r35907
Gabriel Dos Reis [Wed, 23 Aug 2000 09:31:12 +0000 (09:31 +0000)]
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
Alexandre Oliva [Wed, 23 Aug 2000 08:26:50 +0000 (08:26 +0000)]
* MAINTAINERS: Add self as a build machinery (*.in) maintainer.
From-SVN: r35905
Alexandre Oliva [Wed, 23 Aug 2000 07:59:06 +0000 (07:59 +0000)]
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
Jeff Law [Wed, 23 Aug 2000 07:45:07 +0000 (01:45 -0600)]
Daily bump.
From-SVN: r35903
Gabriel Dos Reis [Wed, 23 Aug 2000 06:36:15 +0000 (06:36 +0000)]
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
Phil Edwards [Wed, 23 Aug 2000 04:38:42 +0000 (04:38 +0000)]
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
John Wehle [Wed, 23 Aug 2000 03:54:23 +0000 (03:54 +0000)]
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
Kaveh R. Ghazi [Wed, 23 Aug 2000 01:00:52 +0000 (01:00 +0000)]
* c-parse.in (unop +): Restrict -Wtraditional warnings to user code.
From-SVN: r35899
DJ Delorie [Wed, 23 Aug 2000 00:21:46 +0000 (20:21 -0400)]
* MAINTAINERS: Add self as a build machinery (*.in) maintainer
From-SVN: r35898
Benjamin Kosnik [Tue, 22 Aug 2000 23:44:23 +0000 (23:44 +0000)]
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
J. David Anglin [Tue, 22 Aug 2000 23:13:12 +0000 (17:13 -0600)]
Forgot to commit.
From-SVN: r35896
Theodore Papadopoulo [Tue, 22 Aug 2000 22:54:15 +0000 (00:54 +0200)]
* decl2.c (arg_assoc): Revert my 2000-08-11 change.
From-SVN: r35895
J. David Anglin [Tue, 22 Aug 2000 22:29:08 +0000 (16:29 -0600)]
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
Gabriel Dos Reis [Tue, 22 Aug 2000 20:26:41 +0000 (20:26 +0000)]
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
J"orn Rennecke [Tue, 22 Aug 2000 20:24:10 +0000 (20:24 +0000)]
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
Gabriel Dos Reis [Tue, 22 Aug 2000 20:20:32 +0000 (20:20 +0000)]
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
Nick Clifton [Tue, 22 Aug 2000 19:50:12 +0000 (19:50 +0000)]
Use macros to replace duplicated bodies of assembler code.
From-SVN: r35890
Kaz Kojima [Tue, 22 Aug 2000 19:39:56 +0000 (04:39 +0900)]
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
Nick Clifton [Tue, 22 Aug 2000 19:37:02 +0000 (19:37 +0000)]
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
Alexandre Oliva [Tue, 22 Aug 2000 19:30:49 +0000 (19:30 +0000)]
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
David Edelsohn [Tue, 22 Aug 2000 19:27:31 +0000 (15:27 -0400)]
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
Geoff Berry [Tue, 22 Aug 2000 19:24:01 +0000 (19:24 +0000)]
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
Benjamin Kosnik [Tue, 22 Aug 2000 18:51:21 +0000 (18:51 +0000)]
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
Steven King [Tue, 22 Aug 2000 18:48:57 +0000 (18:48 +0000)]
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
Benjamin Kosnik [Tue, 22 Aug 2000 18:24:16 +0000 (18:24 +0000)]
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
Jason Merrill [Tue, 22 Aug 2000 18:16:12 +0000 (14:16 -0400)]
fix so failures are diagnosed
From-SVN: r35881
Jason Merrill [Tue, 22 Aug 2000 18:15:57 +0000 (14:15 -0400)]
tweak
From-SVN: r35880
Richard Henderson [Tue, 22 Aug 2000 18:12:15 +0000 (11:12 -0700)]
* flow.c (tidy_fallthru_edge): Update b->end properly.
From-SVN: r35879
Levente Farkas [Tue, 22 Aug 2000 17:29:57 +0000 (19:29 +0200)]
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
Brent Verner [Tue, 22 Aug 2000 17:22:38 +0000 (17:22 +0000)]
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
Stan Cox [Tue, 22 Aug 2000 16:16:20 +0000 (16:16 +0000)]
Makefile.in (OBJS): Add dependence.o.
* Makefile.in (OBJS): Add dependence.o.
* dependence.c: New file.
From-SVN: r35876
Alexandre Oliva [Tue, 22 Aug 2000 14:39:31 +0000 (14:39 +0000)]
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
Joseph Myers [Tue, 22 Aug 2000 14:06:57 +0000 (15:06 +0100)]
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
Richard Henderson [Tue, 22 Aug 2000 08:42:46 +0000 (01:42 -0700)]
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
Richard Henderson [Tue, 22 Aug 2000 08:41:02 +0000 (01:41 -0700)]
New test.
From-SVN: r35872
Benjamin Kosnik [Tue, 22 Aug 2000 08:19:00 +0000 (08:19 +0000)]
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
Benjamin Kosnik [Tue, 22 Aug 2000 08:18:10 +0000 (08:18 +0000)]
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: r35870
Alexandre Oliva [Tue, 22 Aug 2000 08:04:21 +0000 (08:04 +0000)]
(TYPE_RETURNS_STACK_DEPRESSED): Insert blank between
`FUNCTION_TYPE_CHECK' and `(NODE)'.
From-SVN: r35869
Jeff Law [Tue, 22 Aug 2000 07:45:08 +0000 (01:45 -0600)]
Daily bump.
From-SVN: r35868
Jeffrey A Law [Tue, 22 Aug 2000 07:44:51 +0000 (07:44 +0000)]
* protoize.c (munge_compile_params): Fix typo and formatting buglets.
From-SVN: r35867
Gabriel Dos Reis [Tue, 22 Aug 2000 06:54:54 +0000 (06:54 +0000)]
diagnostic.h (report_problematic_module): Declare.
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
Richard Kenner [Tue, 22 Aug 2000 06:24:13 +0000 (06:24 +0000)]
stmt.c (expand_goto_internal, [...]): Only check TYPE_RETURNS_STACK_DEPRESSED for FUNCTION_TYPE.
* stmt.c (expand_goto_internal, fixup_gotos): Only check
TYPE_RETURNS_STACK_DEPRESSED for FUNCTION_TYPE.
From-SVN: r35865
Alexandre Oliva [Tue, 22 Aug 2000 05:02:48 +0000 (05:02 +0000)]
config-ml.in (CC, CXX): Avoid trailing whitespace.
* config-ml.in (CC, CXX): Avoid trailing whitespace.
(LD_LIBRARY_PATH, SHLIB_PATH): Adjust for multilibs and export to
sub-configures.
From-SVN: r35864
Mark Wielaard [Tue, 22 Aug 2000 04:46:51 +0000 (04:46 +0000)]
Makefile.in: Rebuilt.
2000-08-21 Mark Wielaard <mark@klomp.org>
* Makefile.in: Rebuilt.
* Makefile.am (java/lang/reflect/Constructor.h): Declare Class as
a `friend class'.
(java/lang/reflect/Field.h): Likewise.
(java/lang/reflect/Method.h): Likewise.
(gnu/gcj/runtime/VMClassLoader.h): Declare ClassLoader as a
`friend class'.
From-SVN: r35863
Richard Henderson [Tue, 22 Aug 2000 00:44:09 +0000 (17:44 -0700)]
flow.c (calculate_global_regs_live): Mark frame pointer live everywhere before reload.
* flow.c (calculate_global_regs_live): Mark frame pointer live
everywhere before reload.
From-SVN: r35862
Jim Wilson [Tue, 22 Aug 2000 00:36:44 +0000 (00:36 +0000)]
Fix x86-x-ia64 cross compiler build failure.
* real.c (ereal_from_int, ereal_from_uint, significand_size): Handle
INTEL_EXTENDED_IEEE_FORMAT.
(toe64): Delete INTEL_EXTENDED_IEEE_FORMAT support. Unconditionally
clear last two bytes of output FP value.
From-SVN: r35861
Graham Stott [Tue, 22 Aug 2000 00:04:00 +0000 (00:04 +0000)]
Fix typos spotted by Graham Stott.
* config/ia64/ia64.h (REDO_SECTION_INFO_P): Change decl to DECL.
From-SVN: r35860
Tom Tromey [Mon, 21 Aug 2000 21:25:55 +0000 (21:25 +0000)]
ResourceBundle.java (trySomeGetBundle): Removed debugging prints.
* java/util/ResourceBundle.java (trySomeGetBundle): Removed
debugging prints.
From-SVN: r35859
Jakub Jelinek [Mon, 21 Aug 2000 19:58:35 +0000 (21:58 +0200)]
unroll.c (loop_find_equiv_value): If ret is modified between insn and loop_start, ret might not be equivalent to reg.
* unroll.c (loop_find_equiv_value): If ret is modified between
insn and loop_start, ret might not be equivalent to reg.
* gcc.c-torture/execute/
20000819-1.x: Remove.
From-SVN: r35857
Joseph Myers [Mon, 21 Aug 2000 19:38:35 +0000 (20:38 +0100)]
c-common.c (init_dollar_format_checking, [...]): New functions.
* c-common.c (init_dollar_format_checking,
maybe_read_dollar_number, finish_dollar_format_checking): New
functions.
(dollar_arguments_used, dollar_arguments_count,
dollar_first_arg_num, dollar_max_arg_used, dollar_format_warned):
New variables.
(check_format_info): Support $ formats for scanf and printf width
and precision. Always increment format_chars to advance past the
'*' of precision, not just when the format parameters are
available to check.
testsuite:
* gcc.dg/c90-printf-3.c, gcc.dg/c90-scanf-2.c,
gcc.dg/c90-scanf-3.c, gcc.dg/c90-scanf-4.c,
gcc.dg/c90-strftime-1.c, gcc.dg/c99-printf-3.c,
gcc.dg/c99-scanf-1.c, gcc.dg/c99-scanf-2.c, gcc.dg/c99-scanf-3.c,
gcc.dg/format-xopen-1.c: New tests.
From-SVN: r35856
Kaveh R. Ghazi [Mon, 21 Aug 2000 19:21:28 +0000 (19:21 +0000)]
Warning fixes:
* mips.c (block_move_loop, expand_block_move,
function_arg_partial_nregs, save_restore_insns, function_prologue,
mips_expand_prologue, RA_MASK): Avoid using the `U' integer
constant suffix.
(function_arg_advance, function_arg): Match argument to format
specifier `%p'.
From-SVN: r35855
Nix [Mon, 21 Aug 2000 18:12:36 +0000 (18:12 +0000)]
lang-specs.h: Do not process -o or run the assembler if -fsyntax-only.
* lang-specs.h: Do not process -o or run the assembler if
-fsyntax-only. Use %j instead of /dev/null.
From-SVN: r35854
Nix [Mon, 21 Aug 2000 18:12:24 +0000 (18:12 +0000)]
lang-specs.h: Do not process -o or run the assembler if -fsyntax-only.
* lang-specs.h: Do not process -o or run the assembler if
-fsyntax-only.
From-SVN: r35853
Nix [Mon, 21 Aug 2000 18:10:29 +0000 (18:10 +0000)]
lang-specs.h: Do not process -o or run the assembler if -fsyntax-only.
* lang-specs.h: Do not process -o or run the assembler if
-fsyntax-only.
From-SVN: r35852
DJ Delorie [Mon, 21 Aug 2000 18:06:49 +0000 (14:06 -0400)]
* MAINTAINERS: Add self as a libiberty maintainer
From-SVN: r35851
Jeff Law [Mon, 21 Aug 2000 18:05:49 +0000 (12:05 -0600)]
Forgot to commit with last change.
From-SVN: r35850
Jeff Law [Mon, 21 Aug 2000 18:01:51 +0000 (12:01 -0600)]
gcc.c (do_spec_1): Implement %j spec flag.
* gcc.c (do_spec_1): Implement %j spec flag.
Remove dead comment.
* gcc.texi (The Configuration File): Document HOST_BIT_BUCKET.
* system.h (HOST_BIT_BUCKET): Default to "/dev/null".
* config/i386/xm-dos.h (HOST_BIT_BUCKET): Define as "NUL".
* config/i386/xm-os2.h, config/winnt/winnt.h: Likewise.
* protoize.c (munge_compile_params): Use HOST_BIT_BUCKET (if
writable) instead of hardcoded value.
* toplev.c (compile_file): Output to a file even if -fsyntax-only.
* gcc.c, config/i386/xm-dos.h, config/i386/xm-os2.h: Kill
MKTEMP_EACH_FILE.
* gcc.c (cc1_options): Do not process -o or
run the assembler if -fsyntax-only.
From-SVN: r35849
Eli Zaretskii [Mon, 21 Aug 2000 16:28:18 +0000 (19:28 +0300)]
prevent the deletion of a file before it is read on DOS
From-SVN: r35848
Bruce Korb [Mon, 21 Aug 2000 16:17:35 +0000 (16:17 +0000)]
Makefile for i?86-pc-msdosdjgpp
From-SVN: r35847
Jakub Jelinek [Mon, 21 Aug 2000 15:10:42 +0000 (17:10 +0200)]
i386.md (lea_general_1): Copy insn condition to split condition.
* config/i386/i386.md (lea_general_1): Copy insn condition to split
condition.
(lea_general_2, lea_general_3): Likewise.
From-SVN: r35846
Kaveh R. Ghazi [Mon, 21 Aug 2000 14:54:28 +0000 (14:54 +0000)]
c-decl.c (duplicate_decls, [...]): Restrict -Wtraditional warnings to user code.
* c-decl.c (duplicate_decls, define_label): Restrict -Wtraditional
warnings to user code.
* c-lex.c (readescape, yylex): Likewise.
* c-typeck.c (store_init_value, process_init_element): Likewise
(c_expand_start_case): Format.
From-SVN: r35845
Maciej W. Rozycki [Mon, 21 Aug 2000 14:35:29 +0000 (16:35 +0200)]
linux.h (LINK_SPEC): Use %(endian_spec).
* mips/linux.h (LINK_SPEC): Use %(endian_spec).
* mips/mips.h: Change LINKER_ENDIAN_SPEC to ENDIAN_SPEC
and linker_endian_spec to endian_spec.
(ENDIAN_SPEC): Add %{EB} and %{EL}.
(LINK_SPEC): Remove %{EB} and %{EL}.
(ASM_SPEC): Likewise. Use %(endian_spec).
From-SVN: r35844
Joseph Myers [Mon, 21 Aug 2000 14:30:38 +0000 (15:30 +0100)]
c-tree.h (flag_hosted): Move declaration from here...
* c-tree.h (flag_hosted): Move declaration from here...
* c-common.h (flag_hosted): ... to here.
(flag_noniso_default_format_attributes): New declaration.
* c-decl.c (flag_noniso_default_format_attributes): New variable.
(c_decode_option): Set it appropriately for options choosing
language standard variant.
* c-common.c (init_function_format_info): Only provide default
format attributes if flag_hosted. Only provide the gettext
formats if flag_noniso_default_format_attributes. Update
comments.
(check_format_info): Disable treatment of %a as a scanf flag in
C99 mode.
cp:
* decl.c (flag_hosted, flag_noniso_default_format_attributes): New
variables.
* decl2.c (lang_decode_option): Disable gettext attributes for
-ansi.
From-SVN: r35843
Joseph Myers [Mon, 21 Aug 2000 14:22:44 +0000 (15:22 +0100)]
c-common.c (scan_char_table): Add 'w' to flags for all formats except 'n'.
* c-common.c (scan_char_table): Add 'w' to flags for all formats
except 'n'.
(check_format_info): Set 'wide' for scanf format widths. Warn for
a zero scanf width. Make the check for writing into a constant
object at the first level of indirection; at later levels, warn if
any type qualifiers are encountered.
testsuite:
* gcc.dg/c90-scanf-1.c, gcc.dg/c94-scanf-1.c: New tests.
From-SVN: r35842
Jeffrey A Law [Mon, 21 Aug 2000 13:46:47 +0000 (13:46 +0000)]
reload.c (reload_inner_reg_of_subreg): New function broken out of push_reload.
* reload.c (reload_inner_reg_of_subreg): New function broken out of
push_reload.
(push_reload): Use reload_inner_reg_of_subreg.
(combine_reloads): Do not combine reloads if the input reload
is a SUBREG in which the inner part will need reloading.
From-SVN: r35841