Age | Commit message (Collapse) | Author | Files | Lines |
|
* bitmap.c (bitmap_clear): Ensure `inline' is at the beginning
of the declaration.
* c-decl.c (finish_decl): Use parentheses around && within ||.
* rtl.c: Include stdlib.h.
(read_skip_spaces): Add parentheses around assignments used as
truth values.
(read_rtx): Initialize list_rtx.
* cppexp.c (parse_number): Use || when operands are truth values.
* alias.c (find_base_value): Add default case.
(memrefs_conflict): Likewise.
* combine.c (sets_function_arg_p): Likewise.
* genemit.c (gen_exp): Likewise.
* local-alloc.c (contains_replace_regs): Likewise.
* rtlanal.c (jmp_uses_reg_or_mem): Likewise.
* fold-const.c (fold_convert): Use "&&" for truth values.
(fold): Add default case.
* sdbout.c (sdbout_field_types): Fix typo in declaration.
(sdbout_one_type): Add default case.
* alpha.c (alpha_sa_mask): Prototype only if OPEN_VMS.
(some_operand): Add default case.
(input_operand): Likewise.
(signed_comparison_operator): Likewise.
(divmod_operator): Likewise.
(alpha_set_memflags_1): Likewise.
* reload1.c (reload_cse_simplify_operands): Ensure function
always returns a value.
* scan-decls.c (scan_decls): Likewise.
* c-lex.c (skip_white_space): Fix typo in declaraion.
* c-typeck.c (comp_target_types): Add parentheses around assignment
used as truth value.
(print_spelling): Likewise.
(constructor_implicit, constructor_result): Remove unused variables.
* collect2.c (scan_library): Protect prototype with
#ifdef SCAN_LIBRARIES.
* emit-rtl.c (find_line_note): Fix typo in declaration.
* final.c (asm_insn_count): Protect prototype with
#ifdef HAVE_ATTR_length.
* flow.c (find_auto_inc): Protect prototype with #ifdef AUTO_INC_DEC.
(try_pre_increment_1, try_pre_increment): Likewise.
* regclass.c (auto_inc_dec_reg_p): Protect prototype with
#ifdef FORBIDDEN_INC_DEC_CLASSES. Make return type explicit.
* gcov-io.h (__store_long, __write_long, __read_long): Fix
unsigned/signed comparisons.
* gcov.c (read_files): Remove unused "first_type" variable.
(scan _for_source_files): Initialize s_ptr.
(function_summary): Eliminate "%lf" formatting, use %ld for
longs.
(output_data): Initialize branch_probs and last_line_num.
Eliminate "%lf" formatting, use "%ld" for longs.
Co-Authored-By: Jeffrey A Law <law@cygnus.com>
From-SVN: r17158
|
|
From-SVN: r16987
|
|
* glimits.h (SHRT_MIN): Define in a way suitable for 16 bit hosts.
* c-lex.c (whitespace_cr, skip_white_space_on_line): New functions.
(skip_white_space): Use whitespace_cr.
(check_newline): Handle whitespace more consistently.
From-SVN: r16433
|
|
* c-lex.c (MULTIBYTE_CHARS): #undef if cross compiling.
(yylex): Record wide strings using target endianness, not host.
From-SVN: r16315
|
|
From-SVN: r16278
|
|
* c-lex.c (check_newline): Pass finput again to HANDLE_PRAGMA.
Bring over from the FSF.
From-SVN: r14802
|
|
From-SVN: r14602
|
|
From-SVN: r14557
|
|
From-SVN: r13160
|
|
!dollars_in_ident or if pedantic.
From-SVN: r12927
|
|
From-SVN: r12864
|
|
directive that starts with `p' but isn't `pragma'.
From-SVN: r11928
|
|
(handle_sysv_pragma): Take a token instead of a character.
From-SVN: r11838
|
|
(yylex, case '0'..'9','.'): For cases '0' and '1', check for single
digit constant before resorting to general number processing.
From-SVN: r11297
|
|
From-SVN: r11155
|
|
* c-lex.c (check_newline): Pass character after `#pragma' to
HANDLE_PRAGMA. Don't call get_directive_line if at end of line.
* c-common.c (get_directive_line): Watch for EOF.
* h8300/h8300.h (HANDLE_PRAGMA): New argument `c'.
Must issue `return' now.
* i960/i960.h (HANDLE_PRAGMA): Likewise.
* sh/sh.h (HANDLE_PRAGMA): Likewise.
* nextstep.h (HANDLE_PRAGMA): Likewise.
* h8300/h8300.c (handle_pragma): New argument `ch'.
Simplify pragma processing. Delete support for `#pragma section'.
* i960/i960.c (process_pragma): New argument `c'. Change result to
terminating character.
* nextstep.c (handle_pragma): Likewise.
* sh/sh.c (handle_pragma): Likewise. Also simplified.
From-SVN: r10999
|
|
Consolidate duplicated code.
From-SVN: r10892
|
|
From-SVN: r10705
|
|
From-SVN: r9959
|
|
From-SVN: r9711
|
|
From-SVN: r9410
|
|
From-SVN: r9110
|
|
From-SVN: r8982
|
|
From-SVN: r8980
|
|
(yylex): Give error for unterminated string constant.
From-SVN: r8976
|
|
format is IEEE.
(yylex): Do warn about floating point out of range if
target floating-point format is IEEE. Use warning instead of
pedwarn to avoid getting errors.
From-SVN: r8538
|
|
From-SVN: r7646
|
|
defined.
From-SVN: r7092
|
|
From-SVN: r7071
|
|
constants.
From-SVN: r7050
|
|
From-SVN: r6694
|
|
From-SVN: r6638
|
|
avoid printing error more than once, and avoid passing malformed
number to subsequent atof call.
From-SVN: r6201
|
|
(check_newline, yylex): Do not ignore escapes when reading file names,
because escapes are the only way to represent file names containing '"'.
From-SVN: r5528
|
|
From-SVN: r5501
|
|
(isalnum, isdigit): Macros deleted.
From-SVN: r4744
|
|
From-SVN: r4575
|
|
From-SVN: r4292
|
|
explicitly.
From-SVN: r4257
|
|
floating-point format is IEEE.
From-SVN: r4213
|
|
From-SVN: r4211
|
|
From-SVN: r4068
|
|
From-SVN: r4060
|
|
From-SVN: r4059
|
|
by the letter at the end of the number.
(yylex): Convert real decimal constants directly
to the precision specified by the letter at the end of the number.
Pass mode arg to REAL_VALUE_ATOF to specify precision.
Move the "out of range of double" error check.
From-SVN: r3936
|
|
From-SVN: r3897
|
|
From-SVN: r3798
|
|
(yylex): Handle i or j in numeric constant.
From-SVN: r3633
|
|
But maybe turn it off again.
From-SVN: r3588
|
|
From-SVN: r3581
|