law [Sat, 4 Dec 1999 08:45:08 +0000 (08:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30772
138bc75d-0d04-0410-961f-
82ee72b054a4
geoffk [Sat, 4 Dec 1999 03:00:04 +0000 (03:00 +0000)]
* c-common.c (enum attrs): Add A_NO_LIMIT_STACK.
(init_attributes): Add A_NO_LIMIT_STACK.
(decl_attributes): Handle A_NO_LIMIT_STACK.
* c-decl.c (duplicate_decls): Handle DECL_NO_LIMIT_STACK.
* explow.c (allocate_dynamic_stack_space) [!HAVE_allocate_stack]:
Handle stack bounds checking.
* flags.h (flag_stack_check): Use the word 'probe' rather than
'check', because the flag doesn't actually cause any checking to
be done.
* function.c (expand_function_start): Set
current_function_limit_stack.
* function.h (struct function): Add limit_stack.
(current_function_limit_stack): Define.
* invoke.texi (Code Gen Options): Document new options.
* rtl.h: Declare stack_limit_rtx.
* toplev.c (stack_limit_rtx): New variable.
(decode_f_option): Handle new options -fstack-limit-register=REG,
-fstack-limit-symbol=IDENT, -fno-stack-limit.
(main): Add stack_limit_rtx as GC root.
* tree.h (DECL_NO_LIMIT_STACK): New macro.
(struct tree_decl): New member no_limit_stack.
* config/rs6000/rs6000.c (rs6000_allocate_stack_space): Handle
stack_limit_rtx.
* config/rs6000/rs6000.md (allocate_stack): Handle stack_limit_rtx.
(conditional_trap+1): Get new mnemonic correct.
(conditional_trap+2): New pattern for DImode traps.
* config/m68k/m68k.c (output_function_prologue): Handle
stack_limit_rtx.
* config/m68k/m68k.md (trap): New insn.
(conditional_trap): New insn.
* md.texi (Standard Names): Document `trap' and
`conditional_trap'.
* optabs.c (gen_cond_trap): Use start_sequence()/end_sequence()
so a cc0 setter doesn't get emitted at some random place in the
function.
* config/i960/i960.md (trap): New insn.
(conditional_trap): New expander.
(conditional_trap+1, conditional_trap+2): New insns for signed
and unsigned cases.
* config/i960/i960.c (i960_function_prologue): Use
STARTING_FRAME_OFFSET. Handle stack_limit_rtx.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30771
138bc75d-0d04-0410-961f-
82ee72b054a4
geoffk [Fri, 3 Dec 1999 19:02:20 +0000 (19:02 +0000)]
* flags.h (warn_padded, warn_packed): Add global var decls.
* toplev.c (warn_padded, warn_packed): Add global var defns.
(W_options): Add warnings `-Wpacked' and `-Wpadded'.
* stor-layout.c (layout_record): Add local variable `type'
to hold often-used TREE_TYPE (field). Add local variable
`unpacked_align' to hold alignment that would be in force
if no `packed' attribute were present. Warn if `packed' attribute
is unnecessary, or even harmful. Warn when gcc inserts padding
to satisfy alignment requirements of members. Use NULL_TREE
when checking whether var_size is set.
* invoke.texi: Document new flags.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30770
138bc75d-0d04-0410-961f-
82ee72b054a4
samuel [Fri, 3 Dec 1999 16:45:53 +0000 (16:45 +0000)]
* g++.old-deja/g++.abi/align.C: New test.
* g++.old-deja/g++.abi/aggregates.C: Likewise.
* g++.old-deja/g++.abi/bitfields.C: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30769
138bc75d-0d04-0410-961f-
82ee72b054a4
nathan [Fri, 3 Dec 1999 11:58:27 +0000 (11:58 +0000)]
* frame.c (fde_split): Reimplement to avoid variable sized array.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30768
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Fri, 3 Dec 1999 08:45:06 +0000 (08:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30767
138bc75d-0d04-0410-961f-
82ee72b054a4
oliva [Fri, 3 Dec 1999 04:17:09 +0000 (04:17 +0000)]
* config.guess, config.sub: Update from autoconf.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30766
138bc75d-0d04-0410-961f-
82ee72b054a4
mrs [Fri, 3 Dec 1999 03:31:44 +0000 (03:31 +0000)]
Fix p24939.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30765
138bc75d-0d04-0410-961f-
82ee72b054a4
green [Fri, 3 Dec 1999 03:00:39 +0000 (03:00 +0000)]
Updated the thanks list.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30764
138bc75d-0d04-0410-961f-
82ee72b054a4
bryce [Thu, 2 Dec 1999 19:59:30 +0000 (19:59 +0000)]
* java/lang/natString.cc (equalsIgnoreCase): return false if
anotherString is null.
* java/lang/Boolean.java (valueOf): return FALSE if argument is
null.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30763
138bc75d-0d04-0410-961f-
82ee72b054a4
amylaar [Thu, 2 Dec 1999 19:09:23 +0000 (19:09 +0000)]
* combine.c (try_combine): Before fixing up LOG_LINKS for the
i3_subst_into_i2 case, check that GET_CODE (PATTERN (i2)) == PARALLEL.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30762
138bc75d-0d04-0410-961f-
82ee72b054a4
gavin [Thu, 2 Dec 1999 18:52:01 +0000 (18:52 +0000)]
* invoke.texi: Document the mips option -mno-crt0
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30761
138bc75d-0d04-0410-961f-
82ee72b054a4
brolley [Thu, 2 Dec 1999 16:31:58 +0000 (16:31 +0000)]
1999-12-02 Mike Karr <mkarr@mathworks.com>
* cccp.c (argdata): Added free_ptr member.
(macroexpand): Initialize free_ptr of each argument. When an
argument's buffers are freed, if the argument's free_ptr corresponds
to a buffer on the input stack, then return the free_ptr to that stack
frame, otherwise, free it.
(macarg): If an argument begins and ends on the same input stack level,
then transfer the free_ptr of that buffer to the argument in case
the stack is popped during the processing of a subsequent argument.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30760
138bc75d-0d04-0410-961f-
82ee72b054a4
crux [Thu, 2 Dec 1999 12:37:50 +0000 (12:37 +0000)]
Four new tests
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30759
138bc75d-0d04-0410-961f-
82ee72b054a4
crux [Thu, 2 Dec 1999 11:27:31 +0000 (11:27 +0000)]
Prevent invalid transformations
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30758
138bc75d-0d04-0410-961f-
82ee72b054a4
nickc [Thu, 2 Dec 1999 10:53:39 +0000 (10:53 +0000)]
remove compile time warnings about uninitilaised fileds
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30757
138bc75d-0d04-0410-961f-
82ee72b054a4
nickc [Thu, 2 Dec 1999 10:18:36 +0000 (10:18 +0000)]
Pass pragma_getc and pragma_ungetc to HANDLE_PRAGMA.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30756
138bc75d-0d04-0410-961f-
82ee72b054a4
bryce [Thu, 2 Dec 1999 10:09:24 +0000 (10:09 +0000)]
1999-12-02 Bryce McKinlay <bryce@albatross.co.nz>
* libjava/java/net/ServerSocket.java (ServerSocket): Bind to any
interface if bindAddr is null.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30755
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Thu, 2 Dec 1999 09:17:30 +0000 (09:17 +0000)]
* i386.md (extend?f?f2): Force the input into a register, not
the output.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30754
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Thu, 2 Dec 1999 08:45:06 +0000 (08:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30753
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Thu, 2 Dec 1999 06:30:09 +0000 (06:30 +0000)]
* gcc.c-torture/execute/991201-1.c: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30752
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Thu, 2 Dec 1999 01:44:52 +0000 (01:44 +0000)]
Fix cut-n-paste error in last change.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30751
138bc75d-0d04-0410-961f-
82ee72b054a4
davem [Thu, 2 Dec 1999 00:38:56 +0000 (00:38 +0000)]
* config/sparc/sparc.md (movsf_const_intreg): Add constraints for
regclass' sake.
(movdf_const_intreg_sp32): Likewise. Prefer the memory load
alternative because setting up 64bit constant is usually costly,
especially when reload is in progress or completed.
(movdf_const_intreg_sp64): Likewise.
(movdf_const_intreg split): Fix building up constants when
HOST_BITS_PER_WIDE_INT is 64 yet long is 32bit.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30750
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Thu, 2 Dec 1999 00:36:31 +0000 (00:36 +0000)]
* combine.c (if_then_else_cond): Use const_true_rtx instead of
const1_rtx for return values in EQ/NE comparison against (const_int 0)
case.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30749
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Thu, 2 Dec 1999 00:21:59 +0000 (00:21 +0000)]
* mn10300.c (REG_SAVE_BYTES): Allocate space for AM33 registers.
(asm_file_start): Emit .am33 into assembly file when compiling for
the AM33.
(print_operand_address): Handle POST_INC addresses.
(can_use_return_insn, initial_offset): Check AM33 registers too.
(expand_prologue): Check & save AM33 registers too.
(expand_epilogue): Similarly.
wise.
(REG_CLASS_CONTENTS, REGNO_REG_CLASS): Likewise.
(INDEX_REG_CLASS, REG_CLASS_FROM_LETTER): Likewise.
(REGNO_OK_FOR_INDEX_P, PREFERRED_RELOAD_CLASS): Likewise.
(PREFERRED_OUTPUT_RELOAD_CLASS, LIMIT_RELOAD_CLASS): Likewise.
(REGISTER_MOVE_COST, REGISTER_NAMES): Likewise.
(HAVE_POST_INCREMENT): Define.
(GO_IF_LEGITIMATE_ADDRESS): Allow POST_INC addresses for the AM33.
(GO_IF_MODE_DEPENDENT_ADDRESS): POST_INC is a mode dependent address.
* mn10300.md (movqi, movhi, addsi, subsi): Add AM33 variants.
(mulsi, andsi, iorsi, xorsi, notsi): Likewise.
(ashiftsi, lshiftrtsi, ashiftrtsi): Likewise.
(zero_extend to SI from QI/HI): Likewise.
(sign_extend to SI from QI/HI): Likewise.
(mulsidi3, umulsidi3): New patterns for the AM33.
(tstsi with zero extension from QI/HI): Add AM33 variants.
(movsi, movsf, movdi, movdf): Generate efficient code for the AM33 too.
(return_internal_regs, store_movm): Handle new AM33 registers.
* t-mn10300 (MULTILIB_OPTIONS, MULTILIB_DIRNAMES): Define.
(LIBGCC, INSTALL_LIBGCC): Likewise.
* invoke.texi: Document new flags.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30748
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Wed, 1 Dec 1999 23:48:05 +0000 (23:48 +0000)]
* i386.md (addsi3_cc): Add "binary_operator_ok" to the condition.
(addsi3_carry): Likewise.
(sbbsi3_cc): Add "binary_operator_ok" to the condition.
(sbbsi3_carry): Likewise.
(mulsi3): Rewrite to expander, ensure that only one operand is memory.
(mulhi3): Likewise.
(test?i_1): Ensure that only one operand is memory.
(conditional move patterns): likewise.
(shift and rotate patterns): Rewrite to expander, add
"binary_operator_ok" to the condition.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30747
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Wed, 1 Dec 1999 22:49:12 +0000 (22:49 +0000)]
* i386.md (QImode patterns): Remove '*' before the 'r' constraints.
* i386.h (procesor_costs): Add movzbl_load field.
(HARD_REGNO_MODE_OK): Accept QImode on non PARTIAL_REGISTER_STALL in
non-Q registers, accept DImode registers anywhere.
(Q_CLASS_P): New.
(MEMORY_MOVE_COST): Calculate QImode moves correctly.
* i386.c (*_cost): Set value for movxbl_load field.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30746
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Wed, 1 Dec 1999 22:35:15 +0000 (22:35 +0000)]
* (addsi): New add to lea splitter.
(ashlsi): Likewise.
(lea to add/shift peep2): New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30745
138bc75d-0d04-0410-961f-
82ee72b054a4
gavin [Wed, 1 Dec 1999 19:50:46 +0000 (19:50 +0000)]
* config/mips/elf.h (STARTFILE_SPEC): Add no-crt0.
* config/mips/elf64.h (STARTFILE_SPEC): Add no-crt0.
* config/mips/mips.h (TARGET_SWITCHES): Add no-crt0.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30744
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Wed, 1 Dec 1999 18:09:09 +0000 (18:09 +0000)]
* cp-tree.h (min_tree_cons): Remove.
(scratch_ovl_cons): Likewise.
* decl.c (saveable_obstack): Don't declare.
(duplicate_decls): Tweak error-message.
(initialize_local_var): Explicitly mark the definition as static.
(finish_function): Call permanent_allocation, just so
that the middle-end sees the obstacks it expects.
(mark_cp_function_context): Likewise.
* init.c (build_new): Don't use min_tree_cons.
* lex.c (permanent_obstack): Don't declare.
(current_obstack, saveable_obstack): Likewise.
* spew.c (current_obstack, saveable_obstack): Likewise.
* tree.c (current_obstack, saveable_obstack): Likewise.
(scratch_ovl_cons): Remove.
(build_min_nt): Don't mess with obstacks.
(build_min): Likewise.
(min_tree_cons): Remove
* typeck.c (build_component_ref): Don't use scratch_ovl_cons.
(build_x_function_call): Likewise.
(build_c_cast): Don't use min_tree_cons.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30743
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Wed, 1 Dec 1999 17:27:17 +0000 (17:27 +0000)]
Undo the last change I've checked in by accident.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30742
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Wed, 1 Dec 1999 16:50:46 +0000 (16:50 +0000)]
* i386.c (ix86_expand_move): Never add clobbers to move patterns.
* i386.md (movsi_xor): New.
(movsi_or): New.
(movsi_1, movhi_1, movqi_1): Remove.
(movsi_2): Rename to movsi_1.
(movhi_2): Rename to movhi_1.
(movqi_2): Rename to movqi_1.
(movdi_1): Remove; remove splitter.
(movdi_2): Rename to movdi_1.
(divmodsi4 splitter): Do not emit clobbers for move patterns.
(long move peep2): Do not create QI or HI mode mov0s
(mov -1,reg -> or peep2s): Enable again, rewrite to single peephole.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30741
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Wed, 1 Dec 1999 13:38:50 +0000 (13:38 +0000)]
* i386.md (zero_extend?i?i2): Rewrite to expanders; new patterns
rewrite splitters.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30740
138bc75d-0d04-0410-961f-
82ee72b054a4
apbianco [Wed, 1 Dec 1999 13:06:10 +0000 (13:06 +0000)]
Thu Nov 11 01:57:14 1999 Alexandre Petit-Bianco <apbianco@cygnus.com>
* parse.y (lookup_method_invoke): Use lang_printable_name to
reliably build the type name during error report. Fixes PR gcj/97.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30739
138bc75d-0d04-0410-961f-
82ee72b054a4
hubicka [Wed, 1 Dec 1999 12:04:11 +0000 (12:04 +0000)]
* i386.md (neg?f2_if): Split "r" and "f" to separate alternatives.
(abs?f2_if): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30738
138bc75d-0d04-0410-961f-
82ee72b054a4
jsm [Wed, 1 Dec 1999 11:54:08 +0000 (11:54 +0000)]
1999-12-01 Jason Molenda (jsm@bugshack.cygnus.com)
* ChangeLog: Dummy commit to make sure the logging is working
right.
Oh, and test the PR system. PR other/4.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30737
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Wed, 1 Dec 1999 08:45:07 +0000 (08:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30735
138bc75d-0d04-0410-961f-
82ee72b054a4
samuel [Wed, 1 Dec 1999 08:13:54 +0000 (08:13 +0000)]
* ggc.h (ggc_test_and_set_mark): New macro.
(ggc_mark_rtx): Use ggc_test_and_set_mark.
(ggc_mark_tree): Likewise.
(ggc_mark_rtvec): Likewise.
* ggc-common.c (ggc_mark_rtx_children): Reduce recursion.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30734
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Wed, 1 Dec 1999 01:48:02 +0000 (01:48 +0000)]
* dwarf2out.c (scope_die_for): Only handle types. Only search for
containing types.
(decl_scope_table): Just an array of trees now.
(push_decl_scope): Simplify.
(dwarf2out_init): Adjust.
(local_scope_p): New fn.
(gen_inlined_enumeration_type_die): Don't call scope_die_for.
(gen_inlined_union_type_die, gen_inlined_structure_type_die): Likewise.
(gen_typedef_die): Likewise.
(gen_lexical_block_die): Don't call push/pop_decl_scope.
(gen_inlined_subroutine_die): Likewise.
(gen_abstract_function): Set current_function_decl temporarily.
(gen_subprogram_die): Don't check DECL_ABSTRACT to set declaration.
Handle block extern declarations. Don't call push/pop_decl_scope.
(gen_decl_die): Fix logic for block externs.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30733
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Tue, 30 Nov 1999 23:56:52 +0000 (23:56 +0000)]
* ansidecl.h (ATTRIBUTE_MALLOC): New macro.
* libiberty.h (buildargv, dupargv, concat, choose_temp_base,
make_temp_file, xmalloc, xcalloc, xstrdup, xmemdup): Add
ATTRIBUTE_MALLOC.
(xatexit): Remove __GNUC__ check, add ATTRIBUTE_NORETURN.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30732
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Tue, 30 Nov 1999 23:55:26 +0000 (23:55 +0000)]
* calls.c (special_function_p): Remove `realloc' and add `strdup'
to the list of functions which have attribute malloc by default.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30731
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Tue, 30 Nov 1999 23:26:37 +0000 (23:26 +0000)]
* c-lex.c (yylex): With -Wtraditional, when the ANSI type of an
integer constant does not match the traditional type, limit the
warnings to cases where the base of the type is ten.
* invoke.texi (-Wtraditional): Document it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30730
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Tue, 30 Nov 1999 23:19:06 +0000 (23:19 +0000)]
* combine.c (try_combine): Only pass SET or CLOBBER to SET_DEST
* rs6000.md: Only access a CONST_INT with INTVAL
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30729
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Tue, 30 Nov 1999 22:28:43 +0000 (22:28 +0000)]
* lcm.c (compute_laterin): Cast bb->aux to size_t not int.
(compute_nearerout): Likewise.
* ggc-page.c (ggc_page_print_statistics): Explicitly cast
size_t to unsigned long for formatting.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30728
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Tue, 30 Nov 1999 22:18:21 +0000 (22:18 +0000)]
Jakub Jelinek <jakub@redhat.com>
* config/sparc/sparc.h (FIXED_REGISTERS, CONDITIONAL_REGISTER_USAGE):
Allow the user to override call-used/fixed state of %g2-5
registers from the command line (with the exception of %g4 for
embedded model).
(REG_LEAF_ALLOC_ORDER): Move %g1 and %g4-7 registers to front, so that
there is a higher chance of having a leaf function.
(MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Provide separate macros
for ARCH64 which has %ccr register.
* config/sparc/sparc.md (return_losum_si, return_losum_di): New
patterns.
* config/sparc/sparc.c (eligible_for_epilogue_delay): For the return
insn accept into delay slot any insn which does not use %[ol]
registers. Accept some LO_SUM and shift left by 1 for the normal
restore case.
(output_function_epilogue): Likewise.
(epilogue_renumber): Added argument which inhibits any renumbering
and just tests if the rtx does not use any %[ol] registers.
(output_return): Reflect above change.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30727
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Tue, 30 Nov 1999 22:06:50 +0000 (22:06 +0000)]
* config/sparc/sparc.c (sparc_va_arg): Fix sparc64 va_arg
aggregate passing for sizes <= 16 bytes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30726
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Tue, 30 Nov 1999 18:53:15 +0000 (18:53 +0000)]
* posix-threads.cc (_Jv_MutexInit): Use _Jv_PthreadGetMutex to get
mutex to initialize. Initialize `count' if required.
Fixes PR libgcj/98.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30725
138bc75d-0d04-0410-961f-
82ee72b054a4
brendan [Tue, 30 Nov 1999 12:47:12 +0000 (12:47 +0000)]
fix typo
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30724
138bc75d-0d04-0410-961f-
82ee72b054a4
crux [Tue, 30 Nov 1999 12:16:56 +0000 (12:16 +0000)]
Delete obsolete macros
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30723
138bc75d-0d04-0410-961f-
82ee72b054a4
brendan [Tue, 30 Nov 1999 12:02:09 +0000 (12:02 +0000)]
* sparc.h (MASK_FASTER_STRUCTS, TARGET_FASTER_STRUCTS): Define.
(TARGET_SWITCHES): Add -mfaster-structs/-mno-faster-structs flags.
(ROUND_TYPE_ALIGN): Use better value of -mfaster-structs.
* sparc.md (sparclite86x_branch, sparclite86x_shift): New function
units for the sparclite86x chip.
(flush): Revert October 14th change; add SImode specifically.
(flushdi): Copy of flush, but DImode, to avoid genrecog warnings.
* invoke.texi: Document it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30722
138bc75d-0d04-0410-961f-
82ee72b054a4
nickc [Tue, 30 Nov 1999 11:05:05 +0000 (11:05 +0000)]
Fix psimode truncation patterns to not accept MEMs that are not valid for
PSImode.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30721
138bc75d-0d04-0410-961f-
82ee72b054a4
m.hayes [Tue, 30 Nov 1999 10:42:29 +0000 (10:42 +0000)]
* flow.c (flow_nodes_print, flow_loops_cfg_dump): New functions.
(flow_loop_nested_p, flow_loops_dump, flow_loops_free): Likewise.
(flow_loop_exits_find, flow_loop_nodes_find): Likewise.
(flow_depth_first_order_compute, flow_loop_pre_header_find): Likewise.
(flow_loop_tree_node_add, flow_loops_tree_build): Likewise.
(flow_loop_level_compute, low_loops_level_compute): Likewise.
(flow_loops_find, flow_loop_outside_edge_p): Likewise.
* basic-block.h: Protect from multiple inclusion.
(flow_loops_find, flow_loops_free, flow_loop_dump): Add protoypes.
(struct loops, struct loop): Define structures.
* sbitmap.c (sbitmap_a_subset_b_p): New function.
* sbitmap.h: Protect from multiple inclusion.
(sbitmap_a_subset_b_p): Add prototype.
* Makefile.in (LOOP_H): New macro.
(stmt.o, integrate.o, loop.o, unroll.o): Replace loop.h with LOOP_H.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30720
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Tue, 30 Nov 1999 08:45:07 +0000 (08:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30719
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Tue, 30 Nov 1999 08:36:13 +0000 (08:36 +0000)]
* cppinit.c (CAT): The argument list of this macro may not contain
spaces !
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30718
138bc75d-0d04-0410-961f-
82ee72b054a4
davem [Tue, 30 Nov 1999 06:03:30 +0000 (06:03 +0000)]
Move quantity tables and register equivalence chains into
per-qty and per-register structure arrays respectively.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30717
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Mon, 29 Nov 1999 23:39:29 +0000 (23:39 +0000)]
* pt.c (tsubst_decl): Robustify.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30716
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Mon, 29 Nov 1999 23:02:14 +0000 (23:02 +0000)]
Install proper change
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30715
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Mon, 29 Nov 1999 22:56:39 +0000 (22:56 +0000)]
* fold-const.c (extract_muldiv, case {MIN,MAX}_EXPR): Reverse
operation if C is negative.
(extract_muldiv, case SAVE_EXPR): Supresss if arg has side effects.
(extract_muldiv, case {PLUS,MINUS}_EXPR): Don't apply distributive
law for some divisions if constant is negative and change other
divisions to the opposite rounding.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30714
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Mon, 29 Nov 1999 22:44:52 +0000 (22:44 +0000)]
* expr.c (store_constructor_field): If bit position is not multiple
of alignment of TARGET's mode, use BLKmode.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30713
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Mon, 29 Nov 1999 22:35:51 +0000 (22:35 +0000)]
* expr.c (expand_expr_unaligned): Add more code from full case
that is needed when OP0 is in a register.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30712
138bc75d-0d04-0410-961f-
82ee72b054a4
korbb [Mon, 29 Nov 1999 22:31:15 +0000 (22:31 +0000)]
Update e-address
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30711
138bc75d-0d04-0410-961f-
82ee72b054a4
apbianco [Mon, 29 Nov 1999 20:43:24 +0000 (20:43 +0000)]
Tue Nov 23 10:55:18 1999 Alexandre Petit-Bianco <apbianco@cygnus.com>
* parse.y (catch_clause_parameter:): Still set `$$' to NULL_TREE
in case of error. Error message tuned.
This fixes a catch clause error handling reported on the java-discuss
mailing list:
http://sourceware.cygnus.com/ml/java-discuss/1999-q4/msg00358.html
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30710
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Mon, 29 Nov 1999 19:43:55 +0000 (19:43 +0000)]
1999-11-27 Per Bothner <per@bothner.com>
* exception.cc: Remove prototype declarations for malloc and free.
These clash with recent versions of glibc, which specifies `throws ()'
when __cplusplus is defined. Instead, #include <stdlib.h>.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30709
138bc75d-0d04-0410-961f-
82ee72b054a4
amylaar [Mon, 29 Nov 1999 18:11:35 +0000 (18:11 +0000)]
Fix for gcc.c-torture/noncompile/920824-1.c on SH (and mips?)
* dwarfout.c (field_byte_offset): Size can be zero if there was
an error.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30708
138bc75d-0d04-0410-961f-
82ee72b054a4
apbianco [Mon, 29 Nov 1999 17:40:31 +0000 (17:40 +0000)]
hu Nov 4 16:27:01 1999 Alexandre Petit-Bianco <apbianco@cygnus.com>
* parse.y (resolve_qualified_expression_name): Handle PLUS_EXPR.
(qualify_ambiguous_name): Likewise.
(This patch fixes the gcj PR #55.)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30707
138bc75d-0d04-0410-961f-
82ee72b054a4
crux [Mon, 29 Nov 1999 17:35:07 +0000 (17:35 +0000)]
Delete unused vars.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30706
138bc75d-0d04-0410-961f-
82ee72b054a4
crux [Mon, 29 Nov 1999 14:48:30 +0000 (14:48 +0000)]
Add missing return types
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30705
138bc75d-0d04-0410-961f-
82ee72b054a4
korbb [Mon, 29 Nov 1999 14:35:50 +0000 (14:35 +0000)]
don't skip GLIBC files any more, more C++ header testing, corrected spelling of mach
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30704
138bc75d-0d04-0410-961f-
82ee72b054a4
crux [Mon, 29 Nov 1999 12:18:56 +0000 (12:18 +0000)]
New test: gcc.dg/991129-1.c
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30703
138bc75d-0d04-0410-961f-
82ee72b054a4
crux [Mon, 29 Nov 1999 12:09:54 +0000 (12:09 +0000)]
Verify class is ok when allocating reload reg in push_reload
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30702
138bc75d-0d04-0410-961f-
82ee72b054a4
crux [Mon, 29 Nov 1999 11:51:16 +0000 (11:51 +0000)]
Fix bug in reloads_conflict
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30701
138bc75d-0d04-0410-961f-
82ee72b054a4
crux [Mon, 29 Nov 1999 11:44:57 +0000 (11:44 +0000)]
Clean up parts of the scheduler
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30700
138bc75d-0d04-0410-961f-
82ee72b054a4
crux [Mon, 29 Nov 1999 11:06:51 +0000 (11:06 +0000)]
Delete useless patterns
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30699
138bc75d-0d04-0410-961f-
82ee72b054a4
crux [Mon, 29 Nov 1999 10:51:09 +0000 (10:51 +0000)]
Fix abort in loop_iterations
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30698
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Mon, 29 Nov 1999 09:05:34 +0000 (09:05 +0000)]
Make ChangeLog entry clearer
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30697
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 29 Nov 1999 08:45:07 +0000 (08:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30696
138bc75d-0d04-0410-961f-
82ee72b054a4
davem [Mon, 29 Nov 1999 08:07:23 +0000 (08:07 +0000)]
1999-11-29 David S. Miller <davem@redhat.com>
* config/sparc/sparc.c (init_cumulative_args): Fix type of third
arg.
* config/sparc/sparc-protos.h: Update proto, move into RTX_CODE.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30695
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Mon, 29 Nov 1999 06:18:49 +0000 (06:18 +0000)]
Fix a typo.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30694
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Mon, 29 Nov 1999 02:50:04 +0000 (02:50 +0000)]
* com.c (ffecom_file_, ffecom_file, file_buf,
ffecom_open_include_): Constify a char*.
(ffecom_possible_partial_overlap_): Mark parameter `expr2' with
ATTRIBUTE_UNUSED.
(ffecom_init_0): Use a fully prototyped cast in call to bsearch.
(lang_print_error_function): ANSI-fy.
* com.h (ffecom_file): Constify a char*.
* fini.c (main): Call return, not exit.
* g77spec.c (lang_specific_driver): Use non-const *in_argv in
assignment.
* intrin.c (ffeintrin_cmp_name_): Don't needlessly cast away
const-ness.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30693
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Mon, 29 Nov 1999 02:26:49 +0000 (02:26 +0000)]
* com.c (ffecom_get_invented_identifier): Rewrite to take an ellipses.
(ffecom_char_enhance_arg_, ffecom_do_entry_,
ffecom_f2c_make_type_, ffecom_gen_sfuncdef_,
ffecom_start_progunit_, ffecom_start_progunit_,
ffecom_start_progunit_, ffecom_sym_transform_assign_,
ffecom_transform_equiv_, ffecom_transform_namelist_,
ffecom_vardesc_, ffecom_vardesc_array_, ffecom_vardesc_dims_,
ffecom_end_transition, ffecom_lookup_label, ffecom_temp_label):
Adjust accordingly.
* com.h (ffecom_get_invented_identifier): Likewise.
* sts.c (ffests_printf): New function taking ellipses.
(ffests_printf_1D, ffests_printf_1U, ffests_printf_1s,
ffests_printf_2Us): Delete.
* sts.h: Likewise.
* std.c (ffestd_R1001dump_, ffestd_R1001dump_1005_1_,
ffestd_R1001dump_1005_2_, ffestd_R1001dump_1005_3_,
ffestd_R1001dump_1005_4_, ffestd_R1001dump_1005_5_,
ffestd_R1001dump_1010_2_, ffestd_R1001dump_1010_3_,
ffestd_R1001dump_1010_4_, ffestd_R1001dump_1010_5_,
ffestd_R1001rtexpr_): Call `ffests_printf', not `ffests_printf_*'.
* ste.c (ffeste_io_ialist_, ffeste_io_cilist_, ffeste_io_cllist_,
ffeste_io_icilist_, ffeste_io_inlist_, ffeste_io_olist_): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30692
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Mon, 29 Nov 1999 02:08:36 +0000 (02:08 +0000)]
* libiberty.h: Include stdarg.h when ANSI_PROTOTYPES is defined.
(asprintf, vasprintf): Provide declarations.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30691
138bc75d-0d04-0410-961f-
82ee72b054a4
robertl [Sun, 28 Nov 1999 21:44:43 +0000 (21:44 +0000)]
* i386/sco5.h (FINI_SECTION_ASM_OP_COFF): Move destructor fn
table from .fini into .dtor.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30690
138bc75d-0d04-0410-961f-
82ee72b054a4
green [Sun, 28 Nov 1999 20:45:34 +0000 (20:45 +0000)]
* tree.h (struct tree_decl): Add malloc_flag.
(DECL_IS_MALLOC): Define.
* c-common.c (attrs): Add A_MALLOC attribute.
(init_attributes): Add this attribute to the table.
(decl_attributes): Handle malloc attribute.
* calls.c (special_function_p): Check for the malloc attribute.
* extend.texi (Function Attributes): Document malloc attribute.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30689
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sun, 28 Nov 1999 20:24:48 +0000 (20:24 +0000)]
* pa.md (reload shift-add patterns): Remove.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30688
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sun, 28 Nov 1999 20:05:50 +0000 (20:05 +0000)]
* reorg.c (dbr_schedule) Print more statistics. Corrected
problem when printing info when 3 delay slots are filled.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30687
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sun, 28 Nov 1999 08:45:07 +0000 (08:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30686
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sun, 28 Nov 1999 08:08:02 +0000 (08:08 +0000)]
* combine.c (setup_incoming_promotions): Pass an outgoing
regno to FUNCTION_ARG_REGNO_P which it expects.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30685
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sun, 28 Nov 1999 08:03:00 +0000 (08:03 +0000)]
* mips/linux.h (CPP_PREDEFINES): Undefine before redefining.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30684
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sun, 28 Nov 1999 07:58:37 +0000 (07:58 +0000)]
* hashtab.c (sys/types.h): File included.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30683
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sun, 28 Nov 1999 07:56:53 +0000 (07:56 +0000)]
* cccp.c (do_include): Avoid initialization of automatic variable.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30682
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sun, 28 Nov 1999 07:47:57 +0000 (07:47 +0000)]
* integrate.c (mark_stores): Function definition made void, to match
previous declaration.
* regclass.c (dump_regclass): Ditto.
* Makefile.in (WARN_CFLAGS): Macro augmented by `-Wtraditional'.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30681
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sun, 28 Nov 1999 07:41:09 +0000 (07:41 +0000)]
* gcc_update: Allow patches compressed by bzip2.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30680
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Sat, 27 Nov 1999 18:04:50 +0000 (18:04 +0000)]
Fix typo
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30679
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Sat, 27 Nov 1999 18:01:48 +0000 (18:01 +0000)]
* decl2.c (finish_file): Call expand_body for inline functions
that will be written out but that do not yet have RTL.
* semantics.c (expand_body): Do not generate RTL For inline
functions that do not yet need to be written out.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30678
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sat, 27 Nov 1999 14:55:36 +0000 (14:55 +0000)]
* expr.c (store_constructor): Use EXACT_DIV_EXPR when dividend is
known to be multiple of divisor.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30677
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sat, 27 Nov 1999 14:47:23 +0000 (14:47 +0000)]
* expr.c (store_constructor): Don't clobber TARGET if CLEARED.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30676
138bc75d-0d04-0410-961f-
82ee72b054a4
crux [Sat, 27 Nov 1999 14:08:36 +0000 (14:08 +0000)]
New test: compile/991127-1.c
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30675
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sat, 27 Nov 1999 13:59:20 +0000 (13:59 +0000)]
* combine.c (try_combine): Add code to try to merge a set of a
two-word pseudo to a constant with a setting of one of those words
to a constant.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30674
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sat, 27 Nov 1999 13:50:13 +0000 (13:50 +0000)]
* fold-const.c (negate_expr, associate_trees, extract_muldiv): New.
(split_tree): Completely rework to make more general.
(make_range, fold): Call negate_expr.
(fold, case NEGATE_EXPR): Simplify -(a-b) is -ffast-math.
(fold, associate): Call new split_tree and associate_trees.
(fold, case MULT_EXPR, case *_{DIV,MOD}_EXPR): Call extract_muldiv.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30673
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sat, 27 Nov 1999 08:45:07 +0000 (08:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30672
138bc75d-0d04-0410-961f-
82ee72b054a4