From: Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>
To: gdb@sources.redhat.com
Subject: Query regarding expression evaluation.
Date: Wed, 10 Aug 2005 14:49:00 -0000 [thread overview]
Message-ID: <1123684979.29036.21.camel@localhost.localdomain> (raw)
Hi ,
Look at PR1978 . The discrepancy is because in valarith.c , GDB takes
the operation to be unsigned depending only on the operand types. In the
case described in the PR this seems alright with respect to the C
standard since the result is implementation dependent.
Is it GDB policy to make sure that all expression evaluation is similar
to expression eval done by GCC for cases regarding implementation
dependent semantics ?
cheers
Ramana
--
Ramana Radhakrishnan
GNU Tools
codito ergo sum (www.codito.com)
next reply other threads:[~2005-08-10 14:49 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-08-10 14:49 Ramana Radhakrishnan [this message]
2005-08-10 15:44 ` Andreas Schwab
2005-08-11 10:10 ` Andreas Schwab
2005-08-11 13:21 ` Daniel Jacobowitz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1123684979.29036.21.camel@localhost.localdomain \
--to=ramana.radhakrishnan@codito.com \
--cc=gdb@sources.redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox