[M3devel] optimizer problems

Jay K jay.krell at cornell.edu
Fri Jun 4 19:06:25 CEST 2010


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.
> 		 	   		  


More information about the M3devel mailing list