public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug exp/15364] New: regression with "&&"
@ 2013-04-12 17:53 tromey at redhat dot com
  2013-04-12 17:54 ` [Bug exp/15364] " tromey at redhat dot com
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: tromey at redhat dot com @ 2013-04-12 17:53 UTC (permalink / raw)
  To: gdb-prs

http://sourceware.org/bugzilla/show_bug.cgi?id=15364

             Bug #: 15364
           Summary: regression with "&&"
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: exp
        AssignedTo: unassigned@sourceware.org
        ReportedBy: tromey@redhat.com
    Classification: Unclassified


This regression was reported on irc.
It comes from my patch 1f8a1ced4eefa4c6052a3e4566781527373eff45

struct s
{
  int x;
};

struct s *s2;

int main()
{
}


(gdb) p s2 && s2->x == 0
Cannot access memory at address 0x0

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-05-13 16:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-04-12 17:53 [Bug exp/15364] New: regression with "&&" tromey at redhat dot com
2013-04-12 17:54 ` [Bug exp/15364] " tromey at redhat dot com
2013-05-13 16:51 ` cvs-commit at gcc dot gnu.org
2013-05-13 16:52 ` tromey at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).