[patch] Cleanup diagnostic.h in the gimple passes

Steven Bosscher stevenb.gcc@gmail.com
Wed Jun 2 15:26:00 GMT 2010


On Wed, Jun 2, 2010 at 5:03 PM, Steven Bosscher <stevenb.gcc@gmail.com> wrote:
> On Wed, Jun 2, 2010 at 5:01 PM, Richard Guenther
> <richard.guenther@gmail.com> wrote:
>>> Would it be OK for everyone if I move the default macro definitions to
>>> target.h with the commitment to hookize them before the end of stage
>>> 1?
>>
>> Woudln't it be defaults.h?
>
> Probably better, yes.

Like so. Bootstrapping now. Should be pretty obvious, but then again,
so should be removing any #includes. Yay to entanglement of gcc
sources, but at least, I hope, it shows that there's something good to
be gained from all this work...

HJ, Iain, could you please try of this fixes the problems you're seeing?

Thanks,

Ciao!
Steven

        * except.h: Move handling of USING_SJLJ_EXCEPTIONS to defaults.h.
        * expr.h (BRANCH_COST, MOVE_RATIO, CLEAR_RATIO, SET_RATIO,
        DEFAULT_FUNCTION_ARG_PADDING, FUNCTION_ARG_PADDING,
        FUNCTION_ARG_BOUNDARY, STACK_SAVEAREA_MODE, STACK_SIZE_MODE,
        STACK_CHECK_BUILTIN, STACK_CHECK_STATIC_BUILTIN,
        STACK_CHECK_PROBE_INTERVAL_EXP, STACK_CHECK_MOVING_SP,
        STACK_OLD_CHECK_PROTECT, STACK_CHECK_PROTECT,
        STACK_CHECK_MAX_FRAME_SIZE, STACK_CHECK_FIXED_FRAME_SIZE,
        STACK_CHECK_MAX_VAR_SIZE): Move target macro defaults to defaults.h.
        * defaults.h: Updated for above mentioned changes.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: default_tm_to_defaults_h.diff
Type: application/octet-stream
Size: 14740 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20100602/657d6d82/attachment.obj>


More information about the Gcc-patches mailing list