aoliva [Sun, 27 Feb 2000 07:57:29 +0000 (07:57 +0000)]
* cpplib.h (enum file_change_code): Added rename_file.
* cpplib.c (do_line): If a filename is given, set file_change to
rename_file.
(output_line_command): If file_change is rename_file, always
output a # directive with the file name.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32215
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Sun, 27 Feb 2000 07:00:35 +0000 (07:00 +0000)]
update
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32214
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Sun, 27 Feb 2000 06:54:06 +0000 (06:54 +0000)]
update
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32213
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Sun, 27 Feb 2000 06:54:04 +0000 (06:54 +0000)]
Implement class scope using-declarations for functions.
* class.c (handle_using_decl): Call add_method for used functions.
Use IDENTIFIER_CLASS_VALUE to check for conflicts.
(add_method): Used functions are hidden by local functions.
(check_bases_and_members): Handle using-decls before finalizing
CLASSTYPE_METHOD_VEC.
* call.c (add_function_candidate): Add ctype parm; if non-zero,
override the type of 'this' accordingly.
(add_template_candidate, add_template_candidate_real): Add ctype parm.
(convert_class_to_reference, build_user_type_conversion_1,
build_new_function_call, build_object_call, build_new_op,
build_new_method_call): Pass ctype parm.
* search.c (lookup_member): Put rval_binfo, not basetype_path, in
the baselink.
* call.c (convert_class_to_reference, build_user_type_conversion_1,
build_new_function_call, build_object_call, build_new_op,
build_new_method_call, build_op_delete_call): Don't get basetype_path
from a baselink.
* typeck.c (build_component_ref): Likewise.
* init.c (build_offset_ref): Likewise.
(resolve_offset_ref): Don't call enforce_access.
Call build_scoped_ref.
* typeck2.c (build_scoped_ref): Simplify. Do nothing if it
would cause an error or if -pedantic.
* class.c (alter_access): Lose binfo parm.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32212
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Sun, 27 Feb 2000 06:24:27 +0000 (06:24 +0000)]
* cpplib.c (do_pragma): Accept #pragma without consecutive token.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32211
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Sun, 27 Feb 2000 05:30:00 +0000 (05:30 +0000)]
* semantics.c (simplify_aggr_init_exprs_p): Don't walk into
types.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32210
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Sun, 27 Feb 2000 02:52:55 +0000 (02:52 +0000)]
* rtti.c (get_vmi_pseudo_type_info): Move __vmi_class_type_info
pseudo_type_info creation into the std namespace
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32209
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Sun, 27 Feb 2000 02:46:57 +0000 (02:46 +0000)]
* cp-tree.h (DECL_NEEDED_P): Tweak to correct usage before EOF.
(import_export_class): Remove declaration.
* decl2.c (import_export_class): Make it static.
* dump.c (dequeue_and_dump): Handle PREDECREMENT_EXPR,
PREINCREMENT_EXPR, POSTDECREMENT_EXPR, POSTINCREMENT_EXPR,
EXPR_WITH_FILE_LOCATION.
* lex.c (check_newline): Tweak filename/lineno setting.
* semantics.c (begin_while_stmt): Fix typo in comment.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32208
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Sun, 27 Feb 2000 02:43:43 +0000 (02:43 +0000)]
* integrate.c (copy_decl_for_inlining): Preserve TREE_ADDRESSABLE
when copying a PARM_DECL or RESULT_DECL.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32207
138bc75d-0d04-0410-961f-
82ee72b054a4
ghazi [Sun, 27 Feb 2000 02:25:05 +0000 (02:25 +0000)]
* fix-header.c (recognized_function): Also fix prototypes for
functions taking "void".
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32206
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sun, 27 Feb 2000 00:57:13 +0000 (00:57 +0000)]
* lang-options.h (-fmessage-length=): Add missing option.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32205
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sun, 27 Feb 2000 00:52:00 +0000 (00:52 +0000)]
* Make-lang.in (CXX_SRCS): Add .h files and sort list.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32204
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sun, 27 Feb 2000 00:50:08 +0000 (00:50 +0000)]
Restore missing data
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32203
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sun, 27 Feb 2000 00:37:58 +0000 (00:37 +0000)]
* g++.old-deja/g++.ext/attrib5.C: XFAIL on Alpha since no link alias.
* g++.old-deja/g++.pt/static3.C: Generalize system name for Alpha.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32202
138bc75d-0d04-0410-961f-
82ee72b054a4
geoffk [Sun, 27 Feb 2000 00:23:28 +0000 (00:23 +0000)]
* reload1.c (do_output_reload): Check reg_reloaded_valid before
looking at reg_reloaded_contents.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32201
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Sun, 27 Feb 2000 00:10:15 +0000 (00:10 +0000)]
* Makefile.in (STMP_FIXINC): New toggle.
(LIBGCC2_DEPS): Delete all references.
(stmp-headers): Delete target. All references either deleted
or changed to stmp-int-headers.
(all.cross): Don't depend on stmp-headers or STMP_FIXPROTO.
(LIBCPP_OBJS): Take out cppalloc.o.
(cppalloc.o): Delete target.
(stmp-int-hdrs): Depend on $(STMP_FIXINC).
(gen-protos, fix-header): Link with libiberty.a.
* build-make: Don't change FIXINCLUDES. Override STMP_FIXINC
to empty.
* cp/Make-lang.in: Delete refs to LIBGCC2_DEPS.
* configure.in: Remove refs to strerror.
* acconfig.h: Take out NEED_DECLARATION_STRERROR.
* system.h: Take out strerror stanza.
* cpperror.c (my_strerror): Delete function.
(cpp_error_from_errno, cpp_notice_from_errno): Use xstrerror.
* cppmain.c (main): Call xmalloc_set_program_name first thing.
* cppalloc.c: Delete file.
* gen-protos.c: Don't provide xrealloc.
* fixinc/fixincl.c, fixinc/fixlib.c, fixinc/procopen.c: Use
xstrerror throughout.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32200
138bc75d-0d04-0410-961f-
82ee72b054a4
korbb [Sat, 26 Feb 2000 23:16:59 +0000 (23:16 +0000)]
the undefine_null bypass pattern needs to match for DOS headers
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32199
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sat, 26 Feb 2000 21:44:42 +0000 (21:44 +0000)]
Fix copyrights.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32198
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sat, 26 Feb 2000 21:35:46 +0000 (21:35 +0000)]
fix copyrights
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32197
138bc75d-0d04-0410-961f-
82ee72b054a4
green [Sat, 26 Feb 2000 21:12:54 +0000 (21:12 +0000)]
Minor clean up and bug fix.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32196
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sat, 26 Feb 2000 21:05:38 +0000 (21:05 +0000)]
Fix copyrights.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32195
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sat, 26 Feb 2000 21:01:24 +0000 (21:01 +0000)]
Fix copyrights
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32194
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sat, 26 Feb 2000 20:56:03 +0000 (20:56 +0000)]
Fix copyright.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32193
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sat, 26 Feb 2000 20:55:02 +0000 (20:55 +0000)]
Fix copyrights.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32192
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sat, 26 Feb 2000 20:49:44 +0000 (20:49 +0000)]
Fix copyrights
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32191
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sat, 26 Feb 2000 20:46:13 +0000 (20:46 +0000)]
Fix copyrights.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32190
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sat, 26 Feb 2000 20:41:07 +0000 (20:41 +0000)]
Fix copyright
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32189
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sat, 26 Feb 2000 20:40:23 +0000 (20:40 +0000)]
Fix copyright.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32188
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sat, 26 Feb 2000 20:34:57 +0000 (20:34 +0000)]
Fix copyrights
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32187
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sat, 26 Feb 2000 20:24:45 +0000 (20:24 +0000)]
Fix copyrights
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32186
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sat, 26 Feb 2000 20:16:12 +0000 (20:16 +0000)]
Fix copyrights
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32185
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sat, 26 Feb 2000 20:04:50 +0000 (20:04 +0000)]
* Makefile.in (CC_FOR_TARGET): Add new winsup directory
structure stuff to -L library search.
(CXX_FOR_TARGET): Ditto.
(CROSS_CHECK_MODULES): Fix spelling mistake.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32184
138bc75d-0d04-0410-961f-
82ee72b054a4
geoffk [Sat, 26 Feb 2000 20:03:11 +0000 (20:03 +0000)]
* config/elfos.h (ASM_OUTPUT_LABELREF): Don't define. The default
is right for most ELF targets.
* config/ns32k/ns32k.h (ASM_OUTPUT_LABELREF): Don't define.
Let the default file use %U properly.
* config/sh/elf.h (ASM_OUTPUT_LABELREF): Don't define. Use the
default.
* config/fp-bit.c (pack_d): Properly handle rounding of denormal
numbers.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32183
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sat, 26 Feb 2000 20:02:01 +0000 (20:02 +0000)]
Fix copyrights
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32182
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sat, 26 Feb 2000 14:39:36 +0000 (14:39 +0000)]
* toplev.c (documented_lang_options): Correct spelling error.
(decode_d_option, decode_f_option, main): Likewise.
* toplev.c (print_time): Avoid SIGFPE when all_time is zero.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32181
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sat, 26 Feb 2000 14:31:14 +0000 (14:31 +0000)]
* config/alpha/alpha.h (ASM_OUTPUT_MI_THUNK): Use .set at
to tell assembler it is permitted to expand large constants.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32180
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sat, 26 Feb 2000 14:26:24 +0000 (14:26 +0000)]
Fix copyrights.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32179
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sat, 26 Feb 2000 13:55:09 +0000 (13:55 +0000)]
Fix copyrights.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32178
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sat, 26 Feb 2000 13:51:58 +0000 (13:51 +0000)]
Fix copyrights
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32177
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sat, 26 Feb 2000 08:45:07 +0000 (08:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32176
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sat, 26 Feb 2000 06:23:30 +0000 (06:23 +0000)]
Fix copyrights.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32175
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sat, 26 Feb 2000 06:04:48 +0000 (06:04 +0000)]
Copyright fixes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32174
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sat, 26 Feb 2000 05:59:31 +0000 (05:59 +0000)]
Fix copyrights.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32173
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sat, 26 Feb 2000 05:54:31 +0000 (05:54 +0000)]
Copyright fixes
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32172
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sat, 26 Feb 2000 05:45:17 +0000 (05:45 +0000)]
Copyright fixes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32171
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sat, 26 Feb 2000 05:39:13 +0000 (05:39 +0000)]
* protoize.c: (AUX_INFO_SUFFIX): New macro.
(aux_info_suffix): Use.
(SAVE_SUFFIX): New macro.
(save_suffix): Use.
(munge_compile_parms): Fix typo in NUL. DJGPP supports /dev/null.
(gen_aux_info_file): Use aux_info_suffix instead of ".X".
(edit_file): Handle 8.3 restriction for DOS/DJGPP filenames.
* invoke.texi (Running Protoize): Update documentation.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32170
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Sat, 26 Feb 2000 05:32:24 +0000 (05:32 +0000)]
Fix 3 ia64 g++ testsuite failures, and groff miscompilation.
* optimize.c (expand_call_inline): Emit the return label before
evaluating the return value.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32169
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sat, 26 Feb 2000 05:23:20 +0000 (05:23 +0000)]
* i386/djgpp.h (CPP_PREDEFINES): Remove Unix defines.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32168
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sat, 26 Feb 2000 05:19:35 +0000 (05:19 +0000)]
* resource.c (mark_referenced_resources): Changed use SET_DEST (...)
to XEXP (..., 0) on RTL nodes which are not SET or CLOBBER.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32167
138bc75d-0d04-0410-961f-
82ee72b054a4
green [Sat, 26 Feb 2000 05:12:27 +0000 (05:12 +0000)]
2000-02-25 Anthony Green <green@cygnus.com>
* expr.c (build_class_init): Mark the decl to be ignored by
check_init.
* java-tree.h (DECL_BIT_INDEX): Move definition from check-init.c
* check-init.c: Move DECL_BIT_INDEX to java-tree.h
* class.c (init_test_hash_newfunc): New function.
(decl_hash): New function.
(decl_compare): New function.
* decl.c (emit_init_test_initialization): New function.
(complete_start_java_method): Traverse the init test hashtable,
calling emit_init_test_initialization.
(always_initialize_class_p): Define.
* expr.c (build_class_init): Use initialization tests when
emitting class initialization code.
(always_initialize_class_p): Declare.
* jcf-parse.c (parse_class_file): Set always_initialize_class_p to
1.
* java-tree.h: Include hash.h.
(DECL_FUNCTION_INIT_TEST_TABLE): Define.
(struct lang_decl): Add init_test_table field.
(init_test_hash_entry): Define.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32166
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sat, 26 Feb 2000 04:46:00 +0000 (04:46 +0000)]
* gcc.c-torture/execute/
20000225-1.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32165
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Sat, 26 Feb 2000 04:32:08 +0000 (04:32 +0000)]
* gjavah.c (main): Avoid using `argi' to report unimplemented
options.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32164
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sat, 26 Feb 2000 02:58:08 +0000 (02:58 +0000)]
* rtlanal.c (find_last_value): Allow NULL_RTX for valid_to.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32163
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sat, 26 Feb 2000 02:54:36 +0000 (02:54 +0000)]
* toplev.c (rest_of_compilation): Rebuild jump labels if
combine_instructions has created a new direct jump.
* combine.c (try_combine): Add new_direct_jump_p argument. Set it
when appropriate.
(combine_instructions): Call try_combine with new argument.
Return non-null value when new direct jump instruction is created.
* rtl.h: combine_instructions returns an int.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32162
138bc75d-0d04-0410-961f-
82ee72b054a4
apbianco [Sat, 26 Feb 2000 02:50:37 +0000 (02:50 +0000)]
Fri Feb 25 18:47:25 2000 Alexandre Petit-Bianco <apbianco@cygnus.com>
* jcf-write.c (generate_bytecode_insns): TRY_FINALLY_EXPR:
initialize locals to avoid warnings. Local `exception_type' moved
into if statement.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32161
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sat, 26 Feb 2000 02:50:12 +0000 (02:50 +0000)]
* cse.c (cse_insn): Replace the PATTERN of the insn with an new
jump when changing a computed jump into a jump to a known
target.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32160
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sat, 26 Feb 2000 02:24:11 +0000 (02:24 +0000)]
*** empty log message ***
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32159
138bc75d-0d04-0410-961f-
82ee72b054a4
apbianco [Sat, 26 Feb 2000 02:05:35 +0000 (02:05 +0000)]
Fri Feb 25 18:00:37 2000 Alexandre Petit-Bianco <apbianco@cygnus.com>
* parse.y (resolve_expression_name): Use `orig' as a second
argument to resolve_field_access.
(resolve_field_access): Removed unecessary code when dealing with
static fields.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32158
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Sat, 26 Feb 2000 01:50:50 +0000 (01:50 +0000)]
* rtl.texi: Fix typo.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32157
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Fri, 25 Feb 2000 23:49:34 +0000 (23:49 +0000)]
* jni.cc (_Jv_JNI_RegisterNatives): Conditionalize body on
`INTERPRETER'.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32156
138bc75d-0d04-0410-961f-
82ee72b054a4
amylaar [Fri, 25 Feb 2000 23:09:16 +0000 (23:09 +0000)]
ChangeLog typo fix for last final.c change: LABEL_ALIGN -> LOOP_ALIGN
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32155
138bc75d-0d04-0410-961f-
82ee72b054a4
amylaar [Fri, 25 Feb 2000 23:03:23 +0000 (23:03 +0000)]
Typo fix in ChangeLog: 1,$:s/sh_label_align/sh_loop_align/g
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32154
138bc75d-0d04-0410-961f-
82ee72b054a4
bryce [Fri, 25 Feb 2000 22:38:33 +0000 (22:38 +0000)]
2000-02-25 Bryce McKinlay <bryce@albatross.co.nz>
* java/net/URLConnection.java (initializeDateFormats): New
private method.
(getHeaderFieldDate): Call initializeDateFormats if required.
locale, dateFormat1, dateFormat2, dateFormat3: Don't initialize
these.
Fix for PR libgcj/38.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32153
138bc75d-0d04-0410-961f-
82ee72b054a4
amylaar [Fri, 25 Feb 2000 20:12:02 +0000 (20:12 +0000)]
* sh.c (calc_live_regs): Multiply value assigned to *COUNT_PTR by
UNITS_PER_WORD. Change caller initial_elimination_offset.
(rounded_frame_size): Take into account that argument pushed has
changed. Fix TARGET_ALIGN_DOUBLE problem.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32152
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Fri, 25 Feb 2000 19:13:44 +0000 (19:13 +0000)]
2000-02-25 Hans Boehm <boehm@acm.org>
* src/ia64/ffi.c, src/ia64/ia64_flags.h, src/ia64/unix.S: New
files.
* src/raw_api.c (ffi_translate_args): Fixed typo in argument
list.
(ffi_prep_raw_closure): Use ffi_translate_args, not
ffi_closure_translate.
* src/java_raw_api.c: New file.
* src/ffitest.c (closure_test_fn): New function.
(main): Define `rint' as long long on IA64. Added new test when
FFI_CLOSURES is defined.
* include/ffi.h.in (ALIGN): Use size_t, not unsigned.
(ffi_abi): Recognize IA64.
(ffi_raw): Added `flt' field.
Added "Java raw API" code.
* configure.in: Recognize ia64.
* Makefile.am (TARGET_SRC_IA64): New macro.
(libffi_la_common_SOURCES): Added java_raw_api.c.
(libffi_la_SOURCES): Define in IA64 case.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32151
138bc75d-0d04-0410-961f-
82ee72b054a4
geoffk [Fri, 25 Feb 2000 18:17:40 +0000 (18:17 +0000)]
* haifa-sched.c (schedule_block): Explain the real reason
we delete REG_SAVE_NOTEs on the first insn of a block.
Don't delete REG_SAVE_NOTES for NOTE_INSN_SETJMP.
* compile/
20000224-1.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32150
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Fri, 25 Feb 2000 11:21:25 +0000 (11:21 +0000)]
* compile/cpp-2.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32149
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Fri, 25 Feb 2000 11:18:22 +0000 (11:18 +0000)]
* compile/cpp-1.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32148
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Fri, 25 Feb 2000 08:45:07 +0000 (08:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32147
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Fri, 25 Feb 2000 05:05:40 +0000 (05:05 +0000)]
* gcc.dg/cpp-li2.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32146
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Fri, 25 Feb 2000 04:59:04 +0000 (04:59 +0000)]
* gcc.dg/cpp-wi1.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32145
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Fri, 25 Feb 2000 04:44:41 +0000 (04:44 +0000)]
* gcc.dg/cpp-li1.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32144
138bc75d-0d04-0410-961f-
82ee72b054a4
warrenl [Fri, 25 Feb 2000 04:00:09 +0000 (04:00 +0000)]
* java/math/BigInteger.java(ival): Made private.
(words): Ditto.
(neg): Ditto.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32143
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Fri, 25 Feb 2000 01:36:03 +0000 (01:36 +0000)]
* lex.c (check_newline): Use push_srcloc and pop_srcloc, rather
than duplicating functionality here.
* optimize.c: Include input.h.
(expand_call_inline): Use push_srcloc and pop_srcloc.
* parse.y (maybe_cv_qualifier): Remove calls to emit_line_note.
* parse.c: Regenerated.
* Makefile.in (lex.o): Depend on input.h.
(optimize.o): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32142
138bc75d-0d04-0410-961f-
82ee72b054a4
mmitchel [Fri, 25 Feb 2000 01:07:31 +0000 (01:07 +0000)]
* input.h (push_srcloc): New function.
(pop_srcloc): Likewise.
* toplev.c (push_srcloc): Define it.
(pop_srcloc): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32141
138bc75d-0d04-0410-961f-
82ee72b054a4
rth [Thu, 24 Feb 2000 22:32:10 +0000 (22:32 +0000)]
* flow.c (life_analysis): When collecting reg info, clear
regs_ever_live.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32139
138bc75d-0d04-0410-961f-
82ee72b054a4
amylaar [Thu, 24 Feb 2000 22:14:14 +0000 (22:14 +0000)]
Fix bug exposed by reload.c no longer rounding the frame
size to BIGGEST_ALIGNMENT:
* sh.c (rounded_frame_size): New function.
(sh_expand_prologue, sh_expand_epilogue): Use it.
(initial_elimination_offset): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32138
138bc75d-0d04-0410-961f-
82ee72b054a4
nickc [Thu, 24 Feb 2000 21:21:31 +0000 (21:21 +0000)]
Add support for an OS of "wince"
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32137
138bc75d-0d04-0410-961f-
82ee72b054a4
amylaar [Thu, 24 Feb 2000 20:09:30 +0000 (20:09 +0000)]
Fix breakage from 6th Feb thread_prologue_and_epilogue_insns change:
* sh-protos.h (sh_need_epilogue): Declare.
* sh.c (sh_need_epilogue_known): New static variable.
(sh_need_epilogue): New function.
(function_epilogue): Clear need_epilogue_known.
* sh.md (return): Split into expander / insn pattern.
Make the expander conditional on ! sh_need_epilogue ().
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32136
138bc75d-0d04-0410-961f-
82ee72b054a4
nathan [Thu, 24 Feb 2000 10:07:32 +0000 (10:07 +0000)]
* machmode.h (get_mode_alignment): Declare.
(GET_MODE_ALIGNMENT): Call it.
* stor-layout.c (get_mode_alignment): New function. Make
sure alignment is always power of 2.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32134
138bc75d-0d04-0410-961f-
82ee72b054a4
nathan [Thu, 24 Feb 2000 09:48:41 +0000 (09:48 +0000)]
* g++.old-deja/g++.other/sizeof5.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32133
138bc75d-0d04-0410-961f-
82ee72b054a4
nathan [Thu, 24 Feb 2000 09:48:18 +0000 (09:48 +0000)]
* decl.c (grokdeclarator): Diagnose qualifiers on non-member
function type, rather than ICE.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32132
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Thu, 24 Feb 2000 08:45:07 +0000 (08:45 +0000)]
Daily bump.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32131
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Thu, 24 Feb 2000 04:59:34 +0000 (04:59 +0000)]
* i386.h: Remove useless definition of "I386" and misleading
comment above it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32130
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Thu, 24 Feb 2000 04:35:59 +0000 (04:35 +0000)]
This has worked for the past three months
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32129
138bc75d-0d04-0410-961f-
82ee72b054a4
zack [Thu, 24 Feb 2000 04:04:06 +0000 (04:04 +0000)]
* tree.h (TREE_SET_PERMANENT): New macro. Document conditions
under which TREE_PERMANENT will be set.
* tree.c (make_node, copy_node, make_tree_vec, tree_cons,
build1): Use TREE_SET_PERMANENT.
* print-tree.c (print_node): Don't report value of
TREE_PERMANENT if ggc_p is true.
* c-common.c (c_get_alias_set): Don't use TREE_PERMANENT to
decide whether to give a type a new alias set.
* objc/objc-act.c (build_objc_string_object): Never copy the string.
* tree.c (make_node): Set DECL_IN_SYSTEM_HEADER irrespective
of value of 'obstack'.
* f/com.c (ffecom_type_permanent_copy_): Delete unused function.
(finish_decl): Don't change TREE_PERMANENT (DECL_INITIAL (decl)).
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32128
138bc75d-0d04-0410-961f-
82ee72b054a4
sirl [Wed, 23 Feb 2000 23:16:36 +0000 (23:16 +0000)]
* execute/va-arg-13.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32127
138bc75d-0d04-0410-961f-
82ee72b054a4
dlindsay [Wed, 23 Feb 2000 22:17:04 +0000 (22:17 +0000)]
New test. Approved by rth.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32126
138bc75d-0d04-0410-961f-
82ee72b054a4
m.hayes [Wed, 23 Feb 2000 21:03:21 +0000 (21:03 +0000)]
* config/c4x/c4x.c (c4x_process_after_reload): Split all insns.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32125
138bc75d-0d04-0410-961f-
82ee72b054a4
tromey [Wed, 23 Feb 2000 20:46:18 +0000 (20:46 +0000)]
* gjavah.c (print_name): In JNI case, correctly quote string.
(print_method_info): Don't handle overrides in JNI mode.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32124
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Wed, 23 Feb 2000 20:25:49 +0000 (20:25 +0000)]
* decl.c (grokdeclarator): Call decl_type_access_control.
* parse.y (parse_end_decl): Don't call decl_type_access_control if
decl is null.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32123
138bc75d-0d04-0410-961f-
82ee72b054a4
jason [Wed, 23 Feb 2000 20:23:15 +0000 (20:23 +0000)]
new
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32122
138bc75d-0d04-0410-961f-
82ee72b054a4
aoliva [Wed, 23 Feb 2000 19:21:07 +0000 (19:21 +0000)]
* cpplib.h (enum cpp_token): Added CPP_WCHAR and CPP_WSTRING.
* cpplib.c (cpp_get_token): Produce them.
* cppexp.c (cpp_lex): Handle them.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32121
138bc75d-0d04-0410-961f-
82ee72b054a4
nickc [Wed, 23 Feb 2000 19:08:51 +0000 (19:08 +0000)]
(arm_comp_type_attributes): Simply and comment tests on type attributes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32120
138bc75d-0d04-0410-961f-
82ee72b054a4
nickc [Wed, 23 Feb 2000 18:30:27 +0000 (18:30 +0000)]
oops - fixed typo in previous delta
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32119
138bc75d-0d04-0410-961f-
82ee72b054a4
nickc [Wed, 23 Feb 2000 18:29:25 +0000 (18:29 +0000)]
Fix arm_comp_type_attributes
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32118
138bc75d-0d04-0410-961f-
82ee72b054a4
nathan [Wed, 23 Feb 2000 18:14:28 +0000 (18:14 +0000)]
* execute/
20000223-1.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32117
138bc75d-0d04-0410-961f-
82ee72b054a4
nathan [Wed, 23 Feb 2000 17:27:07 +0000 (17:27 +0000)]
* g++.old-deja/g++.pt/memtemp79.C: Fixed. Remove XFAIL.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32116
138bc75d-0d04-0410-961f-
82ee72b054a4
nathan [Wed, 23 Feb 2000 17:25:29 +0000 (17:25 +0000)]
* decl.c (decls_match): Remove obsolete static member nadgering.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32115
138bc75d-0d04-0410-961f-
82ee72b054a4
amylaar [Wed, 23 Feb 2000 17:18:15 +0000 (17:18 +0000)]
* final.c (shorten_branches): Make value passed to LABEL_ALIGN
conform to documentation.
* sh.h (LABEL_ALIGN): If aligning loops, call sh_label_align
to check for special cases.
* sh-protos.h (sh_label_align): Declare.
* sh.c (sh_label_align): Define.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32114
138bc75d-0d04-0410-961f-
82ee72b054a4