This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap 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 translator/18455] New: const_folder::visit_binary_expression hurting type inference


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.


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