Jeff Law [Tue, 7 Apr 1998 23:30:05 +0000 (17:30 -0600)]
New test from Joern.
From-SVN: r19037
Jeffrey A Law [Tue, 7 Apr 1998 20:51:37 +0000 (20:51 +0000)]
* pa.h (LEGITIMIZE_RELOAD_ADDRESS): Define.
From-SVN: r19036
Jeff Law [Tue, 7 Apr 1998 18:44:08 +0000 (12:44 -0600)]
Forgot to commit (duh).
From-SVN: r19035
Ulrich Drepper [Tue, 7 Apr 1998 18:39:16 +0000 (18:39 +0000)]
(__stl_prime_list): Mark last two numbers as unsigned long since they are...
(__stl_prime_list): Mark last two numbers as
unsigned long since they are otherwise too large for long int on
32bit machines.
From-SVN: r19034
Ken Raeburn [Tue, 7 Apr 1998 13:29:03 +0000 (13:29 +0000)]
Remove SIGINFO handling from mips.c.
From-SVN: r19033
Ken Raeburn [Tue, 7 Apr 1998 13:24:41 +0000 (13:24 +0000)]
Sync up MEMORY_MOVE_COST changes with FSF.
From-SVN: r19032
Jim Wilson [Tue, 7 Apr 1998 12:02:08 +0000 (12:02 +0000)]
Testcase for loop reversal (check_dbra_loop) bug.
From-SVN: r19031
Jim Wilson [Tue, 7 Apr 1998 12:00:13 +0000 (12:00 +0000)]
Fix loop reversal bug reported by Joern Rennecke.
* loop.c (check_dbra_loop): When normalize comparison_val, add check
to verify it is non-negative.
From-SVN: r19030
Jason Merrill [Tue, 7 Apr 1998 03:48:22 +0000 (03:48 +0000)]
call.c (build_call): Still evaluate the actual argument.
* call.c (build_call): Still evaluate the actual argument.
* class.c (is_empty_class): Update for -fnew-abi.
* decl2.c: -fnew-abi implies -fsquangle.
* method.c (do_build_assign_ref): Don't do anything to copy
an empty class.
(do_build_copy_constructor): Likewise.
* call.c (build_over_call): Likewise.
From-SVN: r19029
Richard Henderson [Tue, 7 Apr 1998 02:03:34 +0000 (19:03 -0700)]
alpha.c (alpha_expand_block_move): Correctly collect block offsets.
* alpha.c (alpha_expand_block_move): Correctly collect block offsets.
(alpha_expand_block_clear): Likewise.
From-SVN: r19028
Richard Henderson [Mon, 6 Apr 1998 23:37:27 +0000 (16:37 -0700)]
* tree.h (sizetype_tab): Fix previous change for K&R.
From-SVN: r19027
Jeffrey A Law [Mon, 6 Apr 1998 22:27:32 +0000 (16:27 -0600)]
Bump for snapshot
From-SVN: r19025
Richard Earnshaw [Mon, 6 Apr 1998 22:17:05 +0000 (22:17 +0000)]
configure.in (sparc-*-solaris2*): Add xm-siglist.h to xm_file.
* configure.in (sparc-*-solaris2*): Add xm-siglist.h to xm_file.
Add USG and POSIX to xm_defines.
From-SVN: r19024
Jeff Law [Mon, 6 Apr 1998 22:14:36 +0000 (16:14 -0600)]
Fix typo, add -O2 to trigger the bug.
From-SVN: r19023
Bob Manson [Mon, 6 Apr 1998 20:51:28 +0000 (20:51 +0000)]
gcc.c: Add linker spec.
* gcc.c: Add linker spec.
(link_command_spec): Use %(linker) instead of ld.
(main): If collect2 is requested as the linker, see if it exists;
if not, use ld instead.
* Makefile.in (USE_COLLECT2): It's named collect2 now, not ld.
(ld:) Deleted.
(install-collect2): Install as collect2, not ld.
* configure.in(will_use_collect2): It's named collect2 now.
* collect2: Remove checks to see if we were invoked recursively.
(collect_execute): Use _spawnvp under cygwin32.
From-SVN: r19022
Jim Wilson [Mon, 6 Apr 1998 17:50:13 +0000 (17:50 +0000)]
Fix solaris2 loop-2d.c failure reported by Manfred Hollstein.
* haifa-sched.c (build_control_flow): Set unreachable for block whose
only predecessor is itself.
From-SVN: r19021
Kaveh R. Ghazi [Mon, 6 Apr 1998 14:01:33 +0000 (14:01 +0000)]
More system.h cutover patches:
* c-parse.in: Include system.h, and remove stuff now made redundant.
* cccp.c: Likewise.
* cexp.y: Likewise.
* protoize.c: Likewise. Properly check for cpp stringification.
* Makefile.in (c-parse.o, cccp.o, cexp.o, protoize.o, unprotoize.o):
Depend on system.h.
* objc/Make-lang.in (objc-parse.o): Likewise.
From-SVN: r19020
Kaveh R. Ghazi [Mon, 6 Apr 1998 12:03:16 +0000 (12:03 +0000)]
gansidecl.h: Check if compiler supports __attribute__.
* gansidecl.h: Check if compiler supports __attribute__. Provide
definitions for ATTRIBUTE_UNUSED and ATTRIBUTE_PRINTF using
__attribute__ when its available. Also provide definitions for
ATTRIBUTE_PRINTF_1, ATTRIBUTE_PRINTF_2 and ATTRIBUTE_PRINTF_3 in
terms of ATTRIBUTE_PRINTF.
* genoutput.c (process_template): Use ATTRIBUTE_UNUSED in place
of __attribute__.
From-SVN: r19019
Catherine Moore [Mon, 6 Apr 1998 10:49:13 +0000 (10:49 +0000)]
combine.c (can_combine_p): Include successor in volatile test.
Mon Apr 6 07:17:52 1998 Catherine Moore <clm@cygnus.com>
* combine.c (can_combine_p): Include successor in volatile test.
From-SVN: r19018
J"orn Rennecke [Mon, 6 Apr 1998 06:38:10 +0000 (06:38 +0000)]
Fix execute failures for optimizing gcc.c-torture/execute/920721-4.c:
* sh.h (CASE_VECTOR_SHORTEN_MODE): Fix logic when to set
offset_unsigned.
From-SVN: r19017
Jeffrey A Law [Mon, 6 Apr 1998 01:05:12 +0000 (01:05 +0000)]
objc-act.c (encode_aggregate_within): Avoid GNU extensions in prototype and definition.
* objc/objc-act.c (encode_aggregate_within): Avoid GNU extensions
in prototype and definition.
From-SVN: r19016
Jeffrey A Law [Mon, 6 Apr 1998 00:49:00 +0000 (18:49 -0600)]
Bump for snapshot
From-SVN: r19015
Jeff Law [Mon, 6 Apr 1998 00:47:41 +0000 (18:47 -0600)]
Bogus file sucked in from gcc2 merge.
From-SVN: r19014
Richard Henderson [Mon, 6 Apr 1998 00:13:47 +0000 (17:13 -0700)]
alpha.c (alpha_expand_block_clear): Add missing offset arg to alpha_expand_unaligned_store_words.
* alpha.c (alpha_expand_block_clear): Add missing offset arg to
alpha_expand_unaligned_store_words.
From-SVN: r19013
John Wehle [Sun, 5 Apr 1998 20:32:31 +0000 (20:32 +0000)]
i386.md (movsf_push, movsf_mem): Remove.
* i386.md (movsf_push, movsf_mem): Remove.
(movsf_push): Rename from movsf_push_nomove and move in front of
movsf. Use nonmemory_operand predicate and don't bother checking
TARGET_MOVE.
(movsf_push_memory): New pattern.
(movsf): Don't bother checking for push_operand. If TARGET_MOVE and
both operands refer to memory then force operand[1] into a register.
(movsf_normal): Change to unnamed pattern.
Likewise for movdf, movxf, and friends.
From-SVN: r19011
Jeffrey A Law [Sun, 5 Apr 1998 18:45:55 +0000 (12:45 -0600)]
Bump for snapshot
From-SVN: r19009
Jeff Law [Sun, 5 Apr 1998 16:48:42 +0000 (10:48 -0600)]
expmed.c (synth_mult): The value -1, has no zeros, so it can never have the form ...011.
* expmed.c (synth_mult): The value -1, has no zeros, so it can
never have the form ...011.
Forgot to commit ChangeLog entry for this one.
From-SVN: r19008
Richard Henderson [Sun, 5 Apr 1998 16:30:46 +0000 (09:30 -0700)]
* configure.in (alpha-dec-osf*): Match osf1.3 correctly.
From-SVN: r19007
Jeff Law [Sun, 5 Apr 1998 15:57:44 +0000 (09:57 -0600)]
Add new test.
From-SVN: r19006
Don Bowman [Sun, 5 Apr 1998 15:54:49 +0000 (09:54 -0600)]
* configure.in (mips-wrs-vxworks): New target.
From-SVN: r19005
Jason Merrill [Sun, 5 Apr 1998 03:24:25 +0000 (03:24 +0000)]
* tree.c (avoid_overlap): Return a value.
From-SVN: r19004
Jeffrey A Law [Sat, 4 Apr 1998 23:34:34 +0000 (16:34 -0700)]
Bump for snapshot
From-SVN: r19002
Jeffrey A Law [Sat, 4 Apr 1998 23:33:41 +0000 (16:33 -0700)]
Bump for snapshot
From-SVN: r19001
Richard Henderson [Sat, 4 Apr 1998 20:25:44 +0000 (12:25 -0800)]
i386.c (asm_output_function_prefix, [...]): Use ASM_GENERATE_INTERNAL_LABEL properly.
* i386.c (asm_output_function_prefix, load_pic_register):
Use ASM_GENERATE_INTERNAL_LABEL properly.
(output_pic_addr_const): Recognize %X to supress any PIC sym suffix.
(print_operand): Ignore it.
(load_pic_register): Use it for the got load call.
* i386.md (prologue_set_got, prologue_get_pc): Likewise.
(prologue_get_pc_and_set_got): Likewise.
* i386.h: Update print_operand docs.
From-SVN: r19000
Richard Henderson [Sat, 4 Apr 1998 19:57:26 +0000 (11:57 -0800)]
i386.md (ffssi, ffshi): Rewrite as define_expands.
* i386.md (ffssi, ffshi): Rewrite as define_expands.
(ffssi_1, ffshi_1): New (unspec [] 5) support patterns.
* i386.c (notice_update_cc): Recognize unspec 5.
From-SVN: r18999
Jeffrey A Law [Sat, 4 Apr 1998 19:53:58 +0000 (19:53 +0000)]
method.c (check_btype): Add missing argument to xrealloc.
* method.c (check_btype): Add missing argument to xrealloc.
(check_ktype): Likewise.
From-SVN: r18998
Richard Henderson [Sat, 4 Apr 1998 18:37:01 +0000 (10:37 -0800)]
Clarify LEGITIMIZE_RELOAD_ADDRESS issues a tad.
From-SVN: r18997
David Mosberger-Tang [Sat, 4 Apr 1998 18:20:59 +0000 (18:20 +0000)]
alpha.h (PRINT_OPERAND_PUNCT_VALID_P): Accept '(' for s/sv/svi.
* alpha.h (PRINT_OPERAND_PUNCT_VALID_P): Accept '(' for s/sv/svi.
* alpha.c (print_operand): Handle it.
* alpha.md (fix_truncsfdi2): Use it. Add earlyclobber pattern
for ALPHA_TP_INSN.
(fix_truncdfdi2): Likewise.
From-SVN: r18996
Richard Henderson [Sat, 4 Apr 1998 17:46:35 +0000 (09:46 -0800)]
com.c (ffecom_expr_): Revert Oct 22 change.
* com.c (ffecom_expr_): Revert Oct 22 change. Instead take a WIDENP
argument so that we can respect the signedness of the original type.
(ffecom_init_0): Do sizetype initialization first.
From-SVN: r18995
Richard Henderson [Sat, 4 Apr 1998 17:46:06 +0000 (09:46 -0800)]
tree.h (sizetype_tab[2], [...]): Merge all of these into a single struct, with additional [us]sizetype entries.
* tree.h (sizetype_tab[2], sbitsizetype, ubitsizetype): Merge all
of these into a single struct, with additional [us]sizetype entries.
* stor-layout.c (set_sizetype): Initialize [us]sizetype.
* fold-const.c (size_int_wide): Don't rely on sizetype_tab being
an array.
From-SVN: r18994
Richard Henderson [Sat, 4 Apr 1998 17:04:24 +0000 (09:04 -0800)]
* configure.in (alpha-*-linux-*): Undo tm_file changes from gcc2 merge.
From-SVN: r18993
Richard Henderson [Sat, 4 Apr 1998 13:54:32 +0000 (05:54 -0800)]
haifa-sched.c (split_block_insns): Don't supress insn splitting on subsequent passes.
* haifa-sched.c (split_block_insns): Don't supress insn splitting
on subsequent passes.
* alpha.c (hard_fp_register_operand): New function.
* alpha.h (PREDICATE_CODES): Add it.
* alpha.md (extendsidi2): Kill bogus f<-f cvtql+cvtlq case. Add an
f<-m case and accompanying define_split.
(trapb): Use a unique unspec_volatile number.
From-SVN: r18992
Jeff Law [Sat, 4 Apr 1998 13:54:31 +0000 (06:54 -0700)]
* Check in merge from gcc2. See ChangeLog.11 and ChangeLog.12
for details.
* haifa-sched.c: Mirror recent changes from gcc2.
From-SVN: r18991
Jeff Law [Sat, 4 Apr 1998 13:54:29 +0000 (06:54 -0700)]
* Check in merge from gcc2. See ChangeLog.11 and ChangeLog.12
for details.
* haifa-sched.c: Mirror recent changes from gcc2.
From-SVN: r18990
Jeff Law [Sat, 4 Apr 1998 13:54:28 +0000 (06:54 -0700)]
* Check in merge from gcc2. See ChangeLog.11 and ChangeLog.12
for details.
* haifa-sched.c: Mirror recent changes from gcc2.
From-SVN: r18989
Jeff Law [Sat, 4 Apr 1998 13:54:26 +0000 (06:54 -0700)]
* Check in merge from gcc2. See ChangeLog.11 and ChangeLog.12
for details.
* haifa-sched.c: Mirror recent changes from gcc2.
From-SVN: r18988
Richard Henderson [Sat, 4 Apr 1998 13:32:43 +0000 (05:32 -0800)]
configure.in (alpha-*-linux-gnu*): Undo Feb 3 change brought in from gcc2 merge.
* configure.in (alpha-*-linux-gnu*): Undo Feb 3 change brought in
from gcc2 merge.
From-SVN: r18987
Jeff Law [Sat, 4 Apr 1998 13:32:42 +0000 (06:32 -0700)]
* Check in merge from gcc2. See ChangeLog.11 and ChangeLog.12
for details.
* haifa-sched.c: Mirror recent changes from gcc2.
From-SVN: r18986
Jeff Law [Sat, 4 Apr 1998 13:32:41 +0000 (06:32 -0700)]
* Check in merge from gcc2. See ChangeLog.11 and ChangeLog.12
for details.
* haifa-sched.c: Mirror recent changes from gcc2.
From-SVN: r18985
Jeff Law [Sat, 4 Apr 1998 13:32:39 +0000 (06:32 -0700)]
* Check in merge from gcc2. See ChangeLog.11 and ChangeLog.12
for details.
* haifa-sched.c: Mirror recent changes from gcc2.
From-SVN: r18984
Jeff Law [Fri, 3 Apr 1998 16:37:26 +0000 (09:37 -0700)]
dummy commit before merge
From-SVN: r18980
Jason Merrill [Fri, 3 Apr 1998 14:13:24 +0000 (14:13 +0000)]
Implement empty base optimization.
* class.c (finish_struct_1): Add vbase fields earlier. Set
CLASSTYPE_SIZE of an empty base to 0. Types with bases can be empty.
* search.c (dfs_check_overlap, dfs_no_overlap_yet): New fns.
(types_overlap_p): New fn.
* tree.c (avoid_overlap): New fn.
(build_base_fields): Use it to avoid overlapping empty bases.
* cp-tree.h, decl2.c, lang-options.h: Add -fnew-abi.
From-SVN: r18978
Jeffrey A Law [Fri, 3 Apr 1998 12:29:37 +0000 (12:29 +0000)]
* Makefile.in (insn*.o): Depend on system.h.
From-SVN: r18976
Jim Wilson [Fri, 3 Apr 1998 12:29:04 +0000 (12:29 +0000)]
x86 regex.c failure from Jim Meyering.
* compile/980329-1.c: New test.
From-SVN: r18975
Jason Merrill [Fri, 3 Apr 1998 12:17:58 +0000 (12:17 +0000)]
* decl.c (cplus_expand_expr_stmt): Strip unused INDIRECT_REFs.
From-SVN: r18974
Jason Merrill [Fri, 3 Apr 1998 03:41:20 +0000 (22:41 -0500)]
Re-implement allocation of base class subobjects.
* tree.c (unshare_base_binfos): New fn.
(layout_basetypes): Use it. Now handles offsets of both virtual and
non-virtual bases, after layout_type.
(layout_vbasetypes): Remove.
(build_base_fields): Generate FIELD_DECLs for each non-virtual base.
(build_vbase_pointer_fields): Split out from old layout_basetypes.
* class.c (finish_base_struct): Lose offset handling code.
Move nonvdtor warning here. Don't mess with t_binfo anymore.
(finish_struct_1): Don't mess with t_binfo anymore. Use fns above.
* cp-tree.h: Adjust.
From-SVN: r18973
Jeffrey A Law [Thu, 2 Apr 1998 23:18:27 +0000 (23:18 +0000)]
pa.c (output_global_address): Initialize base.
* pa.c (output_global_address): Initialize base.
* pa.h (GO_IF_LEGITIMATE_ADDRESS): Initialize index.
From-SVN: r18972
Mike Stump [Thu, 2 Apr 1998 23:15:06 +0000 (23:15 +0000)]
gthr.h: Support systems that don't have weak, but have threads.
* gthr.h: Support systems that don't have weak, but have threads.
* configure.in (*wrs-vxworks*): Use VxWorks threads by default.
* gthr-vxworks.h: New file.
* objc/thr-vxworks.h: Dummy file from thr-single.c for now.
From-SVN: r18971
Jim Wilson [Thu, 2 Apr 1998 18:30:53 +0000 (18:30 +0000)]
Readd patch for SCO5 to fix build problem.
* info/termdep.h: If POSIX, #undef TIOCGETC for benefit of systems
that provide TIOCETC but not struct tchars.
From-SVN: r18967
Jim Wilson [Thu, 2 Apr 1998 18:12:00 +0000 (18:12 +0000)]
Fix x86 core dump on regex.c
Fix x86 core dump on regex.c
* i386.md (movqi+1): Change alternative 1 from *r/r to *r/*rn.
From-SVN: r18966
Jason Merrill [Thu, 2 Apr 1998 17:05:40 +0000 (17:05 +0000)]
cp-tree.h: Lose CLASSTYPE_VBASE_SIZE, some unused stuff.
* cp-tree.h: Lose CLASSTYPE_VBASE_SIZE, some unused stuff.
* decl.c, decl2.c, pt.c, ptree.c, lex.c: Likewise.
* class.c (duplicate_tag_error): Likewise.
(finish_struct_1): Set CLASSTYPE_SIZE, CLASSTYPE_MODE, CLASSTYPE_ALIGN.
* tree.c (layout_vbasetypes): Update from layout_record, remove
var_size support, use CLASSTYPE_SIZE instead of CLASSTYPE_VBASE_SIZE.
(layout_basetypes): Likewise.
From-SVN: r18965
Jason Merrill [Thu, 2 Apr 1998 16:19:01 +0000 (11:19 -0500)]
update
From-SVN: r18964
Vladimir N. Makarov [Thu, 2 Apr 1998 11:54:27 +0000 (11:54 +0000)]
Patch from vmakarov to avoid warnings with -Wall.
* ginclude/va-i960.h (va_end): Change void * to void.
From-SVN: r18961
Kaveh R. Ghazi [Thu, 2 Apr 1998 11:07:45 +0000 (11:07 +0000)]
Patched in the gcc directory:
* Makefile.in (choose-temp.o): Depend on system.h.
Patched in both the libiberty and gcc directories:
* choose-temp.c: Include system.h when IN_GCC.
From-SVN: r18952
Richard Henderson [Thu, 2 Apr 1998 03:45:22 +0000 (19:45 -0800)]
Update with automake patched for DATA=$(INSTALL_DATA) problem.
From-SVN: r18948
Joern Rennecke [Thu, 2 Apr 1998 02:42:26 +0000 (02:42 +0000)]
reload.c (find_reloads_address): Try LEGITIMIZE_RELOAD_ADDRESS.
* reload.c (find_reloads_address): Try LEGITIMIZE_RELOAD_ADDRESS.
(move_replacements): New function.
* reload.h: Prototype it.
* alpha.h (LEGITIMIZE_RELOAD_ADDRESS): New definition.
Co-Authored-By: Richard Henderson <rth@cygnus.com>
From-SVN: r18947
Richard Henderson [Thu, 2 Apr 1998 01:56:17 +0000 (17:56 -0800)]
final.c (alter_subreg): Allow the target to hook by-mode subreg hard register number changes.
* final.c (alter_subreg): Allow the target to hook by-mode subreg
hard register number changes.
From-SVN: r18946
Richard Henderson [Thu, 2 Apr 1998 01:33:22 +0000 (17:33 -0800)]
emit-rtl.c (gen_lowpart_common): Skip count by HARD_REGNO_NREGS.
* emit-rtl.c (gen_lowpart_common): Skip count by HARD_REGNO_NREGS.
(gen_highpart): Likewise.
From-SVN: r18945
Richard Henderson [Thu, 2 Apr 1998 01:13:17 +0000 (17:13 -0800)]
configure (alpha-*-linuxecoff, [...]): Run fixincludes.
* configure (alpha-*-linuxecoff, alpha-*-linux-gnulibc1):
Run fixincludes.
From-SVN: r18944
Jeffrey A Law [Wed, 1 Apr 1998 23:35:51 +0000 (23:35 +0000)]
fold-const.c (optimze_bit_field_compare): Initialize rnbitpos, rnbitsize, rnmode and rinner.
* fold-const.c optimze_bit_field_compare): Initialize rnbitpos,
rnbitsize, rnmode and rinner.
(make_range): Initialize type.
(fold): Initialize arg0, arg1 and varop.
* function.c (instantiate_virtual_regs_1): Initialize offset, regnoi
and regnor.
(expand_function_start): Initialize last_ptr.
* stor-layout.c (layout_record): Initialize desired_align.
(get_best_mode): Initialize unit.
* tree.c (copy_node): Initialize length.
From-SVN: r18943
Jeffrey A Law [Wed, 1 Apr 1998 23:18:11 +0000 (23:18 +0000)]
c-lex.c (yylex): Initialize traditional_type, ansi_type and type.
* c-lex.c (yylex): Initialize traditional_type, ansi_type and type.
* caller-save.c (insert_save_restore): Initialize pat, code and
numregs.
* emit-rtl.c (push_to_sequence): Initialize top.
(push_topmost_sequence): Likewise.
* genattrtab.c (simplify_by_exploding): Initialize defval.
* profile.c (branch_prob): Initialize dest.
* rtl.h (note_stores): Remove duplicate prototype.
(GEN_INT): Re-instate cast of second arg to HOST_WIDE_INT.
Fix some warnings.
* cplus-dem.c (gnu_special): Don't get confused by .<digits>
strings that are not actually lengths.
A change from libiberty that didn't make it into the gcc copy.
From-SVN: r18942
Jeffrey A Law [Wed, 1 Apr 1998 22:44:48 +0000 (22:44 +0000)]
genattrtab.c: Make generated file use system.h, instead of including stdio.h, etc directly.
* genattrtab.c: Make generated file use system.h, instead of
including stdio.h, etc directly.
* genextract.c, genopinit.c, genoutput.c: Likewise.
* genpeep.c, genrecog.c: Likewise
* genoutput.c (process_template): Mark operands in the generated
function as potentially unused if compiling with GNU CC.
From-SVN: r18941
Jeffrey A Law [Wed, 1 Apr 1998 21:56:36 +0000 (21:56 +0000)]
* i386/freebsd-elf.h (CPP_PREDEFINES): Update from FreeBSD folks.
From-SVN: r18940
Jeffrey A Law [Wed, 1 Apr 1998 21:27:16 +0000 (21:27 +0000)]
* pa.md (reload peepholes): Remove unused variable "mode".
From-SVN: r18939
Nick Clifton [Wed, 1 Apr 1998 17:30:46 +0000 (17:30 +0000)]
Removed thumb-pe support.
From-SVN: r18938
Nick Clifton [Wed, 1 Apr 1998 17:26:35 +0000 (17:26 +0000)]
Removed thumb-pe target.
From-SVN: r18937
Jeffrey A Law [Wed, 1 Apr 1998 17:25:12 +0000 (17:25 +0000)]
* class.c, Make sure system.h is included just after config.h.
Delete lingering stdio and errno references too.
* decl.c, errfn.c, parse.y, ptree.c search.c, xrefc.: Likewwise.
From-SVN: r18936
Nick Clifton [Wed, 1 Apr 1998 17:19:01 +0000 (17:19 +0000)]
Add thumb-pe support.
Add super interworking.
From-SVN: r18935
Jason Merrill [Wed, 1 Apr 1998 17:15:54 +0000 (12:15 -0500)]
tweak
From-SVN: r18934
Jason Merrill [Wed, 1 Apr 1998 17:05:25 +0000 (17:05 +0000)]
friend.c (is_friend): Fix access control for local classes.
* friend.c (is_friend): Fix access control for local classes.
* class.c (is_empty_class): New fn.
* call.c (build_call): Don't pass empty class objects to a function.
From-SVN: r18933
Mark Mitchell [Wed, 1 Apr 1998 16:27:24 +0000 (16:27 +0000)]
call.c (build_over_call): Do name resolution for default arguments of function templates in the scope of...
* call.c (build_over_call): Do name resolution for default
arguments of function templates in the scope of the templates.
From-SVN: r18932
Jim Wilson [Wed, 1 Apr 1998 14:40:00 +0000 (14:40 +0000)]
Fix irix6-x-foo cross compiler build problem where irix6 gcc invokes wrong as.
* config/mips/iris6.h (MD_EXEC_PREFIX): Set to /usr/bin/.
(MD_STARTFILE_PREFIX): Unset.
From-SVN: r18931
Mark Mitchell [Wed, 1 Apr 1998 13:48:48 +0000 (13:48 +0000)]
cplus-dem.c (optable): Add sizeof.
* cplus-dem.c (optable): Add sizeof.
(demangle_template_value_parm): New function containing code
previously found in demangle_template.
(demangle_integral_value): New function which handles complicated
integral expressions.
(demangle_template): Use them.
From-SVN: r18930
Mark Mitchell [Wed, 1 Apr 1998 13:45:40 +0000 (13:45 +0000)]
varasm.c (make_decl_rtl): Update the DECL_ASSEMBLER_NAME for a entity in a local scope.
* varasm.c (make_decl_rtl): Update the DECL_ASSEMBLER_NAME for a
entity in a local scope.
* fold-const.c (fold): Call truthvalue_conversion for values which
are folded to boolean type.
From-SVN: r18929
Jeffrey A Law [Wed, 1 Apr 1998 05:20:26 +0000 (05:20 +0000)]
1750a.md, [...]: Use GEN_INT consistently.
* 1750a.md, arm.c, clipper.c, clipper.md: Use GEN_INT consistently.
* convex.h, dsp16xx.c, fx80.md, gmicro.c, gmicro.md: Likewise.
* i370.h, i370.md, i860.c, i860.h, i860.md, i960.c: Likewise.
* i960.h, i960.md, m32r.md, m68k.md, m68kv4.h, m88k.c: Likewise.
* m88k.md, ns32k.c, ns32k.md, pdp11.c, pdp11.h, pdp11.md: Likewise.
* pyr.c, pyr.h, pyr.md, romp.c, romp.h, romp.md: Likewise.
* rs6000.md, sparc.c, sparc.h, sparc.md, spur.c, spur.md: Likewise.
* tahoe.md, vax.h, vax.md, we32k.c, we32k.h, we32k.md: Likewise.
* md.texi: Likewise.
From-SVN: r18927
Manfred Hollstein [Tue, 31 Mar 1998 22:35:25 +0000 (22:35 +0000)]
fixincludes (limits.h): Fix nested comments in Motorola's limits.h and sys/limits.h.
8
* fixincludes (limits.h): Fix nested comments in Motorola's
limits.h and sys/limits.h.
From-SVN: r18923
Manfred Hollstein [Tue, 31 Mar 1998 22:35:23 +0000 (22:35 +0000)]
fixincludes (limits.h): Fix nested comments in Motorola's limits.h and sys/limits.h.
@
* fixincludes (limits.h): Fix nested comments in Motorola's
limits.h and sys/limits.h.
From-SVN: r18922
Jim Wilson [Tue, 31 Mar 1998 19:24:52 +0000 (19:24 +0000)]
Fix alpha-vms packed-1 failure.
* alpha.c (alpha_expand_unaligned_load): Use tgt instead of addr
as dest of expand_binop call.
From-SVN: r18921
Jim Wilson [Tue, 31 Mar 1998 19:20:08 +0000 (19:20 +0000)]
Fix core dump while compiling gdb-4.16.
* alpha.md (extzv): Correct check for valid operand[2] values.
From-SVN: r18920
Jim Wilson [Tue, 31 Mar 1998 18:56:59 +0000 (18:56 +0000)]
Fix HPPA -fprofile-arcs abort on switch statements.
* profile.c (branch_prob): Add code to recognize HPPA tablejump entry
branch.
From-SVN: r18919
Jim Wilson [Tue, 31 Mar 1998 16:59:41 +0000 (16:59 +0000)]
Fix problem where different code gets generated with/without -Wreturn-type.
* toplev.c (rest_of__compilation): Call init_recog_no_volatile at end.
From-SVN: r18918
Jeffrey A Law [Tue, 31 Mar 1998 13:25:46 +0000 (13:25 +0000)]
call.c: Include system.h.
* call.c: Include system.h. Remove includes, declarations and
defines provided by system.h.
* class.c, cvt.c, decl.c, decl2.c, errfn.c error.c: Likewise.
* except.c, expr.c friend.c, g++spec.c, init.c, input.c: Likewise.
* lex.c, parse.y, pt.c, ptree.c repo.c rtti.c, search.c: Likewise.
* semantics.c, sig.c, spew.c, tree.c, typeck.c: Likewise.
* typeck2.c, xref.c: Likewise.
* Makefile.in: Dependencies updated as appropriate.
* Make-lang.in: Likewise.
system.h cutover from the cp subdir
From-SVN: r18917
Stan Cox [Mon, 30 Mar 1998 14:35:36 +0000 (14:35 +0000)]
gcc.c, cccp.c, cpplib.c, collect2.c (GET_ENVIRONMENT): Added.
From-SVN: r18914
Stan Cox [Mon, 30 Mar 1998 14:33:55 +0000 (14:33 +0000)]
(__main, __do_global_dtors, __do_global_ctors): For __CYGWIN32__ use the versions in winsup/dcrt0.cc.
From-SVN: r18913
Mark Mitchell [Mon, 30 Mar 1998 12:17:01 +0000 (12:17 +0000)]
pt.c (fn_type_unification): Allow incomplete unification without an immediate error message.
* pt.c (fn_type_unification): Allow incomplete unification without
an immediate error message.
From-SVN: r18912
Kaveh R. Ghazi [Mon, 30 Mar 1998 12:05:54 +0000 (12:05 +0000)]
More cutover to system.h:
* Makefile.in (cppalloc.o, cpperror.o, cppexp.o, cpphash.o,
cpplib.o, cppmain.o, fix-header.o, gcov.o, gen-protos.o,
gengenrtl.o, halfpic.o, hash.o, scan-decls.o, scan.o): Depend on
system.h.
* cpphash.c: Include config.h.
* cppalloc.c: Include system.h. Add parameters to various
function prototypes.
* cpperror.c: Likewise.
* cppexp.c: Likewise.
* cpphash.c: Likewise.
* cpplib.c: Likewise.
* cppmain.c: Likewise.
* fix-header.c: Likewise.
* gcov.c: Likewise.
* gen-protos.c: Likewise.
* gengenrtl.c: Likewise.
* halfpic.c: Likewise.
* hash.c: Likewise.
* scan-decls.c: Likewise.
* scan.c: Likewise.
From-SVN: r18911
Jim Wilson [Mon, 30 Mar 1998 11:08:05 +0000 (11:08 +0000)]
Fix problem reported by Thomas Quinot.
* README.gnat: Add lang_print_xnode definition.
From-SVN: r18910
Jason Merrill [Mon, 30 Mar 1998 10:56:25 +0000 (10:56 +0000)]
tree.c (member_p): New fn.
* tree.c (member_p): New fn.
* decl2.c (finish_file): Only set DECL_STATIC_FUNCTION_P for
initializing class members.
* cp-tree.def (TEMPLATE_PARM_INDEX): Class 'x'.
* ptree.c (lang_print_xnode): Handle TEMPLATE_PARM_INDEX.
From-SVN: r18909
Jason Merrill [Mon, 30 Mar 1998 09:07:34 +0000 (09:07 +0000)]
call.c (build_method_call): Handle non-scoped destructors, too.
* call.c (build_method_call): Handle non-scoped destructors, too.
* pt.c (tsubst_copy): Likewise.
* pt.c (print_template_context): Split out...
(push_tinst_level): ...from here.
* friend.c (is_friend): Don't pass a type to decl_function_context.
* typeck.c (convert_for_initialization): Always hand off
conversions to class type.
From-SVN: r18908
Andreas Schwab [Mon, 30 Mar 1998 01:14:16 +0000 (01:14 +0000)]
m68k.c (standard_68881_constant_p): Don't use fmovecr on the 68060.
* config/m68k/m68k.c (standard_68881_constant_p): Don't use
fmovecr on the 68060.
From-SVN: r18907