Jeffrey A Law
f4a788acb3
Bump for snapshot
...
From-SVN: r19001
1998-04-04 16:33:41 -07:00
Richard Henderson
5cb6195d3b
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
1998-04-04 12:25:44 -08:00
Richard Henderson
ce1938523b
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
1998-04-04 11:57:26 -08:00
Jeffrey A Law
e06e4d4534
method.c (check_btype): Add missing argument to xrealloc.
...
* method.c (check_btype): Add missing argument to xrealloc.
(check_ktype): Likewise.
From-SVN: r18998
1998-04-04 12:53:58 -07:00
Richard Henderson
39bdfaa056
Clarify LEGITIMIZE_RELOAD_ADDRESS issues a tad.
...
From-SVN: r18997
1998-04-04 10:37:01 -08:00
David Mosberger-Tang
0022a94004
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
1998-04-04 10:20:59 -08:00
Richard Henderson
092a4ef80c
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
1998-04-04 09:46:35 -08:00
Richard Henderson
896cced482
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
1998-04-04 09:46:06 -08:00
Richard Henderson
8983c71604
* configure.in (alpha-*-linux-*): Undo tm_file changes from gcc2 merge.
...
From-SVN: r18993
1998-04-04 09:04:24 -08:00
Richard Henderson
4ed43ff85a
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
1998-04-04 05:54:32 -08:00
Jeff Law
55a9eb7263
* Check in merge from gcc2. See ChangeLog.11 and ChangeLog.12
...
for details.
* haifa-sched.c: Mirror recent changes from gcc2.
From-SVN: r18991
1998-04-04 06:54:31 -07:00
Jeff Law
2c4be73e3f
* Check in merge from gcc2. See ChangeLog.11 and ChangeLog.12
...
for details.
* haifa-sched.c: Mirror recent changes from gcc2.
From-SVN: r18990
1998-04-04 06:54:29 -07:00
Jeff Law
5665caa28f
* Check in merge from gcc2. See ChangeLog.11 and ChangeLog.12
...
for details.
* haifa-sched.c: Mirror recent changes from gcc2.
From-SVN: r18989
1998-04-04 06:54:28 -07:00
Jeff Law
d6df9efb6d
* Check in merge from gcc2. See ChangeLog.11 and ChangeLog.12
...
for details.
* haifa-sched.c: Mirror recent changes from gcc2.
From-SVN: r18988
1998-04-04 06:54:26 -07:00
Richard Henderson
8e7bc3cd8f
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
1998-04-04 05:32:43 -08:00
Jeff Law
6153647887
* Check in merge from gcc2. See ChangeLog.11 and ChangeLog.12
...
for details.
* haifa-sched.c: Mirror recent changes from gcc2.
From-SVN: r18986
1998-04-04 06:32:42 -07:00
Jeff Law
f6cb0e630f
* Check in merge from gcc2. See ChangeLog.11 and ChangeLog.12
...
for details.
* haifa-sched.c: Mirror recent changes from gcc2.
From-SVN: r18985
1998-04-04 06:32:41 -07:00
Jeff Law
e5e809f419
* Check in merge from gcc2. See ChangeLog.11 and ChangeLog.12
...
for details.
* haifa-sched.c: Mirror recent changes from gcc2.
From-SVN: r18984
1998-04-04 06:32:39 -07:00
Jeff Law
31031eddac
dummy commit before merge
...
From-SVN: r18980
1998-04-03 09:37:26 -07:00
Jason Merrill
732dcb6f2a
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
1998-04-03 09:13:24 -05:00
Jeffrey A Law
e9eaed43b9
* Makefile.in (insn*.o): Depend on system.h.
...
From-SVN: r18976
1998-04-03 05:29:37 -07:00
Jim Wilson
1f3b6a3ebe
x86 regex.c failure from Jim Meyering.
...
* compile/980329-1.c: New test.
From-SVN: r18975
1998-04-03 04:29:04 -08:00
Jason Merrill
b3e401c25a
* decl.c (cplus_expand_expr_stmt): Strip unused INDIRECT_REFs.
...
From-SVN: r18974
1998-04-03 07:17:58 -05:00
Jason Merrill
9a71c18b28
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
1998-04-02 22:41:20 -05:00
Jeffrey A Law
516c23423e
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
1998-04-02 16:18:27 -07:00
Mike Stump
7cc348893e
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
1998-04-02 16:15:06 -07:00
Jim Wilson
b2012effc9
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
1998-04-02 10:30:53 -08:00
Jim Wilson
52c18286ff
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
1998-04-02 10:12:00 -08:00
Jason Merrill
0b41abe668
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
1998-04-02 12:05:40 -05:00
Jason Merrill
c098677bed
update
...
From-SVN: r18964
1998-04-02 11:19:01 -05:00
Vladimir N. Makarov
c1ac292d76
Patch from vmakarov to avoid warnings with -Wall.
...
* ginclude/va-i960.h (va_end): Change void * to void.
From-SVN: r18961
1998-04-02 03:54:27 -08:00
Kaveh R. Ghazi
4cb1caaf7b
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
1998-04-02 11:07:45 +00:00
Richard Henderson
7f388fb42f
Update with automake patched for DATA=$(INSTALL_DATA) problem.
...
From-SVN: r18948
1998-04-01 19:45:22 -08:00
Joern Rennecke
a9a2595b58
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
1998-04-01 18:42:26 -08:00
Richard Henderson
ce4d78eb2f
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
1998-04-01 17:56:17 -08:00
Richard Henderson
4901a64393
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
1998-04-01 17:33:22 -08:00
Richard Henderson
79363e2fa5
configure (alpha-*-linuxecoff, [...]): Run fixincludes.
...
* configure (alpha-*-linuxecoff, alpha-*-linux-gnulibc1):
Run fixincludes.
From-SVN: r18944
1998-04-01 17:13:17 -08:00
Jeffrey A Law
4e86caed7d
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
1998-04-01 16:35:51 -07:00
Jeffrey A Law
aefdd5abe0
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
1998-04-01 16:18:11 -07:00
Jeffrey A Law
729da3f5a8
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
1998-04-01 15:44:48 -07:00
Jeffrey A Law
2a8034f816
* i386/freebsd-elf.h (CPP_PREDEFINES): Update from FreeBSD folks.
...
From-SVN: r18940
1998-04-01 14:56:36 -07:00
Jeffrey A Law
715f9c994e
* pa.md (reload peepholes): Remove unused variable "mode".
...
From-SVN: r18939
1998-04-01 14:27:16 -07:00
Nick Clifton
8a01289e7b
Removed thumb-pe support.
...
From-SVN: r18938
1998-04-01 17:30:46 +00:00
Nick Clifton
ea65007e03
Removed thumb-pe target.
...
From-SVN: r18937
1998-04-01 17:26:35 +00:00
Jeffrey A Law
e7a587ef75
* 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
1998-04-01 10:25:12 -07:00
Nick Clifton
75d3a15b4d
Add thumb-pe support.
...
Add super interworking.
From-SVN: r18935
1998-04-01 17:19:01 +00:00
Jason Merrill
7c76b292a2
tweak
...
From-SVN: r18934
1998-04-01 12:15:54 -05:00
Jason Merrill
570221c201
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
1998-04-01 12:05:25 -05:00
Mark Mitchell
59581da697
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
1998-04-01 16:27:24 +00:00
Jim Wilson
63959c221b
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
1998-04-01 06:40:00 -08:00