Re: RFD: CUMULATIVE_ARGS allocation

2011-06-27 Thread Joern Rennecke
Quoting Ian Lance Taylor : Joern Rennecke writes: - make INIT_CUMULATIVE_ARGS allocate using garbage-collected memory. That would require that each target provides appropriately typedefed / GTY-ed definitions. Multi-target operation would also require an index inside cumulative_args_t

Re: RFD: CUMULATIVE_ARGS allocation

2011-06-27 Thread Ian Lance Taylor
Joern Rennecke writes: > - make INIT_CUMULATIVE_ARGS allocate using garbage-collected memory. > That would require that each target provides appropriately > typedefed / GTY-ed > definitions. Multi-target operation would also require an index inside > cumulative_args_t to decide during GC w

RFD: CUMULATIVE_ARGS allocation

2011-06-25 Thread Joern Rennecke
The way we currently expose CUMULATIVE_ARGS to the function headers breaks modularity; in particular, one reason why function.h currently needs to include tm.h (PR middle-end/46495) is that it defines a structure that contains a CUMULATIVE_ARGS member. We could replace that with cumulative_args