OSDN Git Service

pf3gnuchains/gcc-fork.git
21 years ago2002-08-15 Benjamin Kosnik <bkoz@redhat.com>
bkoz [Thu, 15 Aug 2002 22:25:39 +0000 (22:25 +0000)]
2002-08-15  Benjamin Kosnik  <bkoz@redhat.com>

* include/ext/stdio_filebuf.h (stdio_filebuf): Explicitly set
_M_buf_size_opt to zero when unbuffering.
* include/bits/fstream.tcc (filebuf::showmanyc): Simplify.
Consistency checks for _M_buf_size_opt.

Revert PR libstdc++/7445
* src/locale.cc (locale::classic): Revert.

* docs/html/17_intro/TODO: Add.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56365 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * Makefile.in (LOOSE_WARN): Remove -fno-common.
rth [Thu, 15 Aug 2002 21:45:47 +0000 (21:45 +0000)]
    * Makefile.in (LOOSE_WARN): Remove -fno-common.
        (NOCOMMON_FLAG): New substitution point.
        (GCC_WARN_CFLAGS): Include it.
        * configure.in (ac_checking): Set nocommon_flag.
        (nocommon_flag): New substitution point.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56362 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago* libiberty/configure: Reverted unintended yesterday's check in.
aoliva [Thu, 15 Aug 2002 21:24:00 +0000 (21:24 +0000)]
* libiberty/configure: Reverted unintended yesterday's check in.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56361 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago* gcc.dg/typeof-1.c: New test.
aoliva [Thu, 15 Aug 2002 21:17:16 +0000 (21:17 +0000)]
* gcc.dg/typeof-1.c: New test.
* g++.dg/ext/typeof2.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56360 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago* parse.y (sizeof, alignof, typeof): New non-terminals to
aoliva [Thu, 15 Aug 2002 21:16:52 +0000 (21:16 +0000)]
* parse.y (sizeof, alignof, typeof): New non-terminals to
increment skip_evaluation.  Replace terminals with them and
decrement skip_evaluation at the end of rules using them.
* decl2.c (mark_used): Don't assemble_external if
skipping evaluation.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56359 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago* c-tree.h (skip_evaluation): Move declaration...
aoliva [Thu, 15 Aug 2002 21:16:23 +0000 (21:16 +0000)]
* c-tree.h (skip_evaluation): Move declaration...
* c-common.h: ... here.
* c-typeck.c (build_external_ref): Don't assemble_external nor
mark a tree as used if skip_evaluation is set.
* c-parse.in (typeof): New non-terminal to set skip_evaluation
around TYPEOF.
(typespec_nonreserved_nonattr): Use it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56358 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-08-15 Phil Edwards <pme@gcc.gnu.org>
pme [Thu, 15 Aug 2002 20:19:11 +0000 (20:19 +0000)]
2002-08-15  Phil Edwards  <pme@gcc.gnu.org>

* docs/html/documentation.html:  Update doxygen links for 3.2.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56357 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * dbxout.c (dbx_debug_hooks): Update end_prologue, end_epilogue.
rupp [Thu, 15 Aug 2002 19:59:29 +0000 (19:59 +0000)]
* dbxout.c (dbx_debug_hooks): Update end_prologue, end_epilogue.
(xcoff_debug_hooks): Update end_prologue.
* debug.c (do_nothing_debug_hooks): Update end_prologue, end_epilogue.
* debug.h (end_prologue): Add file arg.
(end_epilogue): Add line and file args.
(dwarf2out_end_epilogue): Add line and file args.
(vmsdbgout_after_prologue): Remove.
* dwarf2out.c (dwarf2out_end_epilogue): Add line and file args.
(dwarf2_debug_hooks): Update end_prologue.
* dwarfout.c (dwarfout_end_epilogue): Add line and file args.
(dwarfout_end_prologue): Add file arg.
* final.c (vmsdbgout_after_prologue): Remove
(final_end_function): Update end_epilogue call.
(final_scan_insn): Update end_prologue call.
* sdbout.c (sdbout_end_epilogue): Add line and file args.
(sdbout_end_prologue): Add file arg.
(sdb_debug_hooks): Update end_prologue.
(sdb_begin_prologue): Update sdbout_end_prologue call.
* vmsdbgout.c (vmsdbg_debug_hooks): Add vmsdbgout_end_prologue,
vmsdbgout_end_function.
(vmsdbgout_end_prologue): New function renamed from
vmsdbgout_after_prologue. Call vmsdbgout_source_line.
(vmsdbgout_end_function): New function.
(vmsdbgout_end_epilogue): Add line and file args. Call
vmsdbgout_source_line.
(write_pclines): Write only valid line numbers.
(write_srccorr): Don't write source correlation records if 0 lines.
* xcoffout.c (xcoffout_end_epilogue): Add line and file args.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56356 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * libstdc++-v3/libsupc++/unwind-cxx.h (__cxa_exception):
sje [Thu, 15 Aug 2002 18:05:41 +0000 (18:05 +0000)]
* libstdc++-v3/libsupc++/unwind-cxx.h (__cxa_exception):
Change catchTemp type from void* to _Unwind_Ptr.
* libstdc++-v3/libsupc++/eh_personality.cc (PERSONALITY_FUNCTION):
Do not cast landing_pad or base_of_encoded_value to (void *).
* libstdc++-v3/libsupc++/eh_throw.cc (__gxx_exception_cleanup):
Accept _URC_NO_REASON as a valid reason code.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56352 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * gcc/unwind.h (_Unwind_Ptr): Make 64 bits on IA64 HP-UX.
sje [Thu, 15 Aug 2002 18:01:30 +0000 (18:01 +0000)]
* gcc/unwind.h (_Unwind_Ptr): Make 64 bits on IA64 HP-UX.
(_Unwind_Internal_Ptr): 32 bit version for use in
read_encoded_value_with_base.
* gcc/unwind-pe.h (read_encoded_value_with_base): Use
_Unwind_Internal_Ptr instead of _Unwind_Ptr in order to get the
right size.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56351 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * loop.c (scan_loop, move_movables, count_one_set): Cast to avoid
ghazi [Thu, 15 Aug 2002 17:44:10 +0000 (17:44 +0000)]
* loop.c (scan_loop, move_movables, count_one_set): Cast to avoid
signed/unsigned warnings.

* regclass.c (init_reg_sets_1, choose_hard_reg_mode,
record_reg_classes): Likewise.

* reload.c (reload_inner_reg_of_subreg, push_reload,
find_reloads_address_1): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56350 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * rs6000.c (output_mi_thunk): Return to function section on
dje [Thu, 15 Aug 2002 14:51:00 +0000 (14:51 +0000)]
    * rs6000.c (output_mi_thunk): Return to function section on
        TARGET_ELF.

        * rs6000-c.c (rs6000_cpu_cpp_builtins): Define __PPC405__ if PPC405.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56348 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago*** empty log message ***
gdr [Thu, 15 Aug 2002 11:42:51 +0000 (11:42 +0000)]
*** empty log message ***

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56347 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agocp:
nathan [Thu, 15 Aug 2002 10:34:05 +0000 (10:34 +0000)]
cp:
PR c++/7598
* typeck.c (build_unary_op): Fold offsetof idiom. Fixes
regression caused by my 2002-08-08 patch.
testsuite:
* g++.dg/other/offsetof1.C: New test

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56346 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/s390/s390.c (legitimize_address): Optimize loading
uweigand [Thu, 15 Aug 2002 09:55:31 +0000 (09:55 +0000)]
* config/s390/s390.c (legitimize_address): Optimize loading
of large displacements.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56345 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agoDaily bump.
gccadmin [Thu, 15 Aug 2002 07:17:09 +0000 (07:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56344 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/alpha/alpha-protos.h: Update.
rupp [Thu, 15 Aug 2002 05:04:27 +0000 (05:04 +0000)]
* config/alpha/alpha-protos.h: Update.

* config/alpha/alpha.c: (LINKAGE_SYMBOL_REF_P): New macro.
(alpha_legitimate_address_p): Test LINKAGE_SYMBOL_REF_P.
(alpha_linkage_symbol_p): New static function.
(print_operand_address): Print linkage operand.

(alpha_funcs_num, alpha_funcs_tree, alpha_links_tree): New static
variables.
(reloc_kind): New enum.
(struct alpha_funcs): New struct.
(struct alpha_links): Add reloc_kind field. Rename links_kind field.

(alpha_need_linkage): Rewrite.
(alpha_use_linkage): New global function.
(alpha_write_linkage): Rewrite and make static.
(alpha_write_one_linkage): Rewrite

(alpha_start_function): Remove procedure descriptor output.
(alpha_end_function): Write linkages at end of each function.

* config/alpha/alpha.md (call_vms, call_value_vms): Rewrite.
(call_vms_1, call_value_vms_1): Rewrite.

* config/alpha/vms.h (ASM_FILE_END): Remove.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56338 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * ggc-page.c (RTL_SIZE): New.
rth [Thu, 15 Aug 2002 01:03:43 +0000 (01:03 +0000)]
    * ggc-page.c (RTL_SIZE): New.
        (extra_order_size_table): Add specializations for 2 and 10 rtl slots.
        * rtl.def (BARRIER, NOTE): Pad to 9 slots.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56337 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * gcc.dg/tls/diag-3.c: Fix expected message strings.
rth [Thu, 15 Aug 2002 00:16:11 +0000 (00:16 +0000)]
    * gcc.dg/tls/diag-3.c: Fix expected message strings.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56336 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * calls.c: Include target.h.
rth [Thu, 15 Aug 2002 00:07:55 +0000 (00:07 +0000)]
    * calls.c: Include target.h.
        * Makefile.in (calls.o): Update.

        * config/alpha/alpha.c (alpha_end_function): Use targetm.binds_local_p.
        * config/alpha/alpha.h (FUNCTION_OK_FOR_SIBCALL): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56335 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * Makefile.in (LOOSE_WARN): Add -fno-common.
rth [Thu, 15 Aug 2002 00:00:56 +0000 (00:00 +0000)]
    * Makefile.in (LOOSE_WARN): Add -fno-common.
        * c-common.h (constant_string_class_name): Add missing extern.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56334 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago PR preprocessor/7358
neil [Wed, 14 Aug 2002 22:34:50 +0000 (22:34 +0000)]
PR preprocessor/7358
* c-opts.c (check_deps_environment_vars): Ignore main file
for SUNPRO_DEPENDENCIES.
* cppfiles.c (stack_include_file): Ignore main file if
appropriate.
* cpplib.h (struct cpp_options): New member in deps.
* doc/cppenv.texi: Update.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56333 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago PR preprocessor/7526
neil [Wed, 14 Aug 2002 20:17:55 +0000 (20:17 +0000)]
PR preprocessor/7526
* cpplib.c (run_directive): Kludge so _Pragma dependency works.
testsuite:
* gcc.dg/cpp/_Pragma3.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56332 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * doc/invoke.texi (-a): Remove documentation.
nathan [Wed, 14 Aug 2002 20:06:12 +0000 (20:06 +0000)]
* doc/invoke.texi (-a): Remove documentation.
(-fprofile-arcs): Remove reference to -a, -ax options.
* doc/gcov.texi (Gcov Data Files): Data might be merged.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56331 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-08-14 Jesse Rosenstock <jmr@ugcs.caltech.edu>
tromey [Wed, 14 Aug 2002 19:53:54 +0000 (19:53 +0000)]
2002-08-14  Jesse Rosenstock  <jmr@ugcs.caltech.edu>

* java/lang/natPosixProcess.cc (cleanup): Added `path' argument.
(startProcess): Allocate path for chdir in async-signal-safe way.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56330 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago Fix PR/7566
gdr [Wed, 14 Aug 2002 17:50:48 +0000 (17:50 +0000)]
    Fix PR/7566
        * c-semantics.c (genrtl_case_label): Don't (mis)use
        warning_with_decl.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56329 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agoInsert memory clobbers before the code that pops variable arrays.
dalej [Wed, 14 Aug 2002 17:41:52 +0000 (17:41 +0000)]
Insert memory clobbers before the code that pops variable arrays.
This prevents the scheduler from moving references to the arrays
below the stack pop.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56328 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-08-14 Jonathan Wakely <jw@kayari.org>
pme [Wed, 14 Aug 2002 17:29:19 +0000 (17:29 +0000)]
2002-08-14  Jonathan Wakely  <jw@kayari.org>

* docs/html/22_locale/messages.html:  Use HTML entities for
punctuation.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56300 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * c-opts.c (c_common_post_options): Correct test.
neil [Wed, 14 Aug 2002 17:19:28 +0000 (17:19 +0000)]
* c-opts.c (c_common_post_options): Correct test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56299 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * m88k.h (ASM_OUTPUT_SOURCE_FILENAME): Fix incorrect argument
ghazi [Wed, 14 Aug 2002 16:25:36 +0000 (16:25 +0000)]
* m88k.h (ASM_OUTPUT_SOURCE_FILENAME): Fix incorrect argument
order in call to fprintf.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56298 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/sparc/sol2.h (SUBTARGET_EXTRA_SPECS): Define.
ro [Wed, 14 Aug 2002 16:12:33 +0000 (16:12 +0000)]
* config/sparc/sol2.h (SUBTARGET_EXTRA_SPECS): Define.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56297 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * reload.c (find_reloads): Handle constraint letters marked by
uweigand [Wed, 14 Aug 2002 10:04:51 +0000 (10:04 +0000)]
* reload.c (find_reloads): Handle constraint letters marked by
EXTRA_ADDRESS_CONSTRAINT and EXTRA_MEMORY_CONSTRAINT.
(alternative_allows_memconst): Likewise.
* reload1.c (maybe_fix_stack_asms): Likewise.
* recog.c (asm_operand_ok, preprocess_constraints,
constrain_operands): Likewise.
* regclass.c (record_operand_costs, record_reg_classes): Likewise.
* local-alloc.c (block_alloc, requires_inout): Likewise.
* stmt.c (parse_output_constraint, parse_input_constraint): Likewise.

* defaults.h (EXTRA_MEMORY_CONSTRAINT): Provide a default.
(EXTRA_ADDRESS_CONSTRAINT): Likewise.
* doc/tm.texi: Document these two new target macros.

* config/s390/s390.c (s390_expand_plus_operand): Accept already
valid operands.
(q_constraint): New function.
config/s390/s390-protos.h (q_constraint): Declare it.
config/s390/s390.h (EXTRA_CONSTRAINT): Use it.
(EXTRA_MEMORY_CONSTRAINT): New macro.

* config/s390/s390.md: Throughout the machine description,
replace all instances of the constraint combinations 'Qo'
or 'oQ' with simply 'Q'.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56291 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * gennews (files): Add GCC 3.2 files.
mmitchel [Wed, 14 Aug 2002 08:35:37 +0000 (08:35 +0000)]
* gennews (files): Add GCC 3.2 files.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56287 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/m68hc11/m68hc11.h (LINK_SPEC): Support -mrelax.
ciceron [Wed, 14 Aug 2002 08:01:26 +0000 (08:01 +0000)]
* config/m68hc11/m68hc11.h (LINK_SPEC): Support -mrelax.
* config/m68hc11/t-m68hc11-gas (LIBGCC2_DEBUG_CFLAGS): Can use -g now.
(LIBGCC2_CFLAGS): Compile with -mrelax.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56285 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * doc/invoke.texi: Document -minmax for 68HC12.
ciceron [Wed, 14 Aug 2002 07:53:55 +0000 (07:53 +0000)]
* doc/invoke.texi: Document -minmax for 68HC12.

* config/m68hc11/m68hc11.md ("umaxqi3"): Use TARGET_MIN_MAX.
("uminqi3"): Likewise.
("uminhi3", "umaxhi3"): Likewise.

* config/m68hc11/m68hc11.h (MASK_MIN_MAX): Define.
(TARGET_MIN_MAX): Define.
(TARGET_SWITCHES): New option -minmax/-mnominmax.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56284 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agoChangeLog for Update libgcc to use -mlong-calls (HC12)
ciceron [Wed, 14 Aug 2002 07:52:02 +0000 (07:52 +0000)]
ChangeLog for Update libgcc to use -mlong-calls (HC12)

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56283 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/m68hc11/t-m68hc11-gas (LIB1ASMFUNCS): Build __far_trampoline.
ciceron [Wed, 14 Aug 2002 07:32:52 +0000 (07:32 +0000)]
* config/m68hc11/t-m68hc11-gas (LIB1ASMFUNCS): Build __far_trampoline.
(MULTILIB_OPTIONS): Must also generate for -mlong-calls.

* config/m68hc11/larith.asm: Put a mode for ELF ABI flags.
(ret, declare, farsym): New gas macros.
(__premain, exit, abort, _cleanup, memcpy, memset, ___adddi3,
___subdi3, ___notdi2, __mulhi32, __mulsi3): Use them to use 'rtc'
and declare the symbol far when compiled with -mlong-calls.
(__far_trampoline): New for 68HC12 trampoline code to invoke a
far handler using jsr/bsr.

* config/m68hc11/m68hc11-crt0.S: Put a mode for ELF ABI flags.
(jsr): New macro to transform a 'jsr' into a 'call'.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56282 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agoDaily bump.
gccadmin [Wed, 14 Aug 2002 07:17:11 +0000 (07:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56281 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * doc/invoke.texi: Document -mlong-calls for 68HC12.
ciceron [Wed, 14 Aug 2002 07:14:03 +0000 (07:14 +0000)]
* doc/invoke.texi: Document -mlong-calls for 68HC12.

* config/m68hc11/m68hc11.h (CPP_SPEC): Pass -D__USE_RTC__ when
-mlong-calls is specified.
(ASM_DECLARE_FUNCTION_NAME): Define to generate .far and .interrupt
assembler directives.
(TARGET_LONG_CALL, MASK_LONG_CALL): Declare.
(TARGET_SWITCHES): Add -mlong-calls options.
(current_function_far): Declare.

* config/m68hc11/m68hc11.c (m68hc11_initial_elimination_offset): Take
into account the page register saved on the stack.
(m68hc11_override_options): Take into account -mlong-calls option.
(m68hc11_asm_file_start): Put a mode for the ELF flags ABI.

* config/m68hc11/m68hc11.md ("*return_32bit"): Return rtc
if the function is going to be in 68HC12 banked memory (-mlong-calls).
("*return_16bit"): Likewise.
("*return_void"): Likewise.
("call", "call_value"): Use call for a far function call.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56275 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * toplev.c (parse_options_and_default_flags): Don't call
neil [Wed, 14 Aug 2002 06:36:51 +0000 (06:36 +0000)]
* toplev.c (parse_options_and_default_flags): Don't call
post_options here.
(general_init): Initialize GC, pools and tree hash here,
instead of lang_independent_init.
(lang_independent_init): Rename backend_init.
(do_compile): Call post_options hook; exit early if there
have been errors after switch processing.
(toplev_main): Update.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56274 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * c-pretty-print.h: Guard against multiple inclusion.
gdr [Wed, 14 Aug 2002 03:22:18 +0000 (03:22 +0000)]
    * c-pretty-print.h: Guard against multiple inclusion.
        Robustify macros.
        (pp_c_attributes): Declare.
        * c-pretty-print.c (pp_c_attributes): New function.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56273 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * m68k.c (m68k_output_function_prologue,
ghazi [Wed, 14 Aug 2002 03:16:05 +0000 (03:16 +0000)]
* m68k.c (m68k_output_function_prologue,
m68k_output_function_epilogue): Delete versions for DPX2/MOTOROLA
and NEWS/MOTOROLA.
* genattrtab.c: Remove dpx2 comment.
* libgcc2.c (__enable_execute_stack): Delete versions for
NeXT/__MACH__, __convex__, __sysV88__, __pyr__ and
sony_news/SYSTYPE_BSD.
* longlong.h: Delete code for __a29k__, _AM29K, __clipper__,
__gmicro__, __i860__, __NeXT__ and __pyr__.
* rtl.h: Remove convex comment.
* varasm.c: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56272 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * c-opts.c (lang_flags): Const-ify.
ghazi [Wed, 14 Aug 2002 03:09:14 +0000 (03:09 +0000)]
* c-opts.c (lang_flags): Const-ify.
* ra-build.c (undef_table): Likewise.
* ra.c (eliminables): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56271 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago* boehm-gc/configure, libf2c/configure: Rebuilt.
aoliva [Wed, 14 Aug 2002 02:40:00 +0000 (02:40 +0000)]
* boehm-gc/configure, libf2c/configure: Rebuilt.
* libffi/configure, libiberty/configure: Ditto.
* libjava/configure, libobjc/configure: Ditto.
* libstdc++-v3/configure, zlib/configure: Ditto.
Merged from binutils:
2002-01-27  Daniel Jacobowitz  <drow@mvista.com>
From Steve Ellcey <sje@cup.hp.com>:
* libtool.m4 (HPUX_IA64_MODE): Set to 32 or 64 based on ABI.
(lt_cv_deplibs_check_method, lt_cv_file_magic_cmd,
lt_cv_file_magic_test_file): Set to appropriate values for HP-UX
IA64.
* ltcf-c.sh (archive_cmds, hardcode_*): Ditto.
* ltconfig (shlibpath_*, dynamic_linker, library_names_spec,
soname_spec, sys_lib_search_path_spec): Ditto.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56270 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * tree.h: Guard against multiple inclusion.
gdr [Wed, 14 Aug 2002 02:15:40 +0000 (02:15 +0000)]
    * tree.h: Guard against multiple inclusion.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56269 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-08-13 Jesse Rosenstock <jmr@ugcs.caltech.edu>
tromey [Wed, 14 Aug 2002 01:07:59 +0000 (01:07 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56268 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * reload1.c (reload_cse_simplify): Before checking
hp [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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56267 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56266 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-08-13 Jesse Rosenstock <jmr@fulcrummicro.com>
tromey [Tue, 13 Aug 2002 23:10:11 +0000 (23:10 +0000)]
2002-08-13  Jesse Rosenstock  <jmr@fulcrummicro.com>

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56265 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-08-13 Jesse Rosenstock <jmr@fulcrummicro.com>
tromey [Tue, 13 Aug 2002 22:29:23 +0000 (22:29 +0000)]
2002-08-13  Jesse Rosenstock  <jmr@fulcrummicro.com>

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56264 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago opts.c (c_common_init_options): Extra braces needed.
neil [Tue, 13 Aug 2002 19:30:33 +0000 (19:30 +0000)]
opts.c (c_common_init_options): Extra braces needed.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56262 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * sh.c (sh_init_builtins): Add PARAMS to declaration.
amylaar [Tue, 13 Aug 2002 16:52:27 +0000 (16:52 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56259 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * decl.c (pushdecl_class_level): Honor requests to bind names to
mmitchel [Tue, 13 Aug 2002 16:36:26 +0000 (16:36 +0000)]
* decl.c (pushdecl_class_level): Honor requests to bind names to
OVERLOADs.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56258 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-08-13 Jonathan Wakely <jw@kayari.org>
pme [Tue, 13 Aug 2002 16:26:13 +0000 (16:26 +0000)]
2002-08-13  Jonathan Wakely  <jw@kayari.org>
            Phil Edwards  <pme@gcc.gnu.org>

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56257 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * s390-modes.def [CCL1, CCL2, CCT1, CCT2, CCT3, CCUR, CCSR]: Declare
uweigand [Tue, 13 Aug 2002 16:02:52 +0000 (16:02 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56256 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/avr/avr.md: Call CC_STATUS_INIT in all peepnoles
denisc [Tue, 13 Aug 2002 14:06:56 +0000 (14:06 +0000)]
* config/avr/avr.md: Call CC_STATUS_INIT in all peepnoles
        which can change CC0.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56253 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * gcse.c (adjust_libcall_notes): New function.
amylaar [Tue, 13 Aug 2002 13:50:22 +0000 (13:50 +0000)]
* gcse.c (adjust_libcall_notes): New function.
(do_local_cprop): Use it.  Add fourth parameter.  Changed caller.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56252 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * Make-lang.in (gnatbind$(exeext)): Link with $(SYSLIBS).
ro [Tue, 13 Aug 2002 13:00:07 +0000 (13:00 +0000)]
* Make-lang.in (gnatbind$(exeext)): Link with $(SYSLIBS).
Remove $(CONFIG_H) dependency.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56251 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * libgcc2.c (L_bb): Remove unneeded #includes.
nathan [Tue, 13 Aug 2002 12:11:20 +0000 (12:11 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56250 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/ip2k/ip2k.c (commands_in_file): Variable removed.
denisc [Tue, 13 Aug 2002 09:58:37 +0000 (09:58 +0000)]
* 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__.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56249 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56248 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56247 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * c-opts.c (c_common_init_options): Check option array is
neil [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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56241 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * c-pretty-print.c: #include "c-tree.h".
gdr [Tue, 13 Aug 2002 01:38:35 +0000 (01:38 +0000)]
    * 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56240 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * c-opts.c (deps_seen, deps_file, deferred_count, deferred_size,
neil [Mon, 12 Aug 2002 22:44:30 +0000 (22:44 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56239 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * config/mmix/mmix.md (define_constants): Add MMIX_rR_REGNUM.
hp [Mon, 12 Aug 2002 21:32:01 +0000 (21:32 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56238 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * diagnostic.h (output_formatted_scalar): Rename from
gdr [Mon, 12 Aug 2002 18:34:51 +0000 (18:34 +0000)]
    * 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56236 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago- improve wording of previous change
dje [Mon, 12 Aug 2002 18:25:54 +0000 (18:25 +0000)]
- improve wording of previous change

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56235 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * doc/trouble.texi (Disappointments): Add static constructor and
dje [Mon, 12 Aug 2002 18:21:26 +0000 (18:21 +0000)]
* doc/trouble.texi (Disappointments): Add static constructor and
destructor dependency information for AIX.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56234 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * cpphash.h (struct printer): New from cppmain.c.
neil [Mon, 12 Aug 2002 17:21:52 +0000 (17:21 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56233 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * real.c (ieee_64): Always define.
ghazi [Mon, 12 Aug 2002 15:50:43 +0000 (15:50 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56232 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * i386.md (tablejump): Sign extend the operand.
hubicka [Mon, 12 Aug 2002 10:50:02 +0000 (10:50 +0000)]
* i386.md (tablejump): Sign extend the operand.
* i386.c (classify_argument): Fix missed case from previous patch.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56231 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56230 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * c-common.c (STDC_0_IN_SYSTEM_HEADERS, c_common_init): Move
neil [Mon, 12 Aug 2002 06:02:53 +0000 (06:02 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56223 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56222 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * i370.h (TARGET_CPU_CPP_BUILTINS): Remove spurious trailing
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/linux.h (TARGET_OS_CPP_BUILTINS): Likewise.
* i370/mvs.h (TARGET_OS_CPP_BUILTINS): Likewise.
* i370/oe.h (TARGET_OS_CPP_BUILTINS): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56221 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * expr.c (store_expr): In condition for checking if value is
hp [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, move call to expr_size last.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56217 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * c-common.c (c_common_init): Call preprocess_file instead.
neil [Sun, 11 Aug 2002 22:22:28 +0000 (22:22 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56214 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * dsp16xx.c (print_operand): Fix format specifier.
ghazi [Sun, 11 Aug 2002 19:24:09 +0000 (19:24 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56212 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * darwin-c.c (darwin_pragma_options): Const-ify.
ghazi [Sun, 11 Aug 2002 19:14:26 +0000 (19:14 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56211 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * ip2k.c (mdr_resequence_xy_yx, mdr_propagate_reg_equivs,
ghazi [Sun, 11 Aug 2002 18:52:38 +0000 (18:52 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56210 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * arc.c (arc_init): Don't use ISO C style function definitions.
ghazi [Sun, 11 Aug 2002 18:48:52 +0000 (18:48 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56209 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * decl2.c (build_call_from_tree): Fix uninitialized variable.
ghazi [Sun, 11 Aug 2002 18:30:25 +0000 (18:30 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56208 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56207 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * decl.c (duplicate_decls): Replace DECL_SOURCE_FILE +
gdr [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.
* optimize.c (maybe_clone_body): Likewise.
* pt.c (tsubst_enum): Likewise.
(lookup_template_class): Likewise.
* tree.c (cp_copy_res_decl_for_inlining): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56206 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56205 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56204 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago Reenable patch since shared library troubles on powerpc are solved:
mark [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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56203 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago PR target/7531:
aj [Sun, 11 Aug 2002 09:47:47 +0000 (09:47 +0000)]
PR target/7531:
* doc/invoke.texi (i386 and x86-64 Options): Document -mcmodel.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56198 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * c-common.h (enum c_language_kind): Emphasize that clk_c is 0.
neil [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-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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56197 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56196 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-08-10 Ziemowit Laski <zlaski@apple.com>
zlaski [Sun, 11 Aug 2002 06:20:08 +0000 (06:20 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56189 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * c-opts.c (set_std_cxx98, set_std_c89): New.
neil [Sat, 10 Aug 2002 20:58:45 +0000 (20:58 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56185 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * cfg.c (redirect_edge_succ_nodup): Avoid overflows due to roundoff
hubicka [Sat, 10 Aug 2002 18:00:54 +0000 (18:00 +0000)]
* cfg.c (redirect_edge_succ_nodup): Avoid overflows due to roundoff
errors.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56184 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agocp:
nathan [Sat, 10 Aug 2002 13:11:43 +0000 (13:11 +0000)]
cp:
* tree.c (maybe_dummy_object): Replace // with /* */e
testsuite:
* gcc.dg/bitfld-4.c: Add blank options.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56183 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * emit-rtl.c (emit_jump_insn_before, emit_call_insn_before,
ghazi [Sat, 10 Aug 2002 12:30:34 +0000 (12:30 +0000)]
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56182 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago * gengtype.c (write_gc_structure_fields): Avoid signed/unsigned
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56181 138bc75d-0d04-0410-961f-82ee72b054a4

21 years agoDaily bump.
gccadmin [Sat, 10 Aug 2002 07:17:07 +0000 (07:17 +0000)]
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56180 138bc75d-0d04-0410-961f-82ee72b054a4

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56174 138bc75d-0d04-0410-961f-82ee72b054a4

21 years ago2002-08-09 Ziemowit Laski <zlaski@apple.com>
zlaski [Sat, 10 Aug 2002 02:18:28 +0000 (02:18 +0000)]
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56173 138bc75d-0d04-0410-961f-82ee72b054a4