This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: C++ ptrmemfun break if FUNCTION_BOUNDARY < 2 * BITS_PER_UNIT
- To: aoliva at redhat dot com (Alexandre Oliva)
- Subject: Re: C++ ptrmemfun break if FUNCTION_BOUNDARY < 2 * BITS_PER_UNIT
- From: Joern Rennecke <amylaar at cambridge dot redhat dot com>
- Date: Mon, 9 Apr 2001 21:42:43 +0100 (BST)
- Cc: amylaar at redhat dot com (Joern Rennecke),wilson at cygnus dot com (Jim Wilson), gcc at gcc dot gnu dot org,gcc-patches at gcc dot gnu dot org, gdb at sources dot redhat dot com
> Doh. Never mind. I *does* work. It's TRUNC_DIV that doesn't, for
> what I need. I really need a right shift with sign extension:
I was talking about signed division. I.e. TRUNC_DIV. So we agree on
that point.
> Does RSHIFT_EXPR guarantee the preservation of the most significant
> (sign) bit? Does it guarantee the semantics above?
According to c-tree.texi, it does.