David O'Brien [Wed, 30 Dec 1998 22:05:08 +0000 (22:05 +0000)]
* configure.in (FreeBSD ELF): Needs special crt files.
From-SVN: r24446
Geoffrey Noer [Wed, 30 Dec 1998 21:53:20 +0000 (21:53 +0000)]
* i386/xm-cygwin.h: change DIR_SEPARATOR to forward slash.
From-SVN: r24445
Andreas Schwab [Wed, 30 Dec 1998 21:51:53 +0000 (21:51 +0000)]
loop.c (check_dbra_loop): While reversing the loop...
* loop.c (check_dbra_loop): While reversing the loop, if the
comparison value has a VOID mode use the mode of the other operand
to compute the mask.
From-SVN: r24444
Michael Meissner [Wed, 30 Dec 1998 19:37:53 +0000 (19:37 +0000)]
Fix calculation of fpmem_offset on little endian systems; Silence warnings when building explow
From-SVN: r24443
Gerald Pfeifer [Wed, 30 Dec 1998 05:28:05 +0000 (06:28 +0100)]
gcc.texi (Non-bugs): ``Empty'' loops will be optimized away in the future...
* gcc.texi (Non-bugs): ``Empty'' loops will be optimized away in
the future; indeed that already happens in some cases.
From-SVN: r24442
Richard Henderson [Tue, 29 Dec 1998 12:03:36 +0000 (04:03 -0800)]
* rtl.h (CONSTANT_P): Remove CONSTANT_P_RTX.
From-SVN: r24441
Richard Henderson [Tue, 29 Dec 1998 12:02:15 +0000 (04:02 -0800)]
sparc.c (input_operand): Recognize (const (constant_p_rtx)).
* sparc.c (input_operand): Recognize (const (constant_p_rtx)).
(arith_operand): Remove constant_p_rtx handling.
(const64_operand, const64_high_operand): Likewise.
(arith11_operand, arith10_operand, arith_double_operand): Likewise.
(arith11_double_operand, arith10_double_operand, small_int): Likewise.
(small_int_or_double, uns_small_int, zero_operand): Likewise.
* sparc.h (PREDICATE_CODES): Likewise.
From-SVN: r24440
Richard Henderson [Tue, 29 Dec 1998 11:36:22 +0000 (03:36 -0800)]
Richard Kenner <kenner@vlsi1.ultra.nyu.edu>:
* rtl.def (CONSTANT_P_RTX): Clarify commentary.
* expr.c (expand_builtin, case BUILT_IN_CONSTANT_P): Rework to
consider constant CONSTRUCTOR constant and to defer some cases
to cse.
* cse.c (fold_rtx, case CONST): Add handling for CONSTANT_P_RTX.
* regclass.c (reg_scan_mark_refs, case CONST): Likewise.
Richard Henderson <rth@cygnus.com>
* expr.c (init_expr_once): Kill can_handle_constant_p recognition.
* cse.c (fold_rtx, case 'x'): Remove standalone CONSTANT_P_RTX code.
From-SVN: r24439
Richard Henderson [Tue, 29 Dec 1998 11:35:34 +0000 (03:35 -0800)]
alpha.c (reg_or_6bit_operand): Remove CONSTANT_P_RTX handling.
* alpha.c (reg_or_6bit_operand): Remove CONSTANT_P_RTX handling.
(reg_or_8bit_operand, cint8_operand, add_operand): Likewise.
(sext_add_operand, and_operand, or_operand): Likewise.
(reg_or_cint_operand, some_operand, input_operand): Likewise.
* alpha.h (PREDICATE_CODES): Likewise.
From-SVN: r24438
Richard Henderson [Tue, 29 Dec 1998 11:35:06 +0000 (03:35 -0800)]
bcp-1.c (bad10): Rename from opt3.
* gcc.c-torture/execute/bcp-1.c (bad10): Rename from opt3.
(opt3): Rename from opt4 and disable.
From-SVN: r24437
Jeff Law [Tue, 29 Dec 1998 00:45:02 +0000 (17:45 -0700)]
Daily bump.
From-SVN: r24436
Jeff Law [Mon, 28 Dec 1998 00:45:02 +0000 (17:45 -0700)]
Daily bump.
From-SVN: r24434
Jeff Law [Sun, 27 Dec 1998 00:45:02 +0000 (17:45 -0700)]
Daily bump.
From-SVN: r24433
Jeffrey A Law [Sat, 26 Dec 1998 23:26:30 +0000 (16:26 -0700)]
Bump for snapshot
From-SVN: r24431
Jeffrey A Law [Sat, 26 Dec 1998 09:31:42 +0000 (09:31 +0000)]
gengenrtl.c (gencode): Always use bzero to clear memory instead of dangerous casts and stores.
* gengenrtl.c (gencode): Always use bzero to clear memory instead
of dangerous casts and stores.
Fixes alpha & sparc -O3 bootstrap problems.
From-SVN: r24420
Jeffrey A Law [Sat, 26 Dec 1998 08:19:18 +0000 (08:19 +0000)]
* Makefile.in (compare, gnucompare): Add missing else true clauses.
From-SVN: r24419
Jeff Law [Sat, 26 Dec 1998 00:45:02 +0000 (17:45 -0700)]
Daily bump.
From-SVN: r24418
Jeffrey A Law [Fri, 25 Dec 1998 22:08:13 +0000 (22:08 +0000)]
alpha.md (builtin_longjmp): Add missing "DONE".
* alpha.md (builtin_longjmp): Add missing "DONE".
alpha -O0 bootstrap bugfix.
From-SVN: r24417
Jeff Law [Fri, 25 Dec 1998 00:45:03 +0000 (17:45 -0700)]
Daily bump.
From-SVN: r24416
Brendan Kehoe [Thu, 24 Dec 1998 10:52:44 +0000 (05:52 -0500)]
fix minor typo
From-SVN: r24415
Stan Cox [Thu, 24 Dec 1998 10:30:08 +0000 (10:30 +0000)]
* gcc.c (execute): Enable -pipe with win32.
From-SVN: r24414
Jeff Law [Thu, 24 Dec 1998 00:45:03 +0000 (17:45 -0700)]
Daily bump.
From-SVN: r24413
Brendan Kehoe [Wed, 23 Dec 1998 17:02:02 +0000 (12:02 -0500)]
fix placement of the errors
From-SVN: r24412
Nick Clifton [Wed, 23 Dec 1998 14:34:18 +0000 (14:34 +0000)]
Enable -fleading-underscore for arm-elf builds.
From-SVN: r24409
Per Bothner [Wed, 23 Dec 1998 10:46:45 +0000 (02:46 -0800)]
expr.c (process_jvm_instruction): Do load_type_state after JSR.
d
* expr.c (process_jvm_instruction): Do load_type_state after JSR.
* verify.c (verify_jvm_instructions): Fix off-by-one error.
* jcf-write.c (CHECK_PUT): Add (void) cast to avoid -Wall warnings.
(localvar_alloc): Change return type to void,
(emit_unop): Remove unused variable size.
* jcf-write.c (struct jcf_block): Add new union.
(PENDING_CLEANUP_PC, PENDING_EXIT_PC, UNDEFINED_PC): New macros.
(call_cleanups): New functions.
(struct jcf_partial): New fields num_finalizers and return_value_decl.
(generate_bytecode_insns): Support CLEANUP_POINT_EXPR and
WITH_CLEANUP_EXPR. Handle cleanups in RETURN_EXPR and EXIT_BLOCK_EXPR.
* lang.c (lang_init): Call using_eh_for_cleanups.
* parse.y (java_complete_lhs): For SYNCHRONIZED_EXPR, defer
completing operands to patch_synchronized_statement.
Support CLEANUP_POINT_EXPR, WITH_CLEANUP_EXPR.
(patch_synchronized_statement): Re-write suing CLEANUP_POINT_EXPR and
WITH_CLEANUP_EXPR instead of TRY_EXPR.
From-SVN: r24406
Per Bothner [Wed, 23 Dec 1998 10:46:40 +0000 (10:46 +0000)]
expr.c (process_jvm_instruction): Do load_type_state after JSR.
* expr.c (process_jvm_instruction): Do load_type_state after JSR.
* verify.c (verify_jvm_instructions): Fix off-by-one error.
* jcf-write.c (CHECK_PUT): Add (void) cast to avoid -Wall warnings.
(localvar_alloc): Change return type to void,
(emit_unop): Remove unused variable size.
* jcf-write.c (struct jcf_block): Add new union.
(PENDING_CLEANUP_PC, PENDING_EXIT_PC, UNDEFINED_PC): New macros.
(call_cleanups): New functions.
(struct jcf_partial): New fields num_finalizers and return_value_decl.
(generate_bytecode_insns): Support CLEANUP_POINT_EXPR and
WITH_CLEANUP_EXPR. Handle cleanups in RETURN_EXPR and EXIT_BLOCK_EXPR.
* lang.c (lang_init): Call using_eh_for_cleanups.
* parse.y (java_complete_lhs): For SYNCHRONIZED_EXPR, defer
completing operands to patch_synchronized_statement.
Support CLEANUP_POINT_EXPR, WITH_CLEANUP_EXPR.
(patch_synchronized_statement): Re-write suing CLEANUP_POINT_EXPR and
WITH_CLEANUP_EXPR instead of TRY_EXPR.
From-SVN: r24405
Per Bothner [Wed, 23 Dec 1998 10:46:39 +0000 (02:46 -0800)]
expr.c (process_jvm_instruction): Do load_type_state after JSR.
a
* expr.c (process_jvm_instruction): Do load_type_state after JSR.
* verify.c (verify_jvm_instructions): Fix off-by-one error.
* jcf-write.c (CHECK_PUT): Add (void) cast to avoid -Wall warnings.
(localvar_alloc): Change return type to void,
(emit_unop): Remove unused variable size.
* jcf-write.c (struct jcf_block): Add new union.
(PENDING_CLEANUP_PC, PENDING_EXIT_PC, UNDEFINED_PC): New macros.
(call_cleanups): New functions.
(struct jcf_partial): New fields num_finalizers and return_value_decl.
(generate_bytecode_insns): Support CLEANUP_POINT_EXPR and
WITH_CLEANUP_EXPR. Handle cleanups in RETURN_EXPR and EXIT_BLOCK_EXPR.
* lang.c (lang_init): Call using_eh_for_cleanups.
* parse.y (java_complete_lhs): For SYNCHRONIZED_EXPR, defer
completing operands to patch_synchronized_statement.
Support CLEANUP_POINT_EXPR, WITH_CLEANUP_EXPR.
(patch_synchronized_statement): Re-write suing CLEANUP_POINT_EXPR and
WITH_CLEANUP_EXPR instead of TRY_EXPR.
From-SVN: r24404
Kaveh R. Ghazi [Wed, 23 Dec 1998 07:09:01 +0000 (07:09 +0000)]
Warning fixes:
* alias.c (record_alias_subset): Remove ignored `&'.
(init_alias_once): Likewise.
* c-lex.c (UNGETC): Cast first argument of comma expression to void.
* config/mips/mips.c (mips_asm_file_end): Cast the result of
fwrite to `int' when comparing against one.
* config/mips/mips.h (CAN_ELIMINATE): Add parens around && within ||.
(INITIAL_ELIMINATION_OFFSET): Add braces to avoid ambiguous `else'.
* cse.c (rehash_using_reg): Change type of variable `i' to
unsigned int.
* dwarf2out.c (initial_return_save): Cast -1 to unsigned before
assigning it to one.
* except.c (duplicate_eh_handlers): Remove unused variable `tmp'.
* final.c (final_scan_insn): Likewise for variable `i'.
(output_asm_insn): Cast a char to unsigned char when used as an
array index.
* gcse.c (compute_pre_ppinout): Cast -1 to SBITMAP_ELT_TYPE when
assigning it to one.
* loop.c (strength_reduce): Remove unused variables `count' and `temp'.
* recog.c (preprocess_constraints): Cast a char to unsigned char
when used as an array index.
* regmove.c (find_matches): Likewise.
* reload1.c (calculate_needs): Add default case in switch.
(eliminate_regs_in_insn): Initialize variable `offset'.
(set_offsets_for_label): Change type of variable `i' to unsigned.
(reload_as_needed): Wrap variable `i' in macro check on
AUTO_INC_DEC || INSN_CLOBBERS_REGNO_P.
* scan-decls.c (scan_decls): Mark parameters `argc' and `argv'
with ATTRIBUTE_UNUSED. Cast variable `start_written' to size_t
when comparing against one.
* stor-layout.c (layout_decl): Cast maximum_field_alignment to
unsigned when comparing against one. Likewise for
GET_MODE_ALIGNMENT().
(layout_record): Cast record_align to int when comparing against a
signed value.
(layout_type): Cast TYPE_ALIGN() to int when comparing against a
signed value.
* tree.c (get_identifier): Cast variable `len' to unsigned when
comparing against one.
(maybe_get_identifier): Likewise
From-SVN: r24403
Jeff Law [Wed, 23 Dec 1998 00:45:02 +0000 (17:45 -0700)]
Daily bump.
From-SVN: r24402
Jeffrey A Law [Tue, 22 Dec 1998 23:23:33 +0000 (23:23 +0000)]
* config.sub: Clean up handling of hppa2.0.
From-SVN: r24401
Jeffrey A Law [Tue, 22 Dec 1998 23:13:41 +0000 (23:13 +0000)]
toplev.c (rest_of_compilation): Do not set reload_completed.
Wed Dec 23 00:10:01 1998 Jeffrey A Law (law@cygnus.com)
* toplev.c (rest_of_compilation): Do not set reload_completed.
* reload1.c (reload): Set reload_completed before calling
cleanup_subreg_operands.
From-SVN: r24400
Richard Henderson [Tue, 22 Dec 1998 23:00:27 +0000 (15:00 -0800)]
* reload1.c (emit_reload_insns): Check `set' not null before use.
From-SVN: r24399
Rodney Brown [Tue, 22 Dec 1998 22:58:25 +0000 (15:58 -0700)]
* config.guess: Use C code to identify more HP machines.
From-SVN: r24398
Nick Clifton [Tue, 22 Dec 1998 15:17:13 +0000 (15:17 +0000)]
Fix obvious typo that produced compile time warning.
From-SVN: r24397
Theodore Papadopoulo [Tue, 22 Dec 1998 12:57:58 +0000 (13:57 +0100)]
* halfpic.c (half_pic_encode): Delete redundant code.
From-SVN: r24396
Kaveh R. Ghazi [Tue, 22 Dec 1998 12:18:17 +0000 (12:18 +0000)]
Warning fixes:
* Makefile.in (cvt.o): Depend on toplev.h.
* cp-tree.h (check_template_shadow, pod_type_p): Add prototypes.
* cvt.c: Include toplev.h.
* except.c (get_eh_caught, get_eh_handlers): Hide prototypes and
definitions.
* init.c (expand_vec_init): Initialize variable `itype'.
* lex.c (yyerror): Cast the argument passed to a ctype function to
an unsigned char.
* method.c (build_mangled_C9x_name): Wrap prototype and definition
in "HOST_BITS_PER_WIDE_INT >= 64".
* typeck.c (build_binary_op): Mark parameter `convert_p' with
ATTRIBUTE_UNUSED.
From-SVN: r24395
Mark Mitchell [Tue, 22 Dec 1998 10:33:17 +0000 (10:33 +0000)]
cp-tree.h (TYPE_RAISES_EXCEPTIONS): Improve documentation.
1998-12-22 Mark Mitchell <mark@markmitchell.com>
* cp-tree.h (TYPE_RAISES_EXCEPTIONS): Improve documentation.
* tree.c (build_exception_variant): Don't crash on empty throw
specs.
From-SVN: r24394
Michael Meissner [Tue, 22 Dec 1998 10:03:17 +0000 (10:03 +0000)]
Delete handling of -dM as a preprocessor option
From-SVN: r24393
Kaveh R. Ghazi [Tue, 22 Dec 1998 06:57:17 +0000 (06:57 +0000)]
Warning fixes:
* argv.c (buildargv): Cast the result of alloca in assignment.
* choose-temp.c: Include stdlib.h.
* cplus-dem.c (demangle_arm_pt): Remove unused prototype.
(snarf_numeric_literal): Constify first parameter.
(code_for_qualifier): Avoid a gcc extension, make the parameter an
int, not a char.
(demangle_qualifier): Likewise.
(demangle_signature): Cast the argument of a ctype function to
unsigned char.
(arm_pt): Add parens around assignment used as truth value.
(demangle_arm_hp_template): Constify variable `args'.
(do_hpacc_template_const_value): Cast the argument of a ctype
function to unsigned char.
(do_hpacc_template_literal): Remove unused variable `i'.
(snarf_numeric_literal): Constify parameter `args'.
Cast the argument of a ctype function to unsigned char.
* floatformat.c (floatformat_to_double): Add explicit braces to
avoid ambiguous `else'.
* fnmatch.c (fnmatch): Change type of variables `c', `c1',
`cstart' and `cend' to unsigned char. Cast the argument of macro
`FOLD', which uses ctype functions, to unsigned char.
* objalloc.c (free): Add prototype.
From-SVN: r24392
Jeff Law [Tue, 22 Dec 1998 00:45:03 +0000 (17:45 -0700)]
Daily bump.
From-SVN: r24391
Michael Meissner [Mon, 21 Dec 1998 14:42:07 +0000 (14:42 +0000)]
Do not give a warning for -dD, -dI, or -dM
From-SVN: r24390
Alexandre Oliva [Mon, 21 Dec 1998 10:39:08 +0000 (10:39 +0000)]
require diagnostic even without -pedantic
From-SVN: r24389
Hans-Peter Nilsson [Mon, 21 Dec 1998 05:57:18 +0000 (06:57 +0100)]
* Makefile.in (CFILES): Fix typo: splay-tree.c, not splay-tree.o
From-SVN: r24388
Jeff Law [Mon, 21 Dec 1998 00:45:03 +0000 (17:45 -0700)]
Daily bump.
From-SVN: r24387
John F. Carr [Sun, 20 Dec 1998 13:24:18 +0000 (13:24 +0000)]
configure.in: Handle Digital UNIX 5.x the same as 4.x.
* configure.in: Handle Digital UNIX 5.x the same as 4.x.
* i386/sol2.h: Define LOCAL_LABEL_PREFIX as ".".
* java/Make-lang.in: Comment out control-Ls.
From-SVN: r24386
Alexandre Oliva [Sun, 20 Dec 1998 07:45:13 +0000 (07:45 +0000)]
* g++.old-deja/g++.pt/ptrmem5.C: New test.
From-SVN: r24385
Jeffrey A Law [Sun, 20 Dec 1998 07:39:56 +0000 (00:39 -0700)]
Bump for snapshot
From-SVN: r24383
Jeff Law [Sun, 20 Dec 1998 00:45:02 +0000 (17:45 -0700)]
Daily bump.
From-SVN: r24382
Jeffrey A Law [Sat, 19 Dec 1998 22:24:26 +0000 (15:24 -0700)]
Bump for snapshot
From-SVN: r24380
Jeffrey A Law [Sat, 19 Dec 1998 21:41:36 +0000 (14:41 -0700)]
Bump for snapshot
From-SVN: r24379
Bernd Schmidt [Sat, 19 Dec 1998 12:10:51 +0000 (12:10 +0000)]
Added myself to "Write after approval" section in MAINTAINERS.
From-SVN: r24378
Kaveh R. Ghazi [Sat, 19 Dec 1998 07:04:42 +0000 (07:04 +0000)]
genattr.c (fatal): Qualify a char* with the `const' keyword.
* genattr.c (fatal): Qualify a char* with the `const' keyword.
* genattrtab.c (fatal, attr_printf, attr_string, write_attr_set,
write_unit_name, write_eligible_delay, expand_units,
make_length_attrs, write_attr_case, find_attr,
make_internal_attr): Likewise.
* gencheck.c (tree_codes): Likewise.
* gencodes.c (fatal): Likewise.
* genconfig.c (fatal): Likewise.
* genemit.c (fatal): Likewise.
* genextract.c (fatal, walk_rtx, copystr): Likewise.
* genflags.c (fatal): Likewise.
* genopinit.c (fatal, optabs, gen_insn): Likewise.
* genoutput.c (fatal, error, predicates): Likewise.
* genpeep.c (fatal): Likewise.
* genrecog.c (fatal, decision, pred_table, add_to_sequence,
write_tree_1, write_tree, change_state, copystr, indents): Likewise.
From-SVN: r24377
Jeff Law [Sat, 19 Dec 1998 00:45:02 +0000 (17:45 -0700)]
Daily bump.
From-SVN: r24376
Gerald Pfeifer [Fri, 18 Dec 1998 14:43:01 +0000 (14:43 +0000)]
Add new entry regarding Pentium optimizations.
From-SVN: r24375
Andrew MacLeod [Fri, 18 Dec 1998 13:16:13 +0000 (13:16 +0000)]
cplus-dem.c (demangle_fund_type): Process CV and u codes before bumping the pointer we read from.
Fri Dec 18 16:11:43 EST 1998 Andrew MacLeod <amacleod@cygnus.com>
* cplus-dem.c (demangle_fund_type): Process CV and u codes before
bumping the pointer we read from. Also prepend these codes,
as we do in other places.
From-SVN: r24374
DJ Delorie [Fri, 18 Dec 1998 11:50:30 +0000 (11:50 +0000)]
cvt.c (convert_to_reference): Check for both error_mark_node and NULL_NODE after call to...
* cvt.c (convert_to_reference): Check for both error_mark_node
and NULL_NODE after call to convert_for_initialization.
From-SVN: r24373
Jason Merrill [Fri, 18 Dec 1998 11:26:57 +0000 (11:26 +0000)]
error.c (interesting_scope_p): New fn.
* error.c (interesting_scope_p): New fn.
(dump_simple_decl): Use it.
(dump_expr, case CONSTRUCTOR): Force a & for a PMF.
(dump_expr, case OFFSET_REF): Print ->* if appropriate.
From-SVN: r24372
Vladimir Makarov [Fri, 18 Dec 1998 10:46:41 +0000 (10:46 +0000)]
[multiple changes]
1998-12-17 Vladimir N. Makarov <vmakarov@cygnus.com>
* config/i60/i960.md (extendqihi2): Fix typo (usage ',' instead of
';').
1998-12-17 Michael Tiemann <tiemann@axon.cygnus.com>
* i960.md (extend*, zero_extend*): Don't generate rtl that looks
like (subreg:SI (reg:SI N) 0), because it's wrong, and it hides
optimizations from the combiner.
From-SVN: r24371
Tom Tromey [Fri, 18 Dec 1998 10:01:34 +0000 (10:01 +0000)]
parse.y (check_class_interface_creation): Use DIR_SEPARATOR consistently.
* parse.y (check_class_interface_creation): Use DIR_SEPARATOR
consistently.
From-SVN: r24370
Jeff Law [Fri, 18 Dec 1998 00:45:03 +0000 (17:45 -0700)]
Daily bump.
From-SVN: r24369
Rainer Orth [Thu, 17 Dec 1998 21:09:07 +0000 (21:09 +0000)]
configure.in (with-fast-fixincludes): Fix whitespace.
* configure.in (with-fast-fixincludes): Fix whitespace.
* configure: Rebuilt.
From-SVN: r24368
Tom Tromey [Thu, 17 Dec 1998 20:13:16 +0000 (20:13 +0000)]
parse.y (DIR_SEPARATOR): New define.
* parse.y (DIR_SEPARATOR): New define.
(check_class_interface_creation): Use it.
From-SVN: r24367
Rainer Orth [Thu, 17 Dec 1998 18:22:30 +0000 (18:22 +0000)]
Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
* fixincludes (c_asm.h): Wrap Digital UNIX V4.0B DEC C specific
asm() etc. function declarations in __DECC.
From-SVN: r24366
Mark Mitchell [Thu, 17 Dec 1998 15:08:34 +0000 (15:08 +0000)]
pt.c (push_inline_template_parms_recursive): Set it.
* pt.c (push_inline_template_parms_recursive): Set it.
(decl_template_parm_p): Remove.
(check_template_shadow): Use DECL_TEMPLATE_PARM_P.
(process_template_parm): Set it.
Missed in Mark's earlier checkin.
From-SVN: r24365
Nick Clifton [Thu, 17 Dec 1998 14:02:32 +0000 (14:02 +0000)]
Do not generate CLOBBERs for non-pseudo regs.
From-SVN: r24364
Nick Clifton [Thu, 17 Dec 1998 13:54:39 +0000 (13:54 +0000)]
Add: #include "expr.h"
From-SVN: r24363
Kaveh R. Ghazi [Thu, 17 Dec 1998 13:09:00 +0000 (13:09 +0000)]
* hwint.h: New file to consolidate HOST_WIDE_INT (etc) macros.
From-SVN: r24362
Tom Tromey [Thu, 17 Dec 1998 12:50:02 +0000 (12:50 +0000)]
parse-scan.y (report_main_declaration): Recognize `java.lang.String' in argument to main.
* parse-scan.y (report_main_declaration): Recognize
`java.lang.String' in argument to main.
From-SVN: r24361
Jim Wilson [Thu, 17 Dec 1998 12:35:30 +0000 (12:35 +0000)]
Fix canadian-cross build problem with haifa scheduler.
* Makefile.in (INTERNAL_CFLAGS): Add SCHED_CFLAGS.
(ALL_CFLAGS): Delete SCHED_CFLAGS.
From-SVN: r24360
Jeff Law [Thu, 17 Dec 1998 00:45:02 +0000 (17:45 -0700)]
Daily bump.
From-SVN: r24352
J"orn Rennecke [Thu, 17 Dec 1998 00:29:00 +0000 (00:29 +0000)]
* loop.c (combine_givs_used_by_other): Don't depend on n_times_set.
From-SVN: r24351
Jeffrey A Law [Thu, 17 Dec 1998 00:25:11 +0000 (00:25 +0000)]
* config.sub: Handle hppa2.0.
From-SVN: r24350
Jeff Law [Wed, 16 Dec 1998 22:24:51 +0000 (15:24 -0700)]
dummy import to prevent merge lossage
From-SVN: r24349
Per Bothner [Wed, 16 Dec 1998 17:44:49 +0000 (17:44 +0000)]
* parse.y (create_interface): Remove bogus test.
From-SVN: r24348
Nick Clifton [Wed, 16 Dec 1998 17:34:48 +0000 (17:34 +0000)]
Ensure that last optimisation level set overrides any previous levels.
From-SVN: r24347
Per Bothner [Wed, 16 Dec 1998 17:01:53 +0000 (17:01 +0000)]
jcf-parse.c (get_constant): Set TREE_TYPE for string constants.
�
* jcf-parse.c (get_constant): Set TREE_TYPE for string constants.
(HANDLE_CONSTANTVALUE): If flag_emit_class_files, call get_constant.
From-SVN: r24346
Tom Tromey [Wed, 16 Dec 1998 15:53:13 +0000 (15:53 +0000)]
* parse-scan.y (qualified_name): Use correct sprintf format.
From-SVN: r24345
Mark Mitchell [Wed, 16 Dec 1998 15:51:21 +0000 (15:51 +0000)]
class.c (resolve_address_of_overloaded_function): Do conversion to correct type here, rather than ...
* class.c (resolve_address_of_overloaded_function): Do conversion
to correct type here, rather than ...
(instantiate_type): Here.
* cp-tree.h (DECL_TEMPLATE_PARM_P): New macro.
(DECL_TEMPLATE_TEMPLATE_PARM_P): Use it.
(decl_template_parm_p): Remove.
* decl.c (pushdecl): Don't set DECL_CONTEXT for a template
paramter.
* lex.c (do_identifier): Use DECL_TEMPLATE_PARM_P.
(push_inline_template_parms_recursive): Set it.
(decl_template_parm_p): Remove.
(check_template_shadow): Use DECL_TEMPLATE_PARM_P.
(process_template_parm): Set it.
From-SVN: r24344
Dave Brolley [Wed, 16 Dec 1998 13:38:33 +0000 (08:38 -0500)]
lang-specs.h: Pass -MD, -MMD and -MG to cc1obj if configured with cpplib.
Wed Dec 16 16:33:04 1998 Dave Brolley <brolley@cygnus.com>
* objc/lang-specs.h: Pass -MD, -MMD and -MG to cc1obj if configured with
cpplib.
* cpplib.c (cpp_start_read): If in_fname is not initialized, try to
initialize it using fname.
From-SVN: r24343
Dave Brolley [Wed, 16 Dec 1998 13:38:14 +0000 (13:38 +0000)]
lang-specs.h (default_compilers): Pass -MD, -MMD and -MG to cc1plus if configured with cpplib.
Wed Dec 16 16:33:58 1998 Dave Brolley <brolley@cygnus.com>
* lang-specs.h (default_compilers): Pass -MD, -MMD and -MG to cc1plus
if configured with cpplib.
From-SVN: r24342
Dave Brolley [Wed, 16 Dec 1998 13:37:08 +0000 (08:37 -0500)]
lang-specs.h: Pass -MD, -MMD and -MG to cc1obj if configured with cpplib.
Wed Dec 16 16:33:04 1998 Dave Brolley <brolley@cygnus.com>
* objc/lang-specs.h: Pass -MD, -MMD and -MG to cc1obj if configured with
cpplib.
From-SVN: r24341
Zack Weinberg [Wed, 16 Dec 1998 13:23:47 +0000 (13:23 +0000)]
cpplib.c (do_include): Treat #include_next in the primary source file as #include plus warning.
1998-12-16 Zack Weinberg <zack@rabi.phys.columbia.edu>
* cpplib.c (do_include): Treat #include_next in the
primary source file as #include plus warning. Treat
#include_next in a file included by absolute path as an
error. fp == CPP_NULL_BUFFER is a fatal inconsistency.
From-SVN: r24340
Kaveh R. Ghazi [Wed, 16 Dec 1998 09:34:57 +0000 (09:34 +0000)]
cccp.c: Don't define MIN/MAX anymore.
* cccp.c: Don't define MIN/MAX anymore.
* cpplib.c: Likewise.
* machmode.h: Likewise.
* system.h: Provide definitions for MIN/MAX.
From-SVN: r24339
Jeff Law [Wed, 16 Dec 1998 00:45:16 +0000 (17:45 -0700)]
Daily bump.
From-SVN: r24338
Zack Weinberg [Tue, 15 Dec 1998 22:50:27 +0000 (22:50 +0000)]
* fix-header.c: Don't define xstrdup here.
From-SVN: r24337
Jeffrey A Law [Tue, 15 Dec 1998 22:44:50 +0000 (22:44 +0000)]
* mn10200.md (addsi3 expander): Use "nonmemory_operand" for operand 2.
From-SVN: r24336
J"orn Rennecke [Tue, 15 Dec 1998 21:13:42 +0000 (21:13 +0000)]
loop.c (consec_sets_giv): New argument last_consec_insn.
* loop.c (consec_sets_giv): New argument last_consec_insn.
(strength_reduce): Provide / use it.
From-SVN: r24335
Jeff Law [Tue, 15 Dec 1998 20:53:34 +0000 (13:53 -0700)]
Fix dumb thinkos in last change.
From-SVN: r24334
Michael Hayes [Tue, 15 Dec 1998 20:31:18 +0000 (20:31 +0000)]
loop.h (loop_info): New field 'vtop'.
* loop.h (loop_info): New field 'vtop'.
* loop.c (check_dbra_loop): Use loop_info->vtop rather than
scanning loop for vtop.
* unroll.c (subtract_reg_term, find_common_reg_term): New functions.
(loop_iterations): Use them to determine if loop has a constant
number of iterations. Set loop_info->vtop. Don't subtract
common reg term from initial_value and final_value if have a
do-while loop.
From-SVN: r24333
Mark Mitchell [Tue, 15 Dec 1998 13:59:57 +0000 (13:59 +0000)]
decl.c (poplevel): Make sure ns_binding is initialized.
1998-12-15 Mark Mitchell <mark@markmitchell.com>
* decl.c (poplevel): Make sure ns_binding is initialized.
From-SVN: r24332
Jeffrey A Law [Tue, 15 Dec 1998 13:30:41 +0000 (13:30 +0000)]
* mn10300.md (bset, bclr): Operand 0 is a read/write operand.
From-SVN: r24331
Jeffrey A Law [Tue, 15 Dec 1998 12:53:12 +0000 (12:53 +0000)]
mn10200.md (abssf2, negsf2): New expanders.
* mn10200.md (abssf2, negsf2): New expanders.
* mn10300.md (absdf2, abssf2, negdf2, negsf2): New expanders.
From-SVN: r24330
Mark Mitchell [Tue, 15 Dec 1998 12:49:05 +0000 (12:49 +0000)]
decl.c (finish_function): Undo inadvertant change in previous patch.
* decl.c (finish_function): Undo inadvertant change in previous
patch.
From-SVN: r24329
Nick Clifton [Tue, 15 Dec 1998 11:56:36 +0000 (11:56 +0000)]
Cope with inlining functions which return a multiword CONCAT value
From-SVN: r24328
Zack Weinberg [Tue, 15 Dec 1998 11:23:27 +0000 (11:23 +0000)]
cppalloc.c: Add xstrdup here.
1998-12-15 Zack Weinberg <zack@rabi.phys.columbia.edu>
* cppalloc.c: Add xstrdup here.
* cpplib.h: Remove savestring prototype.
* cpplib.c: Remove savestring function. s/savestring/xstrdup/
throughout.
* cppfiles.c: s/savestring/xstrdup/ throughout.
From-SVN: r24327
Zack Weinberg [Tue, 15 Dec 1998 11:17:06 +0000 (11:17 +0000)]
cpplib.c: Make all directive handlers read their own arguments.
1998-12-14 00:56 -0500 Zack Weinberg <zack@rabi.phys.columbia.edu>
* cpplib.c: Make all directive handlers read their own
arguments.
(struct directive): Remove last two arguments from FUNC
member prototype. Remove `command_reads_line' member
entirely.
(directive_table): Remove initializations of
command_reads_line flag. Pretty-print.
(eval_if_expression, do_define, do_line, do_include,
do_undef, do_error, do_pragma, do_ident, do_if, do_xifdef,
do_else, do_elif, do_sccs, do_assert, do_unassert,
do_warning): Take only two args.
(cpp_define): Call do_define with two args and the text to
define stuffed into a buffer.
(make_assertion): Call do_assert with two args.
(handle_directive): Call do_line with two args. Call
kt->func with two args. Remove command_reads_line
processing.
(do_define, do_undef, do_error, do_warning, do_pragma,
do_sccs): Read the rest of the line here.
(do_ident): Gobble rest of line, as cccp does.
(cpp_undef): New function.
(cpp_start_read): Call cpp_undef instead of do_undef.
From-SVN: r24326
Zack Weinberg [Tue, 15 Dec 1998 11:09:16 +0000 (11:09 +0000)]
cpphash.h (union hash_value): Remove `keydef' member, add a `struct hashnode *aschain' member for #assert.
1998-12-15 Zack Weinberg <zack@rabi.phys.columbia.edu>
* cpphash.h (union hash_value): Remove `keydef' member, add a
`struct hashnode *aschain' member for #assert.
* cpplib.c (struct tokenlist_list, struct
assertion_hashnode): Delete structure definitions.
(assertion_install, assertion_lookup, delete_assertion,
check_assertion, compare_token_lists, reverse_token_list,
read_token_list, free_token_list): Delete functions.
(parse_assertion): New function.
(cpp_cleanup): Don't destroy the assertion_hashtable.
(do_assert): Gut and rewrite. #assert foo (bar) places
entries for `#foo' and `#foo(bar)' in the macro hash table,
type T_ASSERT. The value union's `aschain' member is used
to chain all answers for a given predicate together.
(do_unassert): Also rewritten. Take an un-asserted
answer off the chain from its predicate and call
delete_macro on the hashnode, or walk a predicate chain
calling delete_macro on all the entries.
(cpp_read_check_assertion): Simply call parse_assertion to
get the canonical assertion name, and look that up in the
hash table.
* cpplib.h (ASSERTION_HASHNODE,ASSERTION_HASHSIZE,assertion_hashtab):
Removed.
* cpphash.c (install): Use bcopy instead of an explicit loop
to copy the macro name.
* cppexp.c (cpp_lex): Convert the result of
cpp_read_check_assertion to a `struct operation' directly;
don't go through parse_number.
From-SVN: r24325
J"orn Rennecke [Tue, 15 Dec 1998 10:31:52 +0000 (10:31 +0000)]
loop.h (struct induction): Delete times_used member.
* loop.h (struct induction): Delete times_used member.
* loop.c (n_times_set): Rename to set_in_loop. Changed all users.
(n_times_used): Rename to n_times_set. Changed all users.
(scan_loop): Free reg_single_usage before strength reduction.
(record_giv, combine_givs): Remove handling of times_used member.
(combine_givs_used_once): Rename to:
(combine_givs_used_by_other) . Changed all callers.
From-SVN: r24324
Tom Tromey [Tue, 15 Dec 1998 09:44:14 +0000 (09:44 +0000)]
gjavah.c (print_field_info): Changed how most negative number is printed.
* gjavah.c (print_field_info): Changed how most negative number is
printed.
From-SVN: r24323
Alexandre Oliva [Tue, 15 Dec 1998 06:47:22 +0000 (06:47 +0000)]
* g++.old-deja/g++.other/conv5.C: New test.
From-SVN: r24320