- 17 Apr, 2000 8 commits
-
-
From-SVN: r33196
Jakub Jelinek committed -
* decl.c (decls_match): Allow a redeclaration of a builtin to specify args while the builtin did not. From-SVN: r33195
Jason Merrill committed -
From-SVN: r33194
Richard Henderson committed -
From-SVN: r33193
Richard Henderson committed -
* Makefile.in ($(srcdir)/c-parse.y: c-parse.in): Enclose the whole message in quotes. Otherwise, IBM's make program treats the '#' as the start of a comment and ignores the remainder of the line. * c-lex.c (yylex): Change for EBCDIC, lower case characters preceed upper case. * cccp.c (initialize_char_syntax): Allow for holes in EBCDIC. * cexp.y (initialize_random_junk): Likewise. * cppfiles.c (find_include_file): Cast alloca return value. * cppinit.c (initialize_standard_includes): Likewise. * cpplib.c (cpp_define, cpp_undef): Likewise. * defaults.h (ASM_OUTPUT_ASCII): Use ISPRINT. * final.c (output_asm_insn): Allow for holes in EBCDIC. * fold-const.c (CHARMASK): New. (real_hex_to_f): Use it. * real.c (CHARMASK): New. (etoasc, asctoeg): Use it. (asctoeg): EBCDIC lower case characters preceed upper case. From-SVN: r33192
Dave Pitts committed -
* i370.c (mvs_add_label): Change spacing for coding conventions. * i370.h (ASM_OUTPUT_CASE_LABEL): Change to the data CSECT for the outputing case vectors. (ASM_OUTPUT_CASE_END): New, put assembler back into code CSECT. (ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Remove page check, since vector in in the data CSECT. (ASM_OUTPUT_REG_POP, ASM_OUTPUT_REG_PUSH): Restore to correct operation. * i370.md (Many patterns): Put the length in the XL directives. (movdi): Put back STM and MVC in definition. (floatsidf2): Correct TARGET_ELF_ABI pattern and add back the LE370 pattern using the TCA. * oe.h (CPP_SPEC): Added to allow trigraphs. * xm-oe.h (HOST_BITS_PER_LONGLONG): Change to 32. IBM's compiler does not support the "long long" type. From-SVN: r33191
Richard Henderson committed -
* config.sub (case $basic_machine): Change default for "ibm-*" to "openedition". From-SVN: r33190
Dave Pitts committed -
From-SVN: r33189
Dave Pitts committed
-
- 16 Apr, 2000 12 commits
-
-
* config/mips/mips-protos.h (mips_legitimate_address_p): New function. (mips_reg_mode_ok_for_base_p): Likewise. * config/mips/mips.h (REG_OK_STRICT_P): Don't define. (REG_OK_FOR_INDEX_P): Define unconditionally. (REG_MODE_OK_FOR_BASE_P): Use mips_reg_mode_ok_for_base_p. (GO_IF_LEGITIMATE_ADDRESS): Use mips_legitimate_address_p. * config/mips/mips.c (mips16_simple_memory_operand): Adjust now that GET_MODE_SIZE is unsigned. (mips_reg_mode_ok_for_base_p): Define. (mips_legitimate_address_p): Likewise. Adjust now that GET_MODE_SIZE is unsigned. (block_move_loop): Make the number of bytes unsigned. (expand_block_move): Likewise. (function_arg): Make the loop counter unsigned to match the boundary condition. From-SVN: r33188
Mark Mitchell committed -
* rtl.h (enum insn_note): New enumeration. Subsume NOTE_INSN_DELETED and friends. (GET_NOTE_INSN_NAME): Adjust index by NOTE_INSN_BIAS. * rtl.c (note_insn_name): Tweek string order. From-SVN: r33187
Richard Henderson committed -
From-SVN: r33186
Mark Mitchell committed -
* cp-tree.def (THUNK_DECL): Add to documentation. * cp-tree.h (flag_huge_objects): Declare. * class.c (modify_vtable_entry): Tidy. (update_vtable_entry_for_fn): Split out from dfs_modify_vtables. Calculate delta appropriately for the new ABI. (dfs_modify_vtables): Use it. (modify_all_vtables): Fix thinko in code to add overriding copies of functions to primary vtables. (build_clone): Fix typo in comment. (clone_function_decl): Correct order of destructors in vtable. (build_vbase_offset_vtbl_entries): Adjust comment. (dfs_vcall_offset_queue_p): Remove. (dfs_build_vcall_offset_vtbl_entries): Update BV_VCALL_INDEX. (build_vcall_offset_vtbl_entries): Juse use dfs_skip_vbases. (build_vtable_entry): Correct check for pure virtual functions. Don't declare flag_huge_objects. * decl.c (flag_huge_objects): Remove declaration. * method.c (make_thunk): Tweak mangling for vcall offset thunks. Use int_size_in_bytes. (emit_thunk): Handle vcall offset thunks. From-SVN: r33185
Mark Mitchell committed -
From-SVN: r33184
Jeff Law committed -
* cpplex.c (_cpp_read_and_prescan): Enlarge len by setting it to offset * 2. From-SVN: r33183
Zack Weinberg committed -
From-SVN: r33182
Mark Mitchell committed -
2000-04-16 Bryce McKinlay <bryce@albatross.co.nz> * java/io/natFileDescriptorPosix.cc (open): Use mode 0666. Fix for PR libgcj/202. (available): Initialize `Where' to prevent bogus compiler warning. From-SVN: r33181
Bryce McKinlay committed -
* cpplex.c (output_line_command): Remove debugging prints. (cpp_output_tokens): Don't write out a zero-length buffer or try to see if it has a newline in it. (_cpp_expand_to_buffer): Copy the source buffer before pushing. (_cpp_read_and_prescan): Move shift-down of pushback bytes to the end of the loop. Use memmove. Don't read past the end of the buffer. Remove trailing newlines from error messages. From-SVN: r33180
Zack Weinberg committed -
* cpphash.h (SYNTAX_INCLUDE, SYNTAX_ASSERT, directive_handler): new. * cpplib.c: Add new syntax flags to directive table, and supporting macros. From-SVN: r33179
Neil Booth committed -
From-SVN: r33175
Ulrich Drepper committed -
From-SVN: r33174
Ulrich Drepper committed
-
- 15 Apr, 2000 13 commits
-
-
* toplev.c (display_help): Prefix "f" to "sched-verbose=". * haifa-sched.c: Update -fsched-verbose comments to use "=". From-SVN: r33172
David Edelsohn committed -
* f/target.h (FFETARGET_32bit_longs): Define for 64-bit PowerPC as well. From-SVN: r33171
David Edelsohn committed -
From-SVN: r33170
David Edelsohn committed -
* Makefile.in (ggc-page.o): Now includes toplev.h. * ggc-page.c (toplev.h): Now included. (gc_time): Remove declaration. (ggc_collect): TIME now long. * toplev.c (parse_time, varasm_time, gc_time): Still global; all others static. * toplev.h (gc_time, parse_time, gc_time): New declarations. * cp/decl2.c (parse_time, varconst_time): Delete declarations. (finish_file): Delete LINENO declaration. START_TIME and THIS_TIME now long. From-SVN: r33169
Richard Kenner committed -
* toplev.c: Make *_time variable long to reduce chance of overflow. (TIMEVAR): Likewise for `otime'. (print_time): Arg is now long; compute percentage in FP and round. * toplev.h (print_time): Arg is long. * tree.c: Minor whitespace changes. From-SVN: r33168
Richard Kenner committed -
* configure.in (alpha*-*-*): Aad config/alpha/t-alpha. * configure: Rebuilt. * libgcc2.c (__fixunstfDI): Renamed from __fixunstfdi. (__fixunsxfDI): Renamed from __fixunsxfdi. (__fixunsdfDI): Renamed from __fixunsdfdi. (__fixunssfDI): Renamed from __fixunssfdi. (__floatdisf): Use proper type in REP_BIT macro. (__fixunsxfSI): Renamed from __fixunsxfsi. (__fixunsdfSI): Renamed from __fixunsdfsi. (__fixunssfSI): Renamed from __fixunssfsi. * libgcc2.h: Add cases for MIN_UNITS_PER_WORD > 4. Change location of macros and upper-case some names as above. * longlong.h ([alpha]): Use PARAMS, not __P in decl of __udiv__qrnnd. * config/alpha/t-alpha, config/alpha/qrnnd.asm: New files. From-SVN: r33167
Richard Kenner committed -
* configure.in (alpha*-*-*): Aad config/alpha/t-alpha. * configure: Rebuilt. * libgcc2.c (__fixunstfDI): Renamed from __fixunstfdi. (__fixunsxfDI): Renamed from __fixunsxfdi. (__fixunsdfDI): Renamed from __fixunsdfdi. (__fixunssfDI): Renamed from __fixunssfdi. (__floatdisf): Use proper type in REP_BIT macro. (__fixunsxfSI): Renamed from __fixunsxfsi. (__fixunsdfSI): Renamed from __fixunsdfsi. (__fixunssfSI): Renamed from __fixunssfsi. * libgcc2.h: Add cases for MIN_UNITS_PER_WORD > 4. Change location of macros and upper-case some names as above. * longlong.h ([alpha]): Use PARAMS, not __P in decl of __udiv__qrnnd. * config/alpha/t-alpha, config/alpha/qrnnd.asm: New files. From-SVN: r33166
Richard Kenner committed -
* varasm.c (assemble_variable): Add cast to remove warning. (immed_real_const_1): Only use CONST[01]_RTX if not in nested function. From-SVN: r33165
Richard Kenner committed -
* flow.c (count_basic_blocks, find_basic_blocks_1): Remove last change. * optabs.c (emit_libcall_block): If have REG_EHG_REGION, update region number to -1. From-SVN: r33164
Richard Kenner committed -
From-SVN: r33163
Richard Earnshaw committed -
* emit-rtl.c (unshare_all_rtl_again): Unmark everything, then call unshare_all_rtl. From-SVN: r33162
Richard Earnshaw committed -
From-SVN: r33161
Jeff Law committed -
* config/ia64/lib1funcs.asm (__divdi3, __moddi3, __udivdi3, __umoddi3): Use .s1 not .s0 for all FP instructions. From-SVN: r33160
Jim Wilson committed
-
- 14 Apr, 2000 7 commits
-
-
* cpplex.c (cpp_output_tokens, cpp_scan_buffer_nooutput): New public interfaces. (safe_fwrite, output_line_command): New static functions. (cpp_expand_to_buffer): Now private to cpplib. (cpp_scan_buffer): Take a printer. * cpphash.h: Update prototypes. * cpplib.h: Update prototypes. (cpp_printer): New. (cpp_buffer): Remove last_nominal_fname. (cpp_reader): Remove lineno. * cppmain.c: Use a cpp_printer. * fix-header.c: No need to inhibit line commands. Call cpp_start_read with no printer. * cpperror.c (cpp_notice_from_errno): Provide default name. * cppfiles.c (make_IHASH, _cpp_fake_ihash): New functions. (find_include_file, cpp_read_file): Use make_IHASH. (file_cleanup): Set control_macro and clear input_stack_listing_current here. (_cpp_execute_include): Don't output entering-file marker. * cpphash.c (special_symbol): Look for the line number in the buffer, not the reader. (_cpp_macroexpand): No need to disable line commands. (_cpp_dump_definition): No need to generate line commands. (dump_hash_helper): Remove excess newline from output. * cppinit.c (dump_special_to_buffer): No need to generate line commands. (cpp_printer_init): New. (cpp_start_read): Take a printer, and start it up if it's not NULL. No need to generate line commands. (cpp_finish): Expect no buffers stacked at all. Take a printer argument, and flush the output buffer if it's not NULL. * cpplex.c (_cpp_lex_token): Return EOF if there's no buffer. Don't put two hashes at the beginning of an assertion. (cpp_get_token): Don't increment pfile->lineno or emit line commands here. Return EOF if there's no buffer when we get EOF. * cpplib.c (do_define, skip_if_group): No need to disable line commands. (_cpp_output_line_command): Delete function. (do_line): Don't emit line commands here, but set things up so they will be emitted if necessary. Use _cpp_fake_ihash to make unique nominal_fnames if necessary. (do_elif, do_else, _cpp_handle_eof): Call cpp_error_with_line with 0 for column, not -1. (_cpp_handle_eof): Don't set the control macro here. Don't clear input_stack_listing_current here. Don't emit line commands. From-SVN: r33159
Zack Weinberg committed -
* config/rs6000/sysv4.h (LINK_START_SOLARIS_SPEC): Define to empty always, use the default SVR4 start address. * config/rs6000/linux.h (LINK_SPEC): Don't define. (LINK_SHLIB_SPEC): Define. (LINK_START_DEFAULT_SPEC): Define. (LINK_OS_DEFAULT_SPEC): Define. * config/rs6000/sysv4.h (ENDFILE_SPEC): Use the %(endfile_*) macros. * config/rs6000/eabi.asm (__eabi): Call __init rather than __do_global_ctors to handle constructors. * config/rs6000/sysv4.h (STARTFILE_ADS_SPEC): Use crtbegin. (STARTFILE_YELLOWKNIFE_SPEC): Likewise. (STARTFILE_MVME_SPEC): Likewise. (STARTFILE_SIM_SPEC): Likewise. (ENDFILE_ADS_SPEC): Use crtend. (ENDFILE_YELLOWKNIFE_SPEC): Likewise. (ENDFILE_MVME_SPEC): Likewise. (ENDFILE_SIM_SPEC): Likewise. (STARTFILE_SOLARIS_SPEC): Use crtbegin/crtbeginS. (ENDFILE_SOLARIS_SPEC): Use crtend/crtendS. (STARTFILE_LINUX_SPEC): Use crtbeginS for shared objects. (ENDFILE_LINUX_SPEC): Use crtendS for shared objects. * config/rs6000/t-ppccomm (LIB2FUNCS_EXTRA): Don't build eabi-ctors.o. (EXTRA_MULTILIB_PARTS): Build crtbeginS/crtendS. (CRTSTUFF_T_CFLAGS_S): Define. * config/rs6000/eabi-ctors.c: Delete. * config/rs6000/eabi-ci.asm (__init): Align stack to 16-byte boundary. (__fini): Likewise. * config/rs6000/eabi-cn.asm (__init): Allow for 16-byte stack frame. boundary. (__fini): Likewise. In gcc/po: * POTFILES.in: Remove config/rs6000/eabi-ctors.c, which was previously commented out anyway. From-SVN: r33158
Geoff Keating committed -
* combine.c (force_to_mode, case LSHIFTRT): Check that shift shift plus mask size is smaller or equal to the mode size. From-SVN: r33157
Jim Wilson committed -
* print-rtl.c (print_rtx, case NOTE): Don't blow up if NOTE_BASIC_BLOCK not yet set. From-SVN: r33156
Richard Kenner committed -
* expr.c (reload.h): Now included. (emit_block_move): Set volatile_ok when checking for movstr. (emit_move_1): Check for replacements in addresses in multi-word case. * Makefile.in (expr.o): Now includes reload.h. From-SVN: r33155
Richard Kenner committed -
* flow.c (count_basic_blocks): Remove unused var PREV_CALL. Never have a LIBCALL end a basic block. (find_basic_blocks_1): Likewise. Reorganize CALL_INSN cases. From-SVN: r33154
Richard Kenner committed -
From-SVN: r33153
Richard Kenner committed
-