Unit at a time and C PCH

Andrew Haley aph@redhat.com
Wed Jun 18 15:42:00 GMT 2008


Jan Hubicka wrote:
>> On 6/18/08 10:53 AM, Jan Hubicka wrote:
>>
>>> 	* c-opts.c (c_common_post_options): PCH is not compatible with
>>> 	no-unit-at-a-time.
>>> 	* opts.c (handle_options): Enable unit-at-a-time at O0 along with
>>> 	-fno-toplevel-reorder by default now.
>> OK.  I'm almost tempted to go further and consider removing 
>> no-unit-at-a-time completely.  What are the cases where 
>> -fno-unit-at-a-time is useful?
> 
> Java use no-unit-at-a-time by default because large bytecode units
> explode in memory.

It is possible that identifier GC fixes this.  The explosion was mainly
identifiers.

Andrew.



More information about the Gcc-patches mailing list