mirror of git://gcc.gnu.org/git/gcc.git
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
This commit is contained in:
parent
73b71f3e13
commit
bc012a4440
|
|
@ -1,3 +1,8 @@
|
||||||
|
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,8 +75,8 @@ 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? */
|
||||||
if (istate) {
|
if (istate) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue