aboutsummaryrefslogtreecommitdiff
path: root/gcc/gthr-win32.h
AgeCommit message (Collapse)AuthorFilesLines
2009-08-25gthr-win32.h (__UNUSED_PARAM): Define, if not already present.Kai Tietz1-7/+12
2009-08-25 Kai Tietz <kai.tietz@onevision.com> * gcc/gthr-win32.h (__UNUSED_PARAM): Define, if not already present. (__gthread_objc_condition_allocate): Mark arguments as unused. (__gthread_objc_condition_deallocate): Likewise. (__gthread_objc_condition_wait): Likewise. (__gthread_objc_condition_broadcast): Likewise. (__gthread_objc_condition_signal): Likewise. (__gthread_objc_thread_detach): Cast via INT_PTR to pointer. (__gthread_objc_thread_id): Likewise. From-SVN: r151077
2009-05-30mingw-tls.c: New file.Kai Tietz1-3/+2
2009-05-30 Kai Tietz <kai.tietz@onevision.com> * config/i386/mingw-tls.c: New file. * config/i386/t-gthr-win32 (LIB2FUNCS_EXTRA): Add mingw-tls.c file. * gthr-win32.h (MINGW32_SUPPORTS_MT_EH): Define it for targets defining _WIN32 but not __CYGWIN__. From-SVN: r148000
2009-04-09Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception.Jakub Jelinek1-12/+9
From-SVN: r145841
2009-02-16gthr-dce.h: Uglify function parameter and local variable names.Jakub Jelinek1-111/+111
* gthr-dce.h: Uglify function parameter and local variable names. * gthr-gnat.h: Likewise. * gthr-mipssde.h: Likewise. * gthr-nks.h: Likewise. * gthr-posix95.h: Likewise. * gthr-posix.h: Likewise. * gthr-rtems.h: Likewise. * gthr-single.h: Likewise. * gthr-solaris.h: Likewise. * gthr-tpf.h: Likewise. * gthr-vxworks.h: Likewise. * gthr-win32.h: Likewise. From-SVN: r144201
2008-09-03gthr-win32.h (CONST_CAST2): Really make sure CONST_CAST2 is defined.Danny Smith1-5/+10
* gthr-win32.h (CONST_CAST2): Really make sure CONST_CAST2 is defined. (__gthread_setspecific): Revert 2008-08-31 change to __GTHREAD_HIDE_W32API case. Apply it to !__GTHREAD_HIDE_W32API case. From-SVN: r139927
2008-08-31gthr-win32.h (__gthread_setspecific): Use CONST_CAST2.Aaron W. LaFramboise1-1/+4
2008-08-31 Aaron W. LaFramboise <aaronavay62@aaronwl.com> * gcc/gthr-win32.h (__gthread_setspecific): Use CONST_CAST2. From-SVN: r139839
2008-03-04* gthr-win32.h [__GTHREAD_HIDE_WIN32API]Danny Smith1-0/+7
(__gthr_win32_mutex_destroy): Declare. [__GTHREAD_HIDE_WIN32API] (__gthread_mutex_destroy): Use __gthr_win32_mutex_destroy * config/i386/gthr-win32.c (__gthr_win32_mutex_destroy): Define. From-SVN: r132853
2008-03-01re PR libfortran/35063 (Clean up use of destroy_unit_mutex())Janne Blomqvist1-4/+1
gcc: 2008-03-01 Janne Blomqvist <jb@gcc.gnu.org> PR gcc/35063 * gthr.h: Add __gthread_mutex_destroy as a function that must be implemented. * gthr-vxworks.h (__gthread_mutex_destroy): Null implementation. * gthr-single.h (__gthread_mutex_destroy): Likewise. * gthr-rtems.h (__gthread_mutex_destroy): Likewise. * gthr-mipssde.h (__gthread_mutex_destroy): Likewise. * gthr-nks.h (__gthread_mutex_destroy): Likewise. * gthr-solaris.h (__gthread_mutex_destroy): Call mutex_destroy. * gthr-win32.h (__GTHREAD_MUTEX_DESTROY_FUNCTION): Remove. (__gthread_mutex_destroy_function): Rename to __gthread_mutex_destroy. * gthr-dce.h (__gthread_mutex_destroy): Call pthread_mutex_destroy. * gthr-tpf.h (__gthread_mutex_destroy): Likewise. * gthr-posix.h (__gthread_mutex_destroy): Likewise. * gthr-posix95.h (__gthread_mutex_destroy): Likewise. libgfortran: 2008-03-01 Janne Blomqvist <jb@gcc.gnu.org> PR libfortran/35063 * io/unit.c (destroy_unit_mutex): Call __gthread_mutex_destroy instead of macro kludge. From-SVN: r132800
2008-02-10[multiple changes]Jerry DeLisle1-0/+9
2008-02-10 Danny Smith <dannysmith@users.sourceforge.net> PR gcc/35063 * gthr-win32.h (__gthread_mutex_destroy_function): New function to CloseHandle after unlocking to prevent accumulation of handle count. 2008-02-10 Jerry DeLisle <jvdelisle@gcc.gnu.org> PR libfortran/35063 * io/unit.c (destroy_unit_mutex): New function that uses __gthread_mutex_destroy_function or pthread_mutex_destroy after unlocking and before free_mem for final closure of I/O unit. (delete_root): Use new function. (free_internal_unit): Likewise. (close_unit_1): Likewise. From-SVN: r132217
2007-03-30cygming.h (DWARF2_DEBUGGING_INFO): Enable by default for 64-bit.Richard Henderson1-1/+2
gcc/ * config/i386/cygming.h (DWARF2_DEBUGGING_INFO): Enable by default for 64-bit. (PREFERRED_DEBUGGING_TYPE): Prefer dwarf2 for 64-bit. (TARGET_64BIT_MS_ABI): New. (DBX_REGISTER_NUMBER): Handle 64-bit. (SIZE_TYPE, PTRDIFF_TYPE): Use long long for 64-bit. (LONG_TYPE_SIZE): Force to 32. (REG_PARM_STACK_SPACE): New. (OUTGOING_REG_PARM_STACK_SPACE): New. (REGPARM_MAX, SSE_REGPARM_MAX): New. (HANDLE_PRAGMA_PUSH_POP_MACRO): New. (STACK_BOUNDARY): Use 128 for 64-bit. * config/i386/cygwin.asm: Use push/ret to preserve call stack. Add 64-bit implementation. * config/i386/gthr-win32.c (__gthr_win32_key_create): Mark dtor argument unused. * config/i386/i386.c (x86_64_ms_abi_int_parameter_registers): New. (override_options): Set ix86_cmodel for TARGET_64BIT_MS_ABI. Warn for -mregparm, -mrtd in 64-bit mode; force ix86_regparm for 64-bit; use TARGET_SUBTARGET64_DEFAULT. (ix86_handle_cconv_attribute): Don't warn when ignoring if TARGET_64BIT_MS_ABI. (ix86_function_arg_regno_p): Handle TARGET_64BIT_MS_ABI. (ix86_pass_by_reference): Likewise. (ix86_function_value_regno_p): Likewise. (ix86_build_builtin_va_list): Likewise. (ix86_va_start, ix86_gimplify_va_arg): Likewise. (function_arg_advance_ms_64): New. (function_arg_advance): Call it. (function_arg_ms_64): New. (function_arg): Call it. (function_value_ms_64): New. (ix86_function_value_1): Call it. (return_in_memory_ms_64): New. (ix86_return_in_memory): Call it. (setup_incoming_varargs_ms_64): New. (ix86_setup_incoming_varargs): Call it. (ix86_expand_prologue): Handle 64-bit stack probing. (legitimize_pic_address): Handle TARGET_64BIT_MS_ABI. (output_pic_addr_const): Likewise. (x86_this_parameter): Likewise. (x86_output_mi_thunk): Likewise. (x86_function_profiler): Likewise. (TARGET_STRICT_ARGUMENT_NAMING): New. * config/i386/i386.h (TARGET_SUBTARGET64_DEFAULT): New. (TARGET_64BIT_MS_ABI): New. (CONDITIONAL_REGISTER_USAGE): Handle TARGET_64BIT_MS_ABI. * config/i386/i386.md (allocate_stack_worker): Remove. (allocate_stack_worker_32): Rename from allocate_stack_worker_1; describe the clobber of eax without a match_scratch. (allocate_stack_worker_postreload): Remove. (allocate_stack_worker_64): Rename from allocate_stack_worker_rex64; describe the clobbers of rax, r10, r11 properly; use __chkstk symbol. (allocate_stack_worker_rex64_postreload): Remove. (allocate_stack): Handle 64-bit. * config/i386/i386elf (TARGET_SUBTARGET_DEFAULT): Remove. * config/i386/mingw32.h (TARGET_VERSION): Set correctly for 64-bit. (EXTRA_OS_CPP_BUILTINS): Handle 64-bit. (STANDARD_INCLUDE_DIR): Handle TARGET_64BIT_DEFAULT. (STANDARD_STARTFILE_PREFIX_1): Likewise. * config/i386/unix.h (TARGET_SUBTARGET64_DEFAULT): New. * config.build (x86_64-*-mingw*): New host. * config.host (x86_64-*-mingw*): New host. * config.gcc (x86_64-*-mingw*): New target. * gthr-win32.h (__gthread_key_create): Mark dtor unused. libgcc/ * config.host (x86_64-*-mingw*): New target. Co-Authored-By: Kai Tietz <kai.tietz@onevision.com> From-SVN: r123372
2005-06-25Update FSF address.Kelley Cook1-2/+2
From-SVN: r101317
2005-04-28attribs.c, [...]: Update copyright.Kazu Hirata1-1/+3
* attribs.c, c-pragma.c, caller-save.c, cfghooks.h, coverage.c, cselib.h, domwalk.c, domwalk.h, errors.c, errors.h, gcov-dump.c, gcov-io.c, gcov-io.h, gen-protos.c, genattrtab.h, genextract.c, gthr-win32.h, insn-notes.def, integrate.c, lambda-mat.c, lambda.h, libgcov.c, local-alloc.c, machmode.def, mips-tfile.c, params.c, pretty-print.c, print-rtl.c, protoize.c, regmove.c, sched-vis.c, tree-chrec.h, tree-data-ref.h, vec.h, config/darwin-c.c, config/sol2-c.c, config/sol2.c, config/arm/arm-cores.def, config/arm/cirrus.md, config/arm/symbian.h, config/c4x/c4x.c, config/c4x/c4x.h, config/i386/cygming.h, config/i386/djgpp.h, config/i386/lynx.h, config/i386/netware.c, config/i386/winnt.c, config/ia64/ia64-c.c, config/iq2000/iq2000.c, config/m32r/little.h, config/m68k/m68k-protos.h, config/m68k/m68k.h, config/m68k/m68k.md, config/mcore/mcore.c, config/mcore/mcore.h, config/mmix/mmix.c, config/mmix/mmix.md, config/mn10300/mn10300-protos.h, config/mn10300/mn10300.c, config/mn10300/mn10300.h, config/ns32k/netbsd.h, config/ns32k/ns32k.c, config/ns32k/ns32k.h, config/pa/pa-hpux11.h, config/pdp11/pdp11.c, config/pdp11/pdp11.h, config/rs6000/darwin.h, config/rs6000/default64.h, config/rs6000/rs6000-c.c, config/s390/2064.md, config/s390/2084.md, config/s390/s390-modes.def, config/s390/s390-protos.h, config/s390/tpf.h, config/sh/sh.h, config/sh/symbian.c, config/stormy16/stormy16.c, config/vax/vax-protos.h, config/vax/vax.c, config/vax/vax.h, config/xtensa/lib1funcs.asm, config/xtensa/xtensa.md: Update copyright. From-SVN: r98914
2005-04-09dominance.c, [...]: Fix comment typos.Kazu Hirata1-1/+1
* dominance.c, gthr-win32.h, reg-stack.c, tree-ssa-copy.c, tree-ssa-operands.c, tree-ssa.c, tree-vrp.c, varasm.c, config/alpha/alpha.c, config/arm/arm.c, config/m32r/m32r.h, config/rs6000/predicates.md: Fix comment typos. From-SVN: r97904
2004-09-25c-typeck.c, [...]: Fix comment formatting.Kazu Hirata1-1/+1
* c-typeck.c, defaults.h, dwarf.h, dwarf2out.c, fold-const.c, gthr-dce.h, gthr-posix.h, gthr-solaris.h, gthr-win32.h, lambda-code.c, lambda-mat.c, libgcc2.c, stmt.c, tree-ssa-pre.c, tree-vn.c, tree.h: Fix comment formatting. From-SVN: r88102
2004-09-01gthr-win32.h (__gthread_recursive_mutex_t): Use 'unsigned long', not Windows ↵Wu Yongwei1-4/+17
'DWORD'. * gthr-win32.h (__gthread_recursive_mutex_t): Use 'unsigned long', not Windows 'DWORD'. (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): Correct typo. (__GTHREAD_RECURSIVE_MUTEX_INIT_DEFAULT): Likewise. (__gthr_win32_recursive_mutex_init_function): Add prototype for __GTHREAD_HIDE_WIN32API case.. (__gthr_win32_recursive_mutex_lock): Likewise. (__gthr_win32_recursive_mutex_trylock): Likewise. (__gthr_win32_recursive_mutex_unlock): Likewise. (__gthread_recursive_mutex_init_function); Add definition for __GTHREAD_HIDE_WIN32API case. (__gthread_recursive_mutex_lock): Correct call to InterlockedDecrement. * config/i386/grthr-win32.c (__gthread_recursive_mutex_lock): Correct call to InterlockedDecrement. Co-Authored-By: Danny Smith <dannysmith@users.sourceforge.net> From-SVN: r86939
2004-08-27re PR c++/13684 (local static object variable constructed once but ctors and ↵Jason Merrill1-0/+113
dtors called multiple times on same memory when called in multiple threads) PR c++/13684 * cp/decl.c (expand_static_init): Use thread-safety API. (register_dtor_fn): Return the call, don't expand it. * cp/tree.c (add_stmt_to_compound): New fn. (stabilize_call): Use it. * gimplify.c (gimplify_cleanup_point_expr): Handle CLEANUP_EH_ONLY. (gimple_push_cleanup): Add eh_only parm. (gimplify_target_expr): Pass it. * c.opt (-fno-threadsafe-statics): New option. * c-opts.c (c_common_handle_option): Handle it. * c-common.h (flag_threadsafe_statics): Declare it. * c-common.c (flag_threadsafe_statics): Record it. * doc/invoke.texi: Document it. * tsystem.h (_GNU_SOURCE): Define. * gthr-posix.h (__gthread_recursive_mutex_t): New typedef. (__GTHREAD_RECURSIVE_MUTEX_INIT): New macro. (__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): New macro. (__gthread_recursive_mutex_init_function): New fn. (__gthread_recursive_mutex_lock): New fn. (__gthread_recursive_mutex_trylock): New fn. (__gthread_recursive_mutex_unlock): New fn. * gthr-solaris.h, gthr-single.h, gthr-dce.h: Likewise. * gthr-win32.h, gthr-vxworks.h: Likewise. * gthr.h: Document. * libsupc++/guard.cc (static_mutex): Internal class implementing a recursive mutex which controls initialization of local statics. (__gnu_cxx::recursive_init): New exception class. (__cxa_guard_acquire): Deal with locking and recursion detection. (acquire_1, __cxa_guard_abort, __cxa_guard_release): Likewise. From-SVN: r86687
2004-06-23gthr-win32.h (__GTHREAD_MUTEX_INIT_DEFAULT): Adjust.Wu Yongwei1-7/+30
2004-06-23 Wu Yongwei <adah@sh163.net> * gthr-win32.h (__GTHREAD_MUTEX_INIT_DEFAULT): Adjust. (__gthr_i486_lock_cmp_xchg): New inline assembly function. (__GTHR_W32_InterlockedCompareExchange): New macro to choose a suitable function for interlocked compare-and-exchange. (__gthread_mutex_trylock): Use __GTHR_W32_InterlockedCompareExchange. (__gthread_mutex_init_function, __gthread_mutex_lock, __gthread_mutex_trylock, __gthread_mutex_unlock): Adjust the initial counter value to work correctly under Windows 95. * config/i386/gthr-win32.c: Adjust include order. Define __GTHREAD_I486_INLINE_LOCK_PRIMITIVES before including gthr-win32.h. (__gthr_win32_mutex_init_function, __gthr_win32_mutex_lock, __gthr_win32_mutex_trylock, __gthr_win32_mutex_unlock): Adjust to match inline versions in gthr-win32.h. From-SVN: r83569
2004-04-27gthr-win32.h (__gthread_mutex_t): Change typedef to new structure.Wu Yongwei1-15/+25
2004-04-27 Wu Yongwei <adah@sh163.net> * gthr-win32.h (__gthread_mutex_t): Change typedef to new structure. (__GTHREAD_MUTEX_INIT_DEFAULT): Adjust. (__gthread_mutex_init_function): Replace CreateMutex with initialization of custom mutex using CreateSemaphore. (__gthread_mutex_lock): Use InterlockedIncrement. (__gthread_mutex_trylock): Use InterlockedCompareExchange. (__gthread_mutex_unlock): Use InterlockedDecrement and ReleaseSemaphore to unlock * config/i386/gthr-win32.c (__gthread_mutex_init_function, __gthread_mutex_lock, __gthread_mutex_trylock, __gthread_mutex_unlock): Adjust to match inline versions in gthr-win32.h. From-SVN: r81227
2003-05-21gthr-win32.h (__GTHREAD_HIDE_WIN32API): Test for non-zero value, not just if ↵Danny Smith1-2/+2
defined. * gthr-win32.h (__GTHREAD_HIDE_WIN32API): Test for non-zero value, not just if defined. * libstdc++-v3/config/os/mingw32/os_defines.h (__GTHREAD_HIDE_WIN32API): Define to 1 by defualt. (NOMINMAX): Define. From-SVN: r67069
2002-12-16Merge basic-improvements-branch to trunkZack Weinberg1-16/+0
From-SVN: r60174
2002-11-12* gthr-win32.h: Fix formatting.Kazu Hirata1-51/+51
From-SVN: r59051
2002-09-22dbxout.c: Follow spelling conventions.Kazu Hirata1-1/+1
* dbxout.c: Follow spelling conventions. * defaults.h: Likewise. * df.c: Likewise. * diagnostic.h: Likewise. * doloop.c: Likewise. * dwarf2out.c: Likewise. * dwarfout.c: Likewise. * emit-rtl.c: Likewise. * except.c: Likewise. * explow.c: Likewise. * expmed.c: Likewise. * expr.c: Likewise. * expr.h: Likewise. * flags.h: Likewise. * flow.c: Likewise. * fold-const.c: Likewise. * function.c: Likewise. * function.h: Likewise. * gcc.c: Likewise. * gcov-io.h: Likewise. * gcov.c: Likewise. * gcse.c: Likewise. * genattrtab.c: Likewise. * genconfig.c: Likewise. * genrecog.c: Likewise. * ggc-page.c: Likewise. * ggc.h: Likewise. * global.c: Likewise. * gthr-win32.h: Likewise. * integrate.c: Likewise. * jump.c: Likewise. * langhooks.c: Likewise. * langhooks.h: Likewise. * line-map.h: Likewise. * local-alloc.c: Likewise. * longlong.h: Likewise. * loop.c: Likewise. * loop.h: Likewise. From-SVN: r57406
2002-06-11gthr-win32.h: Wrap all functions in extern "C".Danny Smith1-14/+108
* gthr-win32.h: Wrap all functions in extern "C". (__gthread_key_t): Typedef as unsigned long, not win32 DWORD. (__GTHREAD_ONCE_INIT): Use 0, not win32 FALSE. (__gthread_mutex_t): Typedef as void*, not win32 HANDLE. (__gthr_win32_once, __gthr_win32_key_create, __gthr_win32_key_delete, __gthr_win32_getspecific, __gthr_win32_setspecific, __gthr_win32_mutex_init_function, __gthr_win32_mutex_lock,__gthr_win32_mutex_trylock, __gthr_win32_mutex_unlock): Declare. (__gthread_once,__gthread_key_create, __gthread_key_delete, __gthread_getspecific, __gthread_setspecific, __gthread_mutex_init_function, __gthread_mutex_lock,__gthread_mutex_trylock, __gthread_mutex_unlock): Call corresponding __gthr_win32_* extern implementations if #defined __GTHREAD_HIDE_WIN32API. * config/i386/t-mingw32 (LIB2FUNCS_EXTRA): Set to $(srcdir)/config/i386/gthr-win32.c * config/i386/gthr-win32.c: New implementation file. (__gthr_win32_once, __gthr_win32_key_create, __gthr_win32_key_delete, __gthr_win32_getspecific, __gthr_win32_setspecific, __gthr_win32_mutex_init_function, __gthr_win32_mutex_lock,__gthr_win32_mutex_trylock, __gthr_win32_mutex_unlock): New functions, based on static inlines in gthr-win32.h. From-SVN: r54484
2002-06-04gbl-ctors.h: Fix formatting.Kazu Hirata1-26/+26
* gbl-ctors.h: Fix formatting. * gcc.c: Likewise. * gccspec.c: Likewise. * gcov.c: Likewise. * gcov-io.h: Likewise. * gcse.c: Likewise. * ggc-common.c: Likewise. * ggc.h: Likewise. * ggc-page.c: Likewise. * ggc-simple.c: Likewise. * global.c: Likewise. * graph.h: Likewise. * gthr-dce.h: Likewise. * gthr.h: Likewise. * gthr-posix.h: Likewise. * gthr-rtems.h: Likewise. * gthr-solaris.h: Likewise. * gthr-win32.h: Likewise. From-SVN: r54240
2002-03-05gthr-win32.h (__GTHREAD_MUTEX_INIT_DEFAULT): Define.Danny Smith1-0/+1
From-SVN: r50336
2002-02-03gthr-win32.h: Protect against conflicting typedef for BOOL in windows ↵Christopher Faylor1-5/+18
headers and libobjc headers. * gthr-win32.h: Protect against conflicting typedef for BOOL in windows headers and libobjc headers. * gthr-win32.h (__mingwthr_key_dtor): Use extern "C" linkage for C++. (_mingw.h): Remove duplicate include. From-SVN: r49465
2002-01-18bitmap.h: Fix comment formatting.Kazu Hirata1-2/+2
* bitmap.h: Fix comment formatting. * combine.c: Likewise. * cppfiles.c: Likewise. * c-pragma.h: Likewise. * c-typeck.c: Likewise. * df.c: Likewise. * dwarf2out.c: Likewise. * function.c: Likewise. * gcc.c: Likewise. * genattrtab.c: Likewise. * gthr-win32.h: Likewise. * haifa-sched.c: Likewise. * predict.c: Likewise. * rtlanal.c: Likewise. * rtl.h: Likewise. * unwind-dw2-fde.h: Likewise. * unwind-pe.h: Likewise. * vmsdbgout.c: Likewise. From-SVN: r48987
2001-11-19re PR bootstrap/4448 (make bootstrap failed: gthr-win32.h erroneous)Craig Rodrigues1-1/+1
2001-11-18 Craig Rodrigues <rodrigc@gcc.gnu.org> PR c/4448 * gthr-win32.h: (__gthread_objc_thread_exit): Fix variable name __objc_thread_exit_status so that it matches the variable defined in objc/thr.h. From-SVN: r47157
2001-10-12gthr-dce.h: Fix comment formatting.Kazu Hirata1-25/+25
* gthr-dce.h: Fix comment formatting. * gthr-posix.h: Likewise. * gthr-single.h: Likewise. * gthr-solaris.h: Likewise. * gthr-vxworks.h: Likewise. * gthr-win32.h: Likewise. From-SVN: r46229
2001-08-22Makefile.in, [...]: replace "GNU CC" with "GCC".Lars Brinkhoff1-12/+12
* Makefile.in, alias.c, basic-block.h, bb-reorder.c, bitmap.c, bitmap.h, builtin-types.def, builtins.c, builtins.def, c-aux-info.c, c-common.c, c-common.def, c-common.h, c-convert.c, c-decl.c, c-dump.c, c-dump.h, c-errors.c, c-format.c, c-lang.c, c-lex.c, c-lex.h, c-parse.in, c-pragma.c, c-pragma.h, c-semantics.c, c-tree.h, c-typeck.c, caller-save.c, calls.c, collect2.c, collect2.h, combine.c, conditions.h, config.gcc, configure.frag, configure.in, conflict.c, convert.c, convert.h, cppspec.c, crtstuff.c, cse.c, cselib.c, cselib.h, dbxout.c, dbxout.h, defaults.h, dependence.c, df.c, df.h, diagnostic.c, diagnostic.h, doloop.c, dominance.c, dwarf.h, dwarf2.h, dwarf2asm.c, dwarf2asm.h, dwarf2out.c, dwarf2out.h, dwarfout.c, emit-rtl.c, errors.c, errors.h, except.c, except.h, exgettext, explow.c, expmed.c, expr.c, expr.h, final.c, fixproto, flags.h, flow.c, fold-const.c, fp-test.c, function.c, function.h, gbl-ctors.h, gcc.c, gcc.h, gcc.hlp, gccspec.c, gcov-io.h, gcse.c, genattr.c, genattrtab.c, gencheck.c, gencodes.c, genconfig.c, genemit.c, genextract.c, genflags.c, gengenrtl.c, genmultilib, genopinit.c, genoutput.c, genpeep.c, genrecog.c, gensupport.c, gensupport.h, ggc-callbacks.c, ggc-common.c, ggc-none.c, ggc-page.c, ggc-simple.c, ggc.h, global.c, graph.c, graph.h, gthr-aix.h, gthr-dce.h, gthr-posix.h, gthr-rtems.h, gthr-single.h, gthr-solaris.h, gthr-vxworks.h, gthr-win32.h, gthr.h, haifa-sched.c, halfpic.c, halfpic.h, hard-reg-set.h, hwint.h, ifcvt.c, input.h, insn-addr.h, integrate.c, integrate.h, jump.c, lcm.c, libgcc2.c, libgcc2.h, lists.c, local-alloc.c, loop.c, loop.h, machmode.def, machmode.h, main.c, mbchar.c, mbchar.h, mips-tdump.c, mips-tfile.c, mklibgcc.in, mkmap-flat.awk, mkmap-symver.awk, optabs.c, output.h, params.c, params.def, params.h, predict.c, predict.def, predict.h, prefix.c, prefix.h, print-rtl.c, print-tree.c, profile.c, protoize.c, read-rtl.c, real.c, real.h, recog.c, recog.h, reg-stack.c, regclass.c, regmove.c, regrename.c, regs.h, reload.c, reload.h, reload1.c, reorg.c, resource.c, resource.h, rtl.c, rtl.def, rtl.h, rtlanal.c, sbitmap.c, sbitmap.h, sched-deps.c, sched-ebb.c, sched-int.h, sched-rgn.c, sched-vis.c, sdbout.c, sdbout.h, sibcall.c, simplify-rtx.c, ssa-ccp.c, ssa-dce.c, ssa.c, ssa.h, stmt.c, stor-layout.c, stringpool.c, system.h, timevar.c, timevar.def, timevar.h, tlink.c, toplev.c, toplev.h, tree.c, tree.def, tree.h, tsystem.h, unroll.c, unwind-dw2-fde.c, unwind-dw2-fde.h, unwind-dw2.c, unwind-pe.h, unwind-sjlj.c, unwind.h, unwind.inc, varasm.c, varray.c, varray.h, xcoffout.c, xcoffout.h: replace "GNU CC" with "GCC". From-SVN: r45105
2001-05-25Standardize header guards.Richard Henderson1-3/+3
From-SVN: r42615
2001-01-22gthr-win32.h: Include errno.h to get a declaration for EINVAL and _mingw.h if...Thomas Pfaff1-0/+4
* gthr-win32.h: Include errno.h to get a declaration for EINVAL and _mingw.h if the target is mingw32. From-SVN: r39187
2001-01-12gthr-win32.h (__gthread_objc_thread_get_data): Save and restore Win32 LastError.Thomas Pfaff1-2/+20
* gthr-win32.h (__gthread_objc_thread_get_data): Save and restore Win32 LastError. (__gthread_getspecific): Ditto. From-SVN: r38932
2000-07-20Applied H.J.Lu's patch to not require -lpthread when compiling single ↵H.J. Lu1-2/+245
threaded Objective-C programs. From-SVN: r35141
2000-02-12crtstuff.c (__do_global_ctors_aux, [...]): Add prototype argument.Kaveh R. Ghazi1-2/+2
* crtstuff.c (__do_global_ctors_aux, __reg_frame_ctor, __dereg_frame_dtor): Add prototype argument. * gthr-dce.h (__gthread_active_p, __gthread_once): Likewise. * gthr-posix.h (__gthread_active_p, __gthread_once): Likewise. * gthr-solaris.h (__gthread_active_p, __gthread_once): Likewise. * gthr-vxworks.h (__gthread_once): Likewise. * gthr-win32.h (__gthread_active_p, __gthread_once): Likewise. From-SVN: r31945
2000-01-27gthr-posix.h: Fix typo; compatibily -> compatibility.Fred Fish1-1/+1
* gthr-posix.h: Fix typo; compatibily -> compatibility. * gthr-single.h: Likewise. * gthr-solaris.h: Likewise. * gthr-vxworks.h: Likewise. * gthr-win32.h: Likewise. * gthr.h: Likewise. From-SVN: r31646
2000-01-17ggc-common.c: PROTO -> PARAMS.Kaveh R. Ghazi1-1/+1
* ggc-common.c: PROTO -> PARAMS. * ggc-page.c: Likewise. * ggc-simple.c: Likewise. * ggc.h: Likewise. * global.c: Likewise. * graph.c: Likewise. * gthr-win32.h: Likewise. * haifa-sched.c: Likewise. * halfpic.h: Likewise. * integrate.c: Likewise. * integrate.h: Likewise. * jump.c: Likewise. * lcm.c: Likewise. * local-alloc.c: Likewise. * loop.c: Likewise. * loop.h: Likewise. From-SVN: r31458
2000-01-04gthr-win32.h (__gthread_active_p): Support Mingw MT runtime.Mumit Khan1-28/+64
2000-01-04 Mumit Khan <khan@xraylith.wisc.edu> * gthr-win32.h (__gthread_active_p): Support Mingw MT runtime. (__gthread_key_create): Likewise. (__gthread_key_dtor): Likewise. (__gthread_once): Fix logic. (__gthread_key_delete): Cast away constness. * i386/cygwin.h (SUBTARGET_SWITCHES): Add -mthreads option. * invoke.texi: Document. * i386/mingw32.h (CPP_SPEC): Use. (LIBGCC_SPEC): Likewise. * i386/crtdll.h (LIBGCC_SPEC): Likewise. From-SVN: r31215
1999-09-14* gthr-win32.h: New file.Mumit Khan1-0/+195
From-SVN: r29405