Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 729570
Collapse All | Expand All

(-)a/gcc/opts.c (-2 / +8 lines)
Lines 458-464 static const struct default_options default_options_table[] = Link Here
458
    /* -O1 (and not -Og) optimizations.  */
458
    /* -O1 (and not -Og) optimizations.  */
459
    { OPT_LEVELS_1_PLUS_NOT_DEBUG, OPT_fbranch_count_reg, NULL, 1 },
459
    { OPT_LEVELS_1_PLUS_NOT_DEBUG, OPT_fbranch_count_reg, NULL, 1 },
460
#if DELAY_SLOTS
460
#if DELAY_SLOTS
461
    { OPT_LEVELS_1_PLUS_NOT_DEBUG, OPT_fdelayed_branch, NULL, 1 },
461
    /*
462
     * From https://gcc.gnu.org/PR96015 / https://bugs.gentoo.org/729570.
463
     * delayed branches are known to generate invalid code around
464
     * __builtin_unreachable(); and mis-compiles python.
465
     *
466
     * Use blunt hammer and disable delayed slots until we have better fix.
467
     */
468
    /* { OPT_LEVELS_1_PLUS_NOT_DEBUG, OPT_fdelayed_branch, NULL, 1 }, */
462
#endif
469
#endif
463
    { OPT_LEVELS_1_PLUS_NOT_DEBUG, OPT_fdse, NULL, 1 },
470
    { OPT_LEVELS_1_PLUS_NOT_DEBUG, OPT_fdse, NULL, 1 },
464
    { OPT_LEVELS_1_PLUS_NOT_DEBUG, OPT_fif_conversion, NULL, 1 },
471
    { OPT_LEVELS_1_PLUS_NOT_DEBUG, OPT_fif_conversion, NULL, 1 },
465
- 

Return to bug 729570