[M3devel] optimizer problems

Tony Hosking hosking at cs.purdue.edu
Fri Jun 4 19:56:44 CEST 2010


Or "external".  I assume it is getting dead code eliminated.

Antony Hosking | Associate Professor | Computer Science | Purdue University
305 N. University Street | West Lafayette | IN 47907 | USA
Office +1 765 494 6001 | Mobile +1 765 427 5484




On 4 Jun 2010, at 13:06, Jay K wrote:

> 
> I already tried that.. :(
> 
> 
> - Jay
> 
> 
> ----------------------------------------
>> From: hosking at cs.purdue.edu
>> Date: Fri, 4 Jun 2010 12:37:45 -0400
>> To: jay.krell at cornell.edu
>> CC: m3devel at elegosoft.com
>> Subject: Re: [M3devel] optimizer problems
>> 
>> You should be able to mark it as used.
>> 
>> On 4 Jun 2010, at 12:29, Jay K wrote:
>> 
>>> 
>>> Just a note that I have found at least two pieces of code that fail to compile with optimization enabled, even in the release branch.
>>> 
>>> One is a simple case involving unused nested functions.
>>> One is a complicated not really understood case.
>>> 
>>> 
>>> To fix these I have pessimized the optimizer in the release branch but turning off two optimizations.
>>> 
>>> 
>>> It would be nice to find a better fix for the first.
>>> Even something sleazy like having the front end report up front to the backend if there are any nested functions in the unit, and only pessimizing such units.
>>> There is probably also a fix to gcc around preserving nested functions. I thought code in varasm.c was suspicious but couldn't get it to work quickly.
>> 		 	   		  

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://m3lists.elegosoft.com/pipermail/m3devel/attachments/20100604/7238beac/attachment-0002.html>


More information about the M3devel mailing list