This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libstdc++/38720] _Relative_pointer_impl invokes undefined behavior



------- Comment #3 from rguenther at suse dot de  2009-01-04 14:35 -------
Subject: Re:  _Relative_pointer_impl invokes undefined
 behavior

On Sun, 4 Jan 2009, paolo dot carlini at oracle dot com wrote:

> ------- Comment #2 from paolo dot carlini at oracle dot com  2009-01-04 14:03 -------
> Richard, this is just an (experimental) extension facility, we can break the
> binary interface, return to our decisions, etc, no problem. Thus, just commit
> whatever fix you are able to quickly figure out (like the attached) and easily
> test. Thanks in advance. PS. watch overlong lines.

Do you have an idea what best to use to access uintptr_t?  unsigned long
will be wrong for example on mingw64 (it's 32bit while pointers are
64bit there)?

Thanks,
Richard.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38720


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]