public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug translator/18455] New: const_folder::visit_binary_expression hurting type inference
@ 2015-05-26 19:48 fche at redhat dot com
  2015-09-23 21:52 ` [Bug translator/18455] " ajakop at redhat dot com
  0 siblings, 1 reply; 2+ messages in thread
From: fche at redhat dot com @ 2015-05-26 19:48 UTC (permalink / raw)
  To: systemtap

https://sourceware.org/bugzilla/show_bug.cgi?id=18455

            Bug ID: 18455
           Summary: const_folder::visit_binary_expression hurting type
                    inference
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: translator
          Assignee: systemtap at sourceware dot org
          Reporter: fche at redhat dot com
  Target Milestone: ---

% stap -p2 -e 'probe oneshot { println(i+0) }'

... should work, and print 0.  But the const_folder logic elides the "+0" part
of that expression without passing on the type inference (i <= pe_long).

-- 
You are receiving this mail because:
You are the assignee for the bug.

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

* [Bug translator/18455] const_folder::visit_binary_expression hurting type inference
  2015-05-26 19:48 [Bug translator/18455] New: const_folder::visit_binary_expression hurting type inference fche at redhat dot com
@ 2015-09-23 21:52 ` ajakop at redhat dot com
  0 siblings, 0 replies; 2+ messages in thread
From: ajakop at redhat dot com @ 2015-09-23 21:52 UTC (permalink / raw)
  To: systemtap

https://sourceware.org/bugzilla/show_bug.cgi?id=18455

Abe Jakop <ajakop at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |ajakop at redhat dot com
         Resolution|---                         |FIXED

--- Comment #1 from Abe Jakop <ajakop at redhat dot com> ---
fixed by commit 4375d018c2634f256c536b46ca1d266f615ba8b2

-- 
You are receiving this mail because:
You are the assignee for the bug.

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

end of thread, other threads:[~2015-09-23 21:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-05-26 19:48 [Bug translator/18455] New: const_folder::visit_binary_expression hurting type inference fche at redhat dot com
2015-09-23 21:52 ` [Bug translator/18455] " ajakop 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).