]> gcc.gnu.org Git - gcc.git/log
gcc.git
22 years ago* tree.h: Guard against multiple inclusion.
Gabriel Dos Reis [Wed, 14 Aug 2002 02:15:40 +0000 (02:15 +0000)]
* tree.h: Guard against multiple inclusion.

From-SVN: r56269

22 years agoFix for PR libgcj/7570 and PR libgcj/7578:
Jesse Rosenstock [Wed, 14 Aug 2002 01:07:59 +0000 (01:07 +0000)]
Fix for PR libgcj/7570 and PR libgcj/7578:

2002-08-13  Jesse Rosenstock  <jmr@ugcs.caltech.edu>

Fix for PR libgcj/7570 and PR libgcj/7578:
* java/lang/natPosixProcess.cc: Include java/io/File.h.
(startProcess): Handle new `dir' argument.
* java/lang/Win32Process.java (ConcreteProcess): Added `dir'
argument.
* java/lang/PosixProcess.java (ConcreteProcess): Added `dir'
argument.
(startProcess): Likewise.
* java/lang/EcosProcess.java (ConcreteProcess): Added `dir'
argument.
* java/lang/Runtime.java (execInternal): Added `dir' argument.
(exec): Don't create new environment if ENV==null.  Pass DIR to
execInternal.
* java/lang/natRuntime.cc: Include java/io/File.h.
(execInternal): Added `dir' argument.

From-SVN: r56268

22 years agoreload1.c (reload_cse_simplify): Before checking REG_FUNCTION_VALUE_P, check REG_P.
Hans-Peter Nilsson [Wed, 14 Aug 2002 00:49:08 +0000 (00:49 +0000)]
reload1.c (reload_cse_simplify): Before checking REG_FUNCTION_VALUE_P, check REG_P.

* reload1.c (reload_cse_simplify): Before checking
REG_FUNCTION_VALUE_P, check REG_P.

From-SVN: r56267

22 years ago* Makefile.in (attribs.o): Remove $(OBSTACK_H) dependency.
Geoffrey Keating [Tue, 13 Aug 2002 23:11:37 +0000 (23:11 +0000)]
* Makefile.in (attribs.o): Remove $(OBSTACK_H) dependency.

From-SVN: r56266

22 years agoRandomAccessFile.java (skipBytes): Return number of bytes skipped.
Jesse Rosenstock [Tue, 13 Aug 2002 23:10:11 +0000 (23:10 +0000)]
RandomAccessFile.java (skipBytes): Return number of bytes skipped.

2002-08-13  Jesse Rosenstock  <jmr@fulcrummicro.com>

* java/io/RandomAccessFile.java (skipBytes): Return number of
bytes skipped.

From-SVN: r56265

22 years agoFor PR java/7483:
Jesse Rosenstock [Tue, 13 Aug 2002 22:29:23 +0000 (22:29 +0000)]
For PR java/7483:

2002-08-13  Jesse Rosenstock  <jmr@fulcrummicro.com>

For PR java/7483:
* parse.y (build_assertion): Invert return from
desiredAssertionStatus.

From-SVN: r56264

22 years agoopts.c (c_common_init_options): Extra braces needed.
Neil Booth [Tue, 13 Aug 2002 19:30:33 +0000 (19:30 +0000)]
opts.c (c_common_init_options): Extra braces needed.

From-SVN: r56262

22 years agosh.c (sh_init_builtins): Add PARAMS to declaration.
J"orn Rennecke [Tue, 13 Aug 2002 16:52:27 +0000 (16:52 +0000)]
sh.c (sh_init_builtins): Add PARAMS to declaration.

* sh.c (sh_init_builtins): Add PARAMS to declaration.
(sh_media_init_builtins, sh_expand_builtin): Likewise.
(sh_expand_unop_v2sf): Use PARAMS for variable declaration.
(sh_expand_binop_v2sf): Likewise.
* sh-protos.h (sh_expand_unop_v2sf): Add PARAMS to declaration.
(sh_expand_binop_v2sf, sh_cfun_interrupt_handler_p): Likewise.
(sh_initialize_trampoline): Likewise.

From-SVN: r56259

22 years agodecl.c (pushdecl_class_level): Honor requests to bind names to OVERLOADs.
Mark Mitchell [Tue, 13 Aug 2002 16:36:26 +0000 (16:36 +0000)]
decl.c (pushdecl_class_level): Honor requests to bind names to OVERLOADs.

* decl.c (pushdecl_class_level): Honor requests to bind names to
OVERLOADs.

From-SVN: r56258

22 years agodocumentation.html: Use HTML entities for punctuation.
Jonathan Wakely [Tue, 13 Aug 2002 16:26:13 +0000 (16:26 +0000)]
documentation.html: Use HTML entities for punctuation.

2002-08-13  Jonathan Wakely  <jw@kayari.org>
            Phil Edwards  <pme@gcc.gnu.org>

* docs/html/documentation.html:  Use HTML entities for punctuation.

Co-Authored-By: Phil Edwards <pme@gcc.gnu.org>
From-SVN: r56257

22 years agos390-modes.def [...]: Declare new condition code modes.
Ulrich Weigand [Tue, 13 Aug 2002 16:02:52 +0000 (16:02 +0000)]
s390-modes.def [...]: Declare new condition code modes.

* s390-modes.def [CCL1, CCL2, CCT1, CCT2, CCT3, CCUR, CCSR]: Declare
new condition code modes.
s390.c (s390_match_ccmode_set): Handle those new CC modes.
(s390_select_ccmode): Likewise.
(s390_branch_condition_mask): Likewise.

* s390-protos.h (s390_tm_ccmode): Declare.
s390.c (s390_tm_ccmode): New function.
(s390_match_ccmode): Allow VOIDmode as REQ_MODE.

* s390.md ("*cmpdi_tm2"): Rename to "*tmdi_ext".
("*cmpsi_tm2"): Rename to "*tmsi_ext".
("*cmpqi_tm2"): Rename to "*tmqi_ext".

("*cmpdi_tm_reg", "*cmpdi_tm_mem", "*cmpsi_tm_reg", "*cmpsi_tm_mem",
"*cmphi_tm_sub","*cmphi_cct_0",  "*cmpqi_tm", "*cmpqi_tm_sub",
"*cmpqi_cct_0", "*tm_0"): Remove, replace by ...
("*tmdi_reg", "*tmsi_reg", "*tmdi_mem", "*tmsi_mem", "*tmhi_mem",
"*tmqi_mem", "*tmhi_full", "*tmqi_full"): ... these new patterns.

("*ltgr", "*cmpdi_ccs_0_64", "*cmpdi_ccs_0_31", "*ltr", "*icm15",
"*icm15_cconly", "*cmpsi_ccs_0", "*icm3", "*cmphi_ccs_0", "*icm1",
"*cmpqi_ccs_0"): Remove, replace by ...
("*tstdi_sign", "*tstdi", "*tstdi_cconly", "*tstdi_cconly_31",
"*tstsi", "*tstsi_cconly", "*tstsi_cconly2", "*tsthi", "*tsthi_cconly",
"*tstqi", "*tstqi_cconly"): ... these new patterns.

("*cmpsidi_ccs"): Remove, replace by ...
("*cmpsi_ccs_sign"): ... this new pattern.
("*cmpdi_ccs_sign", "*cmpdi_ccu_zero"): New patterns.

("*cmpqi_ccu_0", "*cmpqi_ccu_immed"): Remove, replace by ...
("*cli"): ... this new pattern.

("*adddi3_sign", "*adddi3_zero_cc", "*adddi3_zero_cconly",
"*adddi3_zero", "*adddi3_cc", "*adddi3_cconly", "*adddi3_cconly2"):
New patterns.
("adddi3_64"): Rename to "*adddi3_64".
("adddi3_31"): Replace by insn and splitter "*adddi3_31".
("adddi3"): Adapt expander.

("*addsi3_cc"): Allow "general_operand" for operand 2.
("*addsi3_carry1_cc", "*addsi3_carry1_cconly",
"*addsi3_carry2_cc", "*addsi3_carry2_cconly"): New patterns.

("addhi3", "addqi3"): Remove, replace by ...
("*addsi3_sign", "*addsi3_sub"): ... these new patterns.

("*subdi3_sign", "*subdi3_zero_cc", "*subdi3_zero_cconly",
"*subdi3_zero", "*subdi3_cc", "*subdi3_cconly"): New patterns.
("subdi3"): Replace by insn and splitter "*subdi3_31".
("subdi3"): New expander.

("*subsi3_borrow_cc", "*subsi3_borrow_cconly"): New patterns.

("subhi3", "subqi3"): Remove, replace by ...
("*subsi3_sign", "*subsi3_sub"): ... these new patterns.

("*muldi3_sign"): New pattern.
("muldi3"): Do not clobber CC.
("mulsi3"): Likewise.
("mulsi_6432"): Likewise.

From-SVN: r56256

22 years agoavr.md: Call CC_STATUS_INIT in all peepnoles which can change CC0.
Denis Chertykov [Tue, 13 Aug 2002 14:06:56 +0000 (14:06 +0000)]
avr.md: Call CC_STATUS_INIT in all peepnoles which can change CC0.

* config/avr/avr.md: Call CC_STATUS_INIT in all peepnoles
        which can change CC0.

From-SVN: r56253

22 years agogcse.c (adjust_libcall_notes): New function.
J"orn Rennecke [Tue, 13 Aug 2002 13:50:22 +0000 (13:50 +0000)]
gcse.c (adjust_libcall_notes): New function.

* gcse.c (adjust_libcall_notes): New function.
(do_local_cprop): Use it.  Add fourth parameter.  Changed caller.

From-SVN: r56252

22 years agoMake-lang.in (gnatbind$(exeext)): Link with $(SYSLIBS).
Rainer Orth [Tue, 13 Aug 2002 13:00:07 +0000 (13:00 +0000)]
Make-lang.in (gnatbind$(exeext)): Link with $(SYSLIBS).

* Make-lang.in (gnatbind$(exeext)): Link with $(SYSLIBS).
Remove $(CONFIG_H) dependency.

From-SVN: r56251

22 years agolibgcc2.c (L_bb): Remove unneeded #includes.
Nathan Sidwell [Tue, 13 Aug 2002 12:11:20 +0000 (12:11 +0000)]
libgcc2.c (L_bb): Remove unneeded #includes.

* libgcc2.c (L_bb): Remove unneeded #includes.
(__global_counters, __gthreads_active): Remove unused globals.
(__bb_exit_func): Merge counts into files rather than appending.
* Makefile.in (INTERNAL_CFLAGS): Move COVERAGE_FLAGS from here ...
(ALL_CFLAGS): ... to here.

From-SVN: r56250

22 years agoip2k.c (commands_in_file): Variable removed.
Denis Chertykov [Tue, 13 Aug 2002 09:58:37 +0000 (09:58 +0000)]
ip2k.c (commands_in_file): Variable removed.

* config/ip2k/ip2k.c (commands_in_file): Variable removed.
(function_epilogue): Don't calculate function size.
(ip2k_set_compare): Don't use lookup_const_double.
(asm_file_start): Initialization of commands_in_file removed.
(asm_file_end): Output of commands_in_file removed.

* config/ip2k/ip2k.c (CPP_PREDEFINES): Remove definition of
__INT_MAX__.

From-SVN: r56249

22 years agoFixes for treelang, mainly provide fake definition of rtx for parse.y includes.
Tim Josling [Tue, 13 Aug 2002 08:20:12 +0000 (08:20 +0000)]
Fixes for treelang, mainly provide fake definition of rtx for parse.y includes.

From-SVN: r56248

22 years agoDaily bump.
GCC Administrator [Tue, 13 Aug 2002 07:17:48 +0000 (07:17 +0000)]
Daily bump.

From-SVN: r56247

22 years agoc-opts.c (c_common_init_options): Check option array is sorted if checking enabled.
Neil Booth [Tue, 13 Aug 2002 06:48:18 +0000 (06:48 +0000)]
c-opts.c (c_common_init_options): Check option array is sorted if checking enabled.

* c-opts.c (c_common_init_options): Check option array is
sorted if checking enabled.

From-SVN: r56241

22 years agoc-pretty-print.c: #include "c-tree.h".
Gabriel Dos Reis [Tue, 13 Aug 2002 01:38:35 +0000 (01:38 +0000)]
c-pretty-print.c: #include "c-tree.h".

        * c-pretty-print.c: #include "c-tree.h".
        (pp_c_simple_type_specifier): Tweak.
        (pp_c_storage_class_specifier): New.
        (pp_c_function_specifier): Likewise.
        (pp_c_declaration_specifiers): Likewise.
        (pp_c_init_declarator): Likewise.
        (pp_c_declaration): Likewise.
        (pp_c_direct_declarator): Stub.
        (pp_c_declarator): Likewise.
        (pp_c_parameter_declaration): Likewise.

From-SVN: r56240

22 years agoc-opts.c (deps_seen, [...]): New.
Neil Booth [Mon, 12 Aug 2002 22:44:30 +0000 (22:44 +0000)]
c-opts.c (deps_seen, [...]): New.

* c-opts.c (deps_seen, deps_file, deferred_count, deferred_size,
handle_deferred_opts, sanitize_cpp_opts, defer_opt,
struct deferred_opt): New.
(COMMAND_LINE_OPTIONS): Add -M*.
(missing_arg): Update.
(c_common_decode_option): Handle -M*.
(c_common_post_options): Handle -M*.  Use sanitize_cpp_opts;
don't call cpp_post_options.
(c_common_finish, check_deps_environment_vars): Update.
* cppfiles.c (stack_include_file, handle_missing_header): Update.
* cpphash.h (CPP_PRINT_DEPS): Remove.
* cppinit.c: Don't include version.h.
(cpp_create_reader): Don't call deps_init.  Initialize
warn_long_long.
(cpp_read_main_file): Init deps if necessary.
(cpp_destroy): Conditionally free deps.
(cpp_finish): Update.
(no_tgt): Remove.
(COMMAND_LINE_OPTIONS, cpp_handle_option): Remove -M*.
(cpp_post_options): Rename post_options.
* cpplib.h (struct cpp_options): Remove some dependency options;
move others to a new structure.
(cpp_post_options): Remove.
(cpp_finish): Comment.
* fix-header.c (read_scan_file): Don't call cpp_post_options.
treelang:
* treelang.c: Remove cpp_post_options.

From-SVN: r56239

22 years agommix.md (define_constants): Add MMIX_rR_REGNUM.
Hans-Peter Nilsson [Mon, 12 Aug 2002 21:32:01 +0000 (21:32 +0000)]
mmix.md (define_constants): Add MMIX_rR_REGNUM.

* config/mmix/mmix.md (define_constants): Add MMIX_rR_REGNUM.
("divdi3", "*divdi3_nonknuth", "moddi3", "*moddi3_nonknuth"): Mark
MMIX_rR_REGNUM as clobbered.
* config/mmix/mmix.h (MMIX_REMAINDER_REGNUM): Use MMIX_rR_REGNUM.

From-SVN: r56238

22 years agodiagnostic.h (output_formatted_scalar): Rename from output_formatted_integer.
Gabriel Dos Reis [Mon, 12 Aug 2002 18:34:51 +0000 (18:34 +0000)]
diagnostic.h (output_formatted_scalar): Rename from output_formatted_integer.

        * diagnostic.h (output_formatted_scalar): Rename from
        output_formatted_integer.
        * diagnostic.def: Add DK_DEBUG.
        * diagnostic.c (output_decimal): Adjust.
        (output_long_decimal): Likewise.
        (output_unsigned_decimal): Likewise.
        (output_octal): Likewise.
        (output_long_octal): Likewise.
        (output_hexadecimal): Likewise.
        (output_long_hexadecimal): Likewise.
        * c-pretty-print.c (pp_c_type_specifier): New function.
        (pp_c_specifier_qualifier_list): Likewise.
        (pp_c_abstract_declarator): Likewise.
        (pp_c_char): Replace pp_format_integer with pp_format_scalar.

From-SVN: r56236

22 years ago- improve wording of previous change
David Edelsohn [Mon, 12 Aug 2002 18:25:54 +0000 (14:25 -0400)]
- improve wording of previous change

From-SVN: r56235

22 years agotrouble.texi (Disappointments): Add static constructor and destructor dependency...
David Edelsohn [Mon, 12 Aug 2002 18:21:26 +0000 (18:21 +0000)]
trouble.texi (Disappointments): Add static constructor and destructor dependency information for AIX.

* doc/trouble.texi (Disappointments): Add static constructor and
destructor dependency information for AIX.

From-SVN: r56234

22 years agocpphash.h (struct printer): New from cppmain.c.
Neil Booth [Mon, 12 Aug 2002 17:21:52 +0000 (17:21 +0000)]
cpphash.h (struct printer): New from cppmain.c.

* cpphash.h (struct printer): New from cppmain.c.
(cpp_reader): New member.
* cppmain.c (struct printer): Move to cpphash.h.
(options, print): Remove.
(account_for_newlines, print_line, maybe_print_line,
cpp_preprocess_file, setup_callbacks, scan_translation_unit,
scan_translation_unit_trad, cb_line_change, cb_ident,
cb_define, cb_undef, cb_include, cb_file_change, dump_macro,
cb_def_pragma): Make reentrant.

From-SVN: r56233

22 years agoreal.c (ieee_64): Always define.
Kaveh R. Ghazi [Mon, 12 Aug 2002 15:50:43 +0000 (15:50 +0000)]
real.c (ieee_64): Always define.

* real.c (ieee_64): Always define.
(ieee_113): Guard with INTEL_EXTENDED_IEEE_FORMAT == 0.
(dec_h): Not used yet, hide it.
(emdnorm): Mark parameter in ATTRIBUTE_UNUSED.  Guard label with
macro controlling use.
(TFbignan, TFlittlenan): Guard with INTEL_EXTENDED_IEEE_FORMAT == 0.

From-SVN: r56232

22 years agoi386.md (tablejump): Sign extend the operand.
Jan Hubicka [Mon, 12 Aug 2002 10:50:02 +0000 (12:50 +0200)]
i386.md (tablejump): Sign extend the operand.

* i386.md (tablejump): Sign extend the operand.
* i386.c (classify_argument): Fix missed case from previous patch.

From-SVN: r56231

22 years agoDaily bump.
GCC Administrator [Mon, 12 Aug 2002 07:17:19 +0000 (07:17 +0000)]
Daily bump.

From-SVN: r56230

22 years agoc-common.c (STDC_0_IN_SYSTEM_HEADERS, [...]): Move to c-copts.c.
Neil Booth [Mon, 12 Aug 2002 06:02:53 +0000 (06:02 +0000)]
c-common.c (STDC_0_IN_SYSTEM_HEADERS, [...]): Move to c-copts.c.

* c-common.c (STDC_0_IN_SYSTEM_HEADERS, c_common_init): Move
to c-copts.c.
(warn_multichar): Die.
(cb_register_builtins): Export.
* c-common.h (warn_multichar, preprocess_file): Remove.
(cb_register_builtins): New.
* c-lang.c (c_init): Remove.
(LANG_HOOKS_INIT): Use c_objc_common_init.
* c-lex.c (init_c_lex): Don't canonicalize filename.
* c-opts.c (in_fname, STDC_0_IN_SYSTEM_HEADERS): New.
(preprocess_file): Make static.  Update for cpplib.
(c_common_decode_option): Remove warn_multichar.  Use in_fname.
(c_common_post_options): Set some cpp options here.
(c_common_init): Move from c-common.c.
* cppinit.c (cpp_post_options): Don't canonicalize in_fname.
* cpplib.h (struct cpp_options): Remove in_fname.
(cpp_preprocess_file): Update.
* cppmain.c (cpp_preprocess_file): Update for new prototypes.

From-SVN: r56223

22 years ago* config.gcc (mips*-*-netbsd*): Include ${tm_file}.
Kaveh R. Ghazi [Mon, 12 Aug 2002 03:40:15 +0000 (03:40 +0000)]
* config.gcc (mips*-*-netbsd*): Include ${tm_file}.

From-SVN: r56222

22 years agoi370.h (TARGET_CPU_CPP_BUILTINS): Remove spurious trailing backslash in comment prece...
Kaveh R. Ghazi [Mon, 12 Aug 2002 03:10:43 +0000 (03:10 +0000)]
i370.h (TARGET_CPU_CPP_BUILTINS): Remove spurious trailing backslash in comment preceeding macro definition.

* i370.h (TARGET_CPU_CPP_BUILTINS): Remove spurious trailing
backslash in comment preceeding macro definition.
* i370/linux.h (TARGET_OS_CPP_BUILTINS): Likewise.
* i370/mvs.h (TARGET_OS_CPP_BUILTINS): Likewise.
* i370/oe.h (TARGET_OS_CPP_BUILTINS): Likewise.

From-SVN: r56221

22 years agoexpr.c (store_expr): In condition for checking if value is generated in TARGET...
Hans-Peter Nilsson [Mon, 12 Aug 2002 00:57:55 +0000 (00:57 +0000)]
expr.c (store_expr): In condition for checking if value is generated in TARGET...

* expr.c (store_expr): In condition for checking if value is
generated in TARGET, move call to expr_size last.

From-SVN: r56217

22 years agoc-common.c (c_common_init): Call preprocess_file instead.
Neil Booth [Sun, 11 Aug 2002 22:22:28 +0000 (22:22 +0000)]
c-common.c (c_common_init): Call preprocess_file instead.

* c-common.c (c_common_init): Call preprocess_file instead.
(c_common_finish): Move to c-opts.c.
* c-common.h (preprocess_file): new.
* c-opts.c (out_fname, out_stream, deps_append, preprocess_file,
check_deps_environment_vars, c_common_finish): New.
(c_common_decode_option): Update for out_fname and dependencies.
* cppinit.c (init_dependency_output, output_deps): Remove.
(cpp_destroy): Update prototype.
(cpp_add_dependency_target): New.
(cpp_read_main_file): Don't overlay a buffer.
(cpp_finish): Take a deps output stream and write deps to it.
Return the error count.
(cpp_post_options): Don't canonicalize out_fname, or do anything
with dependencies.
* cpplib.h (struct cpp_options): Remove out_fname and
preprocess_only.
(cpp_add_dependency_target): New.
(cpp_destroy, cpp_finish, cpp_preprocess_file): Update.
* cppmain.c (cpp_preprocess_file): Update prototype.  Don't
set preprocess_only.  Don't handle the output stream directly.

From-SVN: r56214

22 years agodsp16xx.c (print_operand): Fix format specifier.
Kaveh R. Ghazi [Sun, 11 Aug 2002 19:24:09 +0000 (19:24 +0000)]
dsp16xx.c (print_operand): Fix format specifier.

* dsp16xx.c (print_operand): Fix format specifier.
* dsp16xx.md: Avoid automatic aggregate initialization.
* frv.h (REG_CLASS_FROM_LETTER): Avoid char as array index.
* h8300.c (emit_a_rotate, h8300_adjust_insn_length): Avoid U
integer constant modifier.
* ip2k.c (ip2k_set_compare): Avoid signed/unsigned warning.
* mmix-protos.h (mmix_use_simple_return): Move outside TREE_CODE
guards.
* sh/netbsd-elf.h (FUNCTION_PROFILER): Fix format specifier.
* v850.c (v850_select_section): Mark parameter with
ATTRIBUTE_UNUSED.
* global.c (global_alloc): Const-ify.
* ra-colorize.c (hardregset_to_string): Fix format specifier.

From-SVN: r56212

22 years agodarwin-c.c (darwin_pragma_options): Const-ify.
Kaveh R. Ghazi [Sun, 11 Aug 2002 19:14:26 +0000 (19:14 +0000)]
darwin-c.c (darwin_pragma_options): Const-ify.

* darwin-c.c (darwin_pragma_options): Const-ify.
* darwin.c (machopic_non_lazy_ptr_name,
machopic_validate_stub_or_non_lazy_ptr): Likewise.
(machopic_indirect_data_reference): Wrap variables in macros
controlling their use.
(machopic_finish, update_non_lazy_ptrs, update_stubs): Const-ify.
(machopic_select_section): Use parentheses around && within ||.
* i386/darwin.h (ASM_OUTPUT_ALIGN): Avoid ambiguous-else.

From-SVN: r56211

22 years agoip2k.c (mdr_resequence_xy_yx, [...]): Make function static to match prototype.
Kaveh R. Ghazi [Sun, 11 Aug 2002 18:52:38 +0000 (18:52 +0000)]
ip2k.c (mdr_resequence_xy_yx, [...]): Make function static to match prototype.

* ip2k.c (mdr_resequence_xy_yx, mdr_propagate_reg_equivs,
mdr_try_move_dp_reload, ip2k_check_can_adjust_stack_ref,
ip2k_adjust_stack_ref, mdr_try_move_pushes, mdr_try_propagate_clr,
ip2k_xexp_not_uses_reg_for_mem, mdr_try_propagate_move,
mdr_try_remove_redundant_insns, track_w_reload,
mdr_try_wreg_elim): Make function static to match prototype.
* mmix.c (mmix_target_asm_function_epilogue): Likewise.  Mark
parameter with ATTRIBUTE_UNUSED.

From-SVN: r56210

22 years agoarc.c (arc_init): Don't use ISO C style function definitions.
Kaveh R. Ghazi [Sun, 11 Aug 2002 18:48:52 +0000 (18:48 +0000)]
arc.c (arc_init): Don't use ISO C style function definitions.

* arc.c (arc_init): Don't use ISO C style function definitions.
* arm.c (count_insns_for_constant, thumb_far_jump_used_p,
arm_get_strip_length, arm_strip_name_encoding): Likewise.
* avr.h (progmem_section): Likewise.
* h8300.c h8300_asm_insn_count): Likewise.
* m32r.c (init_idents): Likewise.
* s390.c (s390_split_branches, s390_chunkify_pool): Likewise.
* sh.c (sh_cfun_interrupt_handler_p): Likewise.
* xtensa.c (xtensa_build_va_list): Likewise.

From-SVN: r56209

22 years agodecl2.c (build_call_from_tree): Fix uninitialized variable.
Kaveh R. Ghazi [Sun, 11 Aug 2002 18:30:25 +0000 (18:30 +0000)]
decl2.c (build_call_from_tree): Fix uninitialized variable.

* decl2.c (build_call_from_tree): Fix uninitialized variable.
* parse.y (parse_finish_call_expr): Likewise.
* repo.c (old_args, old_dir, old_main): Const-ify.

From-SVN: r56208

22 years agoResurrect from Attic as should have been done in original commit.
Mark Wielaard [Sun, 11 Aug 2002 16:34:44 +0000 (16:34 +0000)]
Resurrect from Attic as should have been done in original commit.

From-SVN: r56207

22 years agodecl.c (duplicate_decls): Replace DECL_SOURCE_FILE + DECL_SOURCE_LINE with DECL_SOURC...
Gabriel Dos Reis [Sun, 11 Aug 2002 16:05:27 +0000 (16:05 +0000)]
decl.c (duplicate_decls): Replace DECL_SOURCE_FILE + DECL_SOURCE_LINE with DECL_SOURCE_LOCATION.

* decl.c (duplicate_decls): Replace DECL_SOURCE_FILE +
DECL_SOURCE_LINE with DECL_SOURCE_LOCATION.
* optimize.c (maybe_clone_body): Likewise.
* pt.c (tsubst_enum): Likewise.
(lookup_template_class): Likewise.
* tree.c (cp_copy_res_decl_for_inlining): Likewise.

From-SVN: r56206

22 years ago* Forgotten commit.
Neil Booth [Sun, 11 Aug 2002 15:49:11 +0000 (15:49 +0000)]
* Forgotten commit.

From-SVN: r56205

22 years ago* i386.c (classify_argument): Fix computing of field's offsets.
Jan Hubicka [Sun, 11 Aug 2002 12:44:21 +0000 (14:44 +0200)]
* i386.c (classify_argument): Fix computing of field's offsets.

From-SVN: r56204

22 years agoReenable patch since shared library troubles on powerpc are solved:
Mark Wielaard [Sun, 11 Aug 2002 12:08:03 +0000 (12:08 +0000)]
Reenable patch since shared library troubles on powerpc are solved:

* gnu/java/security/provider/Gnu.java: Reference all implementation
classes by using Class.getName().
* gnu/java/security/der/DEREncodingException.java,
gnu/java/security/provider/DERReader.java,
gnu/java/security/provider/DERWriter.java,
gnu/java/security/provider/DSAKeyPairGenerator.java,
gnu/java/security/provider/DSAParameterGenerator.java,
gnu/java/security/provider/DSAParameters.java,
gnu/java/security/provider/DSASignature.java,
gnu/java/security/provider/GnuDSAPrivateKey.java,
gnu/java/security/provider/GnuDSAPublicKey.java,
gnu/java/security/provider/MD5.java,
gnu/java/security/util/Prime.java: New classes
* Makefile.am (ordinary_java_source_files): Add above files.
* Makefile.in: Regenerate.
* gnu/java/security/provider/DefaultPolicy.java
(getPermissions): Don't maintain static class variable of Permissions.
* gnu/java/security/provider/SHA.java
(engineUpdate): algorithm change.
(engineDigest): algorithm change.

From-SVN: r56203

22 years agore PR target/7531 (-mcmodel not documented for x86-64)
Andreas Jaeger [Sun, 11 Aug 2002 09:47:47 +0000 (11:47 +0200)]
re PR target/7531 (-mcmodel not documented for x86-64)

PR target/7531:
* doc/invoke.texi (i386 and x86-64 Options): Document -mcmodel.

From-SVN: r56198

22 years agoc-common.h (enum c_language_kind): Emphasize that clk_c is 0.
Neil Booth [Sun, 11 Aug 2002 07:32:19 +0000 (07:32 +0000)]
c-common.h (enum c_language_kind): Emphasize that clk_c is 0.

* c-common.h (enum c_language_kind): Emphasize that clk_c is 0.
* c-opts.c (parse_option): Rename find_opt.
(set_std_c99): New function.
(COMMAND_LINE_OPTIONS): Handle -remap and -o.  Remove OPT_std_bad.
(missing_arg): Remove OPT_std_bad.  Handle -o.
(c_common_decode_option): Handle input and output file names,
-o and -remap. Clean up -std= handling.
* cppinit.c (COMMAND_LINE_OPTIONS): Remove OPT_o and OPT_remap.
(cpp_handle_option): Similarly.  Don't handle filenames.

From-SVN: r56197

22 years agoDaily bump.
GCC Administrator [Sun, 11 Aug 2002 07:17:08 +0000 (07:17 +0000)]
Daily bump.

From-SVN: r56196

22 years agoalpha.h (TARGET_CPU_CPP_BUILTINS): Replace reference to clk_objective_c with flag_objc.
Ziemowit Laski [Sun, 11 Aug 2002 06:20:08 +0000 (06:20 +0000)]
alpha.h (TARGET_CPU_CPP_BUILTINS): Replace reference to clk_objective_c with flag_objc.

2002-08-10  Ziemowit Laski  <zlaski@apple.com>

        * config/alpha/alpha.h (TARGET_CPU_CPP_BUILTINS): Replace
        reference to clk_objective_c with flag_objc.
        * config/i386/i386-interix.h (TARGET_OS_CPP_BUILTINS):
        Likewise.
        * config/mips/mips.h (TARGET_CPU_CPP_BUILTINS): Likewise.

From-SVN: r56189

22 years agoc-opts.c (set_std_cxx98, [...]): New.
Neil Booth [Sat, 10 Aug 2002 20:58:45 +0000 (20:58 +0000)]
c-opts.c (set_std_cxx98, [...]): New.

* c-opts.c (set_std_cxx98, set_std_c89): New.
(COMMAND_LINE_OPTIONS): Move more from cppinit.c.
(c_common_decode_option): Handle new switches from cppinit.c.
Add -std=gnu++98.
* cppinit.c (set_lang): Rename cpp_set_lang.  Export.
(no_arg, no_num): Remove.
(COMMAND_LINE_OPTIONS): Move more to c-opts.c.  Drop all lang-
switches apart from -lang-objc and lang-asm.
(cpp_handle_option): Similarly.
* cpplib.h (cpp_set_lang): New.
* doc/cppopts.texi, doc/invoke.texi: Document -std=c++98,
-std=gnu++98.
* objc/lang-specs.h: Remove -ansi.
cp:
* lang-specs.h: Remove -ansi.

From-SVN: r56185

22 years agocfg.c (redirect_edge_succ_nodup): Avoid overflows due to roundoff errors.
Jan Hubicka [Sat, 10 Aug 2002 18:00:54 +0000 (20:00 +0200)]
cfg.c (redirect_edge_succ_nodup): Avoid overflows due to roundoff errors.

* cfg.c (redirect_edge_succ_nodup): Avoid overflows due to roundoff
errors.

From-SVN: r56184

22 years agotree.c (maybe_dummy_object): Replace // with /* */e
Nathan Sidwell [Sat, 10 Aug 2002 13:11:43 +0000 (13:11 +0000)]
tree.c (maybe_dummy_object): Replace // with /* */e

cp:
* tree.c (maybe_dummy_object): Replace // with /* */e
testsuite:
* gcc.dg/bitfld-4.c: Add blank options.

From-SVN: r56183

22 years agoemit-rtl.c (emit_jump_insn_before, [...]): Fix uninitialized variable.
Kaveh R. Ghazi [Sat, 10 Aug 2002 12:30:34 +0000 (12:30 +0000)]
emit-rtl.c (emit_jump_insn_before, [...]): Fix uninitialized variable.

* emit-rtl.c (emit_jump_insn_before, emit_call_insn_before,
emit_jump_insn): Fix uninitialized variable.
* gcov.c (init_line_info): Likewise.
* genautomata.c (transform_3): Add braces around ambiguous
else.
* ifcvt.c (cond_exec_process_insns): Mark parameter with
ATTRIBUTE_UNUSED.
* ra-build.c (parts_to_webs_1): Fix uninitialized variable.
* regrename.c (copyprop_hardreg_forward): Fix uninitialized
variable.

From-SVN: r56182

22 years agogengtype.c (write_gc_structure_fields): Avoid signed/unsigned warnings in output...
Kaveh R. Ghazi [Sat, 10 Aug 2002 12:23:12 +0000 (12:23 +0000)]
gengtype.c (write_gc_structure_fields): Avoid signed/unsigned warnings in output files.

* gengtype.c (write_gc_structure_fields): Avoid signed/unsigned
warnings in output files.

From-SVN: r56181

22 years agoDaily bump.
GCC Administrator [Sat, 10 Aug 2002 07:17:07 +0000 (07:17 +0000)]
Daily bump.

From-SVN: r56180

22 years ago- fix formatting of previous patch.
David Edelsohn [Sat, 10 Aug 2002 02:20:24 +0000 (22:20 -0400)]
- fix formatting of previous patch.

From-SVN: r56174

22 years agoc-common.c (flag_objc): New.
Ziemowit Laski [Sat, 10 Aug 2002 02:18:28 +0000 (02:18 +0000)]
c-common.c (flag_objc): New.

2002-08-09  Ziemowit Laski  <zlaski@apple.com>

        * c-common.c (flag_objc): New.
        * c-common.h (c_language_kind): Get rid of clk_objective_c
        enum value.
        (flag_objc): New extern declaration.
        * c-decl.c (implicitly_declare): Call objc_check_decl
        instead of maybe_objc_check_decl.
        (finish_decl): Likewise.
        (grokfield): Likewise.
        (finish_struct): Likewise.
        * c-lang.c (maybe_objc_check_decl): Rename to objc_check_decl.
        (maybe_objc_comptypes): Rename to objc_comptypes.
        (maybe_building_objc_message_expr): Rename to
        objc_message_selector.
        * c-lex.c (lex_charconst): Remove uses of clk_objective_c,
        replace with flag_objc as needed.
        * c-opts.c (c_common_init_options): Likewise.
        (c_common_decode_option): Likewise.
        * c-parse.in (init_reswords): Likewise.
        * c-tree.h (maybe_objc_check_decl): Rename to objc_check_decl.
        (maybe_objc_comptypes): Rename to objc_comptypes.
        (maybe_building_objc_message_expr): Rename to
        objc_message_selector.
        * c-typeck.c (comptypes): Call objc_comptypes instead of
        maybe_objc_comptypes, and/or objc_message_selector instead of
        (comp_target_types): Likewise.
        (convert_for_assignment): Likewise.
        (warn_for_assignment): Likewise.
        * cppinit.c (init_builtins): Set __OBJC__ manifest constant
        independently of those for other languages.
        * objc/objc-act.c (maybe_objc_comptypes): Delete.
        (maybe_objc_check_decl): Delete.
        (maybe_building_objc_message_expr): Rename to
        objc_message_selector.
        * objc/objc-lang.c (objc_init_options): Use clk_c instead of
        clk_objective_c; set flag_objc flag.

From-SVN: r56173

22 years agocall.c (standard_conversion): Use build_ptrmem_type.
Mark Mitchell [Fri, 9 Aug 2002 19:57:01 +0000 (19:57 +0000)]
call.c (standard_conversion): Use build_ptrmem_type.

* call.c (standard_conversion): Use build_ptrmem_type.
* cp-tree.h (build_ptrmem_type): New function.
(adjust_result_of_qualified_name_lookup): Likewise.
* decl.c (grokvardecl): Do not look for OFFSET_TYPEs to indicate
static data members.
(build_ptrmem_type): New function.
(grokdeclarator): Do not use build_offset_type when encountering a
qualified name.
* parse.y (parse_finish_call_expr): Use
adjust_result_of_qualified_name_lookup.
* search.c (adjust_result_of_qualified_name_lookup): New function.
* typeck.c (qualify_type_recursive): Use TYPE_PTRMEM_* rather than
accessing OFFSET_TYPEs directly.

* g++.dg/template/crash1.C: New test.

From-SVN: r56169

22 years ago* ifcvt.c (find_if_case_2): Test correct basic block for size.
Toshiyasu Morita [Fri, 9 Aug 2002 18:04:31 +0000 (18:04 +0000)]
* ifcvt.c (find_if_case_2): Test correct basic block for size.

From-SVN: r56167

22 years agoAdd sibcall handling for rs6000 target.
Dale Johannesen [Fri, 9 Aug 2002 17:52:50 +0000 (17:52 +0000)]
Add sibcall handling for rs6000 target.

From-SVN: r56166

22 years agodeque.tcc, [...]: Re-indent contents of namespace std, re-wrap comment lines as neces...
Phil Edwards [Fri, 9 Aug 2002 16:51:15 +0000 (16:51 +0000)]
deque.tcc, [...]: Re-indent contents of namespace std, re-wrap comment lines as necessary.

2002-08-09  Phil Edwards  <pme@gcc.gnu.org>

* include/bits/deque.tcc, include/bits/list.tcc,
include/bits/stl_deque.h, include/bits/stl_iterator_base_funcs.h,
include/bits/stl_list.h, include/bits/stl_map.h,
include/bits/stl_multimap.h, include/bits/stl_queue.h,
include/bits/stl_stack.h, include/bits/stl_vector.h,
include/bits/vector.tcc:  Re-indent contents of namespace std,
re-wrap comment lines as necessary.

From-SVN: r56165

22 years agoprofile.c (da_file_name): New static var.
Nathan Sidwell [Fri, 9 Aug 2002 08:51:27 +0000 (08:51 +0000)]
profile.c (da_file_name): New static var.

* profile.c (da_file_name): New static var.
(init_branch_prob): Initialize it.
(end_branch_prob): Remove da file.

* Makefile.in (stage1_build): Pass empty COVERAGE_FLAGS.
* configure.in (coverage_flags) default to nothing.
* configure: Rebuilt.

From-SVN: r56164

22 years agoCommit missing files from AWT merge.
Bryce McKinlay [Fri, 9 Aug 2002 08:34:17 +0000 (09:34 +0100)]
Commit missing files from AWT merge.

From-SVN: r56163

22 years agoDaily bump.
GCC Administrator [Fri, 9 Aug 2002 07:17:18 +0000 (07:17 +0000)]
Daily bump.

From-SVN: r56161

22 years agoMakefile.in (c-opts.o): Update
Neil Booth [Fri, 9 Aug 2002 06:19:08 +0000 (06:19 +0000)]
Makefile.in (c-opts.o): Update

* Makefile.in (c-opts.o): Update
* c-opts.c: Include intl.h.
(print_help): Move from cppinit.c.  Remove unused options.
(COMMAND_LINE_OPTIONS): Move more from cppinit.c.
(missing_arg): Complain for switches without an argument.
(c_common_decode_option): Reject missing joined arguments.
Handle new switches from cppinit.c.
* cppinit.c (COMMAND_LINE_OPTIONS): Move some switches to c-opts.c.
(cpp_handle_option): Similarly.
(print_help): Moved to c-opts.c.
* cpplib.h (struct cpp_options): Remove help_only.
* gcc.c (cpp_unique_options): Remove -$.
* doc/cppopts.texi: Undocument -h.

From-SVN: r56155

22 years agoistream.tcc (basic_istream::ignore): Use sbumpc, not snextc.
Danny Smith [Fri, 9 Aug 2002 06:00:46 +0000 (06:00 +0000)]
istream.tcc (basic_istream::ignore): Use sbumpc, not snextc.

2002-08-08  Danny Smith  <dannysmith@users.sourceforge.net>
            Benjamin Kosnik  <bkoz@redhat.com>

* include/bits/istream.tcc (basic_istream::ignore): Use sbumpc,
not snextc.
* testsuite/27_io/narrow_stream_objects.cc (test10): Add.

From-SVN: r56154

22 years agoistream.tcc (basic_istream::ignore): Use sbumpc, not snextc.
Danny Smith [Fri, 9 Aug 2002 06:00:18 +0000 (06:00 +0000)]
istream.tcc (basic_istream::ignore): Use sbumpc, not snextc.

2002-08-08  Danny Smith  <dannysmith@users.sourceforge.net>
            Benjamin Kosnik  <bkoz@redhat.com>

* include/bits/istream.tcc (basic_istream::ignore): Use sbumpc,
not snextc.

Co-Authored-By: Benjamin Kosnik <bkoz@redhat.com>
From-SVN: r56153

22 years ago[multiple changes]
Bryce McKinlay [Fri, 9 Aug 2002 05:52:52 +0000 (06:52 +0100)]
[multiple changes]

2002-08-09  Mark Wielaard  <mark@klomp.org>

        * java/awt/image/MemoryImageSource.java: Change constructor to take
        int[] not byte[].
        * java/awt/Graphics2D.java: Uncomment methods that can now be
        compiled.
        * java/awt/GridBagLayout.java: New stub implementation.
        * javax/swing/text/html/HTML.java: Stub implementation.
        * javax/swing/text/html/parser/ParserDelegator.java: New stub
        implementation.

2002-08-09  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>

        * gnu/awt/j2d/Graphics2DImpl.java: Implement stubs for new abstract
        methods in Graphics2D.

        * Makefile.am: Add new files.
        * Makefile.in: Rebuilt.

From-SVN: r56152

22 years agoMore AWT/Swing merge from GNU Classpath.
Bryce McKinlay [Fri, 9 Aug 2002 04:45:29 +0000 (04:45 +0000)]
More AWT/Swing merge from GNU Classpath.

From-SVN: r56151

22 years agoCorrect ChangeLog for XToolkit changes.
Bryce McKinlay [Fri, 9 Aug 2002 04:36:05 +0000 (05:36 +0100)]
Correct ChangeLog for XToolkit changes.

From-SVN: r56150

22 years agoMore AWT/Swing merge from GNU Classpath.
Bryce McKinlay [Fri, 9 Aug 2002 04:32:43 +0000 (04:32 +0000)]
More AWT/Swing merge from GNU Classpath.

From-SVN: r56149

22 years agoMore AWT/Swing merge from GNU Classpath.
Bryce McKinlay [Fri, 9 Aug 2002 04:29:59 +0000 (04:29 +0000)]
More AWT/Swing merge from GNU Classpath.

From-SVN: r56148

22 years agoAWT/Swing merge from GNU Classpath.
Bryce McKinlay [Fri, 9 Aug 2002 04:26:17 +0000 (04:26 +0000)]
AWT/Swing merge from GNU Classpath.

From-SVN: r56147

22 years agojcf-write.c (get_access_flags): Return correct access flags for private and protected...
Bryce McKinlay [Fri, 9 Aug 2002 03:52:23 +0000 (03:52 +0000)]
jcf-write.c (get_access_flags): Return correct access flags for private and protected inner classes.

2002-08-08  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>

       * jcf-write.c (get_access_flags): Return correct access flags for
       private and protected inner classes.

From-SVN: r56146

22 years agocleanup whitespacing a tad.
Mike Stump [Fri, 9 Aug 2002 01:44:29 +0000 (01:44 +0000)]
cleanup whitespacing a tad.

From-SVN: r56145

22 years agocall.c (add_builtin_candidate): legal -> valid, illegal -> invalid.
Mike Stump [Fri, 9 Aug 2002 01:16:39 +0000 (01:16 +0000)]
call.c (add_builtin_candidate): legal -> valid, illegal -> invalid.

        * call.c (add_builtin_candidate): legal -> valid, illegal -> invalid.
        (type_decays_to): Likewise.
        * class.c (find_final_overrider): Likewise.
        (maybe_note_name_used_in_class): Likewise.
        * decl.c (current_tmpl_spec_kind): Likewise.
        (add_binding): Likewise.
        (push_class_binding): Likewise.
        (duplicate_decls): Likewise.
        (layout_var_decl): Likewise.
        (grokfndecl): Likewise.
        (grokdeclarator): Likewise.
        (check_default_argument): Likewise.
        * decl2.c (handle_class_head): Likewise.
        * error.c (dump_template_decl): Likewise.
        * init.c (build_offset_ref): Likewise.
        * pt.c (check_specialization_scope): Likewise.
        (determine_specialization): Likewise.
        (check_explicit_specialization): Likewise.
        (maybe_check_template_type): Likewise.
        (process_partial_specialization): Likewise.
        (check_default_tmpl_args): Likewise.
        (push_template_decl_real): Likewise.
        (convert_template_argument): Likewise.
        (try_class_unification): Likewise.
        (get_bindings_real): Likewise.
        (do_decl_instantiation): Likewise.
        * semantics.c (begin_function_definition): Likewise.
        (finish_member_declaration): Likewise.
        (check_multiple_declarators): Likewise.
        * typeck.c (comp_array_types): Likewise.
        (comptypes): Likewise.
        (expr_sizeof): Likewise.
        (build_binary_op): Likewise.
        (dubious_conversion_warnings): Likewise.
        (check_return_expr): Likewise.

From-SVN: r56144

22 years agoi386.c (legitimate_constant_p): UNSPEC_TP is not legitimate constant.
Jakub Jelinek [Fri, 9 Aug 2002 00:01:12 +0000 (02:01 +0200)]
i386.c (legitimate_constant_p): UNSPEC_TP is not legitimate constant.

* config/i386/i386.c (legitimate_constant_p): UNSPEC_TP is not
legitimate constant.
(legitimate_pic_operand_p): Neither pic operand.
(legitimate_address_p): But legitimate address.
(get_thread_pointer): Generate MEM/u instead of CONST around
UNSPEC_TP.
(print_operand): Remove printing of UNSPEC_TP.
(print_operand_address): And print it here.

* gcc.dg/tls/opt-2.c: New test.

From-SVN: r56143

22 years agoobjc-act.c (build_selector_translation_table): Issue warning...
Devang Patel [Thu, 8 Aug 2002 23:14:19 +0000 (16:14 -0700)]
objc-act.c (build_selector_translation_table): Issue warning...

        * objc/objc-act.c (build_selector_translation_table): Issue
warning, when  -Wselector is used,if method for which selector
is being created does not exist.

Testsuite:
*objc.dg/selector-1.m: New test

From-SVN: r56142

22 years agobitfield4.c: New test.
Nathan Sidwell [Thu, 8 Aug 2002 22:52:20 +0000 (22:52 +0000)]
bitfield4.c: New test.

* g++.dg/abi/bitfield4.c: New test.
* gcc.dg/bitfld-4.c: New test.

From-SVN: r56140

22 years agosh.c (prepare_move_operands): Only call target_reg_operand if TARGET_SHMEDIA.
Stephen Clarke [Thu, 8 Aug 2002 21:57:52 +0000 (21:57 +0000)]
sh.c (prepare_move_operands): Only call target_reg_operand if TARGET_SHMEDIA.

2002-08-08  Stephen Clarke <stephen.clarke@superh.com>

* config/sh/sh.c (prepare_move_operands): Only call
target_reg_operand if TARGET_SHMEDIA.

From-SVN: r56139

22 years agotypeck.c (build_class_member_access_expr): Do not return error_mark_node when no...
Mark Mitchell [Thu, 8 Aug 2002 21:28:40 +0000 (21:28 +0000)]
typeck.c (build_class_member_access_expr): Do not return error_mark_node when no error has occurred.

* typeck.c (build_class_member_access_expr): Do not return
error_mark_node when no error has occurred.

From-SVN: r56138

22 years agors6000.h, [...]: Revert last two patches.
Jakub Jelinek [Thu, 8 Aug 2002 17:55:37 +0000 (19:55 +0200)]
rs6000.h, [...]: Revert last two patches.

* config/rs6000/rs6000.h, config/rs6000/aix.h,
config/rs6000/darwin.h, config/rs6000/linux64.h: Revert last
two patches.
* config/rs6000/sysv4.h: Likewise, remove #undef ADJUST_FIELD_ALIGN.

From-SVN: r56135

22 years agoemit-rtl.c (gen_rtx_REG): After reload...
Lars Brinkhoff [Thu, 8 Aug 2002 17:17:09 +0000 (17:17 +0000)]
emit-rtl.c (gen_rtx_REG): After reload...

        * emit-rtl.c (gen_rtx_REG): After reload, only return
        frame_pointer_rtx or hard_frame_pointer_rtx if frame_pointer_needed.

Co-Authored-By: Richard Henderson <rth@redhat.com>
From-SVN: r56133

22 years agotypeck.c (build_component_addr): Remove.
Nathan Sidwell [Thu, 8 Aug 2002 15:59:33 +0000 (15:59 +0000)]
typeck.c (build_component_addr): Remove.

cp:
* typeck.c (build_component_addr): Remove.
(build_unary_op): Just check it's not a bitfield, and then build
an ADDR_EXPR.
testsuite:
* g++.dg/other/packed1.C: New test.

From-SVN: r56132

22 years agors6000-protos.h (rs6000_field_alignment): Remove.
Jakub Jelinek [Thu, 8 Aug 2002 15:00:30 +0000 (17:00 +0200)]
rs6000-protos.h (rs6000_field_alignment): Remove.

* config/rs6000/rs6000-protos.h (rs6000_field_alignment): Remove.
* config/rs6000/rs6000.c (rs6000_field_alignment): Move...
* config/rs6000/rs6000.h (ADJUST_FIELD_ALIGN): ...inline into the
macro.

From-SVN: r56131

22 years agooops - minor formatting tidy ups to previous delta
Nick Clifton [Thu, 8 Aug 2002 11:24:01 +0000 (11:24 +0000)]
oops - minor formatting tidy ups to previous delta

From-SVN: r56129

22 years agoarm.c (thumb_unexpanded_epilogue): Stack the PIC register.
Adam Nemet [Thu, 8 Aug 2002 11:08:34 +0000 (11:08 +0000)]
arm.c (thumb_unexpanded_epilogue): Stack the PIC register.

* config/arm/arm.c (thumb_unexpanded_epilogue): Stack the PIC register.
(thumb_expand_prologue): Likewise.
(thumb_output_function_prologue): Likewise.
* config/arm/arm.h (THUMB_INITIAL_ELIMINATION_OFFSET): Account for the
additional push of the PIC register.

From-SVN: r56128

22 years agoclass.c (convert_to_base): Correct check for error_mark_node.
Nathan Sidwell [Thu, 8 Aug 2002 10:14:15 +0000 (10:14 +0000)]
class.c (convert_to_base): Correct check for error_mark_node.

* class.c (convert_to_base): Correct check for error_mark_node.
(create_vtable_ptr): Remove unused VFUNS_P parm

From-SVN: r56127

22 years agoconfigure.in (enable_coverage): New enable switch.
Nathan Sidwell [Thu, 8 Aug 2002 09:10:39 +0000 (09:10 +0000)]
configure.in (enable_coverage): New enable switch.

* configure.in (enable_coverage): New enable switch.
* configure: Rebuilt.
* Makefile.in (COVERAGE_FLAGS, coverageexts): New variables.
(INTERNAL_CFLAGS): Append COVERAGE_FLAGS.
(ALL_FLAGS): Reorder so INTERNAL_CFLAGS comes after CFLAGS.
(mostlyclean): Remove coverage files.
* doc/install.texi: Document enable_coverage.

* cp/Make-lang.in (c++.mostlyclean): Remove coverage files.
* ada/Make-lang.in (ada.mostlyclean): Remove coverage files.
* f/Make-lang.in (f.mostlyclean): Remove coverage files.
* java/Make-lang.in (java.mostlyclean): Remove coverage files.
* objc/Make-lang.in (objc.mostlyclean): Remove coverage files.
* treelang/Make-lang.in (treelang.mostlyclean): Remove coverage
files.

From-SVN: r56126

22 years agoDaily bump.
GCC Administrator [Thu, 8 Aug 2002 07:17:17 +0000 (07:17 +0000)]
Daily bump.

From-SVN: r56125

22 years agoc-opts.c (cpp_opts): New.
Neil Booth [Thu, 8 Aug 2002 06:30:13 +0000 (06:30 +0000)]
c-opts.c (cpp_opts): New.

* c-opts.c (cpp_opts): New.
(COMMAND_LINE_OPTIONS): Add switches from cppinit.c.
(c_common_decode_options): Handle cpplib switches.
(c_common_init_options): Set cpp_opts.
* cppinit.c (COMMAND_LINE_OPTIONS): Move some switches to c-opts.c.
(cpp_handle_option): Similarly.

From-SVN: r56119

22 years agoRework build_component_ref.
Mark Mitchell [Thu, 8 Aug 2002 05:48:39 +0000 (05:48 +0000)]
Rework build_component_ref.

* call.c (build_vfield_ref): Do not go through build_component_ref.
(build_field_call): Use build_class_member_access_expr.
(build_user_type_conversion_1): Use BASELINK_FUNCTIONS.
(build_object_call): Likewise.
* class.c (convert_to_base): New function.
(type_requires_array_cookie): Use BASELINK_FUNCTIONS.
(instantiate_type): Handle BASELINKs.
* cp-tree.def (BASELINK): New tree code.
* cp-tree.h (BASELINK_P): Reimplement.
(SET_BASELINK_P): Remove.
(BASELINK_BINFO): Reimplement.
(BASELINK_FUNCTIONS): Likewise.
(BASELINK_ACCESS_BINFO): Likewise.
(BASELINK_OPTYPE): Likewise.
(convert_to_base): New function.
(name_p): Likewise.
(build_object_ref): Remove.
(build_component_ref_1): Likewise.
(build_component_ref): Likewise.
(build_x_component_ref): Likewise.
(build_class_member_access_expr): New function.
(finish_class_member_access_expr): Likewise.
(build_ptrmemfunc_access_expr): Likewise.
* decl.c (grokdeclarator): Handle BASELINKs.
* decl2. (build_expr_from_tree): Handle COMPONENT_REFs by using
finish_class_member_access_expr.
(arg_assoc): Handle BASELINKs.
(do_class_using_decl): Likewise.
* error.c (dump_decl): Likewise.
(dump_expr): Use build_ptrmemfunc_access_expr.
* except.c (dtor_nothrow): Use CLASSTYPE_DESTRUCTORS to find
destructors.
(build_throw): Use BASELINK_FUNCTIONS.
* init.c (perform_member_init): Use
build_class_member_access_expr.
(build_offset_ref): Handle BASELINKs.  Use
build_class_member_access_expr.
* method.c (hack_identifier): Likewise.
* parse.y (do_id): Use BASELINK, not TREE_LIST.
(primary): Remove uses of build_object_ref.
* pt.c (lookup_template_function): Handle BASELINKs.
(resolve_overloaded_unification): Likewise.
* search.c (build_baselink): Build a BASELINK, not a TREE_LIST.
(lookup_field): Use BASELINK, not TREE_LIST.
(lookup_fnfiels): Likewise.
(setup_class_bindings): Likewise.
* semantics.c (finish_object_call_expr): Do not use
build_method_call when we already know what function is being
called.
* spew.c (identifier_type): Use BASELINK, not TREE_LIST.
* tree.c (really_overloaded_fn): Use OVL_CHAIN for OVERLOADs, not
TREE_CHAIN.
(name_p): New function.
* typeck.c (build_object_ref): Remove.
(build_component_ref_1): Likewise.
(build_x_component_ref): Likewise.
(build_class_member_access_expr): New function.
(finish_class_member_access_expr): Likewise.
(build_ptrmemfunc_access_expr): Likewise.
(get_member_function_from_ptrfunc): Use
build_ptrmemfunc_access_expr.
(build_binary_op): Likewise.
(build_unary_op): Likewise.
(build_ptrmemfunc): Likewise.
(pfn_from_ptrmemfunc): Likewise.
* typeck2.c (build_m_component_ref): Adjust comment.

* g++.dg/abi/offsetof.C: Tweak error messages.
* g++.old-deja/g++.mike/p10769a.C: Likewise.

From-SVN: r56117

22 years agoaix.h (TARGET_ALTIVEC): Define to 0.
David Edelsohn [Thu, 8 Aug 2002 01:23:01 +0000 (01:23 +0000)]
aix.h (TARGET_ALTIVEC): Define to 0.

        * config/rs6000/aix.h (TARGET_ALTIVEC): Define to 0.
        (TARGET_ALTIVEC_ABI): Same.
        (TARGET_ALTIVEC_VRSAVE): Same.

        * config/rs6000/rs6000.c (rs6000_expand_ternop_builtin): Check
        icode not CODE_FOR_nothing.  Change switch to if.

From-SVN: r56115

22 years ago* config/rs6000/rs6000.h (ASM_CPU_SPEC): Pass -mpower4 when cpu=power4.
Alan Modra [Wed, 7 Aug 2002 23:57:10 +0000 (23:57 +0000)]
* config/rs6000/rs6000.h (ASM_CPU_SPEC): Pass -mpower4 when cpu=power4.

From-SVN: r56113

22 years agostor-layout.c (place_union_field): For bitfields if PCC_BITFIELD_TYPE_MATTERS and...
Jakub Jelinek [Wed, 7 Aug 2002 23:20:35 +0000 (01:20 +0200)]
stor-layout.c (place_union_field): For bitfields if PCC_BITFIELD_TYPE_MATTERS and TYPE_USER_ALIGN...

* stor-layout.c (place_union_field): For bitfields if
PCC_BITFIELD_TYPE_MATTERS and TYPE_USER_ALIGN, set record's
TYPE_USER_ALIGN.

* gcc.dg/bitfld-3.c: New test.

From-SVN: r56112

22 years ago* pa.c (struct deferred_plabel): Constify name field.
John David Anglin [Wed, 7 Aug 2002 22:03:58 +0000 (22:03 +0000)]
* pa.c (struct deferred_plabel): Constify name field.

From-SVN: r56110

22 years ago* cppmacro.c (_cpp_builtin_macro_text): Remove unused variable.
Neil Booth [Wed, 7 Aug 2002 21:47:47 +0000 (21:47 +0000)]
* cppmacro.c (_cpp_builtin_macro_text): Remove unused variable.

From-SVN: r56109

22 years agoconfigure.in (PREFIX_INCLUDE_DIR): Don't define if prefix and local_prefix are the...
John David Anglin [Wed, 7 Aug 2002 21:38:47 +0000 (21:38 +0000)]
configure.in (PREFIX_INCLUDE_DIR): Don't define if prefix and local_prefix are the same.

* configure.in (PREFIX_INCLUDE_DIR): Don't define if prefix and
local_prefix are the same.
* configure: Rebuilt.

From-SVN: r56108

22 years agostor-layout.c (place_union_field): Apply ADJUST_FIELD_ALIGN to type_align when PCC_BI...
Jakub Jelinek [Wed, 7 Aug 2002 21:05:16 +0000 (23:05 +0200)]
stor-layout.c (place_union_field): Apply ADJUST_FIELD_ALIGN to type_align when PCC_BITFIELD_TYPE_MATTERS.

* stor-layout.c (place_union_field): Apply ADJUST_FIELD_ALIGN
to type_align when PCC_BITFIELD_TYPE_MATTERS.  Only apply
ADJUST_FIELD_ALIGN if not DECL_USER_ALIGN resp. TYPE_USER_ALIGN.
(place_field): Likewise.
* config/i386/i386.c (x86_field_alignment): Don't check
DECL_USER_ALIGN here.
* config/rs6000/rs6000.c (rs6000_field_alignment): New.
* config/rs6000/rs6000-protos.h (rs6000_field_alignment): New
prototype.
* config/rs6000/rs6000.h (ADJUST_FIELD_ALIGN): Define.
* config/rs6000/aix.h (ADJUST_FIELD_ALIGN): Remove.
* config/rs6000/darwin.h (ADJUST_FIELD_ALIGN): Remove.
* config/rs6000/linux64.h (ADJUST_FIELD_ALIGN): Remove.
* config/rs6000/sysv4.h (ADJUST_FIELD_ALIGN): Remove.
* doc/tm.texi (ADJUST_FIELD_ALIGN): Update description.

* gcc.dg/i386-bitfield1.c: New test.
* g++.dg/abi/bitfield3.C: Update.

Co-Authored-By: Richard Henderson <rth@redhat.com>
From-SVN: r56107

22 years agoregex.c (re_error_msgid): Just use a simple array of strings.
DJ Delorie [Wed, 7 Aug 2002 20:57:22 +0000 (16:57 -0400)]
regex.c (re_error_msgid): Just use a simple array of strings.

* regex.c (re_error_msgid): Just use a simple array of strings.
(re_compile_pattern): Compensate.
(re_comp): Likewise.
(re_comp): Likewise.
(regerror): Likewise.

From-SVN: r56106

22 years agoMakefile.in (c-opts.o, [...]): Update.
Neil Booth [Wed, 7 Aug 2002 18:32:13 +0000 (18:32 +0000)]
Makefile.in (c-opts.o, [...]): Update.

* Makefile.in (c-opts.o, c-common.o, C_AND_OBJC_OBJS): Update.
* c-common.c: Don't include tree-inline.h.
(c_common_init_options, c_common_post_options): Move to c-opts.c.
* c-common.h (c_common_decode_option): New.
* c-decl.c (c_decode_option): Remove.
* c-lang.c (LANG_HOOKS_DECODE_OPTION): Use c_common_decode_option.
* c-opts.c: New file.
* c-tree.h (c_decode_option): Remove.
* doc/passes.texi: Update.
* objc/objc-act.c (objc_decode_option): Remove.
* objc/objc-act.h (objc_decode_option): Remove.
* objc/ojbc-lang.c (LANG_HOOKS_DECODE_OPTION): Use
c_common_decode_option.
cp:
* Make-lang.in (CXX_C_OBJS): Update.
* cp-lang.c (LANG_HOOKS_DECODE_OPTION): Use c_common_decode_option.
* cp-tree.h (cxx_decode_option): Remove.
* decl2.c (compare_options, lang_f_options, unsupported_options,
cxx_decode_option): Remove.
testsuite:
* objc.dg/const-str-2.m: Update.
* gcc.dg/cpp/c++98.c: Change to C extension.
* gcc.dg/cpp/c++98-pedantic.c: Similarly.
* gcc.dg/cpp/cpp.exp: Process .C extensions too.

From-SVN: r56105

This page took 0.102475 seconds and 5 git commands to generate.