public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug dyninst/15422] New: loc2c with 32-on-64 sometimes creates integer-widening-into-pointer gcc warnings
@ 2013-04-30 20:28 fche at redhat dot com
  2013-04-30 20:29 ` [Bug dyninst/15422] " fche at redhat dot com
  0 siblings, 1 reply; 2+ messages in thread
From: fche at redhat dot com @ 2013-04-30 20:28 UTC (permalink / raw)
  To: systemtap

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

             Bug #: 15422
           Summary: loc2c with 32-on-64 sometimes creates
                    integer-widening-into-pointer gcc warnings
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: dyninst
        AssignedTo: systemtap@sourceware.org
        ReportedBy: fche@redhat.com
    Classification: Unclassified


% gcc ./systemtap.base/cu-decl-1.c ./systemtap.base/cu-decl-2.c -g -m32 -O2 -lm
-o cu-decl

% stap -v -p4 -e 'probe process("cu-decl").function("print") {println($f->x *
$f->y) }' --runtime=dyninst

/tmp/stapb7hp2n/stap_c8ada6f96d1aba83f5a27e6098aafac2_4646_src.c: In function
'function__dwarf_tvar_get_f_2':
/notnfs/systemtap/INST/share/systemtap/runtime/dyninst/loc2c-runtime.h:51:21:
error: cast to pointer from integer of different size
[-Werror=int-to-pointer-cast]
  case 1: _i = uread((u8 *)(addr)); break; \
                     ^
[...]

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

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

* [Bug dyninst/15422] loc2c with 32-on-64 sometimes creates integer-widening-into-pointer gcc warnings
  2013-04-30 20:28 [Bug dyninst/15422] New: loc2c with 32-on-64 sometimes creates integer-widening-into-pointer gcc warnings fche at redhat dot com
@ 2013-04-30 20:29 ` fche at redhat dot com
  0 siblings, 0 replies; 2+ messages in thread
From: fche at redhat dot com @ 2013-04-30 20:29 UTC (permalink / raw)
  To: systemtap

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

Frank Ch. Eigler <fche at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #1 from Frank Ch. Eigler <fche at redhat dot com> 2013-04-30 20:29:53 UTC ---
commit 8e3e87d

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- 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:[~2013-04-30 20:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-04-30 20:28 [Bug dyninst/15422] New: loc2c with 32-on-64 sometimes creates integer-widening-into-pointer gcc warnings fche at redhat dot com
2013-04-30 20:29 ` [Bug dyninst/15422] " fche 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).