Richard Henderson [Sat, 9 Jan 1999 20:05:18 +0000 (12:05 -0800)]
tree.c (copy_node): Oops.
* tree.c (copy_node): Oops. That would be copy not zero
in that last change.
From-SVN: r24603
Richard Henderson [Sat, 9 Jan 1999 19:56:28 +0000 (11:56 -0800)]
Update copyright.
From-SVN: r24602
Richard Henderson [Sat, 9 Jan 1999 19:45:34 +0000 (11:45 -0800)]
Remove now-unused variables.
From-SVN: r24601
Michael Hayes [Sat, 9 Jan 1999 18:46:10 +0000 (18:46 +0000)]
c4x.c: Include system.h.
* config/c4x/c4x.c: Include system.h.
(c4x_caller_save_map): Disable caller save for RC.
(c4x_optimization_options): Disable scheduling before reload.
(valid_parallel_load_store) : Define return type as int.
Remove unused variable regs.
* config/c4x/c4x.h (REGISTER_MOVE_COST): Make independent of register
class.
* config/c4x/c4x.md (rotlqi3, rotrqi3): Fix up emitted RTL to
handle rotations.
(*db, decrement_and_branch_until_zero): Fix up constraints
to keep reload happy.
From-SVN: r24600
Richard Henderson [Sat, 9 Jan 1999 18:37:42 +0000 (10:37 -0800)]
tree.c (make_node): Call bzero instead of inline clear.
* tree.c (make_node): Call bzero instead of inline clear.
(copy_node, make_tree_vec, build1): Likewise.
(get_identifier): Call strlen instead of inline count.
(maybe_get_identifier): Likewise.
From-SVN: r24599
Michael Hayes [Sat, 9 Jan 1999 17:10:22 +0000 (17:10 +0000)]
c4x.md: (in_annul_slot_3): Allow unarycc and binarycc operations in 3rd annulled delay slot.
* config/c4x/c4x.md: (in_annul_slot_3): Allow unarycc and binarycc
operations in 3rd annulled delay slot.
(*lshrqi3_const_set): Disallow c constraint for operand0.
(modhi3+1, modhi3+2): Set attribute type to multi.
* config/c4x/c4x.c (c4x_S_constraint): Removed space in middle of
!= operator.
From-SVN: r24592
Robert Lipe [Sat, 9 Jan 1999 13:07:52 +0000 (13:07 +0000)]
Another attempt to get tm-dwarf2.h onto the TRUNK instead of the fixinc-branch.
Another attempt to get tm-dwarf2.h onto the TRUNK instead of the
fixinc-branch.
* configure.in: New flag --with-dwarf2. If set, enables DWARF-2
debugging as default.
* config/tm-dwarf2.h: New file.
From-SVN: r24581
Per Bothner [Sat, 9 Jan 1999 12:49:07 +0000 (04:49 -0800)]
parse.y (build_new_array_init): Don't set EXPR_WFL_LINECOL on CONSTRUCTOR (since that trashes TREE_CST_RTL).
* parse.y (build_new_array_init): Don't set EXPR_WFL_LINECOL
on CONSTRUCTOR (since that trashes TREE_CST_RTL).
(patch_new_array_init): Clear TREE_CONSTANT also if INDIRECT_REF.
(register_fields): Set TREE_STATIC on NEW_ARRAY_INIT, not on
CONSTRUCTOR (which causes expand_expr to call output_constant_def).
* expr.c (java_lang_expand_expr): Check TREE_STATIC of NEW_ARRAY_INIT.
From-SVN: r24580
Per Bothner [Sat, 9 Jan 1999 12:49:05 +0000 (04:49 -0800)]
parse.y (build_new_array_init): Don't set EXPR_WFL_LINECOL on CONSTRUCTOR (since that trashes TREE_CST_RTL).
�
* parse.y (build_new_array_init): Don't set EXPR_WFL_LINECOL
on CONSTRUCTOR (since that trashes TREE_CST_RTL).
(patch_new_array_init): Clear TREE_CONSTANT also if INDIRECT_REF.
(register_fields): Set TREE_STATIC on NEW_ARRAY_INIT, not on
CONSTRUCTOR (which causes expand_expr to call output_constant_def).
* expr.c (java_lang_expand_expr): Check TREE_STATIC of NEW_ARRAY_INIT.
From-SVN: r24579
Per Bothner [Sat, 9 Jan 1999 12:49:03 +0000 (04:49 -0800)]
parse.y (build_new_array_init): Don't set EXPR_WFL_LINECOL on CONSTRUCTOR (since that trashes TREE_CST_RTL).
d
* parse.y (build_new_array_init): Don't set EXPR_WFL_LINECOL
on CONSTRUCTOR (since that trashes TREE_CST_RTL).
(patch_new_array_init): Clear TREE_CONSTANT also if INDIRECT_REF.
(register_fields): Set TREE_STATIC on NEW_ARRAY_INIT, not on
CONSTRUCTOR (which causes expand_expr to call output_constant_def).
* expr.c (java_lang_expand_expr): Check TREE_STATIC of NEW_ARRAY_INIT.
From-SVN: r24578
Kaveh R. Ghazi [Sat, 9 Jan 1999 08:48:06 +0000 (08:48 +0000)]
gansidecl.h: Allow attribute unused on labels only when we are version 2.93 or higher.
* gansidecl.h: Allow attribute unused on labels only when we are
version 2.93 or higher. Not all versions of 2.92 have this feature.
* version.c: Bump minor number to 93.
From-SVN: r24577
Jeff Law [Sat, 9 Jan 1999 00:45:02 +0000 (17:45 -0700)]
Daily bump.
From-SVN: r24576
Per Bothner [Fri, 8 Jan 1999 15:50:10 +0000 (15:50 +0000)]
check-init.c (check_init): If compiling to native, we don't see THROW_EXPR.
@
* check-init.c (check_init): If compiling to native, we don't
see THROW_EXPR. Instead, look for a call to throw_node (_Jv_Throw).
From-SVN: r24575
Jeffrey A Law [Fri, 8 Jan 1999 12:05:20 +0000 (05:05 -0700)]
stmt.c (optimize_tail_recursion): New function, extracted from ...
* stmt.c (optimize_tail_recursion): New function, extracted from ...
(expand_return): Use optimize_tail_recursion.
* tree.h (optimize_tail_recursion): Declare.
From-SVN: r24574
Tom Tromey [Fri, 8 Jan 1999 11:54:27 +0000 (11:54 +0000)]
parse-scan.y (variable_declarator_id): Set or increment bracket_count.
* parse-scan.y (variable_declarator_id): Set or increment
bracket_count.
(bracket_count): New global.
(formal_parameter): Handle case where bracket pairs trail variable
declarator id.
From-SVN: r24573
Gerald Pfeifer [Fri, 8 Jan 1999 04:51:16 +0000 (05:51 +0100)]
system.h (abort): Supply more detailed information on how to report an Internal Compiler Error.
* system.h (abort): Supply more detailed information on how to
report an Internal Compiler Error.
From-SVN: r24571
Andreas Schwab [Fri, 8 Jan 1999 02:01:01 +0000 (02:01 +0000)]
m68k.h: Declare output_function_epilogue.
* config/m68k/m68k.h: Declare output_function_epilogue.
* recog.h: Declare next_insn_tests_no_inequality.
From-SVN: r24570
Richard Henderson [Fri, 8 Jan 1999 01:02:43 +0000 (17:02 -0800)]
Update copyrights.
From-SVN: r24569
Jeff Law [Fri, 8 Jan 1999 00:54:46 +0000 (17:54 -0700)]
Copyright update
From-SVN: r24568
Jeffrey A Law [Fri, 8 Jan 1999 00:46:25 +0000 (00:46 +0000)]
toplev.c (compile_file): Move call to output_func_start_profiler to after the loop to emit deferred...
* toplev.c (compile_file): Move call to output_func_start_profiler
to after the loop to emit deferred functions.
From-SVN: r24567
Jeff Law [Fri, 8 Jan 1999 00:45:02 +0000 (17:45 -0700)]
Daily bump.
From-SVN: r24566
Jeffrey A Law [Thu, 7 Jan 1999 22:42:52 +0000 (22:42 +0000)]
* gcc.c-torture/compile/990107-1.c: New test
From-SVN: r24565
Jeff Law [Thu, 7 Jan 1999 22:02:07 +0000 (15:02 -0700)]
Close comment in copyright
From-SVN: r24564
Mark Mitchell [Thu, 7 Jan 1999 11:29:38 +0000 (11:29 +0000)]
calls.c (store_unaligned_arguments_into_pseudos): Use xmalloc to allocate memory that will live beyond this function.
* calls.c (store_unaligned_arguments_into_pseudos): Use xmalloc to
allocate memory that will live beyond this function.
(expand_call): Free it here.
From-SVN: r24561
Andrew Haley [Thu, 7 Jan 1999 10:15:33 +0000 (10:15 +0000)]
jcf-parse.c (yyparse): variable len changed from a char to an int to prevent overflow.
1999-01-07 Andrew Haley <aph@viagra.cygnus.co.uk>
* jcf-parse.c (yyparse): variable len changed from a char to an
int to prevent overflow.
From-SVN: r24560
Richard Henderson [Thu, 7 Jan 1999 03:18:28 +0000 (19:18 -0800)]
sparc.h (PREFERRED_RELOAD_CLASS): Select GENERAL_REGS for integer data not destined for fp regs.
* sparc.h (PREFERRED_RELOAD_CLASS): Select GENERAL_REGS for
integer data not destined for fp regs.
(LEGITIMIZE_RELOAD_ADDRESS): New.
Thu Jan 7 03:03:42 1999 Stan Cox <scox@cygnus.com>
Richard Henderson <rth@cygnus.com>
Support for Hypersparc and Sparclite86x:
* sparc.h (TARGET_CPU_hypersparc, TARGET_CPU_sparclite86x): New.
(CPP_CPU32_DEFAULT_SPEC): Fix up for the new targets.
(ASM_CPU32_DEFAULT_SPEC): Likewise.
(TARGET_CPU_DEFAULT): Likewise.
(enum processor_type): Likewise.
(CPP_ENDIAN_SPEC): Handle little endian data.
(LIBGCC2_WORDS_BIG_ENDIAN): Likewise.
(ADJUST_COST): Call sparc_adjust_cost.
* sparc.c (sparc_override_options): Fix up for the new targets.
(supersparc_adjust_cost): Make static.
(hypersparc_adjust_cost): New.
(ultrasparc_adjust_cost): Make static.
(sparc_adjust_cost): New.
* sparc.md (attr cpu): Add hypersparc and sparclite86x.
(function_unit): Add hypersparc scheduling rules.
* configure.in (with_cpu handler): Recognize hypersparc.
From-SVN: r24556
Michael Hayes [Thu, 7 Jan 1999 02:53:44 +0000 (02:53 +0000)]
c4x.c: Added space after negation operator.
* config/c4x/c4x.c: Added space after negation operator.
* config/c4x/c4x.h: Likewise.
* config/c4x/c4x.md: Likewise.
From-SVN: r24555
Michael Hayes [Thu, 7 Jan 1999 02:38:35 +0000 (02:38 +0000)]
* config/c4x/c4x.c (c4x_preferred_reload_class): Always return class.
From-SVN: r24554
Jeff Law [Thu, 7 Jan 1999 00:45:02 +0000 (17:45 -0700)]
Daily bump.
From-SVN: r24553
Alexandre Oliva [Thu, 7 Jan 1999 00:17:40 +0000 (00:17 +0000)]
test_summary (version): remove carriage return that gawk inserts in the version string for some reason
* test_summary (version): remove carriage return that gawk inserts
in the version string for some reason
From-SVN: r24552
Jeff Law [Wed, 6 Jan 1999 23:44:26 +0000 (16:44 -0700)]
Fix copyright.
From-SVN: r24551
Jeffrey A Law [Wed, 6 Jan 1999 23:43:19 +0000 (23:43 +0000)]
* gcc.c-torture/execute/990106-2.c: New test.
From-SVN: r24550
Mark Mitchell [Wed, 6 Jan 1999 23:38:05 +0000 (23:38 +0000)]
cp-tree.h (IDENTIFIER_TYPENAME_P): Use OPERATOR_TYPENAME_FORMAT here.
* cp-tree.h (IDENTIFIER_TYPENAME_P): Use OPERATOR_TYPENAME_FORMAT
here.
(lang_type): Add is_partial_instantiation. Decrease width of
dummy.
(PARTIAL_INSTANTIATION_P): New macro.
(OPERATOR_TYPENAME_P): Remove.
* decl.c (unary_op_p): Use IDENTIFIER_TYPENAME_P, not
OPERATOR_TYPENAME_P.
(grok_op_properties): Likewise.
* friend.c (do_friend): Handle friends that are member functions
correctly.
* lex.c (init_parse): Use OPERATOR_TYPENAME_FORMAT.
* pt.c (instantiate_class_template): Rework for clarity. Avoid
leaving TYPE_BEING_DEFINED set in obscure cases. Don't do
any more partial instantiation than is absolutely necessary for
implicit typename. Set PARTIAL_INSTANTIATION_P.
(tsubst_decl): Use IDENTIFIER_TYPENAME_P.
* semantics.c (begin_class_definition): Handle partial
specializations of a type that was previously partially
instantiated.
From-SVN: r24548
Bernd Schmidt [Wed, 6 Jan 1999 23:33:29 +0000 (16:33 -0700)]
combine.c (num_sign_bit_copies): In NEG...
* combine.c (num_sign_bit_copies): In NEG, MULT, DIV and MOD cases,
when a test can't be performed due to limited width of
HOST_BITS_PER_WIDE_INT, use the more conservative approximation.
Fix UDIV case for cases where the first operand has the highest bit
set.
From-SVN: r24547
Lutz Vieweg [Wed, 6 Jan 1999 23:06:29 +0000 (23:06 +0000)]
pa.h (reg_class): Add FPUPPER_REGS.
* pa.h (reg_class): Add FPUPPER_REGS.
(REG_CLASS_NAMES): Similarly.
(REG_CLASS_CONTENTS): Similarly
(REGNO_REG_CLASS): Handle FPUPPER_REGS.
(FP_REG_CLASS_P): Likewise.
(REG_CLASS_FROM_LETTER): Similarly.
(CLASS_MAX_NREGS): Similarly.
From-SVN: r24546
Jeffrey A Law [Wed, 6 Jan 1999 22:40:19 +0000 (22:40 +0000)]
* h8300.h (ASM_OUTPUT_LABELREF): Define.
From-SVN: r24544
Per Bothner [Wed, 6 Jan 1999 22:15:40 +0000 (14:15 -0800)]
i
Fixed some stupid typos that managed to get checked in.
From-SVN: r24543
Brendan Kehoe [Wed, 6 Jan 1999 22:05:45 +0000 (22:05 +0000)]
fixincludes: For HP/UX 10.20, also look in curses_colr/curses.h for a typedef of bool.
* fixincludes: For HP/UX 10.20, also look in curses_colr/curses.h
for a typedef of bool. Make sure to have a copy of the file is
in place before we look to fix it. Fix typo in variable name to
FILE.
From-SVN: r24542
Jeffrey A Law [Wed, 6 Jan 1999 21:44:21 +0000 (21:44 +0000)]
pa.h (DONT_RECORD_EQUIVALENCE): Kill.
* pa.h (DONT_RECORD_EQUIVALENCE): Kill.
* local-alloc.c (update_equiv_regs): Corresponding changes.
* tm.texi (DONT_RECORD_EQUIVALENCE): Kill.
From-SVN: r24541
Jeff Law [Wed, 6 Jan 1999 21:31:04 +0000 (14:31 -0700)]
Copyright typo
From-SVN: r24540
Jeff Law [Wed, 6 Jan 1999 21:10:34 +0000 (14:10 -0700)]
Copyright fixes.
From-SVN: r24539
Jeff Law [Wed, 6 Jan 1999 21:10:08 +0000 (14:10 -0700)]
Fix copyrights.
From-SVN: r24538
Jeff Law [Wed, 6 Jan 1999 20:57:36 +0000 (13:57 -0700)]
Copyright fixes.
From-SVN: r24537
Jeff Law [Wed, 6 Jan 1999 20:51:20 +0000 (13:51 -0700)]
More copyright fixes. Oh what fun.
From-SVN: r24536
Jeff Law [Wed, 6 Jan 1999 20:44:41 +0000 (13:44 -0700)]
Copyright fixes.
From-SVN: r24535
Jeff Law [Wed, 6 Jan 1999 20:13:47 +0000 (13:13 -0700)]
Fix copyright dates.
From-SVN: r24534
Jeff Law [Wed, 6 Jan 1999 20:10:40 +0000 (13:10 -0700)]
Update copyrights.
From-SVN: r24533
Jeff Law [Wed, 6 Jan 1999 20:07:50 +0000 (13:07 -0700)]
Fix copyright dates.
From-SVN: r24532
Jeff Law [Wed, 6 Jan 1999 20:02:36 +0000 (13:02 -0700)]
Fix copyrights.
From-SVN: r24531
Jeff Law [Wed, 6 Jan 1999 19:54:35 +0000 (12:54 -0700)]
Fix copyright dates.
From-SVN: r24530
Jeff Law [Wed, 6 Jan 1999 19:48:38 +0000 (12:48 -0700)]
Fix copyrights.
From-SVN: r24529
Jeff Law [Wed, 6 Jan 1999 19:42:20 +0000 (12:42 -0700)]
Fix copyright date.
From-SVN: r24528
Jeff Law [Wed, 6 Jan 1999 19:40:37 +0000 (12:40 -0700)]
Fix copyright dates.
From-SVN: r24527
Jeff Law [Wed, 6 Jan 1999 19:02:42 +0000 (12:02 -0700)]
Revert changes which crept in by accident.
From-SVN: r24526
Richard Henderson [Wed, 6 Jan 1999 18:51:30 +0000 (10:51 -0800)]
expr.c (expand_builtin): Use value_mode for the return mode.
* expr.c (expand_builtin) [case BUILT_IN_CONSTANT_P]: Use
value_mode for the return mode.
From-SVN: r24525
Jeffrey A Law [Wed, 6 Jan 1999 17:57:29 +0000 (17:57 +0000)]
calls.c (special_function_p): Push alloca test inside the large conditional which excludes functions not at...
* calls.c (special_function_p): Push alloca test inside the large
conditional which excludes functions not at file scope or not
extern.
From-SVN: r24524
Per Bothner [Wed, 6 Jan 1999 17:49:38 +0000 (09:49 -0800)]
check-init.c: New file.
8
* check-init.c: New file. Checks for definite assignment.
Various minor other changes; see ChangeLog.
From-SVN: r24523
Per Bothner [Wed, 6 Jan 1999 17:49:36 +0000 (09:49 -0800)]
check-init.c: New file.
* check-init.c: New file. Checks for definite assignment.
Various minor other changes; see ChangeLog.
From-SVN: r24522
Per Bothner [Wed, 6 Jan 1999 17:49:29 +0000 (09:49 -0800)]
check-init.c: New file.
�
* check-init.c: New file. Checks for definite assignment.
Various minor other changes; see ChangeLog.
From-SVN: r24521
Graham Stott [Wed, 6 Jan 1999 17:36:52 +0000 (09:36 -0800)]
parse.y: include system.h instead of including standard headers directly with the...
�
* parse.y : include system.h instead of including
standard headers directly with the exception of <dirent.h>.
From-SVN: r24520
Graham Stott [Wed, 6 Jan 1999 17:36:50 +0000 (09:36 -0800)]
parse.y: include system.h instead of including standard headers directly with the...
8
* parse.y : include system.h instead of including
standard headers directly with the exception of <dirent.h>.
From-SVN: r24519
Per Bothner [Wed, 6 Jan 1999 16:50:39 +0000 (16:50 +0000)]
lex.h: Moved static function declarations to lex.c, to shut up some -Wall warnings.
�
* lex.h: Moved static function declarations to lex.c,
to shut up some -Wall warnings.
* lex.c: Static function declarations moved here.
* jcf-dump.c: Small fixes to shut up -Wall warnings.
From-SVN: r24518
Robert Lipe [Wed, 6 Jan 1999 16:05:47 +0000 (16:05 +0000)]
configure.in: New flag --with-dwarf2.
* configure.in: New flag --with-dwarf2. If set, enables DWARF-2
debugging as default.
* config/tm-dwarf2.h: New file.
[[Split portion of a mixed commit.]]
From-SVN: r24517.2
Jeffrey A Law [Wed, 6 Jan 1999 15:15:11 +0000 (15:15 +0000)]
calls.c (special_function_p): New function broken out of expand_call.
* calls.c (special_function_p): New function broken out of
expand_call.
(precompute_register_parameters): Likewise.
(store_one_arg): Likewise.
(store_unaligned_argumetns_into_pseudos): Likewise.
(save_fixed_argument_area): Likewise.
(restore_fixed_argument_area): Likewise.
(expand_call): Corresponding changes.
From-SVN: r24516
Andreas Schwab [Wed, 6 Jan 1999 10:44:27 +0000 (10:44 +0000)]
Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
* config/m68k/m68k.c (const_uint32_operand): Remove CONSTANT_P_RTX
handling.
(const_sint32_operand): Likewise.
From-SVN: r24515
Kaveh R. Ghazi [Wed, 6 Jan 1999 06:56:11 +0000 (06:56 +0000)]
toplev.h: In addition to checking _JBLEN...
* toplev.h: In addition to checking _JBLEN, also check if `setjmp'
is a macro when deciding if we can use `jmp_buf' in prototypes.
From-SVN: r24514
Michael Hayes [Wed, 6 Jan 1999 03:20:44 +0000 (03:20 +0000)]
c4x.md (addqi3): If the destination operand is a hard register other than an extended precision...
* config/c4x/c4x.md (addqi3): If the destination operand is
a hard register other than an extended precision register,
emit addqi3_noclobber.
(*addqi3_noclobber_reload): New pattern added so that reload
will recognise a store of a pseudo, equivalent to the sum
of the frame pointer and a constant, as an add insn.
From-SVN: r24511
Mark Elbrecht [Wed, 6 Jan 1999 02:25:57 +0000 (19:25 -0700)]
configure.in (pc-msdosdjgpp): Set x_make to x-go32.
* configure.in (pc-msdosdjgpp): Set x_make to x-go32.
* configure: Rebuilt.
* i386/xm-go32.h: Define LIBSTDCXX.
* i386/x-go32: New.
* i386/go32.h (MD_EXEC_PREFIX): Define.
(FILE_NAME_ABSOLUTE_P): Define.
(LINK_COMMAND_SPEC): Define.
From-SVN: r24510
Mark Elbrecht [Wed, 6 Jan 1999 02:23:10 +0000 (19:23 -0700)]
g++spec.c (LIBSTDCXX): Provide default definition.
* g++spec.c (LIBSTDCXX): Provide default definition.
(lang_specific_driver): Use LIBSTDCXX instead of "-lstdc++".
From-SVN: r24509
Jeffrey A Law [Wed, 6 Jan 1999 01:57:27 +0000 (01:57 +0000)]
Makefile.in: Add some missing $(exeext).
* Makefile.in: Add some missing $(exeext). Remove some obsolete
runtime stuff.
* Make-lang.in: Similarly.
From-SVN: r24508
Charles M. Hannum [Wed, 6 Jan 1999 01:28:56 +0000 (18:28 -0700)]
expr.c (store_expr): If the lhs is a memory location pointed to be a postincremented (or...
�
* expr.c (store_expr): If the lhs is a memory location pointed
to be a postincremented (or postdecremented) pointer, always
force the rhs to be evaluated into a pseudo.
From-SVN: r24507
Charles M. Hannum [Wed, 6 Jan 1999 01:28:53 +0000 (18:28 -0700)]
expr.c (store_expr): If the lhs is a memory location pointed to be a postincremented (or...
�
* expr.c (store_expr): If the lhs is a memory location pointed
to be a postincremented (or postdecremented) pointer, always
force the rhs to be evaluated into a pseudo.
From-SVN: r24506
Jeffrey A Law [Wed, 6 Jan 1999 01:25:09 +0000 (01:25 +0000)]
* gcc.c-torture/execute/990106-1.c: New test.
From-SVN: r24504
Jeff Law [Wed, 6 Jan 1999 00:45:02 +0000 (17:45 -0700)]
Daily bump.
From-SVN: r24503
Geoff Keating [Tue, 5 Jan 1999 23:56:04 +0000 (23:56 +0000)]
* real.c (mtherr): Print more reasonable warning messages.
From-SVN: r24502
Kaveh R. Ghazi [Tue, 5 Jan 1999 19:17:20 +0000 (19:17 +0000)]
* Make-lang.in ($(GCJ).o): Depend on prefix.h.
From-SVN: r24501
Kaveh R. Ghazi [Tue, 5 Jan 1999 19:15:33 +0000 (19:15 +0000)]
* Make-lang.in (g77.o): Depend on prefix.h.
From-SVN: r24500
Kaveh R. Ghazi [Tue, 5 Jan 1999 19:13:50 +0000 (19:13 +0000)]
* Make-lang.in (g++.o): Depend on prefix.h.
From-SVN: r24499
Kaveh R. Ghazi [Tue, 5 Jan 1999 19:11:22 +0000 (19:11 +0000)]
Makefile.in (gcc.o, [...]): Depend on prefix.h.
* Makefile.in (gcc.o, prefix.o, cccp.o, cpplib.o): Depend on prefix.h.
* cccp.c: Include prefix.h, don't prototype prefix.c functions.
(new_include_prefix): Constify char* parameters.
* cppfiles.c (read_name_map): Likewise.
(append_include_chain): Likewise. Also, use a writable char* copy
of parameter `dir' which we then modify, rather than using the
parameter itself to store the new writable string.
(remap_filename): Constify some variables. Also, use a writable
char* to store an allocated string which we will be modifying.
* cpplib.c: Include prefix.h, don't prototype prefix.c functions.
(cpp_start_read): Constify variable `str'.
* cpplib.h (append_include_chain): Constify a char* parameter.
* gcc.c Include prefix.h, don't prototype prefix.c functions.
(add_prefix, save_string): Constify char* parameters.
(fatal, error): Add ATTRIBUTE_PRINTF_1 to prototypes.
* prefix.c: Include prefix.h.
(get_key_value, translate_name, save_string, update_path,
set_std_prefix): Constify various char* parameters and variables.
(save_string): Use xmalloc, not malloc.
(translate_name): Use a writable temporary variable to create and
modify a string before setting it to a const char*.
* prefix.h: New file to prototype functions exported from prefix.c.
From-SVN: r24498
Jeff Law [Tue, 5 Jan 1999 00:45:02 +0000 (17:45 -0700)]
Daily bump.
From-SVN: r24495
Jeffrey A Law [Tue, 5 Jan 1999 00:40:22 +0000 (00:40 +0000)]
configure.in (thread_file): Correct and simplify code to find the thread file.
* configure.in (thread_file): Correct and simplify code to find
the thread file.
* configure: Rebuilt.
From-SVN: r24494
Robert Lipe [Mon, 4 Jan 1999 14:11:02 +0000 (14:11 +0000)]
A newer branch for fixinclude work.
: Modified Files:
: Tag: fixincl-branch
: Makefile.in fixinc.dgux fixinc.irix fixinc.ptx fixinc.sco
: fixinc.svr4 fixinc.winnt fixinc.wrap fixincl.c fixincl.sh
: fixincl.x hackshell.tpl inclhack.def inclhack.sh inclhack.tpl
: mkfixinc.sh regex.c regex.h server.c server.h
: Added Files:
: README
[[Split portion of a mixed commit.]]
From-SVN: r24488.2
Dave Brolley [Mon, 4 Jan 1999 12:45:36 +0000 (07:45 -0500)]
Move entries to proper place.
From-SVN: r24486
Zack Weinberg [Mon, 4 Jan 1999 12:38:22 +0000 (12:38 +0000)]
cpplib.c (skip_if_group): Split out the logic that handles directive recognition to its own function.
1998-12-21 18:03 -0500 Zack Weinberg <zack@rabi.phys.columbia.edu>
* cpplib.c (skip_if_group): Split out the logic that handles
directive recognition to its own function. Don't use
parse markers; use a bare pointer into the buffer. Use
copy/skip_rest_of_line instead of doing it by hand. Remove
`return on any directive' mode which was never used, and take
only one argument.
(consider_directive_while_skipping): New function, subroutine
of skip_if_group. Logic streamlined a bit.
(conditional_skip, do_elif, do_else): Call skip_if_group with
only one argument.
From-SVN: r24485
Zack Weinberg [Mon, 4 Jan 1999 12:15:43 +0000 (12:15 +0000)]
cpplib.c (do_undef): EOF immediately after '#undef FOO' is not an error.
Wed Dec 23 17:30:18 1998 Zack Weinberg <zack@rabi.phys.columbia.edu>
* cpplib.c (do_undef): EOF immediately after '#undef FOO' is not an
error.
From-SVN: r24484
Jason Merrill [Mon, 4 Jan 1999 11:56:18 +0000 (11:56 +0000)]
* extend.texi (Bound member functions): Document.
From-SVN: r24483
Jason Merrill [Mon, 4 Jan 1999 11:55:40 +0000 (06:55 -0500)]
new
From-SVN: r24482
Jason Merrill [Mon, 4 Jan 1999 11:55:37 +0000 (11:55 +0000)]
tree.c (bound_pmf_p): New fn.
* tree.c (bound_pmf_p): New fn.
* typeck.c (build_c_cast): Use it.
From-SVN: r24481
Jason Merrill [Mon, 4 Jan 1999 10:54:26 +0000 (10:54 +0000)]
* decl.c (grok_op_properties): Use same_type_p.
From-SVN: r24480
Kaveh R. Ghazi [Mon, 4 Jan 1999 08:11:13 +0000 (08:11 +0000)]
Warning fixes:
* mips-tdump.c (st_to_string, sc_to_string, glevel_to_string,
lang_to_string, type_to_string): Make return type const char*.
(print_symbol): Apply `const' keyword to a char*.
(print_file_desc): Cast structure member `crfd' to ulong when
comparing against one.
* mips-tfile.c (pfatal_with_name): Apply `const' keyword to char*.
(fatal, error): Add ATTRIBUTE_PRINTF_1 to prototypes.
(progname, input_name): Apply `const' keyword to a char*.
Don't redundantly include sys/stat.h.
(alloc_info): Apply `const' keyword to a char*.
(st_to_string, sc_to_string): Likewise.
(hash_string): Cast variable `hash_string' to a symint_t when
comparing against one.
(add_string): Cast PAGE_USIZE to Ptrdiff_t when comparing against one.
Likewise cast it to long when comparing against one.
(add_local_symbol): Apply `const' keyword to a char*.
(add_ext_symbol): Likewise.
(add_unknown_tag): Likewise.
(add_procedure): Cast a printf-style field width to an int.
(add_file): Cast PAGE_USIZE to long when comparing against one
(parse_begin): Cast a printf-style field width to an int.
(parse_bend): Likewise.
(parse_def): Likewise.
(parse_end): Likewise.
(mark_stabs): Mark parameter `start' with ATTRIBUTE_UNUSED.
(parse_stabs_common): Fix format specifier.
(parse_input): Change type of variable `i' to Size_t.
(write_object): Fix arguments to match format specifiers.
Cast variable `num_write' to long when comparing against one.
(read_seek): Cast variable `sys_read' to symint_t when comparing
against one. Fix arguments to match format specifiers. Cast
variable `size' to long when comparing against one.
(copy_object): Cast result of `sizeof' to int when comparing
against one. Fix arguments to match format specifiers. Cast
variable `ifd' to long when comparing against a signed value.
Likewise, likewise.
From-SVN: r24479
Kaveh R. Ghazi [Mon, 4 Jan 1999 07:48:37 +0000 (07:48 +0000)]
c-common.c (decl_attributes): Allow applying attribute `unused' on a LABEL_DECL.
* c-common.c (decl_attributes): Allow applying attribute `unused'
on a LABEL_DECL.
* c-parse.in (label): Parse attributes after a label, and call
`decl_attributes' to handle them.
* gansidecl.h (ATTRIBUTE_UNUSED_LABEL): Define.
* genrecog.c (OUTPUT_LABEL, write_tree_1, write_tree): When
generating labels, mark them with ATTRIBUTE_UNUSED_LABEL.
* invoke.texi: Note that labels can be marked `unused'.
From-SVN: r24478
Jeff Law [Mon, 4 Jan 1999 00:45:02 +0000 (17:45 -0700)]
Daily bump.
From-SVN: r24477
Jeffrey A Law [Sun, 3 Jan 1999 23:32:23 +0000 (16:32 -0700)]
Bump for snapshot
From-SVN: r24473
Jeffrey A Law [Sun, 3 Jan 1999 22:03:47 +0000 (22:03 +0000)]
optabs.c (emit_cmp_and_jump_insns): Use CONSTANT_P canonicalizing RTL for a compare/jump sequence.
* optabs.c (emit_cmp_and_jump_insns): Use CONSTANT_P canonicalizing
RTL for a compare/jump sequence.
From-SVN: r24472
Michael Hayes [Sun, 3 Jan 1999 20:43:14 +0000 (20:43 +0000)]
optabs.c (emit_cmp_insn): Abort if asked to emit non-canonical RTL for a target with HAVE_cc0 defined.
* optabs.c (emit_cmp_insn): Abort if asked to emit non-canonical RTL
for a target with HAVE_cc0 defined.
(emit_cmp_and_jump_insns): New function.
* expr.h (emit_cmp_and_jump_insns): Prototype it.
* loop.c (check_dbra_loop): Use it to replace calls
to emit_cmp_insn and emit_jump_insn and to canonicalise
the comparison if necessary.
* unroll.c (unroll_loop): Likewise.
From-SVN: r24471
Rainer Orth [Sun, 3 Jan 1999 20:16:10 +0000 (20:16 +0000)]
fixincludes (sys/utsname.h): Provide forward declaration of struct utsname on Ultrix V4.[35].
* fixincludes (sys/utsname.h): Provide forward declaration of
struct utsname on Ultrix V4.[35].
From-SVN: r24470
Jeff Law [Sun, 3 Jan 1999 20:09:31 +0000 (13:09 -0700)]
Update copyrights.
From-SVN: r24469
Jeff Law [Sun, 3 Jan 1999 20:08:21 +0000 (13:08 -0700)]
Copyright update.
From-SVN: r24468
Rainer Orth [Sun, 3 Jan 1999 20:07:56 +0000 (20:07 +0000)]
* readrecord.c: Include <sys/types.h> for off_t.
From-SVN: r24467
Rainer Orth [Sun, 3 Jan 1999 20:04:50 +0000 (20:04 +0000)]
mips.md (div_trap): Use local labels instead of dot-relative branches.
* mips.md (div_trap): Use local labels instead of dot-relative
branches.
Works around bug in ultrix assemblers.
From-SVN: r24466