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
Jeffrey A Law [Sun, 29 Mar 1998 23:22:49 +0000 (23:22 +0000)]
genemit.c (DONE): Rework so that it works in the true arm if an if-else conditional.
* genemit.c (DONE): Rework so that it works in the true arm if
an if-else conditional.
(FAIL): Likewise.
From-SVN: r18906
Jeffrey A Law [Sun, 29 Mar 1998 22:48:16 +0000 (22:48 +0000)]
* rs6000.c: Do not include stdioh or ctype.h anymore.
From-SVN: r18905
Jason Merrill [Sun, 29 Mar 1998 20:04:28 +0000 (20:04 +0000)]
friend.c (is_friend): Local classes have the same access as the enclosing function.
* friend.c (is_friend): Local classes have the same access as the
enclosing function.
From-SVN: r18904
Jeffrey A Law [Sun, 29 Mar 1998 12:45:05 +0000 (12:45 +0000)]
* typeck.c (expand_target_expr): Delete dead function.
From-SVN: r18903
Jeffrey A Law [Sun, 29 Mar 1998 12:42:39 +0000 (12:42 +0000)]
* search.c: Put various prototypes inside #ifdef MI_MATRIX.
From-SVN: r18902
Jeffrey A Law [Sun, 29 Mar 1998 12:38:51 +0000 (12:38 +0000)]
* method.c (thunk_printable_name): Delete dead function.
From-SVN: r18901
Jeffrey A Law [Sun, 29 Mar 1998 12:37:18 +0000 (12:37 +0000)]
* lex.c (yynextch): Delete dead function.
From-SVN: r18900
Jeffrey A Law [Sun, 29 Mar 1998 12:36:07 +0000 (12:36 +0000)]
* expr.c (tree_extract_aggr_init): #if 0 out.
From-SVN: r18899
Jeffrey A Law [Sun, 29 Mar 1998 12:33:51 +0000 (12:33 +0000)]
except.c (do_unwind): Delete dead function.
* except.c (do_unwind): Delete dead function.
(easy_expand_asm): Likewise.
From-SVN: r18898
Jeffrey A Law [Sun, 29 Mar 1998 12:31:34 +0000 (12:31 +0000)]
* cvt.c (build_conversion_type_1): Delete dead function.
From-SVN: r18897
Jeffrey A Law [Sun, 29 Mar 1998 12:30:13 +0000 (12:30 +0000)]
* cp-tree.h (push_expression_obstack): Declare.
From-SVN: r18896
Jeffrey A Law [Sun, 29 Mar 1998 12:28:21 +0000 (12:28 +0000)]
i * call.c (source_type): #if 0 out.
From-SVN: r18895
Jeffrey A Law [Sun, 29 Mar 1998 11:54:09 +0000 (11:54 +0000)]
Makefile.in (c-typeck.o): Delete on expr.h, insn-codes.h and $(RTL_H).
* Makefile.in (c-typeck.o): Delete on expr.h, insn-codes.h and
$(RTL_H).
(stor-layout.o): Likewise.
* c-typeck.c: Include rtl.h and expr.h.
* stor-layout.c: Likewise.
From-SVN: r18894
Jeffrey A Law [Sun, 29 Mar 1998 11:51:23 +0000 (11:51 +0000)]
cpplib.c (cpp_file_line_for_message): Delete unused parameter.
* cpplib.c (cpp_file_line_for_message): Delete unused parameter.
All callers changed.
(do_sccs): Wrap in an SCCS_DIRECTIVE ifdef.
* fix-header.c (cpp_file_line_for_message): Delete unused paramter.
All callers changed.
From-SVN: r18893
Jeffrey A Law [Sun, 29 Mar 1998 11:49:10 +0000 (11:49 +0000)]
* collect2.c (is_in_list): Wrap inside COLLECT_EXPORT_LIST ifdef.
From-SVN: r18892
Jeffrey A Law [Sun, 29 Mar 1998 11:47:52 +0000 (11:47 +0000)]
* local-alloc.c (reg_classes_overlap_p): Delete dead function.
From-SVN: r18891
Jeffrey A Law [Sun, 29 Mar 1998 11:46:20 +0000 (11:46 +0000)]
* tree.h (lang_print_xnode): Provide prototype.
From-SVN: r18890
Jeffrey A Law [Sat, 28 Mar 1998 23:50:46 +0000 (16:50 -0700)]
Bump for snapshot
From-SVN: r18888
Jeffrey A Law [Sat, 28 Mar 1998 23:49:35 +0000 (23:49 +0000)]
class.c (alter_access): Remove unused label.
* class.c (alter_access): Remove unused label. Add braces
around empty else clause.
* lex.c (yyprint): Fix argument to printf.
From-SVN: r18887
Jeffrey A Law [Sat, 28 Mar 1998 23:47:41 +0000 (23:47 +0000)]
sendmsg.c (__objc_block_forward): Add braces for return value if INVISIBLE_STRUCT_RETURN.
* objc/sendmsg.c (__objc_block_forward): Add braces for return
value if INVISIBLE_STRUCT_RETURN.
From-SVN: r18886
Jeffrey A Law [Sat, 28 Mar 1998 23:46:19 +0000 (23:46 +0000)]
* pa.c (arith_double_operand): Fix parens.
From-SVN: r18885
Jeffrey A Law [Sat, 28 Mar 1998 23:45:08 +0000 (23:45 +0000)]
* haifa-sched.c (print_pattern): Correct arg to sprintf.
From-SVN: r18884
Jeffrey A Law [Sat, 28 Mar 1998 23:43:54 +0000 (23:43 +0000)]
* Makefile.in (libgcc1.null): Make return type for __foo void.
From-SVN: r18883
Mark Mitchell [Sat, 28 Mar 1998 17:47:07 +0000 (17:47 +0000)]
pt.c (tsubst): Clear TREE_USED for new FUNCTION_DECLs.
* pt.c (tsubst): Clear TREE_USED for new FUNCTION_DECLs.
* pt.c (instantiate_class_template): Make sure template
arguments are permanent.
* init.c (resolve_offset_ref): Don't go looking around in
template types.
* semantics.c: Add routines to handle expressions, and some
declaration processing.
* parse.y: Use them.
(current_class_depth): Move declaration to cp-tree.h.
* parse.c: Regenerated.
* cp-tree.h: Use them.
(current_class_depth): Declare.
* pt.c (tsubst_copy): Use begin_stmt_expr and finish_stmt_expr.
From-SVN: r18882
Jeffrey A Law [Sat, 28 Mar 1998 14:17:48 +0000 (14:17 +0000)]
* pa.h: Add declarations for many functions defined in pa.c.
From-SVN: r18881
Jeffrey A Law [Sat, 28 Mar 1998 14:15:37 +0000 (14:15 +0000)]
genpeep.c (main): Remove unused variable 'i' from the generated file.
* genpeep.c (main): Remove unused variable 'i' from the generated
file.
From-SVN: r18880
Jeffrey A Law [Sat, 28 Mar 1998 13:55:34 +0000 (13:55 +0000)]
genemit.c (gen_expand): Do not emit "_done" or "_fail" labels.
* genemit.c (gen_expand): Do not emit "_done" or "_fail" labels.
(gen_split): Likewise.
(main): Rework generated definitions of DONE and FAIL so that they
no longer use gotos. Avoids warnings about unused labels.
From-SVN: r18879
Jeffrey A Law [Sat, 28 Mar 1998 13:45:47 +0000 (13:45 +0000)]
integrate.c (copy_rtx_and_substitute): Rework to avoid need for unused "junk" variable.
* integrate.c (copy_rtx_and_substitute): Rework to avoid need for
unused "junk" variable.
From-SVN: r18878
Jeffrey A Law [Sat, 28 Mar 1998 13:40:07 +0000 (13:40 +0000)]
genattrtab.c (write_complex_function): Add a default case in generated switch statement to keep -W -Wall quiet.
* genattrtab.c (write_complex_function): Add a default case in
generated switch statement to keep -W -Wall quiet.
From-SVN: r18877
Nick Clifton [Sat, 28 Mar 1998 13:15:57 +0000 (13:15 +0000)]
Add documentation of more ARM command line options.
Add documentation of Thumb command line options.
From-SVN: r18876
Dave Love [Sat, 28 Mar 1998 11:19:04 +0000 (11:19 +0000)]
* Make-lang.in (f771$(exeext)): Fix typpo.
From-SVN: r18875
Dave Love [Sat, 28 Mar 1998 11:18:05 +0000 (11:18 +0000)]
(f771$(exeext)): Fix typpo.
From-SVN: r18874
Nick Clifton [Sat, 28 Mar 1998 10:48:55 +0000 (10:48 +0000)]
New file.
From-SVN: r18873
Jason Merrill [Sat, 28 Mar 1998 10:06:19 +0000 (05:06 -0500)]
tweak
From-SVN: r18872
Jason Merrill [Sat, 28 Mar 1998 03:08:30 +0000 (22:08 -0500)]
tweak
From-SVN: r18871
Jason Merrill [Sat, 28 Mar 1998 03:08:12 +0000 (22:08 -0500)]
new
From-SVN: r18870
Jason Merrill [Sat, 28 Mar 1998 02:18:45 +0000 (21:18 -0500)]
fix
From-SVN: r18869
Jason Merrill [Sat, 28 Mar 1998 01:57:58 +0000 (20:57 -0500)]
update
From-SVN: r18868
Craig Burley [Sat, 28 Mar 1998 00:46:00 +0000 (19:46 -0500)]
* bugs.texi: Various updates.
From-SVN: r18867
Craig Burley [Sat, 28 Mar 1998 00:43:32 +0000 (19:43 -0500)]
lang-options.h: Sort all -f*-intrinsics-* options, for consistency with other g77 versions.
* lang-options.h: Sort all -f*-intrinsics-* options,
for consistency with other g77 versions.
Another patch from Craig.
From-SVN: r18866
Craig Burley [Sat, 28 Mar 1998 00:38:46 +0000 (00:38 +0000)]
stmt.c (expand_expr_stmt): Must generate code for statements within an expression (gcc's `({ ...
* stmt.c (expand_expr_stmt): Must generate code for
statements within an expression (gcc's `({ ... )}')
even if -fsyntax-only.
Patch from Craig.
From-SVN: r18865
Craig Burley [Sat, 28 Mar 1998 00:35:33 +0000 (19:35 -0500)]
* com.c (ffecom_tree_canonize_ptr_): Fix up spacing a bit.
From-SVN: r18864
Craig Burley [Sat, 28 Mar 1998 00:30:11 +0000 (19:30 -0500)]
expr.c (ffeexpr_sym_impdoitem_): Don't blindly reset symbol info after calling ffesymbol_error, to avoid crash.
* expr.c (ffeexpr_sym_impdoitem_): Don't blindly
reset symbol info after calling ffesymbol_error,
to avoid crash.
Another patch from Craig.
From-SVN: r18863
Jeff Law [Sat, 28 Mar 1998 00:29:00 +0000 (17:29 -0700)]
Tweak from Craig.
From-SVN: r18862
Craig Burley [Sat, 28 Mar 1998 00:28:21 +0000 (19:28 -0500)]
u77-test.f: Don't bother declaring etime.
* libU77/u77-test.f: Don't bother declaring etime.
Use `implicit none' and declare mask and lenstr.
Do ETIME/DTIME consistency check before loop, then
use loop to verify that dtime "ticks" at some point.
Check ETIME array-sum using single-precision add, to
avoid spurious complaint on systems (like x86) that
use more precision for intermediate results.
Fix `Results of ETIME and DTIME...' message to print
pertinent values (r1 and r2 instead of i and j).
Change loop from 10M to 1K repeated up to 1000 times
or until dtime "ticks".
Print the number of 1K loops needed to see this tick.
Answer a commented question.
Split up a long line of output and do other prettying.
Preset lognam in case GETLOG fails to overwrite it.
Patch from Craig.
From-SVN: r18861
Bernd Schmidt [Sat, 28 Mar 1998 00:12:41 +0000 (00:12 +0000)]
basic-block.h (basic_block_computed_jump_target): Declare.
* basic-block.h (basic_block_computed_jump_target): Declare.
* flags.h: (current_function_has_computed_jump): Declare.
* flow.c: (basic_block_computed_jump_target): Define.
(flow_analysis): Allocate it. Set current_function_has_computed_jump
to 0.
(find_basic_blocks): Set current_function_has_computed_jump and
elements of basic_block_computed_jump_target to 1 as appropriate.
* function.c: (current_function_has_computed_jump): Define.
* global.c (global_conflicts): Don't allocate pseudos into stack regs
at the start of a block that is reachable by a computed jump.
* reg-stack.c (stack_reg_life_analysis): If must restart, do so
immediately.
(subst_stack_regs): Undo change from Sep 4 1997.
(uses_reg_or_mem): Now unused, deleted.
* stupid.c (stupid_life_analysis): Compute
current_function_has_computed_jump.
(stupid_find_reg): Don't allocate stack regs if the function has a
computed goto.
* haifa-sched.c (is_cfg_nonregular): Delete code to determine if
the current function has a computed jump. Use the global value
instead.
Co-Authored-By: Jeffrey A Law <law@cygnus.com>
From-SVN: r18860
Jeffrey A Law [Fri, 27 Mar 1998 23:23:10 +0000 (23:23 +0000)]
freebsd.h (CPP_PREDEFINES): Remove __386BSD__.
* i386/freebsd.h (CPP_PREDEFINES): Remove __386BSD__.
(DWARF2_UNWIND_INFO): Define to zero.
David E. O'Brien sez it's the right thing to do.
From-SVN: r18859
Mark Mitchell [Fri, 27 Mar 1998 20:25:21 +0000 (20:25 +0000)]
error.c (dump_decl): Be a bit more explicit with template type arguments, when verbose.
* error.c (dump_decl): Be a bit more explicit with template
type arguments, when verbose.
From-SVN: r18858
Jason Merrill [Fri, 27 Mar 1998 18:17:29 +0000 (18:17 +0000)]
* inc/exception: Reorder closing braces.
From-SVN: r18857
Michael Meissner [Fri, 27 Mar 1998 14:20:40 +0000 (14:20 +0000)]
Make GCC_EXEC_PREFIX work again
From-SVN: r18856
Mark Mitchell [Fri, 27 Mar 1998 13:23:03 +0000 (13:23 +0000)]
pt.c (redeclare_class_template): New function.
* pt.c (redeclare_class_template): New function.
* cp_tree.h (redeclare_class_template): Declare it.
* decl.c (xref_tag): Use it.
From-SVN: r18855
Joern Rennecke [Fri, 27 Mar 1998 10:16:30 +0000 (10:16 +0000)]
Typo fix.
From-SVN: r18854
J"orn Rennecke [Fri, 27 Mar 1998 10:12:02 +0000 (10:12 +0000)]
* sh.c (find_barrier): Fix calculations for alignemnt increase.
From-SVN: r18853
Manfred Hollstein [Fri, 27 Mar 1998 00:01:08 +0000 (00:01 +0000)]
Makefile.in (stmp-fixinc): If we're actually fixing include files...
a
* Makefile.in (stmp-fixinc): If we're actually fixing include
files, copy gcc's assert.h into the fixed include dir.
* fixincludes (assert.h): Avoid any attempts to fix a probably
broken system specific assert.h file.
* fixproto (stdlib.h): Make sure, it'll contain a definition of
size_t.
From-SVN: r18852
Manfred Hollstein [Fri, 27 Mar 1998 00:01:06 +0000 (00:01 +0000)]
Makefile.in (stmp-fixinc): If we're actually fixing include files...
d
* Makefile.in (stmp-fixinc): If we're actually fixing include
files, copy gcc's assert.h into the fixed include dir.
* fixincludes (assert.h): Avoid any attempts to fix a probably
broken system specific assert.h file.
* fixproto (stdlib.h): Make sure, it'll contain a definition of
size_t.
From-SVN: r18851
Manfred Hollstein [Fri, 27 Mar 1998 00:01:04 +0000 (00:01 +0000)]
Makefile.in (stmp-fixinc): If we're actually fixing include files...
0
* Makefile.in (stmp-fixinc): If we're actually fixing include
files, copy gcc's assert.h into the fixed include dir.
* fixincludes (assert.h): Avoid any attempts to fix a probably
broken system specific assert.h file.
* fixproto (stdlib.h): Make sure, it'll contain a definition of
size_t.
From-SVN: r18850
Jeffrey A Law [Thu, 26 Mar 1998 23:51:11 +0000 (23:51 +0000)]
regclass.c (reg_scan_mark_refs): Be more selective about when we mark a register with REGNO_POINTER_FLAG.
* regclass.c (reg_scan_mark_refs): Be more selective about
when we mark a register with REGNO_POINTER_FLAG.
From-SVN: r18849
J"orn Rennecke [Thu, 26 Mar 1998 15:08:53 +0000 (15:08 +0000)]
reload inheritance improvement:
* reload1.c (reg_reloaded_contents, reg_reloaded_insn):
Change meaning: index is now hard reg number.
(reg_reloaded_valid, reg_reloaded_dead): New variables.
(reload_spill_index): Content is now a hard reg number.
(reload_as_needed): Change to fit new variable meaning.
(forget_old_reloads_1, allocate_reload_reg): Likewise.
(choose_reload_regs, emit_reload_insns): Likewise.
From-SVN: r18848
Mark Mitchell [Thu, 26 Mar 1998 14:22:54 +0000 (14:22 +0000)]
New test.
From-SVN: r18847
Jason Merrill [Thu, 26 Mar 1998 12:21:13 +0000 (12:21 +0000)]
call.c (build_over_call): Check IS_AGGR_TYPE, not TYPE_LANG_SPECIFIC.
* call.c (build_over_call): Check IS_AGGR_TYPE, not
TYPE_LANG_SPECIFIC.
* typeck.c (convert_arguments): Likewise.
From-SVN: r18846