Age | Commit message (Collapse) | Author | Files | Lines |
|
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
|
|
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
|
|
From-SVN: r24483
|
|
From-SVN: r24482
|
|
* tree.c (bound_pmf_p): New fn.
* typeck.c (build_c_cast): Use it.
From-SVN: r24481
|
|
From-SVN: r24480
|
|
* 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
|
|
* 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
|
|
From-SVN: r24477
|
|
From-SVN: r24473
|
|
compare/jump sequence.
* optabs.c (emit_cmp_and_jump_insns): Use CONSTANT_P canonicalizing
RTL for a compare/jump sequence.
From-SVN: r24472
|
|
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
|
|
on Ultrix V4.[35].
* fixincludes (sys/utsname.h): Provide forward declaration of
struct utsname on Ultrix V4.[35].
From-SVN: r24470
|
|
From-SVN: r24469
|
|
From-SVN: r24468
|
|
* mips.md (div_trap): Use local labels instead of dot-relative
branches.
Works around bug in ultrix assemblers.
From-SVN: r24466
|
|
* pa.md (branch, negated branch): Handle (const_int 0) as first
source operand.
* pa.c (output_cbranch): Likewise.
Should fix unrolling aborts on the PA.
From-SVN: r24465
|
|
From-SVN: r24464
|
|
* rs6000.c (rs6000_stack_info): Undo spurious part of last
change.
From-SVN: r24463
|
|
From-SVN: r24461
|
|
* extend.texi (__builtin_constant_p): Add missing @smallexample.
From-SVN: r24460
|
|
�
* extend.texi (__builtin_constant_p): Add missing @smallexample.
From-SVN: r24459
|
|
* i386.md (doubleword shifts): Fix dumb mistakes in previous change.
From-SVN: r24457
|
|
�
* i386.md (doubleword shifts): Fix dumb mistakes in previous change.
From-SVN: r24456
|
|
From-SVN: r24455
|
|
From-SVN: r24454
|
|
* m68k.md (adddi_dilshr32): Allow all operands to be registers too.
(adddi_dishl32): Similarly.
From-SVN: r24452
|
|
insn in the skipped block.
* cse.c (invalidate_skipped_block): Call invalidate_from_clobbers
for each insn in the skipped block.
Fixes m68k codegen bug.
From-SVN: r24450
|
|
after replacing a register...
* reload1.c (reload_as_needed): Verify that the insn satisfies its
constraints after replacing a register address with an autoincrement
address for reload inheritance purposes.
From-SVN: r24449
|
|
From-SVN: r24448
|
|
From-SVN: r24447
|
|
From-SVN: r24446
|
|
From-SVN: r24445
|
|
* 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
|
|
when building explow
From-SVN: r24443
|
|
* gcc.texi (Non-bugs): ``Empty'' loops will be optimized away in
the future; indeed that already happens in some cases.
From-SVN: r24442
|
|
From-SVN: r24441
|
|
* 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
|
|
* 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
|
|
* 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
|
|
* gcc.c-torture/execute/bcp-1.c (bad10): Rename from opt3.
(opt3): Rename from opt4 and disable.
From-SVN: r24437
|
|
From-SVN: r24436
|
|
From-SVN: r24434
|
|
From-SVN: r24433
|
|
From-SVN: r24431
|
|
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
|
|
From-SVN: r24419
|
|
From-SVN: r24418
|
|
* alpha.md (builtin_longjmp): Add missing "DONE".
alpha -O0 bootstrap bugfix.
From-SVN: r24417
|
|
From-SVN: r24416
|