Anthony Green [Mon, 17 Apr 2000 05:26:20 +0000 (05:26 +0000)]
New tests.
From-SVN: r33202
Mark Mitchell [Mon, 17 Apr 2000 04:03:48 +0000 (04:03 +0000)]
class.c (build_vtable_entry): Don't build thunks for type-info functions.
* class.c (build_vtable_entry): Don't build thunks for type-info
functions.
From-SVN: r33201
Mark Mitchell [Mon, 17 Apr 2000 04:01:01 +0000 (04:01 +0000)]
dwarf2out.c (DWARF_CIE_DATA_ALIGNMENT): Adjust, now that UNITS_PER_WORD is unsigned.
* dwarf2out.c (DWARF_CIE_DATA_ALIGNMENT): Adjust, now that
UNITS_PER_WORD is unsigned.
From-SVN: r33200
Mark Mitchell [Mon, 17 Apr 2000 03:20:48 +0000 (03:20 +0000)]
* tree.h (struct tree_common): Remove misleading comment.
From-SVN: r33199
Tom Tromey [Mon, 17 Apr 2000 02:56:52 +0000 (02:56 +0000)]
re GNATS gcj/205 (gcjh confused about similar method and attribute names)
* gjavah.c (decompile_method): Use print_field_name.
Fixes PR gcj/205.
From-SVN: r33198
Anthony Green [Mon, 17 Apr 2000 02:22:22 +0000 (02:22 +0000)]
configure: Rebuiltd.
2000-04-16 Anthony Green <green@redhat.com>
* configure: Rebuiltd.
* configure.in: Change i*86-pc-linux* to i*86-*-linux*.
From-SVN: r33197
Jakub Jelinek [Mon, 17 Apr 2000 02:15:32 +0000 (04:15 +0200)]
Port to sparc 32 and 64 Linux.
From-SVN: r33196
Jason Merrill [Mon, 17 Apr 2000 02:00:23 +0000 (02:00 +0000)]
decl.c (decls_match): Allow a redeclaration of a builtin to specify args while the builtin did not.
* decl.c (decls_match): Allow a redeclaration of a builtin to
specify args while the builtin did not.
From-SVN: r33195
Richard Henderson [Mon, 17 Apr 2000 01:51:52 +0000 (18:51 -0700)]
Fix typo in recent entry.
From-SVN: r33194
Richard Henderson [Mon, 17 Apr 2000 00:59:29 +0000 (17:59 -0700)]
Fix date on last entry.
From-SVN: r33193
Dave Pitts [Mon, 17 Apr 2000 00:54:25 +0000 (17:54 -0700)]
Makefile.in ($(srcdir)/c-parse.y: c-parse.in): Enclose the whole message in quotes.
* 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
Richard Henderson [Mon, 17 Apr 2000 00:52:30 +0000 (17:52 -0700)]
i370.c (mvs_add_label): Change spacing for coding conventions.
* 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
Dave Pitts [Mon, 17 Apr 2000 00:51:57 +0000 (00:51 +0000)]
config.sub (case $basic_machine): Change default for "ibm-*" to "openedition".
* config.sub (case $basic_machine): Change default for "ibm-*"
to "openedition".
From-SVN: r33190
Dave Pitts [Mon, 17 Apr 2000 00:51:19 +0000 (00:51 +0000)]
* cplus-dem.c (cplus_demangle_opname): Changed to use islower.
From-SVN: r33189
Mark Mitchell [Sun, 16 Apr 2000 21:47:17 +0000 (21:47 +0000)]
mips-protos.h (mips_legitimate_address_p): New function.
* 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
Richard Henderson [Sun, 16 Apr 2000 20:23:02 +0000 (13:23 -0700)]
rtl.h (enum insn_note): New enumeration.
* 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
Mark Mitchell [Sun, 16 Apr 2000 20:06:46 +0000 (20:06 +0000)]
Fix typo
From-SVN: r33186
Mark Mitchell [Sun, 16 Apr 2000 19:45:32 +0000 (19:45 +0000)]
cp-tree.def (THUNK_DECL): Add to documentation.
* 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
Jeff Law [Sun, 16 Apr 2000 07:45:06 +0000 (01:45 -0600)]
Daily bump.
From-SVN: r33184
Zack Weinberg [Sun, 16 Apr 2000 07:35:39 +0000 (07:35 +0000)]
cpplex.c (_cpp_read_and_prescan): Enlarge len by setting it to offset * 2.
* cpplex.c (_cpp_read_and_prescan): Enlarge len by setting it
to offset * 2.
From-SVN: r33183
Mark Mitchell [Sun, 16 Apr 2000 04:25:18 +0000 (04:25 +0000)]
New test
From-SVN: r33182
Bryce McKinlay [Sun, 16 Apr 2000 03:09:27 +0000 (03:09 +0000)]
re GNATS java.io/202 (File creation doesn't observe umask)
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
Zack Weinberg [Sun, 16 Apr 2000 02:18:52 +0000 (02:18 +0000)]
cpplex.c (output_line_command): Remove debugging prints.
* 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
Neil Booth [Sun, 16 Apr 2000 02:10:34 +0000 (02:10 +0000)]
cpphash.h (SYNTAX_INCLUDE, [...]): new.
* cpphash.h (SYNTAX_INCLUDE, SYNTAX_ASSERT, directive_handler): new.
* cpplib.c: Add new syntax flags to directive table, and
supporting macros.
From-SVN: r33179
Ulrich Drepper [Sun, 16 Apr 2000 00:11:35 +0000 (00:11 +0000)]
Update.
From-SVN: r33175
Ulrich Drepper [Sun, 16 Apr 2000 00:08:56 +0000 (00:08 +0000)]
(ix86_expand_epilogue): Yes, the x86 can pop 64k at once using ret $N.
From-SVN: r33174
David Edelsohn [Sat, 15 Apr 2000 22:27:59 +0000 (22:27 +0000)]
toplev.c (display_help): Prefix "f" to "sched-verbose=".
* toplev.c (display_help): Prefix "f" to "sched-verbose=".
* haifa-sched.c: Update -fsched-verbose comments to use "=".
From-SVN: r33172
David Edelsohn [Sat, 15 Apr 2000 22:17:00 +0000 (22:17 +0000)]
target.h (FFETARGET_32bit_longs): Define for 64-bit PowerPC as well.
* f/target.h (FFETARGET_32bit_longs): Define for 64-bit PowerPC
as well.
From-SVN: r33171
David Edelsohn [Sat, 15 Apr 2000 22:13:49 +0000 (22:13 +0000)]
* Object.m (strlen): 64-bit PowerPC is a 64bit platform as well.
From-SVN: r33170
Richard Kenner [Sat, 15 Apr 2000 19:54:26 +0000 (19:54 +0000)]
Makefile.in (ggc-page.o): Now includes toplev.h.
* 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 [Sat, 15 Apr 2000 16:59:10 +0000 (16:59 +0000)]
toplev.c: Make *_time variable long to reduce chance of overflow.
* 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 [Sat, 15 Apr 2000 16:53:46 +0000 (12:53 -0400)]
configure.in (alpha*-*-*): Aad config/alpha/t-alpha.
* 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 [Sat, 15 Apr 2000 16:34:38 +0000 (12:34 -0400)]
configure.in (alpha*-*-*): Aad config/alpha/t-alpha.
* 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 [Sat, 15 Apr 2000 15:44:19 +0000 (15:44 +0000)]
varasm.c (assemble_variable): Add cast to remove warning.
* 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 [Sat, 15 Apr 2000 15:20:58 +0000 (15:20 +0000)]
flow.c (count_basic_blocks, [...]): Remove last change.
* 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 Earnshaw [Sat, 15 Apr 2000 15:00:19 +0000 (15:00 +0000)]
* arm.md (movhi): REGNO_POINTER_ALIGN is now bits.
From-SVN: r33163
Richard Earnshaw [Sat, 15 Apr 2000 11:16:56 +0000 (11:16 +0000)]
emit-rtl.c (unshare_all_rtl_again): Unmark everything, then call unshare_all_rtl.
* emit-rtl.c (unshare_all_rtl_again): Unmark everything, then
call unshare_all_rtl.
From-SVN: r33162
Jeff Law [Sat, 15 Apr 2000 07:45:07 +0000 (01:45 -0600)]
Daily bump.
From-SVN: r33161
Jim Wilson [Sat, 15 Apr 2000 00:00:02 +0000 (00:00 +0000)]
Fix glibc math testsuite failures.
* config/ia64/lib1funcs.asm (__divdi3, __moddi3, __udivdi3, __umoddi3):
Use .s1 not .s0 for all FP instructions.
From-SVN: r33160
Zack Weinberg [Fri, 14 Apr 2000 23:29:45 +0000 (23:29 +0000)]
cpplex.c (cpp_output_tokens, [...]): New public interfaces.
* 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
Geoff Keating [Fri, 14 Apr 2000 23:16:25 +0000 (23:16 +0000)]
In gcc/:
* 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
Jim Wilson [Fri, 14 Apr 2000 23:11:01 +0000 (23:11 +0000)]
Fix ia64 gdb miscompilation reported by Kevin Buettner.
* 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
Richard Kenner [Fri, 14 Apr 2000 22:20:38 +0000 (22:20 +0000)]
print-rtl.c (print_rtx, case NOTE): Don't blow up if NOTE_BASIC_BLOCK not yet set.
* print-rtl.c (print_rtx, case NOTE): Don't blow up if NOTE_BASIC_BLOCK
not yet set.
From-SVN: r33156
Richard Kenner [Fri, 14 Apr 2000 22:13:59 +0000 (22:13 +0000)]
expr.c (reload.h): Now included.
* 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 [Fri, 14 Apr 2000 22:04:58 +0000 (22:04 +0000)]
flow.c (count_basic_blocks): Remove unused var PREV_CALL.
* 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 [Fri, 14 Apr 2000 21:59:52 +0000 (17:59 -0400)]
* sbitmap.h (EXECUTE_IF_SET_IN_SBITMAP): Revert last change.
From-SVN: r33153
Jim Wilson [Fri, 14 Apr 2000 17:58:30 +0000 (17:58 +0000)]
Match recent assembler change.
* config/ia64/lib1funcs.asm (__ia64_nonlocal_goto): Drop obsolete
completers from mov.ret instruction.
From-SVN: r33152
Richard Henderson [Fri, 14 Apr 2000 17:45:17 +0000 (10:45 -0700)]
fold-const.c (extract_muldiv): Don't distribute and widen multiply across plus for non-sizetype unsigned types.
* fold-const.c (extract_muldiv): Don't distribute and widen
multiply across plus for non-sizetype unsigned types.
From-SVN: r33151
Richard Henderson [Fri, 14 Apr 2000 17:38:35 +0000 (10:38 -0700)]
flow.c (find_auto_inc): Don't autoinc eliminable registers.
* flow.c (find_auto_inc): Don't autoinc eliminable registers.
If the original source is dead in the incr insn, it's dead now.
From-SVN: r33150
Richard Kenner [Fri, 14 Apr 2000 11:51:36 +0000 (11:51 +0000)]
stor-layout.c (layout_decl): Properly compare KNOWN_ALIGN to see if DECL_BIT_FIELD needs to still be set.
* stor-layout.c (layout_decl): Properly compare KNOWN_ALIGN to
see if DECL_BIT_FIELD needs to still be set.
From-SVN: r33149
Richard Kenner [Fri, 14 Apr 2000 11:44:18 +0000 (11:44 +0000)]
* tree.h (struct tree_type): Make PRECISION 9 bits and MODE 7.
From-SVN: r33148
Richard Kenner [Fri, 14 Apr 2000 11:37:24 +0000 (11:37 +0000)]
dbxout.c (dbxout_type, [...]): Don't call print_int_cst_octal with something that's not an INTEGER_CST.
* dbxout.c (dbxout_type, case INTEGER_TYPE): Don't call
print_int_cst_octal with something that's not an INTEGER_CST.
From-SVN: r33147
Richard Kenner [Fri, 14 Apr 2000 11:33:02 +0000 (07:33 -0400)]
alpha.c (alpha_emit_floatuns): Ensure we pass a REG and not a SUBREG to a FLOAT rtl.
* config/alpha/alpha.c (alpha_emit_floatuns): Ensure we pass a REG
and not a SUBREG to a FLOAT rtl.
From-SVN: r33146
Jeff Law [Fri, 14 Apr 2000 07:45:07 +0000 (01:45 -0600)]
Daily bump.
From-SVN: r33145
Bryce McKinlay [Fri, 14 Apr 2000 00:47:35 +0000 (00:47 +0000)]
Additional test for PR gcj/148:
2000-04-14 Bryce McKinlay <bryce@albatross.co.nz>
Additional test for PR gcj/148:
* libjava.compile/assignment_2.java: New file.
From-SVN: r33144
Clinton Popetz [Fri, 14 Apr 2000 00:41:31 +0000 (00:41 +0000)]
emit-rtl.c (try_split): Avoid infinite loop if the split results in a sequence that contains the...
* emit-rtl.c (try_split): Avoid infinite loop if the split
results in a sequence that contains the original insn.
From-SVN: r33143
Andreas Jaeger [Thu, 13 Apr 2000 21:44:48 +0000 (23:44 +0200)]
mips.c (expand_block_move): Pass alignment argument to move_by_pieces in bits, not bytes.
2000-04-13 Andreas Jaeger <aj@suse.de>
* config/mips/mips.c (expand_block_move): Pass alignment
argument to move_by_pieces in bits, not bytes.
From-SVN: r33142
Andreas Jaeger [Thu, 13 Apr 2000 20:00:31 +0000 (22:00 +0200)]
linux.h (CPP_PREDEFINES): Also define __PIC__ and __pic__ for little endian.
2000-04-13 Andreas Jaeger <aj@suse.de>
* config/mips/linux.h (CPP_PREDEFINES): Also define __PIC__ and
__pic__ for little endian.
From-SVN: r33141
Andreas Jaeger [Thu, 13 Apr 2000 17:05:54 +0000 (19:05 +0200)]
i386-protos.h: Add prototype for uno_comparison_operator.
2000-04-13 Andreas Jaeger <aj@suse.de>
* config/i386/i386-protos.h: Add prototype for
uno_comparison_operator.
From-SVN: r33140
Andreas Jaeger [Thu, 13 Apr 2000 17:03:15 +0000 (19:03 +0200)]
Added myself as requested by Jeff Law.
From-SVN: r33139
Jan Hubicka [Thu, 13 Apr 2000 13:59:00 +0000 (13:59 +0000)]
alias.c (nonlocal_reference_p): Take a care for CALL_INSNS's fusage field.
* alias.c (nonlocal_reference_p): Take a care for
CALL_INSNS's fusage field.
* calls.c (ECF_PURE): New flag.
(emit_call_1): Handle ECF_PURE calls.
(initialize_argument_information): Unset ECF_PURE flag too.
(precompute_arguments): Precompute for ECF_PURE too.
(expand_call): Handle ECF_PURE calls too.
(emit_library_call_value_1): Rename no_queue argument to
fn_type, accept value of 2 as pure function.
(emit_library_call_value, emit_library_call): Rename no_queue argument
to fn_type.
* optabs.c (prepare_cmp_insn): Pass fn_type 2 to memcmp call.
* tree.h (DECL_IS_PURE): New macro.
(struct tree_decl): Add pure_flag.
* c-common.c (enum attrs): Add attribute "pure".
(init_attributes): Initialize attribute "pure"
(decl_attributes): Handle attribute "pure".
* extend.texi (Attribute "pure"): Document.
* calls.c (expand_call): Add (mem:BLK (scratch)) to "equal from"
in pure function.
(flags_from_decl_or_type): Support attribute "pure".
From-SVN: r33138
Nathan Sidwell [Thu, 13 Apr 2000 11:14:29 +0000 (11:14 +0000)]
class.c (build_base_field): Reformat comment.
* class.c (build_base_field): Reformat comment.
* inc/cxxabi.h (stddef.h): Comment inclusion.
(__base_class_info::__offset): Comment shift.
From-SVN: r33137
Jason Merrill [Thu, 13 Apr 2000 08:26:36 +0000 (08:26 +0000)]
cpplex.c (_cpp_lex_token): Handle digraphs.
* cpplex.c (_cpp_lex_token): Handle digraphs. Don't null-terminate
the token except for numbers and identifiers.
From-SVN: r33136
Jeff Law [Thu, 13 Apr 2000 07:45:08 +0000 (01:45 -0600)]
Daily bump.
From-SVN: r33135
John Wehle [Thu, 13 Apr 2000 04:11:52 +0000 (04:11 +0000)]
i386.c (ix86_expand_binary_operator, [...]): Check no_new_pseudos instead of reload_in_progress and reload_completed.
* i386.c (ix86_expand_binary_operator,
ix86_expand_unary_operator): Check no_new_pseudos
instead of reload_in_progress and reload_completed.
(ix86_split_ashldi, ix86_split_ashrdi,
ix86_split_lshrdi): Check no_new_pseudos instead
of reload_completed.
From-SVN: r33134
Jeffrey A Law [Wed, 12 Apr 2000 23:47:06 +0000 (23:47 +0000)]
Jeffrey A Law (law@cygnus.com)
* function.c (purge_addressof): Unshare any shared rtl created by
purge_addressof and its children.
From-SVN: r33133
Mark Mitchell [Wed, 12 Apr 2000 22:08:32 +0000 (22:08 +0000)]
com.h (FFECOM_f2cINTEGER): Avoid using LONG_TYPE_SIZE as a preprocessor constant.
* com.h (FFECOM_f2cINTEGER): Avoid using LONG_TYPE_SIZE as a
preprocessor constant.
(FFECOM_f2cLOGICAL): Likewise.
(FFECOM_f2cLONGINT): Likewise.
From-SVN: r33130
Mark Mitchell [Wed, 12 Apr 2000 22:07:38 +0000 (22:07 +0000)]
function.c (aggregate_value_p): VOID_TYPE nodes are never aggregates.
* function.c (aggregate_value_p): VOID_TYPE nodes are never
aggregates.
From-SVN: r33129
Andreas Jaeger [Wed, 12 Apr 2000 21:38:23 +0000 (23:38 +0200)]
linux.h (SUBTARGET_ASM_SPEC): Use proper flags if not compiling PIC code, add flags for mabi=64.
2000-04-05 Andreas Jaeger <aj@suse.de>
* config/mips/linux.h (SUBTARGET_ASM_SPEC): Use proper flags if
not compiling PIC code, add flags for mabi=64.
(SUBTARGET_CPP_SIZE_SPEC): New.
(SUBTARGET_CPP_SPEC): New.
(CPP_PREDEFINES): Define __PIC__ and __pic__. PIC code is default
for MIPS/Linux and lots of code needs these defines.
From-SVN: r33128
Tom Tromey [Wed, 12 Apr 2000 21:17:00 +0000 (21:17 +0000)]
natString.cc (intern): Temporarily disable finalizer registration.
* java/lang/natString.cc (intern): Temporarily disable finalizer
registration.
From-SVN: r33127
Hans-Peter Nilsson [Wed, 12 Apr 2000 20:54:03 +0000 (20:54 +0000)]
* execute/
20000412-6.c: New test.
From-SVN: r33126
Hans-Peter Nilsson [Wed, 12 Apr 2000 20:46:22 +0000 (20:46 +0000)]
reorg.c (fill_slots_from_thread): Check side_effects_p when trying the "opposite arithmetic" approach.
* reorg.c (fill_slots_from_thread): Check side_effects_p when
trying the "opposite arithmetic" approach.
From-SVN: r33125
Tom Tromey [Wed, 12 Apr 2000 20:45:59 +0000 (20:45 +0000)]
natString.cc (unintern): Added `obj' argument.
* java/lang/natString.cc (unintern): Added `obj' argument.
(intern): Register finalizer for string.
* java/lang/String.java (unintern): Now static; added obj
argument.
From-SVN: r33124
J"orn Rennecke [Wed, 12 Apr 2000 20:10:19 +0000 (20:10 +0000)]
sh.h (STRUCT_VALUE): Just 0 for TARGET_HITACHI.
* sh.h (STRUCT_VALUE): Just 0 for TARGET_HITACHI.
(struct sh_args): Add new field force_mem.
(INIT_CUMULATIVE_ARGS): Initialize it.
(FUNCTION_ARG, FUNCTION_ARG_ADVANCE): Act on it.
From-SVN: r33123
Jeffrey A Law [Wed, 12 Apr 2000 18:56:18 +0000 (18:56 +0000)]
* gcc.c-torture/execute/
20000412-5.c: New test.
From-SVN: r33121
Jeffrey A Law [Wed, 12 Apr 2000 17:09:12 +0000 (17:09 +0000)]
* g77.f-torture/compile/
20000412-1.f: New test.
From-SVN: r33120
Jeffrey A Law [Wed, 12 Apr 2000 16:46:01 +0000 (16:46 +0000)]
* gcc.c-torture/execute/
20000412-4.c: New test.
From-SVN: r33119
Jeffrey A Law [Wed, 12 Apr 2000 16:39:54 +0000 (16:39 +0000)]
* gcc.c-torture/compile/
20000412-2.c: New test.
From-SVN: r33118
Jeffrey A Law [Wed, 12 Apr 2000 16:35:14 +0000 (16:35 +0000)]
* gcc.c-torture/execute/
20000412-3.c: New test.
From-SVN: r33117
Jeffrey A Law [Wed, 12 Apr 2000 16:29:25 +0000 (16:29 +0000)]
* gcc.c-torture/compile/
20000412-1.c: New test.
From-SVN: r33116
Jeffrey A Law [Wed, 12 Apr 2000 16:25:29 +0000 (16:25 +0000)]
* gcc.c-torture/execute/
20000412-2.c: New test.
From-SVN: r33115
Mark Mitchell [Wed, 12 Apr 2000 16:13:43 +0000 (16:13 +0000)]
Fix typo
From-SVN: r33114
Mark Mitchell [Wed, 12 Apr 2000 16:12:50 +0000 (16:12 +0000)]
Fix typo
From-SVN: r33113
Jakub Jelinek [Wed, 12 Apr 2000 15:58:38 +0000 (17:58 +0200)]
* objc/execute/bf-20.m: New test.
From-SVN: r33111
Jakub Jelinek [Wed, 12 Apr 2000 15:55:54 +0000 (17:55 +0200)]
encoding.c (objc_layout_structure_next_member): Do the whole procedure even for the first member, so that we get correct alignment.
* encoding.c (objc_layout_structure_next_member): Do the whole
procedure even for the first member, so that we get correct
alignment.
From-SVN: r33110
Jan Hubicka [Wed, 12 Apr 2000 15:23:02 +0000 (15:23 +0000)]
(expand_call): Do not reverse args in "equal from" field.
(emit_library_call_value_1): Emit_libcall_block for const and pure
function.
From-SVN: r33109
J"orn Rennecke [Wed, 12 Apr 2000 15:04:25 +0000 (15:04 +0000)]
reload1.c (reload_combine): Don't enable optimization for fixed registers when encountering a BARRIER.
* reload1.c (reload_combine): Don't enable optimization for fixed
registers when encountering a BARRIER.
From-SVN: r33108
Jan Hubicka [Wed, 12 Apr 2000 14:18:56 +0000 (14:18 +0000)]
builtins.c (expand_builtin_memcmp): Do expansion even with !HAVE_cmpstrsi, do libcall when gen_strcmpsi fails.
* builtins.c (expand_builtin_memcmp): Do expansion even with
!HAVE_cmpstrsi, do libcall when gen_strcmpsi fails.
From-SVN: r33107
Jan Hubicka [Wed, 12 Apr 2000 13:56:19 +0000 (13:56 +0000)]
calls.c (expand_call): Do NO_DEFER_POP unconditionally once stack is propertly aligned...
* calls.c (expand_call): Do NO_DEFER_POP unconditionally once
stack is propertly aligned; add sanity checking for aligned
stack pointer.
(expand_library_call_value_1): Add sanity checking for aligned
stack pointer.
From-SVN: r33106
Catherine Moore [Wed, 12 Apr 2000 13:26:40 +0000 (13:26 +0000)]
calls.c (emit_library_call_value_1): Change 3rd arg to locate_and_pad_parm to disregard the setting of partial.
Wed Apr 12 07:51:54 2000 Catherine Moore <clm@cygnus.com>
* calls.c (emit_library_call_value_1): Change 3rd arg to
locate_and_pad_parm to disregard the setting of partial.
From-SVN: r33105
Richard Kenner [Wed, 12 Apr 2000 13:10:42 +0000 (13:10 +0000)]
* tree.c (unsave_expr_now_r, unsafe_for_reeval): Properly do TREE_LIST.
From-SVN: r33104
Richard Kenner [Wed, 12 Apr 2000 12:59:56 +0000 (12:59 +0000)]
print-rtl.c (print_rtx): For CALL_PLACEHOLDER, output the CALL_INSN from the normal case.
* print-rtl.c (print_rtx): For CALL_PLACEHOLDER, output the
CALL_INSN from the normal case.
From-SVN: r33103
Richard Kenner [Wed, 12 Apr 2000 12:34:36 +0000 (08:34 -0400)]
Minor whitespace changed
From-SVN: r33102
Richard Kenner [Wed, 12 Apr 2000 12:30:38 +0000 (08:30 -0400)]
Minor whitespace change
From-SVN: r33101
Jan Hubicka [Wed, 12 Apr 2000 11:22:52 +0000 (11:22 +0000)]
i386.c (x86_sub_esp_4, [...]): New global variables.
* i386.c (x86_sub_esp_4, x86_sub_esp_8, x86_add_esp_4, x86_add_esp_8):
New global variables.
(ix86_emit_epilogue_adjustment): Do not attempt to use pop for the
adjustment.
* i386.h (x86_sub_esp_4, x86_sub_esp_8, x86_add_esp_4, x86_add_esp_8):
Declare,
(TARGET_SUB_ESP_4, TARGET_SUB_ESP_8, TARGET_ADD_ESP_4,
TARGET_ADD_ESP_8): New macros.
* i386.md: Add peep2s to convert esp adjustments to push and pop
instructions.
(pushsi_prologue, popsi_epilogue): New patterns.
From-SVN: r33100
Jakub Jelinek [Wed, 12 Apr 2000 09:01:29 +0000 (11:01 +0200)]
* real.c (toe64): Remove stale #endif from the last change.
From-SVN: r33099
Zack Weinberg [Wed, 12 Apr 2000 08:01:24 +0000 (08:01 +0000)]
Word wrap comment
From-SVN: r33098
Stephen L Moshier [Wed, 12 Apr 2000 07:57:37 +0000 (07:57 +0000)]
Stephen L Moshier <moshier@mediaone.net>
* real.h (MAX_LONG_DOUBLE_TYPE_SIZE): Comment.
* real.c (toe64): Revert previous change.
From-SVN: r33097
Mark Mitchell [Wed, 12 Apr 2000 07:48:13 +0000 (07:48 +0000)]
cp-tree.h (IDENTIFIER_CTOR_OR_DTOR_P): New macro.
* cp-tree.h (IDENTIFIER_CTOR_OR_DTOR_P): New macro.
(cp_tree_index): Add CPTI_PUSH_EXCEPTION_IDENTIFIER.
(cp_push_exception_identifier): New macro.
(DECL_COMPLETE_DESTRUCTOR_P): New macro.
(DECL_BASE_DESTRUCTOR_P): Likewise.
(DECL_DELETING_DESTRUCTOR_P): Likewise.
(get_vtbl_decl_for_binfo): Fix formatting.
(in_charge_arg_for_name): New macro.
(maybe_build_cleanup_and_delete): Remove declaration.
* call.c (build_field_call): Use IDENTIFIER_CTOR_OR_DTOR_P.
(in_charge_arg_for_name): New function.
(build_new_method_call): Use it. Handle cloned destructors.
(build_clone): Don't make the base constructor virtual.
Automatically defer generated functions.
(clone_function_decl): Handle destructors, too.
(clone_constructors_and_destructors): Likewise.
(create_vtable_ptr): Don't create a vtable entry for a cloned
function.
* decl.c (predefined_identifier): Add ctor_or_dtor_p.
(initialize_predefined_identifiers): Update appropriately.
(finish_destructor_body): Simplify.
(maybe_build_cleanup_and_delete): Remove.
* except.c (expand_throw): Handle new-ABI destructors.
* init.c (expand_cleanup_for_base): Use base_dtor_identifier.
(build_dtor_call): New function.
(build_delete): Use it. Simplify.
* optimize.c (maybe_clone_body): Handle destructors.
* search.c (lookup_field_queue_p): Use IDENTIFIER_CTOR_OR_DTOR_P.
From-SVN: r33096
Jeff Law [Wed, 12 Apr 2000 07:45:07 +0000 (01:45 -0600)]
Daily bump.
From-SVN: r33095