login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
October
»
25
Re: [2.6 patch] blackfin: "extern inline" -> "static inline"
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From: H. Peter Anvin
Subject:
Re: [2.6 patch] blackfin: "extern inline" -> "static inline"
Date: Thursday, October 25, 2007 - 1:54 pm
Adrian Bunk wrote:
quoted text
> On Thu, Oct 25, 2007 at 01:28:04PM -0700, H. Peter Anvin wrote: >> Mike Frysinger wrote: >>>> Do you have any example for your claim "to get gcc to not inline things >>>> when building debug versions"? >>> $ cat test.c >>> __attribute__((always_inline)) int foo(void) { return 0; } >>> int main(void){ return foo(); } >>> $ gcc -g test.c -o test >>> $ readelf -s test | grep FUNC | grep -v _ >>> 61: 00000000004004b8 11 FUNC GLOBAL DEFAULT 13 foo >>> 68: 00000000004004c3 11 FUNC GLOBAL DEFAULT 13 main >>> looks pretty straightforward to me >>> -mike >> For "debug version" meaning -O0, this is true. > > No, "inline __attribute__((always_inline))" works with -O0. > > He gets a function emitted since his "foo" is not static. >
Oh, right. -hpa -
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
Messages in current thread:
[2.6 patch] blackfin: "extern inline" -> "static inline"
, Adrian Bunk
, (Wed Oct 24, 9:26 am)
Re: [2.6 patch] blackfin: "extern inline" -> "static inline"
, Jie Zhang
, (Wed Oct 24, 7:47 pm)
Re: [2.6 patch] blackfin: "extern inline" -> "static inline"
, Mike Frysinger
, (Wed Oct 24, 8:00 pm)
Re: [2.6 patch] blackfin: "extern inline" -> "static inline"
, H. Peter Anvin
, (Wed Oct 24, 8:06 pm)
Re: [2.6 patch] blackfin: "extern inline" -> "static inline"
, Mike Frysinger
, (Wed Oct 24, 8:17 pm)
Re: [2.6 patch] blackfin: "extern inline" -> "static inline"
, Adrian Bunk
, (Thu Oct 25, 8:05 am)
Re: [2.6 patch] blackfin: "extern inline" -> "static inline"
, Mike Frysinger
, (Thu Oct 25, 9:16 am)
Re: [2.6 patch] blackfin: "extern inline" -> "static inline"
, Adrian Bunk
, (Thu Oct 25, 9:53 am)
Re: [2.6 patch] blackfin: "extern inline" -> "static inline"
, Mike Frysinger
, (Thu Oct 25, 1:07 pm)
Re: [2.6 patch] blackfin: "extern inline" -> "static inline"
, Adrian Bunk
, (Thu Oct 25, 1:18 pm)
Re: [2.6 patch] blackfin: "extern inline" -> "static inline"
, Mike Frysinger
, (Thu Oct 25, 1:20 pm)
Re: [2.6 patch] blackfin: "extern inline" -> "static inline"
, H. Peter Anvin
, (Thu Oct 25, 1:28 pm)
Re: [2.6 patch] blackfin: "extern inline" -> "static inline"
, Mike Frysinger
, (Thu Oct 25, 1:45 pm)
Re: [2.6 patch] blackfin: "extern inline" -> "static inline"
, Adrian Bunk
, (Thu Oct 25, 1:46 pm)
Re: [2.6 patch] blackfin: "extern inline" -> "static inline"
, Adrian Bunk
, (Thu Oct 25, 1:47 pm)
Re: [2.6 patch] blackfin: "extern inline" -> "static inline"
, H. Peter Anvin
, (Thu Oct 25, 1:53 pm)
Re: [2.6 patch] blackfin: "extern inline" -> "static inline"
, H. Peter Anvin
, (Thu Oct 25, 1:54 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
FUJITA Tomonori
Re: [Scst-devel] Integration of SCST in the mainstream Linux kernel
Uwe Kleine-König
Re: [PATCH v2] ARM: allow, but warn, when issuing ioremap() on RAM
Ingo Molnar
Re: [RFC/RFT PATCH] sched: automated per tty task groups
Ingo Molnar
Re: [GIT PULL] time.c - respin
Alexander van Heukelum
Re: [PATCH] bitops: simplify generic bit finding functions
git
:
Mike Miller
git message
Junio C Hamano
Re: [PATCH] Detached HEAD (experimental)
Stefan Richter
Re: [kernel.org users] [RFD] On deprecating "git-foo" for builtins
A Large Angry SCM
Re: [RFC] origin link for cherry-pick and revert
Petr Baudis
Re: PPC SHA-1 Updates in "pu"
git-commits-head
:
Linux Kernel Mailing List
libata: disable ATAPI AN by default
Linux Kernel Mailing List
ARM: 5905/1: ARM: Global ASID allocation on SMP
Linux Kernel Mailing List
Documentation/timers/hpet_example.c: only build on X86
Linux Kernel Mailing List
ALSA: hda - Enable beep on Realtek codecs with PCI SSID override
Linux Kernel Mailing List
V4L/DVB: AZ6027: Add support for Technisat V1 device
linux-netdev
:
Arnaldo Carvalho de Melo
Re: [PATCH 06/37] dccp: Limit feature negotiation to connection setup phase
Gerrit Renker
[PATCH 1/5] dccp: Initialisation framework for feature negotiation
Daniel Lezcano
getsockopt(TCP_DEFER_ACCEPT) value change
David Miller
Re: 2.6.27.18: bnx2/tg3: BUG: "scheduling while atomic" trying to ifenslave a seco...
Jeff Garzik
Re: [PATCH] drivers/net: remove network drivers' last few uses of IRQF_SAMPLE_RANDOM
openbsd-misc
:
Stuart Henderson
Re: Kuro5hin: OpenBSD Founder Theo deRaadt Has Conflict of Interest With AMD
Christian Weisgerber
Re: CARP with a single public IP address
Marco Peereboom
Re: OpenBSD culture?
Darrin Chandler
Re: strange output on openbsd C code
KURS ENGLESKOG JEZIKA NA 10 CD-a
AUDIO-VIZUELNA METODA UCENJA ENGLESKOG JEZIKA na 10 CD-a
Colocation donated by:
Syndicate