summaryrefslogtreecommitdiffstats
path: root/gcc/objc
Commit message (Collapse)AuthorAgeFilesLines
...
* Fixes a problem compiling on sparcs where STRUCT_VALUE is defined inghazi1998-04-211-0/+1
| | | | | | | | | | sparc.h to use gen_rtx_MEM() and then evaluated in an #if directive in sendmsg.c. * objc/sendmsg.c: Define gen_rtx_MEM() to 1, as is already done for gen_rtx(MEM, ...). git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19353 138bc75d-0d04-0410-961f-82ee72b054a4
* More system.h cutover patches:ghazi1998-04-063-17/+3
| | | | | | | | | | | | | * c-parse.in: Include system.h, and remove stuff now made redundant. * cccp.c: Likewise. * cexp.y: Likewise. * protoize.c: Likewise. Properly check for cpp stringification. * Makefile.in (c-parse.o, cccp.o, cexp.o, protoize.o, unprotoize.o): Depend on system.h. * objc/Make-lang.in (objc-parse.o): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19020 138bc75d-0d04-0410-961f-82ee72b054a4
* * objc/objc-act.c (encode_aggregate_within): Avoid GNU extensionslaw1998-04-061-3/+3
| | | | | | | in prototype and definition. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19016 138bc75d-0d04-0410-961f-82ee72b054a4
* * Check in merge from gcc2. See ChangeLog.11 and ChangeLog.12law1998-04-043-11/+13
| | | | | | | | | for details. * haifa-sched.c: Mirror recent changes from gcc2. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18984 138bc75d-0d04-0410-961f-82ee72b054a4
* * gthr.h: Support systems that don't have weak, but have threads.law1998-04-021-0/+192
| | | | | | | | | * configure.in (*wrs-vxworks*): Use VxWorks threads by default. * gthr-vxworks.h: New file. * objc/thr-vxworks.h: Dummy file from thr-single.c for now. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18971 138bc75d-0d04-0410-961f-82ee72b054a4
* * objc/sendmsg.c (__objc_block_forward): Add braces for returnlaw1998-03-281-11/+23
| | | | | | | value if INVISIBLE_STRUCT_RETURN. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18886 138bc75d-0d04-0410-961f-82ee72b054a4
* * c-lang.c (lang_print_xnode): New function.law1998-03-231-0/+11
| | | | | | | | | * objc/objc-act.c (lang_print_xnode): Likewise. * print-tree.c (print_node): Call it * com.c (lang_print_xnode): New function. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18789 138bc75d-0d04-0410-961f-82ee72b054a4
* * c-parse.in: Recognize protocol qualifiers in classlaw1998-03-232-7/+7
| | | | | | | | | | definitions for objc. Include "output.h". (yyerror): Remove redundant decl. (yyprint): Fix prototype. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18788 138bc75d-0d04-0410-961f-82ee72b054a4
* * objc/Makefile.in: Various fixes for building cygwin32 native ↵law1998-03-212-4/+4
| | | | | | | | | toolchains. * objc/Make-lang.in: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18744 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix warious warnings:ghazi1998-02-281-7/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * c-aux-info.c: Include string.h/strings.h. * pa.c: Include stdlib.h. (pa_combine_instructions): Prototype the function. (pa_can_combine_p, forward_branch_p, shadd_constant_p): Likewise. (reloc_needed): Add default case for enumeration switch. (remove_useless_addtr_insns): Remove unused variable `all'. (hppa_expand_prologue): Add explicit braces to avoid ambiguous `else'. (output_function_epilogue): Remove unused variable `i'. (output_millicode_call): Remove unused variable `link'. (shadd_constant_p, forward_branch_p): Make the function static. (following_call): Explicitly declare to return int. (pa_reorg): Declare as void. (pa_combine_instructions): Declare as static void. Add parentheses around && within ||. * pa.h: Add prototypes for pa_reorg, symbolic_operand, following_call, function_label_operand, lhs_lshift_cint_operand and zdepi_cint_p. * pa.md: Add parentheses around && within ||. * cppalloc.c: Include stdlib.h. * cpperror.c (cpp_print_containing_files): Remove unused variable `i'. Fix format specifier in fprintf. * cse.c (cse_around_loop): Add explicit braces to avoid ambiguous `else'. (delete_dead_from_cse): Wrap variable `tem' in macro HAVE_cc0. * expr.c (expand_expr): Add parentheses around && within ||. * final.c (app_enable): Replace fprintf with fputs where there are no format specifiers and no trailing argument after the string. Eg, when printing ASM_APP_ON/ASM_APP_OFF. (app_disable): Likewise. (final_end_function): Likewise. (final_scan_insn): Likewise. Remove unused variable `set'. (profile_function): Wrap empty if-statement body in {} brackets. * function.c: Include stdlib.h. (pad_below): Wrap prototype and definition in ARGS_GROW_DOWNWARD. (reposition_prologue_and_epilogue_notes): Add parentheses around assignment used as truth value. * integrate.c (expand_inline_function): Wrap variable `cc0_insn' in macro HAVE_cc0. * jump.c (jump_optimize): Wrap variable `q' in macro HAVE_cc0. Remove unused variable `prev1'. * libgcc2.c (__bb_exit_trace_func): Add parentheses around && within ||. Fix format specifier in fprintf. (__bb_init_prg): Add parentheses around assignment used as truth value. * local-alloc.c: Include stdlib.h. (requires_inout): Add parentheses around assignment used as truth value. * loop.c (analyze_loop_iterations): Wrap prototype and definition in macro HAVE_decrement_and_branch_on_count. (insert_bct, instrument_loop_bct): Likewise. (move_movables): Add parentheses around assignment used as truth value. (consec_sets_invariant_p): Likewise. (maybe_eliminate_biv_1): Wrap variable `new' in macro HAVE_cc0. * objc/objc-act.c: Include stdlib.h. (lookup_method_in_protocol_list): Wrap empty else-statement body in braces. (lookup_protocol_in_reflist): Likewise. (objc_add_static_instance): Remove unused variables `decl_expr' and `decl_spec'. (get_objc_string_decl): Remove unused variable `decl'. (generate_static_references): Remove unused variables `idecl' and `instance'. (check_protocols): Wrap empty else-statement body in braces. * protoize.c: Include stdlib.h. (substr): Add parentheses around assignment used as truth value. (abspath): Likewise. (shortpath): Likewise. * regmove.c (fixup_match_1): Add parentheses around assignment used as truth value. * reload.c (push_secondary_reload): Remove unused variable `i'. (find_reloads): Add parentheses around assignment used as truth value. * reload1.c: Include stdlib.h. * rtl.h: Correct typo in prototype of offsettable_memref_p. * stmt.c (add_case_node): Add parentheses around assignment used as truth value. (case_tree2list): Likewise. * tree.c (valid_machine_attribute): Wrap variable `decl_attr_list' in macro VALID_MACHINE_DECL_ATTRIBUTE. Wrap variable `type_attr_list' in macro VALID_MACHINE_TYPE_ATTRIBUTE. (merge_attributes): Add explicit braces to avoid ambiguous `else'. * unroll.c (copy_loop_body): Wrap variable `cc0_insn' in macro HAVE_cc0. * varasm.c: Include stdlib.h. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18290 138bc75d-0d04-0410-961f-82ee72b054a4
* * objc/Object.m (-error): Call objc_verror with our va_list.rth1998-02-221-2/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18167 138bc75d-0d04-0410-961f-82ee72b054a4
* * objc/Make-lang.in (objc.stage1): Depend on stage1-start.law1998-01-251-4/+4
| | | | | | | (objc.stage2, objc.stage3, objc.stage4): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17473 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix typo in yesterday's change.law1998-01-211-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17438 138bc75d-0d04-0410-961f-82ee72b054a4
* Remove more bytecode stuff.law1998-01-201-2/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17436 138bc75d-0d04-0410-961f-82ee72b054a4
* Rebuilt.law1998-01-201-70/+78
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17428 138bc75d-0d04-0410-961f-82ee72b054a4
* * objc-parse.c: Recognize protocol qualifiers in class definitions.law1998-01-171-0/+8
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17389 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.in (GTHREAD_FLAGS): New var.law1997-12-241-0/+281
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (LIBGCC2_CFLAGS): Added $(GTHREAD_FLAGS). (distclean): Remove gthr-default.h. * configure.in: Accept dce as a thread package. Check for thread.h and pthread.h. Link gthr-default.h to appropriate thread file and set gthread_flags. (hppa1.1-*-hpux10*): If --enable-threads, use dce threads and include multilib definitions from pa/t-dce-thr. (sparc-*-solaris2*): Enable threads by default, if thread.h or pthread.h is found, preferring posix threads over solaris ones. * config/pa/t-dce-thr: New file. * config/pa/t-pa: Removed multilibs. * config/sparc/t-sol2: Ditto. * gthr.h: New file. * gthr-single.h: New file. * gthr-posix.h: New file. * gthr-solaris.h: New file. * gthr-dce.h: New file. * libgcc-thr.h: Removed. * objc/thr-dce.c: New file copied from thr-decosf1.c. * frame.c: Include gthr.h instead of libgcc-thr.h. * libgcc2.c: Include gthr.h instead of libgcc-thr.h. (eh_context_initialize): If __gthread_once fails, use static eh context. (eh_context_free): Call __gthread_key_dtor. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17235 138bc75d-0d04-0410-961f-82ee72b054a4
* * cse.c (rtx_cost): Add default case in enumeration switch.law1997-12-221-0/+10
| | | | | | | | | | | | * fix-header.c (recognized_macro): Likewise. (recognized_extern): Likewise. (write_rbrac): Likewise. * objc/objc-act.c (encode_aggregate): Likewise. (gen_declarator): Likewise. (gen_declspecs): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17186 138bc75d-0d04-0410-961f-82ee72b054a4
* * objc/Make-lang.in: Create runtime-info.h and libobjc_entry.o inlaw1997-12-181-8/+9
| | | | | | | | | | | | the build directory. (libobjc.a): Update dependency list. (libobjc.dll): Likewise. Use libobjc_entry.o from the build directory. (objc/sendmsg.o): Add -Iobjc to find runtime-info.h. (objc.mostlyclean): Remove runtime-info.h. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17143 138bc75d-0d04-0410-961f-82ee72b054a4
* Rebuild after recent changes.law1997-12-121-496/+495
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17074 138bc75d-0d04-0410-961f-82ee72b054a4
* * tree.c, tree.h: Change tree_code_type, tree_code_length, andlaw1997-12-122-24/+14
| | | | | | | | | | | | | | | tree_code_name from pointers to arrays. * tree.c: Remove standard_tree_code_* variables, no longer used. * print-tree.c: Remove declaration of tree_code_name. * cp/lex.c (init_lex): Update for tree_code_* changes. * objc/objc-act.c (init_objc): Likewise. * tree.def, cp/cp-tree.def, objc/objc-tree.def: Update for tree_code changes. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17061 138bc75d-0d04-0410-961f-82ee72b054a4
* * objc/objc-act.c (lang_report_error_function): Disable.law1997-12-122-10/+161
| | | | | | | | | | | * objc/objc-parse.y: Include "output.h". (yyerror): Remove redundant decl. (yyprint): Fix prototype. (apply_args_register_offset): Remove redundant decl. (get_file_function_name): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17057 138bc75d-0d04-0410-961f-82ee72b054a4
* Merge from gcc-2.8law1997-12-071-10/+16
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@16987 138bc75d-0d04-0410-961f-82ee72b054a4
* Update mainline egcs to gcc2 snapshot 971021.law1997-11-022-52/+52
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@16278 138bc75d-0d04-0410-961f-82ee72b054a4
* This commit was generated by cvs2svn to compensate for changes in r16274,law1997-11-022-1763/+1778
| | | | | | | which included commits to RCS files with non-trunk default branches. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@16275 138bc75d-0d04-0410-961f-82ee72b054a4
* H.J. Lu's SMP patch.wilson1997-08-261-0/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14924 138bc75d-0d04-0410-961f-82ee72b054a4
* Initial revisionlaw1997-08-112-0/+8041
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14764 138bc75d-0d04-0410-961f-82ee72b054a4
* * objc/Make-lang.in (OBJC_CCOMMON): Removed.bothner1997-08-021-7/+3
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14632 138bc75d-0d04-0410-961f-82ee72b054a4
* * objc/objc-act.c (lang_init): Don't check_newline #if USE_CPPLIB.bothner1997-08-011-0/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14601 138bc75d-0d04-0410-961f-82ee72b054a4
* Comment out lines containing just formfeeds.eggert1997-07-212-8/+8
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14514 138bc75d-0d04-0410-961f-82ee72b054a4
* (copy-headers): Use $(srcdir) from this makefile, not the parent's.kenner1997-07-181-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14477 138bc75d-0d04-0410-961f-82ee72b054a4
* (objc-headers): Fix command for the new build directory layout, don'tkenner1997-07-181-8/+5
| | | | | | | pass srcdir variable. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14476 138bc75d-0d04-0410-961f-82ee72b054a4
* Remove unapproved change.kenner1997-07-141-2/+0
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14433 138bc75d-0d04-0410-961f-82ee72b054a4
* ($(OBJC_O)): Also depend on $(GCC_PASSES).meyering1997-07-071-0/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14395 138bc75d-0d04-0410-961f-82ee72b054a4
* ($(srcdir)/objc/objc-parse.c): Fix command to use the right file names.kenner1997-07-021-2/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14383 138bc75d-0d04-0410-961f-82ee72b054a4
* Initial revisionkenner1997-06-272-0/+216
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14359 138bc75d-0d04-0410-961f-82ee72b054a4
* (libobjc_entry.o, libobjc_s.a, libobjc.dll): New targets.kenner1997-06-271-3/+37
| | | | | | | | (objc.install-normal): Install Objective-C runtime as a DLL. (objc.mostlyclean): Clean up files used to build DLL. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14358 138bc75d-0d04-0410-961f-82ee72b054a4
* (search_for_method_in_list): No longer static.kenner1997-06-271-2/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14356 138bc75d-0d04-0410-961f-82ee72b054a4
* Print message about ObjC thread file.kenner1997-06-271-0/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14351 138bc75d-0d04-0410-961f-82ee72b054a4
* (OBJC_THREAD_FILE): New definition.kenner1997-06-271-0/+3
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14350 138bc75d-0d04-0410-961f-82ee72b054a4
* * objc/Make-lang.in (OBJC_CCOMMON): Object files don't go in srcdir.dje1997-06-271-35/+34
| | | | | | | | | | (OBJC_OBJS): Likewise. (OBJC_O): Likewise. (objc-parse.o, objc-act.o): Fix rules. (objc/libobjc files): Fix rules. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14347 138bc75d-0d04-0410-961f-82ee72b054a4
* (__objc_thread_yield): Use sched_yield instead.kenner1997-06-271-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14327 138bc75d-0d04-0410-961f-82ee72b054a4
* (objc-runtime): Add objc-headers.kenner1997-06-251-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14320 138bc75d-0d04-0410-961f-82ee72b054a4
* Define front-end/back-end interface functions and structures.kenner1997-06-251-22/+61
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14311 138bc75d-0d04-0410-961f-82ee72b054a4
* Completely rework according to new interface.kenner1997-06-2510-2198/+1632
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14310 138bc75d-0d04-0410-961f-82ee72b054a4
* Reorganize thread implementation to make a clearly definedkenner1997-06-251-25/+63
| | | | | | | front-end/back-end interface. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14309 138bc75d-0d04-0410-961f-82ee72b054a4
* (__objc_register_instance_methods_to_class): New function.kenner1997-06-251-0/+4
| | | | | | | Add missing function prototypes. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14308 138bc75d-0d04-0410-961f-82ee72b054a4
* (__objc_register_instance_methods_to_class): New function.kenner1997-06-251-0/+65
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14307 138bc75d-0d04-0410-961f-82ee72b054a4
* (OBJC_ERR_BAD_STATE): New error code.kenner1997-06-251-6/+8
| | | | | | | | On NeXT redefine object_copy and object_dispose to avoid a conflict with those defined in system library. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14306 138bc75d-0d04-0410-961f-82ee72b054a4
* (method_get_sizeof_arguments): Fix typo.kenner1997-06-251-2/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14305 138bc75d-0d04-0410-961f-82ee72b054a4
OpenPOWER on IntegriCloud