Jan Hubicka [Wed, 15 Dec 1999 14:09:52 +0000 (15:09 +0100)]
flow.c (dump_flow_info): Dump loop_depth.
* flow.c (dump_flow_info): Dump loop_depth.
(flow_loop_nodes_find): Increase loop_depth for basic block in the
body.
(flow_loop_find): Initialize the loop_depth for each basic block.
From-SVN: r30954
Nathan Sidwell [Wed, 15 Dec 1999 12:40:30 +0000 (12:40 +0000)]
* g++.old-deja/g++.warn/cast-align1.C: New test.
From-SVN: r30953
Nathan Sidwell [Wed, 15 Dec 1999 12:39:02 +0000 (12:39 +0000)]
typeck.c (build_c_cast): Expand warning message.
* typeck.c (build_c_cast): Expand warning message. Move pointer
alignment warning to after the cast. Don't warn about pointer
alignment when given a pointer to incomplete.
fix cut-n-paste error on 1999-12-09 Andreas Jaeger and
1999-12-09 Mark Mitchell (was 11999 & 999)
From-SVN: r30952
Richard Henderson [Wed, 15 Dec 1999 09:51:24 +0000 (01:51 -0800)]
cp-tree.h (make_aggr_type): Declare.
* cp-tree.h (make_aggr_type): Declare.
* lex.c (cp_make_lang_type): Don't SET_IS_AGGR_TYPE.
(make_aggr_type): New.
* decl.c (build_typename_type, init_decl_processing): Use it.
(build_ptrmemfunc_type, xref_tag): Likewise.
* except.c (call_eh_info): Likewise.
* init.c (init_init_processing): Likewise.
* pt.c (process_template_parm, lookup_template_class): Likewise.
* rtti.c (expand_class_desc): Likewise.
* semantics.c (begin_class_definition, finish_typeof): Likewise.
* tree.c (copy_template_template_parm): Likewise.
From-SVN: r30951
Jason Merrill [Wed, 15 Dec 1999 09:37:48 +0000 (09:37 +0000)]
tree.c (decl_function_context): Handle virtual functions.
* tree.c (decl_function_context): Handle virtual functions.
* tlink.c (scan_linker_output): Don't look in demangled name when
looking for linker output keywords.
* dwarfout.c (output_type): We can defer namespace-scope classes.
From-SVN: r30950
Jason Merrill [Wed, 15 Dec 1999 09:18:21 +0000 (09:18 +0000)]
cp-tree.def (TEMPLATE_PARM_INDEX): Calculate size using sizeof (struct tree_common).
* cp-tree.def (TEMPLATE_PARM_INDEX): Calculate size using
sizeof (struct tree_common).
From-SVN: r30949
Jason Merrill [Wed, 15 Dec 1999 09:13:57 +0000 (09:13 +0000)]
Makefile.in (MYCXXFLAGS): Include $(CXXFLAGS).
* Makefile.in (MYCXXFLAGS): Include $(CXXFLAGS).
(MYCFLAGS): Include $(CFLAGS).
From-SVN: r30948
Jason Merrill [Wed, 15 Dec 1999 09:13:06 +0000 (09:13 +0000)]
filedoalloc.c, [...]: Remove advertising clause from BSD license, pursuant with
* filedoalloc.c, floatio.h, iovfprintf.c, iovfscanf.c: Remove
advertising clause from BSD license, pursuant with
ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
From-SVN: r30947
Jason Merrill [Wed, 15 Dec 1999 09:05:18 +0000 (09:05 +0000)]
dwarf2out.c (add_abstract_origin_attribute): Do call abort if the abstract origin wasn't emitted.
* dwarf2out.c (add_abstract_origin_attribute): Do call abort if
the abstract origin wasn't emitted.
From-SVN: r30946
Jason Merrill [Wed, 15 Dec 1999 09:03:06 +0000 (09:03 +0000)]
optimize.c (expand_call_inline): Set BLOCK_ABSTRACT_ORIGIN on the outermost block to point to the inlined...
* optimize.c (expand_call_inline): Set BLOCK_ABSTRACT_ORIGIN on the
outermost block to point to the inlined function decl.
From-SVN: r30945
Jeff Law [Wed, 15 Dec 1999 08:45:06 +0000 (01:45 -0700)]
Daily bump.
From-SVN: r30944
Jeffrey A Law [Wed, 15 Dec 1999 08:29:37 +0000 (08:29 +0000)]
regclass.c (record_reg_classes): Update comment for merging register class preferences in reg->reg copies.
* regclass.c (record_reg_classes): Update comment for merging
register class preferences in reg->reg copies. Tighten conditions
for merging register class preferences in reg->reg copies.
From-SVN: r30943
Martin v. Löwis [Wed, 15 Dec 1999 07:46:36 +0000 (07:46 +0000)]
strstream.h (strstreambuf::streambuf): Rename parameters to avoid shadow warning.
* strstream.h (strstreambuf::streambuf): Rename parameters to
avoid shadow warning.
* stream.h (WS): Likewise.
From-SVN: r30941
Martin v. Löwis [Wed, 15 Dec 1999 07:43:22 +0000 (07:43 +0000)]
back out unrelated patch to std:: qualify reverse_iterator
From-SVN: r30940
Martin v. Löwis [Wed, 15 Dec 1999 07:37:36 +0000 (07:37 +0000)]
bastring.h (basic_string::basic_string): Rename parameters to avoid shadow warnings.
* std/bastring.h (basic_string::basic_string): Rename parameters
to avoid shadow warnings.
* std/bastring.cc (alloc): Likewise.
From-SVN: r30938
David Edelsohn [Wed, 15 Dec 1999 07:24:19 +0000 (02:24 -0500)]
* rs6000.md (tablejumpdi): Generate DImode LABEL_REF.
From-SVN: r30936
Jason Merrill [Wed, 15 Dec 1999 01:34:16 +0000 (01:34 +0000)]
error.c (dump_decl): operator==, not operator ==.
* error.c (dump_decl): operator==, not operator ==.
(op_to_string): Likewise.
* decl.c (compute_array_index_type): Handle null name.
* decl2.c (ambiguous_decl): Fix to match comment.
(lookup_using_namespace): Adjust.
* decl2.c (import_export_class): Don't ignore dllimport.
From-SVN: r30935
Mark Mitchell [Wed, 15 Dec 1999 00:36:57 +0000 (00:36 +0000)]
class.c (check_field_decls): Split out from ...
* class.c (check_field_decls): Split out from ...
(finish_struct_1): ... here. Use it. Tidy.
From-SVN: r30934
Geoff Keating [Tue, 14 Dec 1999 23:14:42 +0000 (23:14 +0000)]
m68020-elf.h (ENDFILE_SPEC): Delete.
* config/m68k/m68020-elf.h (ENDFILE_SPEC): Delete.
(INIT_SECTION_ASM_OP): Delete.
(FINI_SECTION_ASM_OP): Delete.
(STARTFILE_SPEC): Define to hold just crtbegin.o.
From-SVN: r30933
David S. Miller [Tue, 14 Dec 1999 23:10:04 +0000 (15:10 -0800)]
List Jakub as Sparc co-maintainer.
From-SVN: r30932
Jason Merrill [Tue, 14 Dec 1999 23:05:11 +0000 (23:05 +0000)]
dwarf2out.c (class_scope_p): New fn.
* dwarf2out.c (class_scope_p): New fn.
(gen_subprogram_die): Use it.
(gen_variable_die): Use it. Tweak logic.
(gen_struct_or_union_type_die): Check context_die to determine
if we're function-local.
(dwarf2out_decl): Check DECL_BUILT_IN, not DECL_FUNCTION_CODE.
From-SVN: r30931
Per Bothner [Tue, 14 Dec 1999 22:25:37 +0000 (14:25 -0800)]
re GNATS gcj/110 (don't exclude private methods from method table when optimizing)
Tue Dec 14 14:20:16 1999 Per Bothner <per@bothner.com>
* class.c (make_class_data): flag_keep_inline_functions to keep
private methods in the method array.
(This is a fix to the Java PR #110:
http://sourceware.cygnus.com/ml/java-prs/1999-q4/msg00179.html)
From-SVN: r30930
Bernd Schmidt [Tue, 14 Dec 1999 19:54:41 +0000 (19:54 +0000)]
Avoid reversing bivs with maybe_multiple set.
From-SVN: r30929
Nick Clifton [Tue, 14 Dec 1999 19:42:58 +0000 (19:42 +0000)]
Add support for -mcpu=arm720 cmmand line switch
From-SVN: r30928
J"orn Rennecke [Tue, 14 Dec 1999 19:18:50 +0000 (19:18 +0000)]
loop.c (strength_reduce): Fix sign of giv lifetime calculation for givs made from biv increments.
* loop.c (strength_reduce): Fix sign of giv lifetime calculation
for givs made from biv increments.
From-SVN: r30927
Mark Mitchell [Tue, 14 Dec 1999 18:52:40 +0000 (18:52 +0000)]
cp-tree.h (remap_save_expr): Add walk_subtrees parameter.
* cp-tree.h (remap_save_expr): Add walk_subtrees parameter.
* optimize.c (copy_body_r): Pass it.
* tree.c (remap_save_expr): Clear walk_subtrees for an
already-handled SAVE_EXPR.
(cp_unsave_r): Pass walk_subtrees to remap_save_expr.
From-SVN: r30926
Mark Mitchell [Tue, 14 Dec 1999 18:11:32 +0000 (18:11 +0000)]
dump.c (dequeue_and_dump): Dump DECL_NAMESPACE_ALIAS.
* dump.c (dequeue_and_dump): Dump DECL_NAMESPACE_ALIAS.
* ir.texi (DECL_NAMESPACE_ALIAS): Document it.
* error.c (dump_expr): Handle EXPR_WITH_FILE_LOCATION.
From-SVN: r30925
Jakub Jelinek [Tue, 14 Dec 1999 16:19:53 +0000 (17:19 +0100)]
linux64.h (DEFAULT_VTABLE_THUNKS): Define to 1.
* config/sparc/linux64.h (DEFAULT_VTABLE_THUNKS): Define to 1.
(ASM_IDENTIFY_GCC): Remove.
From-SVN: r30924
Richard Henderson [Tue, 14 Dec 1999 16:14:29 +0000 (08:14 -0800)]
configure.in (alpha-osf, [...]): Handle ev6[78].
* configure.in (alpha-osf, alpha-linux): Handle ev6[78].
* alpha.c (override_options): Recognize -mcpu=ev67.
* alpha.h (CPP_CPU_EV67_SPEC): New.
(CPP_CPU_DEFAULT_SPEC): Examine TARGET_CPU_DEFAULT to use it.
(EXTRA_SPECS): Update.
From-SVN: r30923
Richard Henderson [Tue, 14 Dec 1999 16:10:58 +0000 (08:10 -0800)]
config.guess (alpha-osf, [...]): Detect ev67.
* config.guess (alpha-osf, alpha-linux): Detect ev67.
* config.sub: Accept alphaev[78], alphaev8.
From-SVN: r30922
Richard Henderson [Tue, 14 Dec 1999 16:05:23 +0000 (08:05 -0800)]
cppp.c (main): Set trigraphs and __STRICT_ANSI__ as appropriate for -lang-c89 and -std=*.
* cppp.c (main): Set trigraphs and __STRICT_ANSI__ as
appropriate for -lang-c89 and -std=*.
* cppinit.c (cpp_handle_option): Likewise.
(new_pending_define): New, split out from cpp_handle_option.
* gcc.c (default_compilers): Don't define __STRICT_ANSI__
or enable trigraphs for -ansi/-std=*.
* ginclude/stdarg.h (__va_copy): New.
(va_copy): Don't define for C89.
From-SVN: r30921
Clinton Popetz [Tue, 14 Dec 1999 14:48:18 +0000 (14:48 +0000)]
arm.md (mulsidi3adddi, [...]): New patterns for long long multiply-accumulate.
* config/arm/arm.md (mulsidi3adddi, umulsidi3adddi): New patterns
for long long multiply-accumulate.
From-SVN: r30919
Jan Hubicka [Tue, 14 Dec 1999 12:56:06 +0000 (13:56 +0100)]
regclass.c (scan_one_insn): Set loop_cost to 1 when optimizing for size.
* regclass.c (scan_one_insn): Set loop_cost to 1 when
optimizing for size.
From-SVN: r30918
Jakub Jelinek [Tue, 14 Dec 1999 12:53:39 +0000 (13:53 +0100)]
xm-sp64.h: Avoid using __sparc_v9__ when testing for sparc64.
* config/sparc/xm-sp64.h: Avoid using __sparc_v9__ when testing
for sparc64.
* config/sparc/sparc.h: Likewise.
* config/sparc/xm-sysv4-64.h: Likewise.
* config/float-sparc.h: Likewise.
* glimits.h: Likewise.
* longlong.h: Likewise.
From-SVN: r30917
Jakub Jelinek [Tue, 14 Dec 1999 12:47:01 +0000 (13:47 +0100)]
sparc.h (SPARC_DEFAULT_CMODEL): Default to CM_32.
* config/sparc/sparc.h (SPARC_DEFAULT_CMODEL): Default to CM_32.
(CONDITIONAL_REGISTER_USAGE): For block profiling fix %g4 on sparc64,
not %g2.
(MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Use %g4 instead of %g2
as sparc64 block profiling register.
* config/sparc/sparc.c (sparc_override_options): Allow block
profiling with -m32.
(sparc_block_profiler): Use %g4 instead of %g2 as sparc64 block
profiling register.
* config/sparc/linux64.h (MACHINE_STATE_*): Only provide these
macros on TARGET_ARCH32. sparc.h has macros good enough for sparc64.
* config/sparc/sol2.h (MACHINE_STATE_*): Likewise.
From-SVN: r30916
Bernd Schmidt [Tue, 14 Dec 1999 12:40:02 +0000 (12:40 +0000)]
Undo one misguided optimization attempt in previous change.
From-SVN: r30915
Bernd Schmidt [Tue, 14 Dec 1999 12:34:54 +0000 (12:34 +0000)]
Run reg_scan_update to get information about regs created by loop.
From-SVN: r30914
Jan Hubicka [Tue, 14 Dec 1999 11:10:11 +0000 (12:10 +0100)]
regclass.c (record_reg_classes): Do not do the copying preferrencing when source does not die.
* regclass.c (record_reg_classes): Do not do the copying preferrencing
when source does not die.
From-SVN: r30913
Jan Hubicka [Tue, 14 Dec 1999 11:08:22 +0000 (12:08 +0100)]
* regclass.c (record_reg_classes): Handle INOUT operands propertly.
From-SVN: r30912
Jakub Jelinek [Tue, 14 Dec 1999 10:26:44 +0000 (11:26 +0100)]
linux64.h (TARGET_LIVE_G0, [...]): Don't support weird SPARC variants on Linux.
* config/sparc/linux64.h (TARGET_LIVE_G0,
TARGET_BROKEN_SAVERESTORE): Don't support weird SPARC
variants on Linux.
* config/sparc/linux.h (TARGET_LIVE_G0,
TARGET_BROKEN_SAVERESTORE): Likewise.
* config/sparc/linux-aout.h (TARGET_LIVE_G0,
TARGET_BROKEN_SAVERESTORE): Likewise.
From-SVN: r30911
Bernd Schmidt [Tue, 14 Dec 1999 10:23:02 +0000 (10:23 +0000)]
Avoid making shared rtl.
From-SVN: r30910
Bernd Schmidt [Tue, 14 Dec 1999 10:13:57 +0000 (10:13 +0000)]
New testcases.
From-SVN: r30909
Bernd Schmidt [Tue, 14 Dec 1999 10:01:23 +0000 (10:01 +0000)]
New testcase
From-SVN: r30908
Jakub Jelinek [Tue, 14 Dec 1999 08:53:53 +0000 (09:53 +0100)]
* target.h: Handle sparc64 the same way as alpha.
From-SVN: r30907
Jakub Jelinek [Tue, 14 Dec 1999 08:48:11 +0000 (09:48 +0100)]
bastring.h (class basic_string::Rep): Use proper defines for sparc v9 and fix asm for sparc64.
* std/bastring.h (class basic_string::Rep): Use proper defines
for sparc v9 and fix asm for sparc64.
From-SVN: r30906
Jeff Law [Tue, 14 Dec 1999 08:45:07 +0000 (01:45 -0700)]
Daily bump.
From-SVN: r30905
Jakub Jelinek [Tue, 14 Dec 1999 08:42:15 +0000 (09:42 +0100)]
Add myself into "write after approval"
From-SVN: r30904
Mumit Khan [Tue, 14 Dec 1999 07:06:05 +0000 (07:06 +0000)]
cccp.c (INO_T_EQ): Disable inode-based optimization for Cygwin.
1999-12-14 Mumit Khan <khan@xraylith.wisc.edu>
* cccp.c (INO_T_EQ): Disable inode-based optimization for Cygwin.
* cppfiles.c (INO_T_EQ): Likewise.
From-SVN: r30903
Mumit Khan [Tue, 14 Dec 1999 07:02:23 +0000 (07:02 +0000)]
stl_config.h (__MINGW32__): Define __STL_WIN32THREADS for thread safe runtime.
1999-12-14 Mumit Khan <khan@xraylith.wisc.edu>
* stl_config.h (__MINGW32__): Define __STL_WIN32THREADS for thread
safe runtime.
From-SVN: r30902
Mumit Khan [Tue, 14 Dec 1999 07:00:22 +0000 (07:00 +0000)]
class.c (finish_base_struct): Allow multiple COM base classes as well as non-COM bases as long as it's not...
1999-12-14 Mumit Khan <khan@xraylith.wisc.edu>
* class.c (finish_base_struct): Allow multiple COM base classes
as well as non-COM bases as long as it's not the leftmost.
From-SVN: r30901
Mumit Khan [Tue, 14 Dec 1999 06:57:48 +0000 (06:57 +0000)]
crtdll.h (STARTFILE_SPEC): Add -pg profiling support.
1999-12-14 Mumit Khan <khan@xraylith.wisc.edu>
* i386/crtdll.h (STARTFILE_SPEC): Add -pg profiling support.
* i386/mingw32.h (LIB_SPEC): Likewise.
(STARTFILE_SPEC): Likewise.
* i386/uwin.h (LIB_SPEC): Likewise.
(STARTFILE_SPEC): Likewise.
* i386/mingw32.h (SUBTARGET_PROLOGUE): Override Cygwin definition.
* i386/uwin.h (SUBTARGET_PROLOGUE): Likewise.
From-SVN: r30900
Jeffrey A Law [Tue, 14 Dec 1999 06:47:30 +0000 (06:47 +0000)]
* gcc.c-torture/compile/991213-3.c: New test.
From-SVN: r30899
Jeffrey A Law [Tue, 14 Dec 1999 06:21:32 +0000 (06:21 +0000)]
* gcc.c-torture/compile/991213-2.c: New test.
From-SVN: r30898
Jeffrey A Law [Tue, 14 Dec 1999 06:06:06 +0000 (06:06 +0000)]
* gcc.c-torture/compile/991213-1.c: New test.
From-SVN: r30897
Mumit Khan [Tue, 14 Dec 1999 05:33:22 +0000 (05:33 +0000)]
lex.c (saving_parse_to_obstack): New global.
1999-12-13 Mumit Khan <khan@xraylith.wisc.edu>
* lex.c (saving_parse_to_obstack): New global.
(reinit_parse_for_block): Use.
(reinit_parse_for_expr): Use.
(check_newline): Use.
From-SVN: r30896
Mumit Khan [Tue, 14 Dec 1999 05:00:33 +0000 (05:00 +0000)]
Add myself to "write after approval" list.
From-SVN: r30895
Jeffrey A Law [Tue, 14 Dec 1999 03:26:55 +0000 (03:26 +0000)]
combine.c (combine_simplify_rtx): Fix order of checks for (ashiftrt foo C) -> (lt foo (const_int 0)) simplification.
* combine.c (combine_simplify_rtx): Fix order of checks for
(ashiftrt foo C) -> (lt foo (const_int 0)) simplification.
From-SVN: r30894
Tom Tromey [Mon, 13 Dec 1999 20:15:51 +0000 (20:15 +0000)]
aclocal.m4, configure: Rebuilt.
* aclocal.m4, configure: Rebuilt.
* acinclude.m4: Changed version to 5.0a4.
* Makefile.in: Rebuilt.
* Makefile.am (libgcjgc_la_LDFLAGS): Changed version to 1:1:0.
From-SVN: r30893
Clinton Popetz [Mon, 13 Dec 1999 15:32:32 +0000 (10:32 -0500)]
* config/arm/arm.md (*mulsidi3adddi, *umulsidi3adddi) Backed out
12/10/99 change, reapplied to merged-arm-thumb-backend-branch.
From-SVN: r30891
Bernd Schmidt [Mon, 13 Dec 1999 13:21:35 +0000 (13:21 +0000)]
Simplify reload register allocation
From-SVN: r30890
Jeff Law [Mon, 13 Dec 1999 08:45:07 +0000 (01:45 -0700)]
Daily bump.
From-SVN: r30889
Mark Mitchell [Mon, 13 Dec 1999 08:40:04 +0000 (08:40 +0000)]
optimize.c (initialize_inlined_parameters): Take FN to which the parameters belong as an argument.
* optimize.c (initialize_inlined_parameters): Take FN to which the
parameters belong as an argument.
(expand_call_inline): Expand calls into the parameter
initializations before pushing the function onto the list of
functions we are presently expanding.
From-SVN: r30888
Jeffrey A Law [Mon, 13 Dec 1999 08:01:44 +0000 (08:01 +0000)]
* doprnt.c: Remove incorrect comment closure.
From-SVN: r30887
Jeff Law [Mon, 13 Dec 1999 07:55:53 +0000 (00:55 -0700)]
* flow.c (create_edge_list): Cast xmalloc return value.
From-SVN: r30886
Jeff Law [Mon, 13 Dec 1999 07:48:55 +0000 (00:48 -0700)]
* cse.c: Fix a few minor whitespace goofs.
From-SVN: r30885
Don Bowman [Mon, 13 Dec 1999 07:37:42 +0000 (07:37 +0000)]
vxworks.h: Fix problem with comment termination.
* mips/vxworks.h: Fix problem with comment termination.
(EXTRA_SECTIONS): Add in_sbss.
(EXTRA_SECTION_FUNCTIONS): Corresponding changes.
From-SVN: r30884
David S. Miller [Mon, 13 Dec 1999 06:51:09 +0000 (22:51 -0800)]
cse.c (struct cse_reg_info): Add hash_next member, reorder rest of struct for better packing on 64-bit hosts.
* cse.c (struct cse_reg_info): Add hash_next member,
reorder rest of struct for better packing on 64-bit
hosts.
(cse_reg_info_tree): Kill.
(REGHASH_SHIFT, REGHASH_SIZE, REGHASH_MASK, reg_hash,
REGHASH_FN): New custom pow2 hash mechanism.
(NBUCKETS): Kill.
(HASH_SHIFT, HASH_SIZE, HASH_MASK, HASH, table): Rework to
use a pow2 hash table.
(get_cse_reg_info): Rework to use new REGHASH.
(new_basic_block): Likewise, use HASH_SIZE, and inline
free_element call.
(remove_from_table): Rework to use HASH_SIZE/HASH_MASK,
and inline free_element call.
(lookup_as_function, insert, flush_hash_table, invalidate,
remove_invalid_refs, remove_invalid_subreg_refs, rehash_using_reg,
invalidate_for_call, use_related_value, find_comparison_args,
fold_rtx, equiv_constant, cse_insn, invalidate_memory): Likewise.
(hash_cse_reg_info, cse_reg_info_equal_p, free_element,
get_element): Kill.
From-SVN: r30883
Jeffrey A Law [Mon, 13 Dec 1999 04:33:11 +0000 (04:33 +0000)]
* cse.c (cse_basic_block): Free qty_table consistently.
From-SVN: r30882
Alexandre Petit-Bianco [Mon, 13 Dec 1999 01:50:55 +0000 (01:50 +0000)]
re GNATS gcj/79 (Problem creating static arrays)
Fri Dec 10 21:53:45 1999 Alexandre Petit-Bianco <apbianco@cygnus.com>
* parse.y (java_complete_lhs): Force convertion of array
dimensions to int_type_node, that's what runtime's ABI expects.
(This patch is a fix for the PR #79:
http://sourceware.cygnus.com/ml/java-prs/1999-q4/msg00069.html)
From-SVN: r30881
David S. Miller [Mon, 13 Dec 1999 01:20:07 +0000 (17:20 -0800)]
sparc.md (movtf reg/reg split): Don't generate SUBREGs by hand, gen the appropriate hard reg directly.
* config/sparc/sparc.md (movtf reg/reg split): Don't generate
SUBREGs by hand, gen the appropriate hard reg directly.
(movtf reg/mem split): Likewise and alter_subreg on destination
if necessary.
(movtf mem/reg split): Similarly.
(movdf_cc_sp64): Rename from hidden pattern.
(movtf_cc_hq_sp64): Renamed from movtf_cc_sp64.
(movtf_cc_sp64, following split): New pattern and splitter.
(movdf_cc_reg_sp64): Rename from hidden pattern.
(movtf_cc_reg_hq_sp64): Renamed from movtf_cc_reg_sp64, require
TARGET_HARD_QUAD.
(movtf_cc_reg_sp64, following split): New pattern and splitter.
Co-Authored-By: Jakub Jelinek <jakub@redhat.com>
From-SVN: r30880
Anthony Green [Sun, 12 Dec 1999 23:19:04 +0000 (23:19 +0000)]
check-init.c (check_init): Take into account both types of `throw's when checking for uninitialized variables.
1999-12-15 Anthony Green <green@cygnus.com>
* check-init.c (check_init): Take into account both types of
`throw's when checking for uninitialized variables.
From-SVN: r30879
Alexandre Petit-Bianco [Sun, 12 Dec 1999 19:54:35 +0000 (19:54 +0000)]
parse.h (EXPR_WFL_QUALIFICATION): Temporary uses the third operand of a WFL...
Fri Dec 10 16:13:48 1999 Alexandre Petit-Bianco <apbianco@cygnus.com>
* parse.h (EXPR_WFL_QUALIFICATION): Temporary uses the third
operand of a WFL, until the Java front-end gets fixed with regard
to Mark Mitchell's gcc/tree.h patch (1999-12-04.)
From-SVN: r30878
Alexandre Petit-Bianco [Sun, 12 Dec 1999 19:51:53 +0000 (19:51 +0000)]
tree.def (EXPR_WITH_FILE_LOCATION): Temporarily add a third operand, for use in the Java front-end.
Fri Dec 10 16:12:13 1999 Alexandre Petit-Bianco <apbianco@cygnus.com>
* tree.def (EXPR_WITH_FILE_LOCATION): Temporarily add a third
operand, for use in the Java front-end.
From-SVN: r30877
Anthony Green [Sun, 12 Dec 1999 18:56:25 +0000 (18:56 +0000)]
Oops. Date was wrong.
From-SVN: r30876
Stephen L Moshier [Sun, 12 Dec 1999 18:38:14 +0000 (18:38 +0000)]
loop.c (load_mems): Don't hoist written floating point mem if -ffloat-store.
* loop.c (load_mems): Don't hoist written floating point mem
if -ffloat-store.
From-SVN: r30875
Mark Mitchell [Sun, 12 Dec 1999 18:32:36 +0000 (18:32 +0000)]
except.h (struct eh_queue): Add `next' pointer.
* except.h (struct eh_queue): Add `next' pointer.
(struct eh_status): Make x_ehqueue a pointer.
(push_ehqueue): Declare.
(pop_ehqueue): Likewise.
* except.c (expand_eh_region_end): Adjust now that ehqueue is a
pointer.
(expand_fixup_region_end): Likewise.
(expand_leftover_cleanups): Likewise.
(push_ehqueue): Define.
(pop_ehqueue): Likewise.
(emit_cleanup_handler): Use push_ehqueue and pop_ehqueue rather
than doing it inline.
(expand_start_all_catch): Adjust now that ehqueue is a
pointer.
(mark_eh_queue): Mark all level of the queue.
(mark_eh_status): Adjust now that ehqueue is a
pointer.
(init_eh_for_function): Allocate ehqueue.
(free_eh_status): Free it.
* stmt.c (expand_cleanups): Save the ehqueue around the cleanup
expansion for a fixup.
From-SVN: r30874
Anthony Green [Sun, 12 Dec 1999 18:06:08 +0000 (18:06 +0000)]
gcconfig.h (DATASTART): Define as (&data_start) for PowerPC Linux.
* gcconfig.h (DATASTART): Define as (&data_start) for PowerPC
Linux.
(DYNAMIC_LOADING): Define for PowerPC Linux.
* os_dep.c: Remove some special cases for PowerPC Linux.
* misc.c (GC_init_inner): Don't call GC_init_linux_data_start
for PowerPC Linux.
From-SVN: r30873
Kaveh R. Ghazi [Sun, 12 Dec 1999 15:34:09 +0000 (15:34 +0000)]
gthr-single.h (__gthread_active_p): Add prototype arguments.
* gthr-single.h (__gthread_active_p): Add prototype arguments.
* libgcc2.c (__udivmoddi4): Remove unnecessary decls.
(__dummy, __builtin_saveregs, __bb_exit_trace_func, __bb_init_prg,
__bb_trace_func, __bb_trace_func_ret, __bb_trace_ret,
function_ptr, getpagesize, __enable_execute_stack,
__enable_execute_stack, __clear_insn_cache,
__enable_execute_stack, __do_global_dtors, __do_global_ctors,
_cleanup, _exit, __default_terminate, __terminate_func,
__terminate, __empty, __throw, new_eh_context,
eh_context_initialize, eh_context_static, eh_context_specific,
get_eh_context, __get_eh_context, __get_eh_info,
init_reg_size_table, eh_threads_initialize,
__get_dynamic_handler_chain, __sjthrow, __sjpopnthrow,
__unwinding_cleanup, throw_helper, __throw, __rethrow,
__pure_virtual): Add prototype arguments.
(__bb_exit_func): Cast a sizeof to long when comparing against one.
Cast a signed value to unsigned long when comparing against one.
(new_eh_context): Wrap in _GTHREADS macro.
(__sjthrow, __sjpopnthrow): Initialize variable `cleanup' at
declaration.
(in_reg_window): Mark parameters with __attribute__ ((__unused__)).
(throw_helper): Initialize variables `handler_p' and `pc_p'.
From-SVN: r30872
Jeff Law [Sun, 12 Dec 1999 08:45:07 +0000 (01:45 -0700)]
Daily bump.
From-SVN: r30871
Kaveh R. Ghazi [Sun, 12 Dec 1999 01:34:39 +0000 (01:34 +0000)]
combine.c (record_promoted_value): Remove unused variable `links2'.
* combine.c (record_promoted_value): Remove unused variable
`links2'.
* emit-rtl.c (renumber_insns): Likewise for `old_max_uid'.
* global.c (record_conflicts): Likewise for `j'.
* genoutput.c (output_insn_data): Don't unnecessarily cast away
const-ness.
From-SVN: r30870
Kaveh R. Ghazi [Sun, 12 Dec 1999 01:06:29 +0000 (01:06 +0000)]
i386-protos.h (output_387_binary_op, [...]): Constify a char*.
* i386-protos.h (output_387_binary_op, output_fix_trunc,
output_fp_compare): Constify a char*.
* i386.c (ix86_split_to_parts, ix86_safe_length_prefix): Add
static prototypes.
(override_options, ix86_comp_type_attributes, print_operand,
output_387_binary_op, output_fix_trunc, output_fp_compare):
Constify a char*.
(ix86_sched_reorder): Mark parameter `clock_var' with
ATTRIBUTE_UNUSED.
* i386.h (DEBUG_PRINT_REG): Constify a char*.
From-SVN: r30869
Kaveh R. Ghazi [Sat, 11 Dec 1999 19:02:10 +0000 (19:02 +0000)]
class.c (get_vtable_name): Use a literal format string and VTABLE_NAME_PREFIX macro instead of...
* class.c (get_vtable_name): Use a literal format string and
VTABLE_NAME_PREFIX macro instead of VTABLE_NAME_FORMAT.
(prepare_fresh_vtable): Likewise.
* cp-tree.h (VTABLE_NAME_PREFIX): Define this instead of
VTABLE_NAME_FORMAT.
* decl.c (make_rtl_for_local_static): Remove unused variable `type'.
* init.c (build_vec_init): Initialize variable `try_body'.
* lex.c (yyerror): Don't call a variadic function with a
non-literal format string.
* optimize.c (optimize_function): Call memset, not bzero.
* pt.c (for_each_template_parm_r): Add static prototype.
From-SVN: r30868
Kaveh R. Ghazi [Sat, 11 Dec 1999 15:22:24 +0000 (15:22 +0000)]
typeck.c (apply_chill_array_layout, [...]): Avoid the use of ANSI string concatenation.
* typeck.c (apply_chill_array_layout, apply_chill_field_layout):
Avoid the use of ANSI string concatenation.
* expr.c (chill_expand_case_expr): Likewise.
From-SVN: r30867
Jeff Law [Sat, 11 Dec 1999 08:45:07 +0000 (01:45 -0700)]
Daily bump.
From-SVN: r30866
Ben Collins [Fri, 10 Dec 1999 22:33:07 +0000 (22:33 +0000)]
configure.in: Fix typo for "-64" in 64bit as check.
* configure.in: Fix typo for "-64" in 64bit as check.
* configure: Rebuilt.
From-SVN: r30865
Jakub Jelinek [Fri, 10 Dec 1999 21:29:46 +0000 (22:29 +0100)]
longlong.h (__sparc_v9__): Use %rDIGIT instead of %DIGIT where appropriate.
* longlong.h (__sparc_v9__): Use %rDIGIT instead of %DIGIT where
appropriate.
From-SVN: r30864
Kaveh R. Ghazi [Fri, 10 Dec 1999 21:00:34 +0000 (21:00 +0000)]
c-parse.in (string): With -Wtraditional, warn if ANSI string concatenation is utilized.
* c-parse.in (string): With -Wtraditional, warn if ANSI string
concatenation is utilized.
* invoke.texi (-Wtraditional): Document it.
From-SVN: r30863
Kaveh R. Ghazi [Fri, 10 Dec 1999 20:02:43 +0000 (20:02 +0000)]
flow.c (flow_loops_dump): Avoid ANSI string concatenation.
* flow.c (flow_loops_dump): Avoid ANSI string concatenation.
Cast a ptrdiff_t to long and pass it to printf with %ld.
From-SVN: r30862
Geoff Keating [Fri, 10 Dec 1999 19:15:32 +0000 (19:15 +0000)]
m68k.h (CONDITIONAL_REGISTER_USAGE): If we have no 68881, we have no 68881 registers at all.
* config/m68k/m68k.h (CONDITIONAL_REGISTER_USAGE): If we have no
68881, we have no 68881 registers at all.
(HARD_REGNO_MODE_OK): It is always OK to put a MODE_FLOAT
value in a 68881 register if it is available.
From-SVN: r30861
Clinton Popetz [Fri, 10 Dec 1999 18:11:58 +0000 (13:11 -0500)]
arm.md (*mulsidi3adddi, [...]): New patterns for long long multiply-accumulate.
* config/arm/arm.md (*mulsidi3adddi, *umulsidi3adddi): New patterns
for long long multiply-accumulate.
From-SVN: r30860
Andrew Haley [Fri, 10 Dec 1999 16:06:23 +0000 (16:06 +0000)]
parse.h (BUILD_THROW): Add support for sjlj-exceptions.
1999-11-17 Andrew Haley <aph@cygnus.com>
* parse.h (BUILD_THROW): Add support for sjlj-exceptions.
decl.c (init_decl_processing): Add _Jv_Sjlj_Throw.
expr.c (build_java_athrow): Add support for sjlj-exceptions.
java-tree.h: Ditto.
jcf-write.c: Ditto.
From-SVN: r30859
Bernd Schmidt [Fri, 10 Dec 1999 15:27:55 +0000 (15:27 +0000)]
Undo previous change
From-SVN: r30858
David S. Miller [Fri, 10 Dec 1999 12:08:51 +0000 (04:08 -0800)]
sparc.c (fp_sethi_p, [...]): New functions.
* config/sparc/sparc.c (fp_sethi_p, fp_mov_p, fp_high_losum_p):
New functions.
* config/sparc/sparc-protos.h: Add them.
* config/sparc/sparc.h: Add them to PREDICATE_CODES.
(EXTRA_CONSTRAINT_BASE): New macro, handling Q, R, and S
constraints which use those helpers.
(EXTRA_CONSTRAINT): Use this new macro.
* md.texi: Update sparc target constraints documentation.
* config/sparc/sparc.md (clear_sf, clear_sfp, movsf_const_intreg,
movsf_const_high, movsf_const_lo, movsf_insn): Delete.
(movsf_insn_novis_liveg0, movsf_insn_novis_noliveg0,
movsf_insn_vis, movsf_lo_sum, movsf_high): New patterns.
(movsf high/lo_sum split): Rework for new patterns.
(movsf expander): Allow storing fp_zero to memory if ! live_g0.
From-SVN: r30857
Jeff Law [Fri, 10 Dec 1999 08:45:07 +0000 (01:45 -0700)]
Daily bump.
From-SVN: r30856
Gavin Romig-Koch [Fri, 10 Dec 1999 04:26:06 +0000 (04:26 +0000)]
c-common.c (c_common_nodes_and_builtins): Create __builtin_ptrdiff_t and __builtin_size_t.
* c-common.c (c_common_nodes_and_builtins):
Create __builtin_ptrdiff_t and __builtin_size_t.
From-SVN: r30855
Jeffrey A Law [Fri, 10 Dec 1999 01:09:59 +0000 (01:09 +0000)]
* pa/elf.h (MAX_OFILE_ALIGNMENT): Define.
From-SVN: r30854
J"orn Rennecke [Fri, 10 Dec 1999 00:57:03 +0000 (00:57 +0000)]
regclass.c (globalize_reg): Re-instate test that allows fixed registers to be declared as a variable even...
* regclass.c (globalize_reg): Re-instate test that allows
fixed registers to be declared as a variable even after functions
are defined.
* testsuite/gcc.dg/991209-1.c: New test.
From-SVN: r30853
Jan Hubicka [Thu, 9 Dec 1999 23:54:58 +0000 (00:54 +0100)]
i386.md (cpu attribute): Add "athlon".
* i386.md (cpu attribute): Add "athlon".
(athlon_decode): New attribute.
(Athlon scheduling units definitions): New.
(fcmp and shld patterns): Set athlon_decode to "vector".
* i386.c (athlon_cost): New.
(m_ATHLON): New.
(x86_use_leave, x86_push_memory, x86_movx, x86_cmove, x86_deep_branch,
x86_use_sahf): Set for Athlon.
(x86_use_fiop): Unset for Athlon.
(override_options): Define Athlon alignments and "athlon" name.
(x86_adjust_cost): Penalize AGI and delayed latencies for Athlon.
* i386.h (TARGET_ATHLON): New.
(enum processor_type): Add PROCESSOR_ATHLON.
(TARGET_CPU_DEFAULT_SPEC): Set to "-D__tune_athlon__"
for CPU_DEFAULT==6
(TARGET_CPP_CPU_SPECS): Set -D__tune_athlon__ for Athlon.
From-SVN: r30852
Andreas Jaeger [Thu, 9 Dec 1999 23:37:30 +0000 (00:37 +0100)]
loop.c (record_biv): Declare parameter as int.
* loop.c (record_biv): Declare parameter as int.
* config/i386/i386-protos.h: Declare long_memory_operand.
From-SVN: r30851
Andreas Jaeger [Thu, 9 Dec 1999 23:24:58 +0000 (23:24 +0000)]
except.c (expand_throw): Add static attribute to match prototype.
* except.c (expand_throw): Add static attribute to match
prototype.
* Makefile.in (semantics.o): Add dependency on output.h.
* semantics.c: Include output.h for declaration of
make_function_rtl.
From-SVN: r30850