On Friday 02 May 2008 15:11:32 Jakub Jelinek wrote:[snip] I assume the GCC testsuite has the same generic problem, which is probably why it uses the -fdump-tree-optimized parameter to gcc. For example: alistair@just:~$ cat test.c void __attribute__((weak)) func(void) { /* no code */ } int main() { func(); return 0; } alistair@just:~$ gcc -O2 -fdump-tree-optimized test.c alistair@just:~$ rm -f a.out alistair@just:~$ cat test.c*.optimized | egrep "func \\(\\);" func (); Ergo, my compiler isn't buggy. As this doesn't require a runtime test I think it would be OK for the kernel. Of course, whether or not it's worth it is now debatable, given the information Sven-Haegar Koch provided (Debian's GCC version number is actually 4.1.2). -- Cheers, Alistair. 137/1 Warrender Park Road, Edinburgh, UK. --
| Bart Van Assche | Integration of SCST in the mainstream Linux kernel |
| Greg KH | [GIT PATCH] driver core patches against 2.6.24 |
| Linus Torvalds | Linux 2.6.27 |
| Andrew Morton | Re: PROBLEM: high load average when idle |
git: | |
| Nguyen Thai Ngoc Duy | Re: VCS comparison table |
| Michael Hendricks | removing content from git history |
| walt | git versus CVS (versus bk) |
| Francis Moreau | emacs and git... |
| Marcos Laufer | dmesg IBM x3650 OpenBSD 4.3 |
| Richard Stallman | Real men don't attack straw men |
| Karel Kulhavy | lookup option in /etc/resolv.conf ignored |
| Alexey Suslikov | OT: OpenBSD on Asus eeePC |
| Paul Moore | [PATCH v7 00/17] Labeled networking patches for 2.6.28 |
| Dale Farnsworth | Re: [PATCH 01/39] mv643xx_eth: reverse topological sort of functions |
| David Miller | Re: xfrm_state locking regression... |
| Michael Chan | [PATCH net-next 4/6] bnx2: Eliminate TSO header modifications. |
| How to make my PCIE ATA storage device running in Linux | 8 hours ago | Linux general |
| sata/ide timeout errors on asus server-mb | 12 hours ago | Linux kernel |
| Shared swap partition | 12 hours ago | Linux general |
| usb mic not detected | 17 hours ago | Applications and Utilities |
| Problem in Inserting a module | 17 hours ago | Linux kernel |
| Treason Uncloaked | 23 hours ago | Linux kernel |
| high memory | 3 days ago | Linux kernel |
| semaphore access speed | 3 days ago | Applications and Utilities |
| the kernel how to power off the machine | 3 days ago | Linux kernel |
| Easter Eggs in windows XP | 3 days ago | Windows |
