public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug testsuite/13394] New: gcc 4.6 doesn't inline ibar for unprivileged testcase
@ 2011-11-09 10:28 mjw at redhat dot com
  2011-11-09 21:56 ` [Bug testsuite/13394] " brolley at redhat dot com
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: mjw at redhat dot com @ 2011-11-09 10:28 UTC (permalink / raw)
  To: systemtap

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

             Bug #: 13394
           Summary: gcc 4.6 doesn't inline ibar for unprivileged testcase
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: testsuite
        AssignedTo: systemtap@sourceware.org
        ReportedBy: mjw@redhat.com
    Classification: Unclassified


The ibar() function in testsuite/systemtap.unprivileged/foo.c should be inlined
for the unprivileged testcases to work against their .inline probe tests. But
gcc 4.6 doesn't want to inline the ibar function and so we get the following
extra FAILs:

Host: Linux toonder.wildebeest.org 3.1.0-7.fc16.x86_64 #1 SMP Tue Nov 1
21:10:48 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux
Snapshot: version 1.7/0.152 commit release-1.6-393-g6e9be5b
GCC: 4.6.2 [gcc (GCC) 4.6.2 20111027 (Red Hat 4.6.2-1)]
Distro: Fedora release 16 (Verne)

FAIL: unprivileged probes: process.function(string).inline
FAIL: unprivileged probes: process(string).function(string).inline
FAIL: unprivileged probes: process.function(string).inline with alias
FAIL: unprivileged probes: process(string).function(string).inline with alias

I haven't figured out yet why gcc doesn't want to inline ibar() in this
version.

-- 
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] 4+ messages in thread

* [Bug testsuite/13394] gcc 4.6 doesn't inline ibar for unprivileged testcase
  2011-11-09 10:28 [Bug testsuite/13394] New: gcc 4.6 doesn't inline ibar for unprivileged testcase mjw at redhat dot com
@ 2011-11-09 21:56 ` brolley at redhat dot com
  2011-11-09 21:59 ` brolley at redhat dot com
  2011-11-09 22:26 ` brolley at redhat dot com
  2 siblings, 0 replies; 4+ messages in thread
From: brolley at redhat dot com @ 2011-11-09 21:56 UTC (permalink / raw)
  To: systemtap

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

Dave Brolley <brolley at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |brolley at redhat dot com

--- Comment #1 from Dave Brolley <brolley at redhat dot com> 2011-11-09 21:55:54 UTC ---
Commit 74b8d7b marks these tests as XFAIL when gcc 4.6 is detected.

-- 
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] 4+ messages in thread

* [Bug testsuite/13394] gcc 4.6 doesn't inline ibar for unprivileged testcase
  2011-11-09 10:28 [Bug testsuite/13394] New: gcc 4.6 doesn't inline ibar for unprivileged testcase mjw at redhat dot com
  2011-11-09 21:56 ` [Bug testsuite/13394] " brolley at redhat dot com
@ 2011-11-09 21:59 ` brolley at redhat dot com
  2011-11-09 22:26 ` brolley at redhat dot com
  2 siblings, 0 replies; 4+ messages in thread
From: brolley at redhat dot com @ 2011-11-09 21:59 UTC (permalink / raw)
  To: systemtap

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

--- Comment #2 from Dave Brolley <brolley at redhat dot com> 2011-11-09 21:58:34 UTC ---
(In reply to comment #1)
> Commit 74b8d7b marks these tests as XFAIL when gcc 4.6 is detected.

Ooops, I meant to say KFAIL against this bug.

-- 
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] 4+ messages in thread

* [Bug testsuite/13394] gcc 4.6 doesn't inline ibar for unprivileged testcase
  2011-11-09 10:28 [Bug testsuite/13394] New: gcc 4.6 doesn't inline ibar for unprivileged testcase mjw at redhat dot com
  2011-11-09 21:56 ` [Bug testsuite/13394] " brolley at redhat dot com
  2011-11-09 21:59 ` brolley at redhat dot com
@ 2011-11-09 22:26 ` brolley at redhat dot com
  2 siblings, 0 replies; 4+ messages in thread
From: brolley at redhat dot com @ 2011-11-09 22:26 UTC (permalink / raw)
  To: systemtap

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

Dave Brolley <brolley at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
         AssignedTo|systemtap at sourceware dot |brolley at redhat dot com
                   |org                         |

--- Comment #3 from Dave Brolley <brolley at redhat dot com> 2011-11-09 22:25:35 UTC ---
commit 00873a2: Use __attribute__ ((always_inline)) to force the function to be
inlined.

-- 
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] 4+ messages in thread

end of thread, other threads:[~2011-11-09 22:26 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-11-09 10:28 [Bug testsuite/13394] New: gcc 4.6 doesn't inline ibar for unprivileged testcase mjw at redhat dot com
2011-11-09 21:56 ` [Bug testsuite/13394] " brolley at redhat dot com
2011-11-09 21:59 ` brolley at redhat dot com
2011-11-09 22:26 ` brolley 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).