Zarko (Zarko Todorovski)
- Login: Zarko
- Email: zarko@ca.ibm.com
- Registered on: 12/08/2015
- Last sign in: 08/31/2016
Issues
| open | closed | Total | |
|---|---|---|---|
| Assigned issues | 0 | 0 | 0 |
| Reported issues | 0 | 4 | 4 |
Activity
08/08/2016
-
01:46 AM Ruby Bug #12657: [PATCH] ANSI aliasing fix for XL compiler
- Shyouhei Urabe wrote:
> Thank you. I think we don't need the #else part because the memset/memcpy should just work for all ANSI-compliant compilers. Is it OK for me to merge your patch like that way?
Yes, that should work.
08/05/2016
-
04:41 PM Ruby Bug #12657 (Closed): [PATCH] ANSI aliasing fix for XL compiler
- This is related to Bug #12191.
Changing in internal.h:983-985
from :
```diff
-#define RBASIC_CLEAR_CLASS(obj) (((struct RBasicRaw *)((VALUE)(obj)))->klass = 0)
-#define RBASIC_SET_CLASS_RAW(obj, cls) (((struct RBasicRaw...
04/07/2016
-
01:12 PM Ruby Bug #12191: Violation of ANSI aliasing rules causing problems while compiling
- Thanks for making the changed but we've tried getting it to work and it doesn't seem to. It doesn't look like setting these two structs in a union has any impact on aliasing between ("(RBasicRaw).klass") and {"(RBasic).klass"} in this c...
03/17/2016
-
02:46 PM Ruby Bug #12191 (Closed): Violation of ANSI aliasing rules causing problems while compiling
- Hi, I work with IBM's XL compiler and we're noticing that there we're getting compile time failures due to ANSI aliasing rule violations.
For example, in https://github.com/ruby/ruby/blob/trunk/sprintf.c This function:
~~~C
rb_...
12/09/2015
-
02:35 PM Ruby Misc #11795: [PATCH] get rid of breaking strict alias for XL compiler
- Please cancel this, I see I already submitted the changes in bug 11790. Sorry about that.
-
02:29 PM Ruby Misc #11795 (Closed): [PATCH] get rid of breaking strict alias for XL compiler
- Related to bug 11790. Thank you for adding the changeset.
It may be better to add a IBM XL specific instruction for this:
in line 70 of regparse.h
~~~c
#ifdef __ibmxl__
#define SET_NTYPE(node, ntype) {int value = ntype; memcp...
12/08/2015
-
04:32 PM Ruby Bug #11790 (Closed): [PATCH] ANSI alias rules fix
- line 70 in file regparse.h:
~~~c
#define SET_NTYPE(node, ntype) (node)->u.base.type = (ntype)
~~~
needs to be changed to conform with ANSI alias rules
Line 70 as it is can lead to errors in compiling in regparse.c
~~~c
...