]>
gcc.gnu.org Git - gcc.git/log
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
Jeffrey A Law [Mon, 21 Aug 2000 13:42:29 +0000 (13:42 +0000)]
global.c (global_alloc): Avoid passing dumpfile argument to reload routines.
* global.c (global_alloc): Avoid passing dumpfile argument to
reload routines.
* toplev.c (rest_of_compilation): Likewise.
* reload.h (reload): Remove dumpfile argument. Callers changed.
(debug_reload, debug_reload_to_stream): Move prototypes here.
* rtl.h (reload): Remove dumpfile argument.
* reload.c (debug_reload): Remove prototype.
(debug_reload_to_stream): Likewise.
* reload1.c: Avoid passing dumpfile around, rely on rtl_dump_file
instead.
From-SVN: r35840
Jakub Jelinek [Mon, 21 Aug 2000 13:04:38 +0000 (15:04 +0200)]
* g++.old-deja/g++.other/loop2.C: New test.
From-SVN: r35839
Gabriel Dos Reis [Mon, 21 Aug 2000 11:29:16 +0000 (11:29 +0000)]
Fix thinko.
From-SVN: r35838
Gabriel Dos Reis [Mon, 21 Aug 2000 10:45:26 +0000 (10:45 +0000)]
* bits/std_cmath.h (std::abs): Overload for int and long.
From-SVN: r35837
Gabriel Dos Reis [Mon, 21 Aug 2000 10:14:18 +0000 (10:14 +0000)]
diagnostic.c (context_as_prefix): Export.
* diagnostic.c (context_as_prefix): Export.
(need_error_newline): Remove.
(lang_diagnostic_starter, lang_diagnostic_finalizer): New objects.
(error_module_changed, record_last_error_module,
error_function_changed, record_last_error_function): New functions.
(initialize_diagnostics): Default intialize
lang_diagnostic_starter, lang_diagnostic_finalizer.
(init_output_buffer): Tweak.
(file_name_as_prefix): New function.
(announce_function, default_print_error_function,
report_error_function, set_diagnostic_context): Tweak.
cp/
* lex.c (lang_init_options): Default diagnostic message maximum
length to 80, when line-wrapping.
From-SVN: r35836
Richard Earnshaw [Mon, 21 Aug 2000 09:18:05 +0000 (09:18 +0000)]
flow.c (init_propagate_block_info): Handle SUBREG in a jump condition expression.
* flow.c (init_propagate_block_info): Handle SUBREG in a jump
condition expression.
From-SVN: r35835
Jakub Jelinek [Mon, 21 Aug 2000 08:30:38 +0000 (10:30 +0200)]
20000606 -1.c: New test.
* gcc.c-torture/compile/
20000606 -1.c: New test.
* gcc.c-torture/compile/
20000728 -1.c: New test.
* gcc.c-torture/execute/
20000801 -1.c: New test.
* gcc.c-torture/execute/
20000801 -2.c: New test.
* gcc.c-torture/execute/
20000819 -1.c: New test.
* gcc.c-torture/execute/
20000819 -1.x: XFAIL.
* gcc.dg/
20000629 -1.c: New test.
* gcc.dg/
20000724 -1.c: New test.
* gcc.dg/
20000807 -1.c: New test.
From-SVN: r35834
Jeff Law [Mon, 21 Aug 2000 07:45:08 +0000 (01:45 -0600)]
Daily bump.
From-SVN: r35833
Jakub Jelinek [Mon, 21 Aug 2000 07:44:02 +0000 (09:44 +0200)]
* lang-specs.h: Pass -I* options to f771.
From-SVN: r35832
Benjamin Kosnik [Mon, 21 Aug 2000 07:11:38 +0000 (07:11 +0000)]
string-inst.cc: Tweak instantiations for new-gxx-abi.
2000-08-20 Benjamin Kosnik <bkoz@gnu.org>
* src/string-inst.cc: Tweak instantiations for new-gxx-abi.
From-SVN: r35831
Anthony Green [Mon, 21 Aug 2000 06:07:51 +0000 (06:07 +0000)]
Fixed typo in ChangeLog
From-SVN: r35830
Anthony Green [Mon, 21 Aug 2000 06:05:20 +0000 (06:05 +0000)]
natSystem.cc (init_properties): Change sourceware reference to sources.redhat.com.
Sun Aug 20 21:02:48 2000 Anthony Green <green@redhat.com>
* java/lang/natSystem.cc (init_properties): Change sourceware
reference to sources.redhat.com.
* include/java-props.h: Add _Jv_Jar_Class_Path.
* prims.cc: Ditto. Set it from `gij -jar file' option.
* java/lang/natSystem.cc (init_properties): Set java.class.path
from
{gij -jar file}:{CLASSPATH variable}:{-Djava.class.path= or .}
* java/util/PropertyPermission.java: Import from GNU Classpath.
* Makefile.in: Rebuilt.
* Makefile.am: Add java/util/PropertyPermission.java.
* java/lang/System.java: Add setProperty method.
* gij.cc (main): Add -jar option to execute jar files.
(help): Describe -jar option.
* prims.cc (_Jv_RunMain): Add support for jar execution mode.
* gnu/gcj/tools/Gij.java: New file.
* include/jvm.h: Add is_jar argument to _Jv_RunMain.
* gnu/gcj/runtime/FirstThread.java (main): New method.
* java/util/jar/Attributes.java: Correct comment spelling.
From-SVN: r35829
Mark Mitchell [Mon, 21 Aug 2000 04:39:29 +0000 (04:39 +0000)]
class.c (build_vtbl_initializer): Clear the entire vtbl_init_data.
* class.c (build_vtbl_initializer): Clear the entire
vtbl_init_data. Start keeping track of the functions for which we
have created vcall offsets here.
(dfs_build_vcall_offset_vtbl_entries): Remove.
(build_vcall_offset_vtbl_entries): Reimplement.
(add_vcall_offset_vtbl_entries_r): New function.
(add_vcall_offset_vtbl_entries_1): Likewise. Tweak logic for
computing when vcall offsets are necessary.
From-SVN: r35828
Richard Henderson [Sun, 20 Aug 2000 22:16:32 +0000 (15:16 -0700)]
* flow.c (merge_blocks_nomove): Don't seek back past the bb note.
From-SVN: r35827
Mark Wielaard [Sun, 20 Aug 2000 21:51:19 +0000 (21:51 +0000)]
Adler32.java: Make private variables really private
2000-08-20 Mark Wielaard <mark@klomp.org>
* java/util/zip/Adler32.java: Make private variables really private
* java/util/zip/CRC32.java: Make private variables really private
* java/util/zip/CheckedInputStream.java: skip() could skip to much bytes
* java/util/zip/InflaterInputStream.java: skip() could skip to much bytes
* java/util/zip/ZipEntry.java: setCompressedSize() didn't check input
* java/util/zip/ZipFile.java: size() new 1.2 method
* java/util/zip/ZipInputStream.java: Use createZipEntry not new ZipEntry.
since 1.2 available() always returns just 1 or 0 when closed
From-SVN: r35826
Zack Weinberg [Sun, 20 Aug 2000 21:36:18 +0000 (21:36 +0000)]
[multiple changes]
2000-08-20 Zack Weinberg <zack@wolery.cumb.org>
* cppinit.c (cpp_init): Set global flag when called.
(cpp_reader_init): Bomb out if cpp_init hasn't been called.
Sun Aug 20 01:41:35 MSD 2000 Dennis Chernoivanov <cdi@sparc.spb.su>
* cpplex.c (cpp_scan_buffer): Move `output_line_command' just
before `process_directive' so that newlines won't be missed
for directives.
(cpp_printf): Increment `print->lineno' when newline is emitted.
* cppmain.c (cb_ident): Likewise.
(cb_define): Likewise.
(cb_undef): Likewise.
(cb_include): Likewise.
(cb_def_pragma): Likewise.
(dump_macros_helper): Likewise.
* gcc.dg/cpp/pragma-1.c: New test.
* gcc.dg/cpp/pragma-2.c: New test.
From-SVN: r35825
Anthony Green [Sun, 20 Aug 2000 19:40:25 +0000 (19:40 +0000)]
JarFile.java: Don't call java.util.zip.ZipFile.getEntry twice.
* java/util/jar/JarFile.java: Don't call
java.util.zip.ZipFile.getEntry twice. From Mark Wielaard
<mark@klomp.org>.
From-SVN: r35824
Richard Henderson [Sun, 20 Aug 2000 19:03:03 +0000 (12:03 -0700)]
ia64.c (emit_insn_group_barriers): Stop if ar.lc assigned before a loop.
* config/ia64/ia64.c (emit_insn_group_barriers): Stop if ar.lc
assigned before a loop.
* config/ia64/ia64.md (ashlsi3): Zero extend the shift count.
(ashrsi3, lshrsi3): Likewise.
From-SVN: r35823
Anthony Green [Sun, 20 Aug 2000 17:54:56 +0000 (17:54 +0000)]
Oops. Forgot some notes.
From-SVN: r35822
Anthony Green [Sun, 20 Aug 2000 17:49:12 +0000 (17:49 +0000)]
URLClassLoader.java: Find the JarEntry via the JarFile.
Sun Aug 20 09:51:48 2000 Anthony Green <green@redhat.com>
* java/net/URLClassLoader.java: Find the JarEntry via the JarFile.
* java/net/JarURLConnection.java: getEntry doesn't take any
arguments. Return null if element is null.
* java/util/zip/ZipFile.java (getInputStream): Read the compressed
size from the archive, not the inflated size.
* java/util/jar/JarFile.java (getEntry): Don't recurse. Call
java.util.zip.ZipFile.getEntry.
* gij.cc (help): Change sourceware reference to
sources.redhat.com.
From-SVN: r35821
Tom Tromey [Sun, 20 Aug 2000 16:28:48 +0000 (16:28 +0000)]
re GNATS gcj/305 (Interface methods implementations not always checked)
* parse.y (check_abstract_method_definitions): Now return `int'.
Check implemented interfaces. Fixes PR gcj/305.
From-SVN: r35820
Tom Tromey [Sun, 20 Aug 2000 16:24:31 +0000 (16:24 +0000)]
re GNATS gcj/310 (illegal type "long" accepted for "switch" expression)
* parse.y (patch_switch_statement): Disallow `long' in switch
expressions. Fixes PR gcj/310.
From-SVN: r35819
Gabriel Dos Reis [Sun, 20 Aug 2000 14:57:16 +0000 (14:57 +0000)]
c-lang.c: #include diagnostic.h
* c-lang.c: #include diagnostic.h
(c_tree_printer): New function.
(lang_init): Initialize lang_printer.
* Makefile.in (c-lang.o): Depends on diagnostic.h
From-SVN: r35818
Gabriel Dos Reis [Sun, 20 Aug 2000 09:50:12 +0000 (09:50 +0000)]
c-errors.c (pedwarn_c99): Adjust call to report_diagnostic.
* c-errors.c (pedwarn_c99): Adjust call to report_diagnostic.
* diagnostic.c (default_diagnostic_starter,
default_diagnostic_finalizer): New functions.
(diagnostic_for_asm, diagnostic_for_decl): Tweak.
(pedwarn, pedwarn_with_file_and_line, error,
error_with_file_and_line, fatal, warning,
warning_with_file_and_line): Adjust call to report_diagnostic.
(report_diagnostic): Rework.
(set_diagnostic_context): New function.
* diagnostic.h (struct diagnostic_context): New data structure.
(diagnostic_message, diagnostic_argument_list,
diagnostic_file_location, diagnostic_line_location,
diagnostic_is_warning, diagnostic_starter, diagnostic_finalizer,
diagnostic_finalizer, diagnostic_auxiliary_data): New macros.
(set_diagnostic_context): Declare.
(report_diagnostic): Change prototype.
From-SVN: r35817
Neil Booth [Sun, 20 Aug 2000 08:33:52 +0000 (08:33 +0000)]
* fix-header.c (read_scan_file): Initialize cpplib.
From-SVN: r35816
Neil Booth [Sun, 20 Aug 2000 08:28:45 +0000 (08:28 +0000)]
* fix-header.c (main): Initialize cpplib.
From-SVN: r35815
Jeff Law [Sun, 20 Aug 2000 07:45:07 +0000 (01:45 -0600)]
Daily bump.
From-SVN: r35814
Michael Meissner [Sun, 20 Aug 2000 01:32:44 +0000 (01:32 +0000)]
Make sure THEN block has any insns at before testing for indirect jump
From-SVN: r35813
Michael Meissner [Sat, 19 Aug 2000 22:32:11 +0000 (22:32 +0000)]
Do not consider a THEN block ending in an indirect jump for conditional compilation; Fix d30v warning
From-SVN: r35812
Neil Booth [Sat, 19 Aug 2000 20:13:06 +0000 (20:13 +0000)]
* cpp.texi: Add @section for assertions.
From-SVN: r35811
Tom Tromey [Sat, 19 Aug 2000 19:54:36 +0000 (19:54 +0000)]
ZipInputStream.java (createZipEntry): Implemented.
* java/util/zip/ZipInputStream.java (createZipEntry):
Implemented.
From-SVN: r35810
Anthony Green [Sat, 19 Aug 2000 18:19:42 +0000 (18:19 +0000)]
Attributes.java, [...]: Imported from Classpath.
Sat Aug 19 11:00:53 2000 Anthony Green <green@redhat.com>
* java/util/jar/Attributes.java, java/util/jar/JarEntry.java,
java/util/jar/JarException.java, java/util/jar/JarFile.java,
java/util/jar/JarInputStream.java,
java/util/jar/JarOutputStream.java, java/util/jar/Manifest.java,
java/util/Set.java, java/util/Map.java, java/util/Bucket.java,
java/util/AbstractSet.java, java/util/BasicMapEntry.java,
java/security/cert/CRL.java, java/security/cert/CRLException.java,
java/security/cert/Certificate.java,
java/security/cert/CertificateEncodingException.java,
java/security/cert/CertificateException.java,
java/security/cert/CertificateExpiredException.java,
java/security/cert/CertificateFactory.java,
java/security/cert/CertificateFactorySpi.java,
java/security/cert/CertificateNotYetValidException.java,
java/security/cert/CertificateParsingException.java,
java/security/cert/X509CRL.java,
java/security/cert/X509CRLEntry.java,
java/security/cert/X509Certificate.java,
java/security/cert/X509Extension.java: Imported from Classpath.
* java/util/Hashtable.java: Imported from Classpath.
* java/util/zip/ZipInputStream.java: Create stub for
createZipEntry.
* gcj/javaprims.h: Updated class list.
* Makefile.in, gcj/Makefile.in: Rebuilt.
* Makefile.am (ordinary_java_source_files): Add these new classes.
From-SVN: r35809
John Wehle [Sat, 19 Aug 2000 16:34:44 +0000 (16:34 +0000)]
loop.c (scan_loop): Use CONST_CALL_P instead of checking for REG_LIBCALL / REG_RETVAL.
* loop.c (scan_loop): Use CONST_CALL_P instead of
checking for REG_LIBCALL / REG_RETVAL.
From-SVN: r35808
Jeffrey A Law [Sat, 19 Aug 2000 15:49:01 +0000 (15:49 +0000)]
reload1.c (reload_as_needed): Accept dumpfile argument, pass it to emit_reload_insns.
* reload1.c (reload_as_needed): Accept dumpfile argument,
pass it to emit_reload_insns.
(emit_reload_insns): Add new dumpfile argument. If non-null
then dump the reloads for each insn into the dumpfile.
(reload): Pass dumpfile to reload_as_needed.
From-SVN: r35807
Jeffrey A Law [Sat, 19 Aug 2000 15:20:01 +0000 (15:20 +0000)]
* invoke.texi: Clean up linux-gnu vs linux comments.
From-SVN: r35806
Toon Moene [Sat, 19 Aug 2000 13:20:07 +0000 (15:20 +0200)]
top.c (ffe_decode_option): Disable -fdebug-kludge and warn about it.
2000-08-19 Toon Moene <toon@moene.indiv.nluug.nl>
* top.c (ffe_decode_option): Disable -fdebug-kludge
and warn about it.
* lang-options.h: Document the fact.
* g77.texi: Ditto.
From-SVN: r35805
Gabriel Dos Reis [Sat, 19 Aug 2000 11:28:22 +0000 (11:28 +0000)]
valarray_array.h (__valarray_min, [...]): Fix thinko.
* bits/valarray_array.h (__valarray_min, __valarray_max): Fix
thinko. Diagnostic messages really need to be improved for
template argument deduction.
From-SVN: r35804
Jeff Law [Sat, 19 Aug 2000 07:45:07 +0000 (01:45 -0600)]
Daily bump.
From-SVN: r35803
Richard Henderson [Sat, 19 Aug 2000 07:15:08 +0000 (00:15 -0700)]
ia64.c (reg_or_5bit_operand): New.
* config/ia64/ia64.c (reg_or_5bit_operand): New.
(ia64_depz_field_mask): New.
* config/ia64/ia64.h (CONSTRAINT_OK_FOR_R): New.
(PREDICATE_CODES): Update.
* config/ia64/ia64.md: Update commentary.
(depz_internal): New.
(ashlsi3): Implement directly.
(ashrsi3, lshrsi3): Simplify; rely on extv and extzv for constants.
(ashldi3): Use shladd.
* config/ia64/ia64-protos.h: Update.
From-SVN: r35802
Zack Weinberg [Sat, 19 Aug 2000 05:25:00 +0000 (05:25 +0000)]
lexstrng.c: Don't include string.h.
* gcc.dg/cpp/lexstrng.c: Don't include string.h.
* gcc.dg/cpp/paste2.c: Don't include string.h. Prototype strcmp.
From-SVN: r35801
Zack Weinberg [Sat, 19 Aug 2000 01:31:47 +0000 (01:31 +0000)]
toplev.c (independent_decode_option): Always process -g.
* toplev.c (independent_decode_option): Always process -g.
Remove third argument, now unused. Adjust caller to match.
From-SVN: r35800
Richard Henderson [Sat, 19 Aug 2000 00:45:47 +0000 (17:45 -0700)]
combine.c (make_compound_operation): Break after creating the extraction.
* combine.c (make_compound_operation): Break after creating
the extraction.
From-SVN: r35799
Zack Weinberg [Fri, 18 Aug 2000 22:42:14 +0000 (22:42 +0000)]
cpplib.c (cpp_register_pragma_space): Just return if the namespace is already registered.
* cpplib.c (cpp_register_pragma_space): Just return if the
namespace is already registered.
From-SVN: r35798
Ray Essick [Fri, 18 Aug 2000 21:11:23 +0000 (21:11 +0000)]
Only allow allow rotations by a constant amount.
Do not generate ROTL instruction.
From-SVN: r35797
Richard Kenner [Fri, 18 Aug 2000 20:52:28 +0000 (20:52 +0000)]
stor-layout.c (compute_record_type): Don't use mode of single field as mode of record if not integer mode of same type.
* stor-layout.c (compute_record_type): Don't use mode of single
field as mode of record if not integer mode of same type.
From-SVN: r35796
Richard Kenner [Fri, 18 Aug 2000 20:45:02 +0000 (16:45 -0400)]
* gcc.c-torture/compile/
20000818 -1.c: New test.
From-SVN: r35795
Richard Kenner [Fri, 18 Aug 2000 20:43:34 +0000 (16:43 -0400)]
New test
From-SVN: r35794
Alexandre Oliva [Fri, 18 Aug 2000 19:39:52 +0000 (19:39 +0000)]
elf.h: Do not include sh/sh.h.
* config/sh/elf.h: Do not include sh/sh.h.
* config/sh/rtems.h: Likewise.
* config/sh/rtemself.h: Do not include sh/elf.h.
* configure.in: Get them included with `tm_file's.
* configure: Rebuilt.
From-SVN: r35793
This page took 0.096019 seconds and 5 git commands to generate.