diff options
| author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-12-13 03:27:51 +0000 |
|---|---|---|
| committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-12-13 03:27:51 +0000 |
| commit | f34e58162b7a8b61bc886b0731a1bb04d2476c8c (patch) | |
| tree | 14ab5fad8b88b9f74495c4961587c92f9954016a | |
| parent | 37fb2dc84d385f13c0369e4c7614ccdfcb677b8e (diff) | |
| download | ruby-f34e58162b7a8b61bc886b0731a1bb04d2476c8c.tar.gz ruby-f34e58162b7a8b61bc886b0731a1bb04d2476c8c.tar.xz ruby-f34e58162b7a8b61bc886b0731a1bb04d2476c8c.zip | |
* re.c (rb_reg_regcomp): fix a GC problem on x86_64 with
gcc 3.3.5 (Debian 1:3.3.5-13).
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9684 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
| -rw-r--r-- | ChangeLog | 5 | ||||
| -rw-r--r-- | re.c | 1 |
2 files changed, 6 insertions, 0 deletions
@@ -1,3 +1,8 @@ +Tue Dec 13 12:23:47 2005 Tanaka Akira <akr@m17n.org> + + * re.c (rb_reg_regcomp): fix a GC problem on x86_64 with + gcc 3.3.5 (Debian 1:3.3.5-13). + Tue Dec 13 01:44:16 2005 Tanaka Akira <akr@m17n.org> * array.c (rb_ary_diff): fix a GC problem on IA64 with @@ -1408,6 +1408,7 @@ VALUE rb_reg_regcomp(str) VALUE str; { + volatile VALUE save_str = str; if (reg_cache && RREGEXP(reg_cache)->len == RSTRING(str)->len && case_cache == ruby_ignorecase && kcode_cache == reg_kcode |
