Jeff Law [Tue, 20 Jan 1998 07:22:47 +0000 (00:22 -0700)]
Rebuilt.
From-SVN: r17428
Jason Merrill [Tue, 20 Jan 1998 00:57:39 +0000 (19:57 -0500)]
tests from mark
From-SVN: r17427
Mark Mitchell [Mon, 19 Jan 1998 22:41:40 +0000 (22:41 +0000)]
decl.c (start_decl): Don't allow duplicate definitions of static data members.
* decl.c (start_decl): Don't allow duplicate definitions of static
data members.
* call.c (build_user_type_conversion_1): Handle user-defined
template conversion operators correctly.
* decl2.c (build_expr_from_tree): Issue an error message if the
object in a COMPONENT_REF is a TEMPLATE_DECL.
* typeck.c (incomplete_type_error): Handle TEMPLATE_TYPE_PARMs.
* class.c (is_local_class): New function.
* cp-tree.h (is_local_class): Declare it.
(last_tree): Likewise.
(begin_tree): Likewise.
(end_tree): Likewise.
(lookup_template_class): Change prototype.
* decl.c (cp_finish_decl): Check for NULL where necesary.
Consider FUNCTION_DECLS to declare objects with top-level binding,
when calling make_decl_rtl.
(grokdeclarator): Give members of local classes internal linkage.
(start_function): Remove declaration of last_tree.
(finish_function): Set flag_keep_inline_functions around call to
rest_of_compilation if we are processing a member function in a
local class.
(start_method): Call push_template_decl for member functions of
local classes in template functions.
* decl2.c (import_export_decl): Don't give external linkage to
instantiations of templates with internal linkage.
* parse.y (last_tree): Remove declaration.
(template_type): Pass extra parameter to lookup_template_class.
(self_template_type): Likewise.
(structsp): Move call to reset_specialization into left_curly.
(left_curly): Call reset_specialization, and begin_tree.
* pt.c (saved_trees): New variable.
(mangle_class_name_for_template): Change prototype. Use
additional function context to name local classes in templates
correctly.
(classtype_mangled_name): Pass the context.
(push_template_decl): Handle local classes and templates, and
member functions for such classes.
(convert_nontype_parameter): Fix handling of pointer-to-member
constants.
(lookup_template_class): Handle local classes in templates.
(tsubst): Likewise. Don't assume that template instantiations
have external linkage; pay attention to the template declaration.
(mark_decl_instantiated): Likewise.
(begin_tree): New function.
(end_tree): Likewise.
* decl.c (xref_basetypes): Don't call complete_type for basetypes
that involve template parameters; that can lead to infinite
recursion unnecessarily.
* pt.c (register_specialization): Do not register specializations
that aren't ready to be registered yet.
(check_explicit_specialization): Handle explicit specialization of
constructors and destructors.
(build_template_decl): New function.
(push_template_delc): Handle out-of-class specializations of
member templates.
* pt.c (check_explicit_specialization): Set up the template
information before registering the specialization.
(coerce_template_parms): Fix thinko.
(tsubst): Handle specializations of member templates correctly.
* class.c (finish_struct_methods): Remove calls to
check_explicit_specialization from here.
(finish_struct): And insert them here.
* cp-tree.h (perform_qualification_conversions): New function.
(perform_array_to_pointer_conversion): Likewise.
(begin_explicit_instantiation): Likewise.
(end_explicit_instantiation): Likewise.
(determine_specialization): Renamed from
determine_explicit_specialization.
(comp_template_parms): New function.
(processing_explicit_instantiation): New variable.
* cvt.c (perform_qualification_conversions): New function.
(perform_array_to_pointer_conversion): Likewise.
* decl.c (duplicate_decls): Don't consider template functions
alike unless they have the same parameters. Refine handling of
instantiation/specialization mismatches.
(start_decl): Don't call pushdecl for template specializations,
since they don't affect overloading.
(start_function): Likewise
(grokfndecl): Call check_explicit_specialization a little later.
Don't call duplicate_decls for memberm template specializations.
(grokdeclarator): Don't update template_count for classes that are
themselves specializations. Remove use of `2' as parameter to
grokfndecl since that value isn't used.
* lex.c (cons_up_default_function): Save and restore
processing_explicit_instantiation around calls to grokfield.
* parse.y (finish_member_template_decl): New function.
(component_decl_1): Use it.
(fn.def2): Likewise.
(template_arg_list_opt): New nonterminal.
(template_type): Use it.
(self_template_type): Likewise.
(template_id): Likewise.
(object_template_id): Likewise.
(notype_template_declarator): Likwise.
(begin_explicit_instantiation): Likewise.
(end_explicit_instantiation): Likewise.
(explicit_instantiation): Use them.
* pt.c (coerce_template_parms): Add parameters.
(processing_explicit_instantiation): New variable.
(convert_nontype_parameter): New function.
(determine_overloaded_function): Likewise.
(begin_explicit_instantiation): Likewise.
(end_explicit_instantiation): Likewise.
(retrieve_specialization): Likewise.
(register_specialization): Likewise.
(processing_explicit_specialization): Removed.
(determine_specialization): Handle specializations of member
functions of template class instantiations.
(check_explicit_specialization): Refine to conform to standard.
(comp_template_parms): New function.
(coerce_template_parms): Call convert_nontype_parameter.
(tsubst): Refine handling of member templates. Use
register_specialization.
(instantiate_template): Use retrieve_specialization.
(do_decl_instantiation): Likewise.
(instantiate_decl): Likewise.
(type_unification): Improve handling of explict template
arguments.
* tree.c (mapcar): Return error_mark_node, rather than aborting,
on VAR_DECLS, FUNCTION_DECLS, and CONST_DECLS.
* typeck.c (build_unary_op): Call determine_specialization, rather
than determine_explicit_specialization.
From-SVN: r17426
Richard Henderson [Mon, 19 Jan 1998 21:54:09 +0000 (13:54 -0800)]
i386.md (push): Prohibit symbolic constants if flag_pic.
* i386.md (push): Prohibit symbolic constants if flag_pic.
(movsi+1): Likewise for move to non-register.
From-SVN: r17425
Jim Wilson [Mon, 19 Jan 1998 18:32:48 +0000 (18:32 +0000)]
Fix 32 bit host alpha ev6 target failure.
* alpha.c (mode_mask_operand): Accept 0xffffffff on 32 bit host.
(print_operand): Handle 0xffffffff on 32 bit host.
From-SVN: r17424
Jim Wilson [Mon, 19 Jan 1998 13:57:04 +0000 (13:57 +0000)]
Fix build/host/target configure in settting of thread_file.
* configure.in (thread_file): Rename uses before main loop to
target_thread_file. Initialize to empty in main loop. Set thread_file
to target_thread_file after main loop if not set.
* configure: Rebuild.
From-SVN: r17423
Jason Merrill [Mon, 19 Jan 1998 13:21:59 +0000 (13:21 +0000)]
cvt.c (build_up_reference): A TARGET_EXPR has side effects.
* cvt.c (build_up_reference): A TARGET_EXPR has side effects.
14507
From-SVN: r17422
Jim Wilson [Mon, 19 Jan 1998 11:16:37 +0000 (11:16 +0000)]
Fix time/space problem when (const_int 1) occurs in conflict_list.
* genattrtab.c (find_and_mark_used_attributes): Handle CONST_INT.
(add_values_to_cover): Revert last change (which had no ChangeLog
entry).
(simplify_with_current_value_aux): Handle CONST_INT.
From-SVN: r17421
Andreas Schwab [Mon, 19 Jan 1998 10:12:31 +0000 (10:12 +0000)]
* unprotoize.c: Define UNPROTOIZE first, to actually take effect.
From-SVN: r17420
Richard Henderson [Mon, 19 Jan 1998 10:09:47 +0000 (02:09 -0800)]
configure.in: Add cpp stringify test.
* configure.in: Add cpp stringify test.
* acconfig.h (HAVE_CPP_STRINGIFY): New tag.
* gengenrtl.c: Use it.
* configure, config.in: Rebuild.
From-SVN: r17419
Andreas Schwab [Mon, 19 Jan 1998 09:39:38 +0000 (09:39 +0000)]
* Makefile.in (genrtl.c genrtl.h): Add dummy command for GNU make.
From-SVN: r17418
Richard Henderson [Mon, 19 Jan 1998 09:37:12 +0000 (01:37 -0800)]
configure.in: Find declaration for sbrk.
* configure.in: Find declaration for sbrk.
* acconfig.h (NEED_DECLARATION_SBRK): New tag.
* config.in, configure: Rebuild.
* mips-tfile.c: Properly protect declaration of sbrk and free.
* toplev.c: Properly protect declaration of sbrk.
From-SVN: r17417
Richard Henderson [Sun, 18 Jan 1998 20:15:24 +0000 (12:15 -0800)]
* alpha.c (alpha_handle_trap_shadows): Ignore CLOBBERs.
From-SVN: r17416
Richard Henderson [Sun, 18 Jan 1998 20:03:42 +0000 (12:03 -0800)]
Typo applying the last patch.
From-SVN: r17415
Toon Moene [Sun, 18 Jan 1998 20:02:04 +0000 (21:02 +0100)]
f_back (f/runtime/libI77/backspace.c): use type `uiolen' to determine size of record length specifier.
* f_back (f/runtime/libI77/backspace.c): use type `uiolen'
to determine size of record length specifier.
From-SVN: r17414
Jeffrey A Law [Sun, 18 Jan 1998 00:52:49 +0000 (00:52 +0000)]
* alpha/xm-winnt.h (HAS_INIT_SECTION): Undefine.
From-SVN: r17413
Jeff Law [Sun, 18 Jan 1998 00:49:05 +0000 (17:49 -0700)]
Fix various bugs in previous change.
From-SVN: r17412
Jeffrey A Law [Sun, 18 Jan 1998 00:32:36 +0000 (00:32 +0000)]
c-torture.exp: Look for .x files instead of .cexp files.
* lib/c-torture.exp: Look for .x files instead of .cexp files.
* lib/f-torture.exp: Similarly.
* gcc.c-torture: Rename all .cexp files to .x files.
From-SVN: r17411
Jeff Law [Sun, 18 Jan 1998 00:22:34 +0000 (17:22 -0700)]
New test from Joern.
From-SVN: r17410
Jeff Law [Sun, 18 Jan 1998 00:01:22 +0000 (17:01 -0700)]
emit_rtl.c (init_emit_once): Ensure that potential aliasing between frame_pointer_rtx...
* emit_rtl.c (init_emit_once): Ensure that potential aliasing
between frame_pointer_rtx, hard_frame_pointer_rtx, and
arg_pointer_rtx is respected in initialization.
(init_emit_once): Use gen_rtx_raw_REG() to create
return_address_pointer_rtx.
* rtl.h: Fix typo.
From-SVN: r17409
Mike Stump [Sat, 17 Jan 1998 23:56:18 +0000 (23:56 +0000)]
* configure.in (i960-wrs-vxworks): Default to latest vxworks release.
From-SVN: r17408
Jeff Law [Sat, 17 Jan 1998 23:52:16 +0000 (16:52 -0700)]
Flip expectedness
From-SVN: r17407
Jeff Law [Sat, 17 Jan 1998 23:48:34 +0000 (16:48 -0700)]
Rebuild configure files after recent changes.
From-SVN: r17406
David S. Miller [Sat, 17 Jan 1998 23:08:03 +0000 (23:08 +0000)]
combine.c (force_to_mode, [...]): Correctly optimize constant offset computations from objects with known...
* combine.c (force_to_mode, nonzero_bits): Correctly optimize
constant offset computations from objects with known alignment in
the presence of STACK_BIAS.
From-SVN: r17405
Jeffrey A Law [Sat, 17 Jan 1998 23:00:46 +0000 (23:00 +0000)]
acconifg.h (NEED_DECLARATION_ATOL): New declaration to check for.
* acconifg.h (NEED_DECLARATION_ATOL): New declaration to check for.
* rtl.c (atol): Only provide the declaration if NEED_DECLARATION_ATOL.
From-SVN: r17404
David S. Miller [Sat, 17 Jan 1998 22:50:40 +0000 (22:50 +0000)]
varasm.c (immed_double_const): Add casts to HOST_WIDE_INT where necessary.
* varasm.c (immed_double_const): Add casts to HOST_WIDE_INT where
necessary.
(const_hash): Hash val is unsigned long.
(SYMHASH): Likewise.
* tree.c (TYPE_HASH): Type of hash val is unsigned long.
* print-tree.c (print_node_brief): HOST_PTR_PRINTF format wants a
char pointer, not HOST_WIDE_INT.
(print_node): Likewise. Also hash is unsigned long not
HOST_WIDE_INT.
* cse.c (canon_hash): Hash is unsigned long not HOST_WIDE_INT.
From-SVN: r17403
David S. Miller [Sat, 17 Jan 1998 22:39:10 +0000 (22:39 +0000)]
explow.c (optimize_save_area_alloca): New function for targets where SETJMP_VIA_SAVE_AREA is true.
* explow.c (optimize_save_area_alloca): New function for targets
where SETJMP_VIA_SAVE_AREA is true.
(allocate_dynamic_stack_space): On SETJMP_VIA_SAVE_AREA targets,
compute the amount of stack space needed should we find later that
setjmp is never called by this function, stuff rtl for this inside
a REG_NOTE of the final SET of stack_pointer_rtx.
* toplev.c (rest_of_compilation): If SETJMP_VIA_SAVE_AREA and
current_function_calls_alloca, call optimize_save_area_alloca.
CVS ----------------------------------------------------------------------
From-SVN: r17402
John Wehle [Sat, 17 Jan 1998 22:20:32 +0000 (22:20 +0000)]
i386.md: Remove redundant integer push patterns.
* i386.md: Remove redundant integer push patterns.
Don't bother checking for TARGET_PUSH_MEMORY when
pushing constants or registers.
From-SVN: r17401
Jeffrey A Law [Sat, 17 Jan 1998 22:00:51 +0000 (22:00 +0000)]
* rtl.c (read_rtx): Initialize list_rtx to NULL, not NULL_RTX.
From-SVN: r17400
Jeffrey A Law [Sat, 17 Jan 1998 21:50:05 +0000 (21:50 +0000)]
loop.c (find_and_verify_loops): When attempting to move insns from inside the loop outside the loop...
* loop.c (find_and_verify_loops): When attempting to move insns from
inside the loop outside the loop, create a BARRIER if no suitable
one was found.
From-SVN: r17399
Mumit Khan [Sat, 17 Jan 1998 21:39:07 +0000 (21:39 +0000)]
configure.in (sys/param.h,sys/times.h): Check.
* libU77/configure.in (sys/param.h,sys/times.h): Check.
(times,alarm): Likewise.
* libU77/config.h.in (HAVE_SYS_PARAM_H, HAVE_SYS_TIMES_H,
HAVE_ALARM, HAVE_TIMES): New defs.
* libU77/alarm_.c: Conditionalize for target platform. Set errno
to ENOSYS if target libc doesn't have the function.
* libU77/dtime_.c: Likewise.
* libU77/etime_.c: Likewise.
* libU77/sys_clock_.c: Likewise.
From-SVN: r17398
Mumit Khan [Sat, 17 Jan 1998 21:37:48 +0000 (21:37 +0000)]
configure.in (NON_UNIX_STDIO): Define if MINGW32.
* configure.in (NON_UNIX_STDIO): Define if MINGW32.
(NON_ANSI_RW_MODE): Do not define for CYGWIN32 or MINGW32.
* libI77/rawio.h: Don't providing conflicting declarations for
read() and write(). MINGW32 header files use "const" quals.
* libF77/s_paus.c: _WIN32 does not have pause().
From-SVN: r17397
Mumit Khan [Sat, 17 Jan 1998 21:33:56 +0000 (21:33 +0000)]
pexecute.c (pexecute): New function for mingw32.
* pexecute.c (pexecute): New function for mingw32. Supports pipes.
(pwait): New function for mingw32.
* gcc.c (execute): Mingw32 pexecute() supports pipes, but cygwin32
pipe support is broken for now.
Co-Authored-By: J.J. VanderHeijden <J.J.vanderHeijden@student.utwente.nl>
From-SVN: r17396
Mumit Khan [Sat, 17 Jan 1998 21:30:39 +0000 (21:30 +0000)]
Add mingw32 support.
* pexecute.c (pexecute): New function for mingw32. Supports pipes.
(pwait): New function for mingw32.
* config.table (i[3456]86-*-mingw32*): Support for i386-mingw32.
* config/mt-mingw32: New file.
* xmalloc.c (first_break): Not used for mingw32.
(xmalloc_set_program_name): Don't use sbrk on mingw32.
(xmalloc): Likewise.
(xrealloc): Likewise.
Co-Authored-By: J.J. VanderHeijden <J.J.vanderHeijden@student.utwente.nl>
From-SVN: r17395
Jeffrey A Law [Sat, 17 Jan 1998 21:23:29 +0000 (21:23 +0000)]
* choose-temp.c: Sync with gcc.
From-SVN: r17394
Lee Iverson [Sat, 17 Jan 1998 20:37:23 +0000 (20:37 +0000)]
reorg.c: #include "expr.h" for rtx prototypes.
* reorg.c: #include "expr.h" for rtx prototypes.
* Makefile.in (reorg.o): Depend on expr.h.
From-SVN: r17393
Pieter Nagel [Sat, 17 Jan 1998 20:29:12 +0000 (22:29 +0200)]
Makefile.in (FLAGS_TO_PASS): Pass down gcc_include_dir and local_prefix to sub-make invocations.
8
* Makefile.in (FLAGS_TO_PASS): Pass down gcc_include_dir and
local_prefix to sub-make invocations.
From-SVN: r17392
Pieter Nagel [Sat, 17 Jan 1998 20:28:35 +0000 (13:28 -0700)]
Makefile.in (FLAGS_TO_PASS): Pass down gcc_include_dir and local_prefix to sub-make invocations.
d
* Makefile.in (FLAGS_TO_PASS): Pass down gcc_include_dir and
local_prefix to sub-make invocations.
From-SVN: r17391
Pieter Nagel [Sat, 17 Jan 1998 20:28:11 +0000 (22:28 +0200)]
Makefile.in (FLAGS_TO_PASS): Pass down gcc_include_dir and local_prefix to sub-make invocations.
Sat Jan 17 21:28:08 1998 Pieter Nagel <pnagel@epiuse.co.za>
* Makefile.in (FLAGS_TO_PASS): Pass down gcc_include_dir and
local_prefix to sub-make invocations.
From-SVN: r17390
David T. McWherter [Sat, 17 Jan 1998 20:23:59 +0000 (20:23 +0000)]
* objc-parse.c: Recognize protocol qualifiers in class definitions.
From-SVN: r17389
Jeff Law [Sat, 17 Jan 1998 20:20:09 +0000 (13:20 -0700)]
jump.c (jump_optimize): Remove Dec 17, 1997 chance in favor of an equivalent change from gcc-2.8.
* jump.c (jump_optimize): Remove Dec 17, 1997 chance in
favor of an equivalent change from gcc-2.8.
From-SVN: r17388
Jeffrey A Law [Sat, 17 Jan 1998 20:15:48 +0000 (20:15 +0000)]
* i386/x-sco5 (CC): Remove trailing whitespace.
From-SVN: r17387
Kaveh R. Ghazi [Sat, 17 Jan 1998 20:09:09 +0000 (20:09 +0000)]
gengenrtl.c (type_from_format): De-ANSIfy function signature.
* gengenrtl.c (type_from_format): De-ANSIfy function signature.
(accessor_from_format): Likewise.
(xmalloc): New function for use when linking with alloca.o.
From-SVN: r17386
H.J. Lu [Sat, 17 Jan 1998 20:04:38 +0000 (20:04 +0000)]
configure.in: Check makefile fragments in the source directory.
* configure.in: Check makefile fragments in the source
directory.
From-SVN: r17385
Bruno Haible [Fri, 16 Jan 1998 23:56:07 +0000 (23:56 +0000)]
* frame.c (find_fde): Correct FDE's upper bound.
From-SVN: r17382
Bruno Haible [Fri, 16 Jan 1998 23:55:44 +0000 (23:55 +0000)]
* error.c (dump_decl): For enum tags, output the tag, not its value.
From-SVN: r17381
Richard Henderson [Fri, 16 Jan 1998 16:21:54 +0000 (08:21 -0800)]
* gengenrtl.c (DEF_RTL_EXPR): Provide a K&R compliant version.
From-SVN: r17380
Jeff Law [Fri, 16 Jan 1998 09:16:10 +0000 (02:16 -0700)]
calls.c (expand_call): Move #ifdef code out of macro argument lists.
`
* calls.c (expand_call): Move #ifdef code out of macro argument
lists.
(emit_library_call, emit_library_call_value): Likewise.
From-SVN: r17379
Jeff Law [Fri, 16 Jan 1998 09:16:09 +0000 (02:16 -0700)]
calls.c (expand_call): Move #ifdef code out of macro argument lists.
d
* calls.c (expand_call): Move #ifdef code out of macro argument
lists.
(emit_library_call, emit_library_call_value): Likewise.
From-SVN: r17378
Brendan Kehoe [Fri, 16 Jan 1998 08:59:59 +0000 (03:59 -0500)]
tweak comment
From-SVN: r17377
Manfred Hollstein [Thu, 15 Jan 1998 23:46:28 +0000 (23:46 +0000)]
* config.shared (FLAGS_TO_PASS): Add SHELL.
From-SVN: r17376
Jeffrey A Law [Thu, 15 Jan 1998 23:44:54 +0000 (23:44 +0000)]
* rtl.def (INLINE_HEADER): Fix bug exposed by gen_rtx_FOO changes.
From-SVN: r17375
Jeff Law [Thu, 15 Jan 1998 23:42:59 +0000 (16:42 -0700)]
Minor tweaks & updates.
From-SVN: r17374
Alexandre Oliva [Thu, 15 Jan 1998 23:39:59 +0000 (23:39 +0000)]
configure.in: check whether host and target makefile fragments exist before adding them to...
* configure.in: check whether host and target makefile
fragments exist before adding them to *_makefile_frag
From-SVN: r17373
Jeff Law [Thu, 15 Jan 1998 23:38:58 +0000 (16:38 -0700)]
Work around VxWorks bogus problems.
From-SVN: r17372
Jeff Law [Thu, 15 Jan 1998 03:36:46 +0000 (20:36 -0700)]
Initial revision
From-SVN: r17365
Jeffrey A Law [Thu, 15 Jan 1998 00:01:51 +0000 (00:01 +0000)]
Bump for snapshot.
From-SVN: r17358
Richard Henderson [Wed, 14 Jan 1998 23:10:50 +0000 (15:10 -0800)]
alias.c: Change all uses of gen_rtx(FOO...) to gen_rtx_FOO...
* alias.c: Change all uses of gen_rtx(FOO...) to gen_rtx_FOO;
change gen_rtx(expr...) to gen_rtx_fmt_foo(expr...).
* caller-save.c, calls.c, combine.c, cse.c: Likewise.
* dwarf2out.c, except.c, explow.c, expmed.c, expr.c: Likewise.
* final.c, flow.c, function.c, genpeep.c, haifa-sched.c: Likewise.
* halfpic.c, integrate.c, jump.c, local-alloc.c, loop.c: Likewise.
* profile.c, recog.c, reg-stack.c, regclass.c, regmove.c: Likewise.
* reload.c, reload1.c, reorg.c, sched.c, stmt.c, stupid.c: Likewise.
* unroll.c, varasm.c: Likewise.
* config/alpha/alpha.c, config/alpha/alpha.md: Likewise.
From-SVN: r17357
Jeff Law [Wed, 14 Jan 1998 21:44:01 +0000 (14:44 -0700)]
Fix minor lossage brought over in gcc-2.8.0 merge.
From-SVN: r17356
Jeff Law [Wed, 14 Jan 1998 20:57:58 +0000 (13:57 -0700)]
Bring in final gcc-2.8.0 changes.
From-SVN: r17355
Gavin Koch [Wed, 14 Jan 1998 18:34:35 +0000 (11:34 -0700)]
* mips.h: Fix some type-o's from a previous change.
From-SVN: r17353
Jeffrey A Law [Wed, 14 Jan 1998 00:24:33 +0000 (00:24 +0000)]
loop.c (check_dbra_loop): Make sure initial value is a CONST_INT before trying to normalize it.
* loop.c (check_dbra_loop): Make sure initial value is a
CONST_INT before trying to normalize it.
From-SVN: r17352
Robert Lipe [Tue, 13 Jan 1998 22:27:40 +0000 (22:27 +0000)]
* sco5.h (ASM_OUTPUT_SECTION_NAME): Refresh from ../svr4.h.
From-SVN: r17351
Herman ten Brugge [Tue, 13 Jan 1998 21:45:28 +0000 (22:45 +0100)]
* cppexp.c: Include gansidecl.h
From-SVN: r17350
Ian Lance Taylor [Tue, 13 Jan 1998 21:43:41 +0000 (21:43 +0000)]
svr4.h (LINK_SPEC): Never specify -h.
* svr4.h (LINK_SPEC): Never specify -h.
* ptx4.h (LINK_SPEC): Likewise.
* rs6000/sysv4.h (LINK_SPEC): Likewise.
* sparc/sol2.h (LINK_SPEC): Likewise.
From-SVN: r17349
Jeff Law [Tue, 13 Jan 1998 21:42:33 +0000 (14:42 -0700)]
Update copyrights.
From-SVN: r17348
Richard Henderson [Tue, 13 Jan 1998 21:40:27 +0000 (13:40 -0800)]
* c-typeck.c (comptypes): Exit early on NULL input.
From-SVN: r17347
Richard Henderson [Tue, 13 Jan 1998 21:38:31 +0000 (13:38 -0800)]
haifa-sched.c (schedule_insns): Correctly remove inter-block dependencies after reload.
* haifa-sched.c (schedule_insns): Correctly remove inter-block
dependencies after reload.
From-SVN: r17346
Franz Sirl [Tue, 13 Jan 1998 21:21:05 +0000 (14:21 -0700)]
* rs6000/linux.h (CPP_PREDEFINES): Add -D__ELF__.
From-SVN: r17345
Jeff Law [Tue, 13 Jan 1998 21:13:28 +0000 (14:13 -0700)]
* alpha/vms.h (DIR_SEPARATOR): define
From-SVN: r17344
Bruno Haible [Tue, 13 Jan 1998 21:10:35 +0000 (21:10 +0000)]
Makefile.in (stamp-proto): Remove.
* Makefile.in (stamp-proto): Remove.
(protoize.o, unprotoize.o): Straightforward compile.
* unprotoize.c: Define UNPROTOIZE here, not in the Makefile.
From-SVN: r17343
Jeffrey A Law [Tue, 13 Jan 1998 21:06:08 +0000 (21:06 +0000)]
* lang-options.h: Add missing options.
From-SVN: r17342
Lee Iverson [Tue, 13 Jan 1998 21:01:03 +0000 (21:01 +0000)]
config-ml.in (multi-do): LDFLAGS must include multilib designator.
* config-ml.in (multi-do): LDFLAGS must include multilib
designator.
From-SVN: r17341
Mumit Khan [Tue, 13 Jan 1998 20:58:47 +0000 (20:58 +0000)]
cygwin32.h (STRIP_NAME_ENCODING): Define for Win32 to strip off the trailing @[NUM] added by ENCODE_SECTION_INFO.
* i386/cygwin32.h (STRIP_NAME_ENCODING): Define for Win32 to strip
off the trailing @[NUM] added by ENCODE_SECTION_INFO.
Also update copyright forgotten in last change.
From-SVN: r17340
Jeffrey A Law [Tue, 13 Jan 1998 20:54:16 +0000 (20:54 +0000)]
netbsd.h (DWARF2_UNWIND_INFO): Define as zero for now.
* arm/netbsd.h (DWARF2_UNWIND_INFO): Define as zero for now.
* i386/netbsd.h, m68k/netbsd.h, ns32k/netbsd.h: Likewise.
* sparc/netbsd.h, vax/netbsd.h: Likewise.
From-SVN: r17339
Shigeya Suzuki [Tue, 13 Jan 1998 20:35:41 +0000 (05:35 +0900)]
* i386/bsd386.h (DWARF2_UNWIND_INFO): Define as zero for now.
From-SVN: r17338
H.J. Lu [Tue, 13 Jan 1998 20:31:57 +0000 (20:31 +0000)]
* libtxi/Makefile.in (AR_FLAGS): Defined as "rc".
From-SVN: r17337
H.J. Lu [Tue, 13 Jan 1998 20:28:27 +0000 (20:28 +0000)]
configure.in (CHECK_SUBDIRS): Set to testsuite only if ${srcdir}/../gcc exists.
* configure.in (CHECK_SUBDIRS): Set to testsuite only if
${srcdir}/../gcc exists.
(configdirs): Include testsuite only if ${srcdir}/../gcc exists.
* tests/Makefile.in (check): Depend on $(CHECK).
* tests/configure.in (CHECK): Set to "check-iostream
check-stdio" if ${srcdir}/../../gcc doesn't exists.
From-SVN: r17336
H.J. Lu [Tue, 13 Jan 1998 20:24:06 +0000 (20:24 +0000)]
configure.in (configdirs): Include testsuite only if ${srcdir}/../gcc exists.
�
* configure.in (configdirs): Include testsuite only if
${srcdir}/../gcc exists.
* tests/configure.in (check): Set to ${CHECK} if
${srcdir}/../../gcc doesn't exists.
From-SVN: r17335
Jeff Law [Tue, 13 Jan 1998 20:24:04 +0000 (13:24 -0700)]
configure.in (configdirs): Include testsuite only if ${srcdir}/../gcc exists.
�
* configure.in (configdirs): Include testsuite only if
${srcdir}/../gcc exists.
* tests/configure.in (check): Set to ${CHECK} if
${srcdir}/../../gcc doesn't exists.
From-SVN: r17334
Jim Wilson [Tue, 13 Jan 1998 18:01:56 +0000 (18:01 +0000)]
Avoid shell errors when target_cpu_default* contains a | character.
* configure.in (target_cpu_default, target_cpu_default2): Use double
quotes around them when testing their value.
* configure: Rebuilt.
From-SVN: r17333
Jeff Law [Tue, 13 Jan 1998 16:40:20 +0000 (09:40 -0700)]
undo test change
From-SVN: r17332
Jeff Law [Tue, 13 Jan 1998 16:39:53 +0000 (09:39 -0700)]
Test
From-SVN: r17331
Anonymous CVS User [Tue, 13 Jan 1998 16:30:05 +0000 (16:30 +0000)]
Test
From-SVN: r17330
Jeff Law [Tue, 13 Jan 1998 16:27:20 +0000 (09:27 -0700)]
Testing.
From-SVN: r17329
Brendan Kehoe [Tue, 13 Jan 1998 12:54:24 +0000 (12:54 +0000)]
decl.c (init_decl_processing): Only call init_rtti_processing FLAG_RTTI is set.
* decl.c (init_decl_processing): Only call init_rtti_processing
FLAG_RTTI is set.
From-SVN: r17328
John Carr [Tue, 13 Jan 1998 09:06:31 +0000 (09:06 +0000)]
gengenrtl.c (gencode): Emit new function obstack_alloc_rtx to allocate rtx.
* gengenrtl.c (gencode): Emit new function obstack_alloc_rtx
to allocate rtx.
(gendef): Call obstack_alloc_rtx.
From-SVN: r17327
Jeff Law [Tue, 13 Jan 1998 07:44:52 +0000 (00:44 -0700)]
Fix it after test commit :-)
From-SVN: r17326
Jeff Law [Tue, 13 Jan 1998 07:44:06 +0000 (00:44 -0700)]
Test mail for commits
From-SVN: r17325
Jeff Law [Tue, 13 Jan 1998 07:37:58 +0000 (00:37 -0700)]
Clarify some collect2 stuff.
From-SVN: r17324
Robert Lipe [Tue, 13 Jan 1998 00:15:16 +0000 (00:15 +0000)]
configure.in: (i[3456]86-UnixWare7-sysv5): Treat much like SVR4 for now.
* configure.in: (i[3456]86-UnixWare7-sysv5): Treat much like SVR4
for now.
From-SVN: r17323
Robert Lipe [Tue, 13 Jan 1998 00:12:01 +0000 (00:12 +0000)]
* config.guess: Recognize i[3456]-i586-UnixWare7-sysv5.
From-SVN: r17322
Mumit Khan [Mon, 12 Jan 1998 23:49:57 +0000 (23:49 +0000)]
mingw32.h (INCOMING_RETURN_ADDR_RTX): Delete.
* i386/mingw32.h (INCOMING_RETURN_ADDR_RTX): Delete. Use the value
of DWARF2_UNWIND_INFO, if any, from i386/cygwin32.h instead.
(STANDARD_INCLUDE_DIR): Change to /usr/local/i386-mingw32/include.
From-SVN: r17321
Jim Wilson [Mon, 12 Jan 1998 23:42:43 +0000 (23:42 +0000)]
* mips.md (return_internal): Change mode from SImode to VOIDmode.
From-SVN: r17320
Jason Merrill [Mon, 12 Jan 1998 09:44:59 +0000 (09:44 +0000)]
init.c (build_new_1): Split out from build_new.
* init.c (build_new_1): Split out from build_new.
(build_new): Just return a NEW_EXPR.
* expr.c (cplus_expand_expr): Handle NEW_EXPR.
* decl2.c (get_temp_regvar): Tweak.
* cp-tree.h (TREE_CALLS_NEW): Comment out.
* class.c (resolves_to_fixed_type_p): Remove use.
* method.c (build_opfncall): Likewise.
* call.c (build_new_op): Likewise.
Fix problem with 'new' in default argument.
From-SVN: r17319
J. Kean Johnston [Sat, 10 Jan 1998 21:11:00 +0000 (21:11 +0000)]
sco5.h (STARTFILE_SPEC, [...]): Correctly handle "-static".
* i386/sco5.h (STARTFILE_SPEC, ENDFILE_SPEC): Correctly handle
"-static".
From-SVN: r17318
Stan Cox [Sat, 10 Jan 1998 21:03:36 +0000 (21:03 +0000)]
i386.md: (movsicc_1, movhicc_1): For alternate 3 set the opcode suffix from operand 3.
* i386.md: (movsicc_1, movhicc_1): For alternate 3 set the opcode
suffix from operand 3.
From-SVN: r17317
J"orn Rennecke [Sat, 10 Jan 1998 20:54:37 +0000 (20:54 +0000)]
regmove.c: New implementation of regmove pass.
* regmove.c: New implementation of regmove pass.
* local-alloc.c (optimize_reg_copy_1, optimize_reg_copy_2): Remove
decls, make them have external linkage. Return a value from
optimize_reg_copy_1.
* reload.h (count_occurrences): Add decl.
* reload1.c (count_occurrences): Delete decl, make it have external
linkage.
* rtl.h (optimize_reg_copy_1, optimize_reg_copy_2): Declare.
Co-Authored-By: Jeffrey A Law <law@cygnus.com>
From-SVN: r17316
Jeff Law [Sat, 10 Jan 1998 19:57:29 +0000 (12:57 -0700)]
Remove bogus CYGNUS LOCAL markers.
From-SVN: r17315
Jeffrey A Law [Sat, 10 Jan 1998 19:30:33 +0000 (19:30 +0000)]
regclass.c (record_address_regs): Don't use REG_OK_FOR_BASE_P if it is not defined.
* regclass.c (record_address_regs): Don't use REG_OK_FOR_BASE_P
if it is not defined.
From-SVN: r17314