[前][次][番号順一覧][スレッド一覧][生データ]

yarv-dev:369

From: SASADA Koichi <ko1 atdot.net>
Date: Sat, 11 Dec 2004 11:34:18 +0900
Subject: [yarv-dev:369] Re: Exception Problem with Register Allocated Variable

  Nobuyoshi Nakada <nobu.nokada softhome.net> wrote :
    [ [yarv-dev:368] Re: Exception Problem with Register Allocated Variable ]
    at Sat, 11 Dec 2004 10:08:20 +0900

 ささだです.

>> ・PCのregister 指定をやめる:スタックに割り付けられれば大丈夫
>>  でも確実じゃない
> 
> こうしておけばgccではsetjmpの前後で保存/復帰してくれるはずです。


 他の処理系で不安なのと,書き込み時の安全性はやっぱりほしいような
気がするのと,あんまりコストは変わらないような気がするので,volatile
な変数に毎回一緒に代入しようかと考えております.

-- 
// SASADA Koichi at atdot dot net
//

--
ML: yarv-dev quickml.atdot.net
使い方: http://www.atdot.net/~ko1/quickml

[前][次][番号順一覧][スレッド一覧][生データ]

       366 2004-12-11 02:51 [ko1 atdot.net       ] Exception Problem with Register Allocated Variable
       368 2004-12-11 10:08 ┗[nobu.nokada softhome]                                       
->     369 2004-12-11 11:34  ┗[ko1 atdot.net       ]                                     
       373 2004-12-12 22:25   ┗[shudo computer.org  ]                                   
       374 2004-12-13 01:05    ┗[maeda-yarv atusi.org]                                 
       375 2004-12-13 14:46     ┗[ko1 atdot.net       ]                               
       376 2004-12-13 18:13      ┗[shudo computer.org  ]                             
       377 2004-12-13 18:18       ┗[ko1 atdot.net       ]                           
       378 2004-12-13 19:47        ┗[shudo computer.org  ]