< :前の番号
^ :番号順リスト
> :次の番号
P :前の記事
N :次の記事
|<:スレッドの先頭
>|:次のスレッド
^ :返事先
_:自分への返事
>:同じ返事先を持つ記事(前)
<:同じ返事先を持つ記事(後)
---:分割してスレッド表示、再表示
| :分割して(縦)スレッド表示、再表示
~ :スレッドのフレーム消去
.:インデックス
..:インデックスのインデックス
Martin,
Well. Ummm. If a compiler writes zeros then is it not setting the
value of variables that the spec says should remain undefined until
explicitly initialized?
Whether or not it violates the 'C' language spec, I don't know any way to
make gcc do this with existing compiler options or pragmas.
Does anyone else?
- brent
Martin Duerst wrote:
>
> At 12:54 08/11/17, Brent Roman wrote:
>
>>One could hack the gcc to force it to initialize automatic variables to
zero
>>even though this violates the 'C' langauage spec.
>
> I haven't read the spec, but my guess (having worked on other specs)
> is that the only thing that the 'C' language spec says is that the
> value is undefined. A value that happens to be zero would still be
> undefined, as far as I understand.
>
> Regards, Martin.
>
>
>
> #-#-# Martin J. Du"rst, Assoc. Professor, Aoyama Gakuin University
> #-#-# http://www.sw.it.aoyama.ac.jp mailto:duerst / it.aoyama.ac.jp
>
>
>
>
--
View this message in context: http://www.nabble.com/-ruby-core%3A19846---Bug--744--memory-leak-in-callcc--tp20447794p20538247.html
Sent from the ruby-core mailing list archive at Nabble.com.