Re: any value to "NORET_TYPE" macro?

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Satyam Sharma
Date: Tuesday, May 22, 2007 - 10:04 am

On 5/22/07, Adrian Bunk <bunk@stusta.de> wrote:

Adrian's right, and in fact from ...

http://gcc.gnu.org/onlinedocs/gcc/Function-Attributes.html

... we know why that macro existed and evaluated to __volatile__
for pre-2.5 gcc. Perhaps most of today's users of NORET_TYPE were
probably looking for ATTRIB_NORET (which is quite common) actually.

[ __noreturn is defined in compiler-gcc.h, so the easier way would be
to kill NORET_TYPE and replace its usages with ATTRIB_NORET instead.
Of course, after verifying that the function _really_ never returns. ]
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
any value to &quot;NORET_TYPE&quot; macro?, Robert P. J. Day, (Tue May 22, 6:09 am)
Re: any value to &quot;NORET_TYPE&quot; macro?, John Anthony Kazos Jr., (Tue May 22, 6:53 am)
Re: any value to &quot;NORET_TYPE&quot; macro?, Adrian Bunk, (Tue May 22, 6:59 am)
Re: any value to &quot;NORET_TYPE&quot; macro?, Robert P. J. Day, (Tue May 22, 7:01 am)
Re: any value to &quot;NORET_TYPE&quot; macro?, Robert P. J. Day, (Tue May 22, 7:04 am)
Re: any value to &quot;NORET_TYPE&quot; macro?, Satyam Sharma, (Tue May 22, 7:09 am)
Re: any value to &quot;NORET_TYPE&quot; macro?, Satyam Sharma, (Tue May 22, 7:16 am)
Re: any value to &quot;NORET_TYPE&quot; macro?, Krzysztof Halasa, (Tue May 22, 7:43 am)
Re: any value to &quot;NORET_TYPE&quot; macro?, Robert P. J. Day, (Tue May 22, 7:47 am)
Re: any value to &quot;NORET_TYPE&quot; macro?, Satyam Sharma, (Tue May 22, 8:24 am)
Re: any value to &quot;NORET_TYPE&quot; macro?, Adrian Bunk, (Tue May 22, 9:19 am)
Re: any value to "NORET_TYPE" macro?, Satyam Sharma, (Tue May 22, 10:04 am)
Re: any value to &quot;NORET_TYPE&quot; macro?, Robert P. J. Day, (Tue May 22, 10:18 am)
Re: any value to &quot;NORET_TYPE&quot; macro?, Krzysztof Halasa, (Tue May 22, 12:25 pm)
Re: any value to &quot;NORET_TYPE&quot; macro?, Geert Uytterhoeven, (Tue May 22, 12:45 pm)
Re: any value to &quot;NORET_TYPE&quot; macro?, Robert P. J. Day, (Tue May 22, 1:17 pm)
Re: any value to &quot;NORET_TYPE&quot; macro?, Krzysztof Halasa, (Tue May 22, 1:39 pm)
Re: any value to &quot;NORET_TYPE&quot; macro?, Krzysztof Halasa, (Tue May 22, 3:41 pm)
Re: any value to &quot;NORET_TYPE&quot; macro?, Satyam Sharma, (Wed May 23, 1:37 am)
Re: any value to &quot;NORET_TYPE&quot; macro?, Robert P. J. Day, (Wed May 23, 6:09 am)
Re: any value to &quot;NORET_TYPE&quot; macro?, Satyam Sharma, (Wed May 23, 6:46 am)
Re: any value to &quot;NORET_TYPE&quot; macro?, Krzysztof Halasa, (Thu May 24, 6:10 am)
Re: any value to &quot;NORET_TYPE&quot; macro?, Robert P. J. Day, (Thu May 24, 6:25 am)
Re: any value to &quot;NORET_TYPE&quot; macro?, Robert P. J. Day, (Thu May 24, 9:43 am)
Re: any value to &quot;NORET_TYPE&quot; macro?, Satyam Sharma, (Thu May 24, 10:12 am)
Re: any value to &quot;NORET_TYPE&quot; macro?, Satyam Sharma, (Thu May 24, 11:53 am)
Re: any value to &quot;NORET_TYPE&quot; macro?, Robert P. J. Day, (Fri May 25, 10:33 am)
Re: any value to &quot;NORET_TYPE&quot; macro?, Robert P. J. Day, (Fri May 25, 10:36 am)
Re: any value to &quot;NORET_TYPE&quot; macro?, Satyam Sharma, (Fri May 25, 12:25 pm)
Re: any value to &quot;NORET_TYPE&quot; macro?, Robert P. J. Day, (Fri May 25, 12:40 pm)
Re: any value to &quot;NORET_TYPE&quot; macro?, Adrian Bunk, (Fri May 25, 2:46 pm)
Re: any value to &quot;NORET_TYPE&quot; macro?, Krzysztof Halasa, (Sat May 26, 2:56 pm)