Changeset f017af6


Ignore:
Timestamp:
Apr 15, 2020, 3:20:48 PM (4 years ago)
Author:
Andrew Beach <ajbeach@…>
Branches:
ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
Children:
849f2c6b
Parents:
0a6da484
Message:

Another attempt at configuring the optimization flags for exception. Tested some gcc versions locally.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/exception.c

    r0a6da484 rf017af6  
    445445
    446446#pragma GCC push_options
    447 #if __GNUC__ != 7
     447#if __GNUC__ < 7
    448448#pragma GCC optimize("no-toplevel-reorder")
    449 #else
    450 #pragma GCC optimize("no-unit-at-a-time")
     449#elif __GNUC__ == 7
     450#pragma GCC optimize(0)
    451451#endif
    452452
Note: See TracChangeset for help on using the changeset viewer.