Commit bc012a44 by Andrew Pinski Committed by Andrew Pinski

thr.c (__objc_thread_detach_function): Do not mark as volatile but instead use…

thr.c (__objc_thread_detach_function): Do not mark as volatile but instead use the attribute noreturn.

2004-07-22  Andrew Pinski  <pinskia@physics.uc.edu>

        * thr.c (__objc_thread_detach_function): Do not mark as volatile
        but instead use the attribute noreturn.

From-SVN: r85061
parent 73b71f3e
2004-07-22 Andrew Pinski <pinskia@physics.uc.edu>
* thr.c (__objc_thread_detach_function): Do not mark as volatile
but instead use the attribute noreturn.
2004-06-28 Zack Weinberg <zack@codesourcery.com> 2004-06-28 Zack Weinberg <zack@codesourcery.com>
* encoding.c: Rename target_flags with a #define to avoid * encoding.c: Rename target_flags with a #define to avoid
......
...@@ -75,7 +75,7 @@ struct __objc_thread_start_state ...@@ -75,7 +75,7 @@ struct __objc_thread_start_state
id argument; id argument;
}; };
static volatile void static void __attribute__((noreturn))
__objc_thread_detach_function (struct __objc_thread_start_state *istate) __objc_thread_detach_function (struct __objc_thread_start_state *istate)
{ {
/* Valid state? */ /* Valid state? */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment