Andreas Schwab [Fri, 13 Feb 1998 02:26:35 +0000 (02:26 +0000)]
call.c (build_over_call): Convert builtin abs, labs and fabs to tree-codes.
* call.c (build_over_call): Convert builtin abs, labs and fabs to
tree-codes.
* decl.c (init_decl_processing): Reenable abs, labs and fabs as
builtins.
From-SVN: r17900
J"orn Rennecke [Fri, 13 Feb 1998 02:26:25 +0000 (02:26 +0000)]
* combine.c (can_combine_p): Handle USEs in PARALLELs.
From-SVN: r17899
Jason Merrill [Fri, 13 Feb 1998 01:37:30 +0000 (01:37 +0000)]
* call.c (standard_conversion): A BASE_CONV replaces an RVALUE_CONV.
From-SVN: r17898
H.J. Lu [Fri, 13 Feb 1998 00:33:05 +0000 (00:33 +0000)]
linux.h (LIB_SPEC): Add -lc for -shared if USE_GNULIBC_1 is not defined.
* config/linux.h (LIB_SPEC): Add -lc for -shared if
USE_GNULIBC_1 is not defined.
* config/sparc/linux.h; Ditto.
* config/sparc/linux64.h (LIB_SPEC): Add -lc for -shared.
* config/alpha/linux-elf.h (LIB_SPEC): New. Defined if
USE_GNULIBC_1 is not defined.
From-SVN: r17895
Jason Merrill [Fri, 13 Feb 1998 00:30:37 +0000 (00:30 +0000)]
cp-tree.h: Add access_protected_virtual_node.
* cp-tree.h: Add access_protected_virtual_node.
* class.c (init_class_processing): Initialize it.
* decl.c (xref_basetypes): Use it.
* parse.y (base_class_access_list): Likewise.
* Make-lang.in (DEMANGLER_PROG): Add $(exeext).
(c++.install-common): Install c++filt.
From-SVN: r17894
Franz Sirl [Fri, 13 Feb 1998 00:28:23 +0000 (17:28 -0700)]
sysv4.h (ENDFILE_SPEC): add missing %(endfile_linux) for -mcall-linux
* rs6000/sysv4.h (ENDFILE_SPEC): add missing %(endfile_linux)
for -mcall-linux
From-SVN: r17892
Kaveh R. Ghazi [Fri, 13 Feb 1998 00:22:24 +0000 (00:22 +0000)]
system.h: New file to get common systems includes and various definitions and...
* system.h: New file to get common systems includes and various
definitions and declarations based on autoconf macros.
From-SVN: r17891
Jeff Law [Thu, 12 Feb 1998 23:56:20 +0000 (16:56 -0700)]
fileops.c: #include <unistd.h>.
* fileops.c: #include <unistd.h>.
* ioprims.c: Likewise.
From-SVN: r17890
Krister Walfridsson [Thu, 12 Feb 1998 23:56:19 +0000 (16:56 -0700)]
fileops.c: #include <unistd.h>.
(
* fileops.c: #include <unistd.h>.
* ioprims.c: Likewise.
From-SVN: r17889
Krister Walfridsson [Thu, 12 Feb 1998 23:56:18 +0000 (16:56 -0700)]
fileops.c: #include <unistd.h>.
f
* fileops.c: #include <unistd.h>.
* ioprims.c: Likewise.
From-SVN: r17888
Jeffrey A Law [Thu, 12 Feb 1998 23:45:20 +0000 (23:45 +0000)]
* cccp.c (new_include_prefix): Correctly handle -I./.
From-SVN: r17886
Jeffrey A Law [Thu, 12 Feb 1998 23:34:52 +0000 (23:34 +0000)]
* gcc.dg/ifelse-1.c: New test.
From-SVN: r17885
Kaveh R. Ghazi [Thu, 12 Feb 1998 23:18:26 +0000 (23:18 +0000)]
com.c (type_for_mode): Add explicit braces to avoid ambiguous `else'.
* com.c (type_for_mode): Add explicit braces to avoid ambiguous `else'.
* expr.c (ffeexpr_type_combine): Likewise.
(ffeexpr_reduce_): Likewise.
(ffeexpr_declare_parenthesized_): Likewise.
* src.c (ffesrc_strcmp_1ns2i): Likewise.
(ffesrc_strcmp_2c): Likewise.
(ffesrc_strncmp_2c): Likewise.
* stb.c (ffestb_halt1_): Likewise.
(ffestb_R90910_): Likewise.
(ffestb_R9109_): Likewise.
* stc.c (ffestc_R544_equiv_): Likewise.
* std.c (ffestd_subr_copy_easy_): Likewise.
(ffestd_R1001dump_): Likewise.
(ffestd_R1001dump_1005_1_): Likewise.
(ffestd_R1001dump_1005_2_): Likewise.
(ffestd_R1001dump_1005_3_): Likewise.
(ffestd_R1001dump_1005_4_): Likewise.
(ffestd_R1001dump_1005_5_): Likewise.
(ffestd_R1001dump_1010_2_): Likewise.
* ste.c (ffeste_R840): Likewise.
* sts.c (ffests_puttext): Likewise.
* symbol.c (ffesymbol_check_token_): Likewise.
* target.c (ffetarget_real1): Likewise.
(ffetarget_real2): Likewise.
From-SVN: r17884
Benjamin Kosnik [Thu, 12 Feb 1998 18:20:08 +0000 (18:20 +0000)]
�
testcase for g++/14837
From-SVN: r17882
Benjamin Kosnik [Thu, 12 Feb 1998 18:18:51 +0000 (18:18 +0000)]
decl.c (shadow_tag): Give error for typedef-ing built-in types Fixes g++/14837
d
Thu Feb 12 12:46:51 1998 Benjamin Kosnik <bkoz@rhino.cygnus.com>
* decl.c (shadow_tag): Give error for typedef-ing built-in types
Fixes g++/14837
From-SVN: r17881
Benjamin Kosnik [Thu, 12 Feb 1998 18:18:49 +0000 (18:18 +0000)]
decl.c (shadow_tag): Give error for typedef-ing built-in types Fixes g++/14837
a
Thu Feb 12 12:46:51 1998 Benjamin Kosnik <bkoz@rhino.cygnus.com>
* decl.c (shadow_tag): Give error for typedef-ing built-in types
Fixes g++/14837
From-SVN: r17880
Michael Meissner [Thu, 12 Feb 1998 17:18:51 +0000 (17:18 +0000)]
Replace gen_rtx (CONST_INT...) calls with GEN_INT calls
From-SVN: r17879
Robert Lipe [Thu, 12 Feb 1998 14:59:57 +0000 (14:59 +0000)]
expr.c (expand_assignment): Correct typo exposed by -Wall.
* expr.c (expand_assignment): Correct typo exposed by -Wall.
offset should have been a truth value, not an assignment.
From-SVN: r17876
Mark Mitchell [Thu, 12 Feb 1998 14:55:02 +0000 (14:55 +0000)]
call.c (reference_binding): Use comptypes when comparing TYPE_MAIN_VARIANTS to handle non-canonical...
* call.c (reference_binding): Use comptypes when comparing
TYPE_MAIN_VARIANTS to handle non-canonical array/index types.
From-SVN: r17875
Mark Mitchell [Thu, 12 Feb 1998 14:51:57 +0000 (14:51 +0000)]
typeck.c (build_ptrmemfunc): Typecheck pointer-to-member conversions.
* typeck.c (build_ptrmemfunc): Typecheck pointer-to-member
conversions.
From-SVN: r17874
Jeffrey A Law [Thu, 12 Feb 1998 14:26:47 +0000 (14:26 +0000)]
cse.c (delete_dead_from_cse): If a libcall produces a constant result and that result can be substituted into...
* cse.c (delete_dead_from_cse): If a libcall produces a constant
result and that result can be substituted into SET_SRC of the
insn with the REG_RETVAL note, then perform the substitution
and delete the libcall.
From-SVN: r17871
Gavin Koch [Thu, 12 Feb 1998 11:06:08 +0000 (11:06 +0000)]
mips.md (trucndihi2,truncdiqi2): Change these to support mips16.
* mips.md (trucndihi2,truncdiqi2): Change these to support
mips16.
From-SVN: r17868
Gavin Koch [Thu, 12 Feb 1998 08:37:06 +0000 (08:37 +0000)]
mips.c (movdi_operand): Direct referances to symbols that arn't mips16 consts in mips16 mode arn't...
* mips/mips.c (movdi_operand): Direct referances to symbols
that arn't mips16 consts in mips16 mode arn't valid operands.
* mips/mips.c (mips_move_2words): Add gprel handling.
From-SVN: r17867
Gavin Koch [Thu, 12 Feb 1998 08:21:38 +0000 (08:21 +0000)]
mips.md (extendsidi2): Allow extension to/from a non-mips16 register.
* mips.md (extendsidi2): Allow extension to/from a non-mips16
register.
From-SVN: r17866
Robert Lipe [Wed, 11 Feb 1998 23:17:04 +0000 (23:17 +0000)]
Add documentation for OpenServer patch required for static [cd]tors
to work right.
From-SVN: r17865
Marc Lehmann [Wed, 11 Feb 1998 23:03:32 +0000 (23:03 +0000)]
i386.c: Conditionally include <stdlib.h>, <string.h>, and <strings.h>.
* i386.c: Conditionally include <stdlib.h>, <string.h>, and
<strings.h>.
From-SVN: r17864
Mark Mitchell [Wed, 11 Feb 1998 22:47:30 +0000 (22:47 +0000)]
tree.c (is_overloaded_fn): Use really_overloaded_fn.
* tree.c (is_overloaded_fn): Use really_overloaded_fn.
(really_overloaded_fn): Move check here from is_overloaded_fn.
(get_first_fn): Use really_overloaded_fn and is_overloaded_fn.
From-SVN: r17863
Kaveh R. Ghazi [Wed, 11 Feb 1998 22:26:23 +0000 (22:26 +0000)]
Makefile.in (WARN_CFLAGS): New variable.
* Makefile.in (WARN_CFLAGS): New variable.
(bootstrap, bootstrap2, bootstrap3, bootstrap4): Use it.
From-SVN: r17862
Mark Mitchell [Wed, 11 Feb 1998 15:09:17 +0000 (15:09 +0000)]
i386.c (reg_mentioned_in_mem): Don't abort when falling through default case in switch.
* config/i386/i386.c (reg_mentioned_in_mem): Don't abort when
falling through default case in switch.
(i386_aligned_p): Likewise.
From-SVN: r17860
Lee Iverson [Wed, 11 Feb 1998 13:04:01 +0000 (13:04 +0000)]
Patch from Lee Iverson.
* mips/mips.h (mips_abi_string): Correct typo in comment.
From-SVN: r17858
Jeff Law [Wed, 11 Feb 1998 12:25:38 +0000 (05:25 -0700)]
More updates...
From-SVN: r17857
Gavin Koch [Wed, 11 Feb 1998 05:32:24 +0000 (05:32 +0000)]
* mips/mips.md (movdi): These PLUS's need to be Pmode.
From-SVN: r17855
Jeff Law [Wed, 11 Feb 1998 01:57:57 +0000 (18:57 -0700)]
Add more folks.
From-SVN: r17854
Jason Merrill [Wed, 11 Feb 1998 01:30:13 +0000 (20:30 -0500)]
new
From-SVN: r17853
Mark Mitchell [Wed, 11 Feb 1998 01:22:36 +0000 (01:22 +0000)]
cp-tree.h (push_template_decl): Return the decl passed in, or an equivalent duplicate.
* cp-tree.h (push_template_decl): Return the decl passed in, or an
equivalent duplicate.
* decl.c (pushtag): Use the return value from push_template_decl.
(duplicate_decls): When duplicating a template declaration, merge
the DECL_TEMPLATE_RESULTs as well.
(make_implicit_typename): Don't try to dive into typename types to
find a context for making a new implicit typename.
(start_decl): Use the return value from push_template_decl.
(grokdeclarator): Complain about declarations list `const operator
int'. Since we don't correctly handle in-class initializations of
non-static data members, complain about this (now illegal)
practice. Issue an error for initializations of non-const statics
since that is illegal as well, and since we don't handle that case
correctly either.
(start_function): Use the return value from push_template_decl.
(start_method): Likewise.
* decl2.c (grokfield): Likewise. Since the change to
grokdeclarator ensures that all initialized fields are in fact
static, remove a redundant test for TREE_PUBLIC.
* parse.y (initlist): Disable labeled initializers since they do
not work as per the documentation, and since they do not use the
same syntax as the C front end.
* pt.c (push_template_decl): Return the decl passed in, or an
equivalent duplicate.
(lookup_template_class): When searching in a nested context,
use the right arguments.
(uses_template_parms): Handle the DECL_INITIAL for a CONST_DECL.
* typeck.c (build_component_ref): Assign the correct type to the
result of build_vfn_ref.
From-SVN: r17852
Richard Henderson [Wed, 11 Feb 1998 00:54:15 +0000 (16:54 -0800)]
Copy comment to go with the subtraction patch.
From-SVN: r17850
Kaveh R. Ghazi [Wed, 11 Feb 1998 00:46:41 +0000 (00:46 +0000)]
Makefile.in (dwarf2out.o, [...]): Depend on insn-codes.h, it gets included indirectly via expr.h.
* Makefile.in (dwarf2out.o, emit-rtl.o, jump.o, cse.o, unroll.o,
reorg.o, regmove.o): Depend on insn-codes.h, it gets included
indirectly via expr.h.
From-SVN: r17849
Manfred Hollstein [Wed, 11 Feb 1998 00:44:50 +0000 (00:44 +0000)]
Makefile.in ($(lib)): Call $(AR) repeatedly to avoid overflowing argument size limit on ancious System V.
* Makefile.in ($(lib)): Call $(AR) repeatedly to avoid overflowing
argument size limit on ancious System V.
From-SVN: r17848
Richard Henderson [Wed, 11 Feb 1998 00:44:03 +0000 (16:44 -0800)]
com.c (ffecom_ptr_to_expr): Do upper - lower in the native type, so as to properly handle negative indices.
* com.c (ffecom_ptr_to_expr) [FFEBLD_opARRAYREF]: Do upper - lower
in the native type, so as to properly handle negative indices.
From-SVN: r17847
Richard Henderson [Wed, 11 Feb 1998 00:43:32 +0000 (16:43 -0800)]
stor-layout.c (layout_type): Do upper - lower in the native type, so as to properly handle negative indices.
* stor-layout.c (layout_type): Do upper - lower in the native type,
so as to properly handle negative indices.
From-SVN: r17846
Robert Lipe [Wed, 11 Feb 1998 00:35:13 +0000 (00:35 +0000)]
except.c (start_dynamic_cleanup): Remove unused variable 'dhc'.
* except.c (start_dynamic_cleanup): Remove unused variable 'dhc'.
(expand_eh_region_start_tree): Remove unused variable 'note'.
(exception_optimize): Remove unused variable 'regions'.
(expand_builtin_eh_stub): Remove unused variable 'temp'.
(copy_eh_entry): Deleted. Dead function.
* expr.c (move_block_to_reg) Bracket declaration of 'pat' and
'last' with same #if HAVE_load_multiple as use of it.
(move_block_from_reg): Likewise.
(emit_move_insn_1): Remove unused variable 'insns'.
(store_constructor): Bracket declaration of startb, endb with
#if TARGET_MEMFUNCTIONS. Remove unused variables 'set_word_size'
'target', and 'xtarget'.
(expand_builtin_setjmp): Remove unused variables 'op0',
'next_arg_reg', 'old_inhibit_defer_pop'.
(expand_builtin): Remove unused variable 'offset'.
(do_store_flag): Remove unused variables 'pattern', 'jump_pat'.
(emit_queue): Add parens for assignment used as conditional.
(expand_expr): case TARGET_EXPR: Remove unused variable 'temp'.
From-SVN: r17843
Mark Mitchell [Wed, 11 Feb 1998 00:35:01 +0000 (00:35 +0000)]
iostream.cc (ostream::operator<<(long double)): Don't use labeled initializers.
* iostream.cc (ostream::operator<<(long double)): Don't use
labeled initializers.
From-SVN: r17842
Marc Lehmann [Wed, 11 Feb 1998 00:29:57 +0000 (00:29 +0000)]
i386.c: Added include for recog.h.
* i386.c: Added include for recog.h.
(override_options): Removed unused variable p. Initialized regno to
avoid warning.
(order_regs_for_local_alloc): Initialized regno to avoid warning.
(legitimize_address): Likewise for 'other'.
(i386_aligned_reg_p): Added default case with abort ().
(print_operand): Likewise.
(reg_mentioned_in_mem): Likewise.
(ix86_expand_binary_operator): Removed unused variables i & insn.
(ix86_expand_unary_operator): Removed unused variable insn.
(output_fp_cc0_set): Removed unused variable unordered_label.
From-SVN: r17841
John F. Carr [Wed, 11 Feb 1998 00:25:43 +0000 (00:25 +0000)]
i386.c, [...]: Change gen_rtx (X, ...) to gen_rtx_X (...).
* i386.c, i386.h, i386.md: Change gen_rtx (X, ...) to gen_rtx_X (...).
Use GEN_INT instead of gen_rtx (CONST_INT). Make printf arguments
and format string match.
From-SVN: r17840
Jeffrey A Law [Wed, 11 Feb 1998 00:18:51 +0000 (00:18 +0000)]
flow.c (life_analysis): Do not conside the stack pointer live at the end of a function if...
* flow.c (life_analysis): Do not conside the stack pointer live at
the end of a function if the fucntio ncalls alloca.
(mark_used_regs): Similarly.
From-SVN: r17839
Jason Merrill [Tue, 10 Feb 1998 23:58:19 +0000 (23:58 +0000)]
* pt.c (convert_nontype_argument): Fix typo.
From-SVN: r17838
Jeff Law [Tue, 10 Feb 1998 23:51:52 +0000 (16:51 -0700)]
Update autoconf/autoheader generated files.
From-SVN: r17837
Jason Merrill [Tue, 10 Feb 1998 23:42:31 +0000 (23:42 +0000)]
pt.c (check_explicit_specialization): Allow old-style specialization of class template members.
* pt.c (check_explicit_specialization): Allow old-style specialization
of class template members.
From-SVN: r17836
Jason Merrill [Tue, 10 Feb 1998 20:37:18 +0000 (20:37 +0000)]
decl.c (grokdeclarator): Use DECL_USE_TEMPLATE instead when deciding to override DECL_ASSEMBLER_NAME.
* decl.c (grokdeclarator): Use DECL_USE_TEMPLATE instead
when deciding to override DECL_ASSEMBLER_NAME.
Co-Authored-By: Manfred Hollstein <manfred@s-direktnet.de>
From-SVN: r17835
John F. Carr [Tue, 10 Feb 1998 15:25:50 +0000 (07:25 -0800)]
For movdi_v8plus pattern, output stx on alternative 1 and fzero on alternative 8.
For movdi_v8plus pattern, output stx on alternative 1 and
fzero on alternative 8. Fix from John Carr (jfc@mit.edu)
From-SVN: r17834
Andrew Macleod [Tue, 10 Feb 1998 12:32:21 +0000 (12:32 +0000)]
Add support for squangling.
From-SVN: r17832
Andrew Macleod [Tue, 10 Feb 1998 12:32:03 +0000 (12:32 +0000)]
Add -fsquangle and -fno-squangle.
From-SVN: r17831
Andrew Macleod [Tue, 10 Feb 1998 12:31:55 +0000 (12:31 +0000)]
Add declaration for flag_do_squangling.
From-SVN: r17830
Andrew Macleod [Tue, 10 Feb 1998 12:31:27 +0000 (12:31 +0000)]
Add -fsquangle to option processing list.
From-SVN: r17829
Andrew Macleod [Tue, 10 Feb 1998 12:31:01 +0000 (12:31 +0000)]
Add squangling support. (First cut at improved Name mangling)
From-SVN: r17828
John Carr [Tue, 10 Feb 1998 11:47:01 +0000 (03:47 -0800)]
Patch from jfc to fix printf format problems.
From-SVN: r17827
Richard Kenner [Tue, 10 Feb 1998 09:05:42 +0000 (09:05 +0000)]
rs6000.c (setup_incoming_varargs): Always set rs6000_sysv_varargs_p.
From-SVN: r17825
H.J. Lu [Mon, 9 Feb 1998 22:54:34 +0000 (22:54 +0000)]
* lib/g77.exp (g77_target_compile): Fix multilibs for libf2c.
From-SVN: r17818
J"orn Rennecke [Mon, 9 Feb 1998 19:39:35 +0000 (19:39 +0000)]
reload.c (find_reloads_toplev): Handle arbitrary non-paradoxical SUBREGs of CONST_INTs.
* reload.c (find_reloads_toplev): Handle arbitrary non-paradoxical
SUBREGs of CONST_INTs.
From-SVN: r17809
John Carr [Mon, 9 Feb 1998 17:53:56 +0000 (09:53 -0800)]
Patch from jfc to fix printf format problems.
* mips.c (print_operand, function_prologue): Make printf format
match argument type.
From-SVN: r17808
Jeff Law [Mon, 9 Feb 1998 14:22:47 +0000 (07:22 -0700)]
Add Tege & Kate as maintainers of c-torture and f-torture respectively.
From-SVN: r17804
Kaveh R. Ghazi [Mon, 9 Feb 1998 01:36:08 +0000 (01:36 +0000)]
alpha.c (alpha_return_addr): Remove unused variable `first'.
* alpha.c (alpha_return_addr): Remove unused variable `first'.
(alpha_ra_ever_killed): Remove unused variables `ra' and `i'.
(output_epilog): Remove unused variable `frame_size_from_reg_save'.
From-SVN: r17799
H.J. Lu [Mon, 9 Feb 1998 01:07:31 +0000 (01:07 +0000)]
old-dejagnu.exp (old-dejagnu): Added the "execution test - XFAIL *-*-*" handling in the spirit of "excess...
* lib/old-dejagnu.exp (old-dejagnu): Added the
"execution test - XFAIL *-*-*" handling in the spirit of
"excess errors test -". Changed the "execution test fails"
handling to be like "excess errors test fails".
* Update various tests accordingly.
From-SVN: r17798
Craig Burley [Sun, 8 Feb 1998 23:55:11 +0000 (18:55 -0500)]
Fix -fpedantic combined with `F()' invocation,
also -fugly-comma combined with `IARGC()' invocation:
* bad.def (FFEBAD_NULL_ARGUMENT_W): New diagnostic.
* expr.c (ffeexpr_finished_): Don't reject null expressions
in the argument-expression context -- let outer context
handle that.
(ffeexpr_token_arguments_): Warn about null expressions
here if -fpedantic (as appropriate).
Obey -fugly-comma for only external-procedure invocations.
From-SVN: r17793
Scott Snyder [Sun, 8 Feb 1998 22:46:23 +0000 (15:46 -0700)]
* method.c (make_thunk): Avoid name buffer overflow.
From-SVN: r17784
John Carr [Sun, 8 Feb 1998 15:53:23 +0000 (15:53 +0000)]
Document unique_id variable.
From-SVN: r17783
David Edelsohn [Sun, 8 Feb 1998 14:13:54 +0000 (09:13 -0500)]
Oops, bump copyright year.
From-SVN: r17782
Richard Kenner [Sun, 8 Feb 1998 14:12:00 +0000 (14:12 +0000)]
Feb 8 14:56:03 1998 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
Feb 8 14:56:03 1998 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
* loop.c (strength_reduce): When placing increment for auto-inc
case, do comparison in loop order.
From-SVN: r17781
John Carr [Sun, 8 Feb 1998 12:26:43 +0000 (12:26 +0000)]
bitmap.c (bitmap_debug_file): HOST_PTR_PRINTF converts a pointer, not a HOST_WIDE_INT.
* bitmap.c (bitmap_debug_file): HOST_PTR_PRINTF converts a pointer,
not a HOST_WIDE_INT.
* calls.c (expand_call): Change test of expand_inline_function
return value to stop compiler warning.
* genattrtab.c (RTL_HASH): Cast pointer to long, not HOST_WIDE_INT.
From-SVN: r17777
Jim Wilson [Sun, 8 Feb 1998 11:43:54 +0000 (11:43 +0000)]
regmove.c: Fix various minor formatting problems.
* regmove.c: Fix various minor formatting problems.
(optimize_reg_copy_1): Stop search at CALL_INSNs if flag_exceptions
is true. Make end of basic block tests consistent through regmove.c.
(optimize_reg_copy_2, optimize_reg_copy_3): Likewise.
(fixup_match_2, fixup_match_1, regmove_optimize): Likewise.
Co-Authored-By: Jeffrey A Law <law@cygnus.com>
From-SVN: r17775
David Edelsohn [Sun, 8 Feb 1998 10:00:12 +0000 (05:00 -0500)]
w
Removed asterisk from David Edelsohn for rs6000 port
From-SVN: r17774
Kaveh R. Ghazi [Sun, 8 Feb 1998 00:48:07 +0000 (00:48 +0000)]
gansidecl.h: Check for a conflicting macro definition before attempting to prototype bcopy...
* gansidecl.h: Check for a conflicting macro definition before
attempting to prototype bcopy, bcmp or bzero.
From-SVN: r17773
Jeff Law [Sun, 8 Feb 1998 00:13:59 +0000 (17:13 -0700)]
Add new entry.
From-SVN: r17772
Manfred Hollstein [Sat, 7 Feb 1998 23:30:55 +0000 (23:30 +0000)]
* Makefile.in: Add `info install-info clean-info check dvi' targets.
From-SVN: r17771
Jeffrey A Law [Sat, 7 Feb 1998 23:26:08 +0000 (23:26 +0000)]
expr.c (clear_pending_stack_adjust): Handle case where a function calls alloca...
* expr.c (clear_pending_stack_adjust): Handle case where a function
calls alloca, but the user has specified -fomit-fframe-pointer.
From-SVN: r17770
Jeffrey A Law [Sat, 7 Feb 1998 23:08:24 +0000 (23:08 +0000)]
* function.c (assign_parms): Fix typo in last change.
From-SVN: r17769
Robert Lipe [Sat, 7 Feb 1998 23:00:07 +0000 (23:00 +0000)]
gcc.c: Include <strings.h>/<string.h>, <stdlib.h>, <unistd.h>, <fcntl.h>.
* gcc.c: Include <strings.h>/<string.h>, <stdlib.h>, <unistd.h>,
<fcntl.h>.
(free_path_suffix): Remove unreferenced static function.
(process_command): Remove unused variable temp.
(default_arg): Remove unused variable i.
(do_spec_1): Add parens for assignment used as truth value.
(main): Likewise.
(validate_all_switches): Likewise.
(main): Remove unused variables i, first_time>
From-SVN: r17768
Jeff Law [Sat, 7 Feb 1998 22:58:32 +0000 (15:58 -0700)]
Whitespace change for better readability.
From-SVN: r17767
Robert Lipe [Sat, 7 Feb 1998 22:55:54 +0000 (22:55 +0000)]
c-common.c: Include <stdlib.h> and <string.h>/<strings.h>.
* c-common.c: Include <stdlib.h> and <string.h>/<strings.h>.
* calls.c (expand_call): Remove unused variables funtree,
n_regs, and tmpmode.
* dbxout.c, except.c: Include <string.h>/<strings.h>.
* explow.c: (plus_constant_for_output_wide) Removed unused
variable all_constant.
* c-decl.c, genattr.c, genattrtab.c, getconfig.c, genemit.c
genextract.c, genflags.c, genopinit.c genoutput.c, genpeep.c,
genrecog.c, global.c, integrate.c , stupid.c : Include
<stdlib.h>.
* genextract.c: (walk_rtx) Remove unused variable link.
* genrecog.c: (concat) Remove unreferenced static function.
* prefix.c: Include <string.h>/<strings.h>, <stdlib.h>
* stmt.c: Include <stdlib.h>.
(expand_asm_operands): Remove unused variable val1.
(expand_return): Remove unused variable block.
(pushcase): Remove unused variables l and n.
(pushcaserange): Likewise.
* unroll.c (unroll_loop): Remove unused variable temp.
From-SVN: r17766
Greg McGary [Sat, 7 Feb 1998 22:44:35 +0000 (22:44 +0000)]
* c-decl.c (pushdecl): Set DECL_ORIGINAL_TYPE once only.
From-SVN: r17765
Jason Merrill [Sat, 7 Feb 1998 17:18:39 +0000 (12:18 -0500)]
new
From-SVN: r17764
Jason Merrill [Sat, 7 Feb 1998 17:14:22 +0000 (17:14 +0000)]
pt.c (instantiate_decl): Call cp_finish_decl for vars even if we don't define them yet.
* pt.c (instantiate_decl): Call cp_finish_decl for vars even if we
don't define them yet.
From-SVN: r17763
Jason Merrill [Sat, 7 Feb 1998 15:18:24 +0000 (15:18 +0000)]
* parse.y (nomods_initdcl0): Add constructor_declarator case.
From-SVN: r17762
Kaveh R. Ghazi [Sat, 7 Feb 1998 13:36:28 +0000 (05:36 -0800)]
How I missed committing this I don't know.
From-SVN: r17761
Kaveh R. Ghazi [Sat, 7 Feb 1998 13:21:36 +0000 (05:21 -0800)]
aclocal.m4 (GCC_FUNC_PRINTF_PTR): New macro to test the printf functions for whether they support the %p format...
* aclocal.m4 (GCC_FUNC_PRINTF_PTR): New macro to test the printf
functions for whether they support the %p format specifier.
* acconfig.h (HOST_PTR_PRINTF): Insert stub for autoconf.
* configure.in (GCC_FUNC_PRINTF_PTR): Use it.
* configure, config.in: Rebuild.
From-SVN: r17760
Jason Merrill [Sat, 7 Feb 1998 02:04:30 +0000 (21:04 -0500)]
new
From-SVN: r17753
Jim Wilson [Fri, 6 Feb 1998 14:31:56 +0000 (14:31 +0000)]
Fix irix6 stdarg failure when last named arg has FP type.
* function.c (assign_parms): New variable named_arg, with value
depending on STRICT_ARGUMENT_NAMING. Use instead of ! last_named.
From-SVN: r17695
Gavin Koch [Fri, 6 Feb 1998 14:12:52 +0000 (14:12 +0000)]
Correct tx39 multilibs.
* mips/t-r3900: New - same as t-ecoff but eliminate
multilibs: mips1 and mips3.
* configure.in (tx39*): Use new mips/t-r3900.
* configure: Rebuild.
* mips/r3900.h (MULTILIB_DEFAULTS): Eliminate mips1.
From-SVN: r17693
Jason Merrill [Fri, 6 Feb 1998 09:55:20 +0000 (09:55 +0000)]
* tinfo2.cc: Add tinfo for signed char.
From-SVN: r17687
Jason Merrill [Fri, 6 Feb 1998 01:18:06 +0000 (20:18 -0500)]
dwarf2out.c: Add old_args_size.
* dwarf2out.c: Add old_args_size.
(dwarf2out_args_size): Use it.
(dwarf2out_begin_prologue): Initialize it.
(dwarf2out_stack_adjust): If !asynchronous_exceptions, save up
pushed args until we see a call.
* final.c (final_scan_insn): Hand CALL_INSNs off to the dwarf2 code
before outputting them.
* cplus-dem.c (demangle_template_template_parm): New function.
(demangle_template): Handle template template parameters.
From-SVN: r17685
Mark Mitchell [Fri, 6 Feb 1998 00:39:51 +0000 (00:39 +0000)]
calls.c (expand_call): Don't confuse member functions named realloc...
* calls.c (expand_call): Don't confuse member functions named
realloc, setjmp, and so forth with the standard library
functions of the same names.
From-SVN: r17684
Manfred Hollstein [Fri, 6 Feb 1998 00:34:54 +0000 (00:34 +0000)]
Makefile.in (piclist): Check value of enable_shared, not PICFLAG.
* Makefile.in (piclist): Check value of enable_shared, not PICFLAG.
(stmp-string, ...): Dito.
(bigstmp-string, ...): Dito.
From-SVN: r17683
Manfred Hollstein [Fri, 6 Feb 1998 00:34:27 +0000 (00:34 +0000)]
config.shared (FLAGS_TO_PASS): Don't emit PICFLAG.
* config.shared (FLAGS_TO_PASS): Don't emit PICFLAG.
(.c.o): Check value of enable_shared, not PICFLAG.
(.C.o): Dito.
(.cc.o): Dito.
(stamp-picdir): Dito.
From-SVN: r17682
Manfred Hollstein [Fri, 6 Feb 1998 00:33:49 +0000 (00:33 +0000)]
Makefile.in (FLAGS_TO_PASS): Don't pass PICFLAG.
* Makefile.in (FLAGS_TO_PASS): Don't pass PICFLAG.
(.c.o): Check value of enable_shared, not PICFLAG.
(stamp-picdir): Dito.
From-SVN: r17681
Manfred Hollstein [Fri, 6 Feb 1998 00:33:04 +0000 (00:33 +0000)]
Makefile.in (BASE_FLAGS_TO_PASS): Don't pass PICFLAG and PICFLAG_FOR_TARGET.
* Makefile.in (BASE_FLAGS_TO_PASS): Don't pass PICFLAG and
PICFLAG_FOR_TARGET.
(EXTRA_TARGET_FLAGS): Don't pass PICFLAG_FOR_TARGET.
* configure: Emit a definition for the new macro enable_shared
into each Makefile.
* config/mh-sparcpic (PICFLAG): Define to properly according
to current multilib configuration.
* config/mt-sparcpic (PICFLAG_FOR_TARGET): Define to properly
according to current multilib configuration.
From-SVN: r17680
Jeff Law [Thu, 5 Feb 1998 23:14:58 +0000 (16:14 -0700)]
Tweak last entry "no output operands" instead of "no operands".
From-SVN: r17678
Jeffrey A Law [Thu, 5 Feb 1998 20:59:44 +0000 (20:59 +0000)]
stmt.c (expand_asm_operands): Correctly identify asm statements no operands.
* stmt.c (expand_asm_operands): Correctly identify asm statements
no operands.
From-SVN: r17673
Mumit Khan [Thu, 5 Feb 1998 20:54:49 +0000 (20:54 +0000)]
c-common.c (decl_attributes): Flag unrecognized attribute functions as warnings instead of as errors.
* c-common.c (decl_attributes): Flag unrecognized attribute
functions as warnings instead of as errors.
From-SVN: r17672
Marc Lehmann [Thu, 5 Feb 1998 20:49:54 +0000 (20:49 +0000)]
integrate.c (INTEGRATE_THRESHOLD): Inline only small functions when -Os is specified.
* integrate.c (INTEGRATE_THRESHOLD): Inline only small functions
when -Os is specified.
* toplev.c (main): Don't disable flag_inline_functions anymore when
-Os is in effect.
From-SVN: r17671
Mike Stump [Thu, 5 Feb 1998 18:48:20 +0000 (18:48 +0000)]
search.c (compute_access): Handle protected constructors in derived classes as accessible.
* search.c (compute_access): Handle protected constructors in derived
classes as accessible.
From-SVN: r17670