Re: Optimizing empty functions in C

"Andrzej Wasowski" <wasowski@data.pl>
20 Jun 2002 21:42:51 -0400

          From comp.compilers

Related articles
Optimizing empty functions in C wasowski@data.pl (Andrzej Wasowski) (2002-06-13)
Re: Optimizing empty functions in C snicol@apk.net (Scott Nicol) (2002-06-14)
Re: Optimizing empty functions in C joachim_d@gmx.de (Joachim Durchholz) (2002-06-14)
Re: Optimizing empty functions in C vbdis@aol.com (VBDis) (2002-06-14)
Re: Optimizing empty functions in C debray@CS.Arizona.EDU (Saumya K. Debray) (2002-06-14)
Re: Optimizing empty functions in C cdg@nullstone.com (Christopher Glaeser) (2002-06-17)
Re: Optimizing empty functions in C wasowski@data.pl (Andrzej Wasowski) (2002-06-20)
Re: Optimizing empty functions in C wasowski@data.pl (Andrzej Wasowski) (2002-06-20)
Re: Optimizing empty functions in C wasowski@data.pl (Andrzej Wasowski) (2002-06-20)
Re: Optimizing empty functions in C mlacey@microsoft.com (Mark Lacey \[MSFT\]) (2002-06-20)
Re: Optimizing empty functions in C dnovillo@redhat.com (Diego Novillo) (2002-06-28)
Re: Optimizing empty functions in C snicol@apk.net (Scott Nicol) (2002-06-28)
Re: Optimizing empty functions in C haberg@matematik.su.se (Hans Aberg) (2002-06-28)
[3 later articles]
| List of all articles for this month |

From: "Andrzej Wasowski" <wasowski@data.pl>
Newsgroups: comp.compilers
Date: 20 Jun 2002 21:42:51 -0400
Organization: UNI-C
References: 02-06-025 02-06-042
Keywords: C, optimize
Posted-Date: 20 Jun 2002 21:42:51 EDT

Joachim Durchholz wrote:
> Given that having two identical functions in C is exceedingly rare (why
> should a programmer write something like that?), I don't see that any
> compiler vendor would invest his time in implementing this. There are
> more interesting optimizations around.


Yeah. I see this point. I rather meant the question if this behaviour
will not result as side effect of some other optimizations off code
similarity (one of these effect for-free)


andrzej
--


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.