Merge revs 1.2 (-fformat-extensions), 1.7 (FORCE_OPTIMIZATION_DOWNGRADE knob),
1.14 (-O/-O1 optimize alignment for time, not size). Back out r1.22 which used to enable warnings in system headers by default.
This commit is contained in:
parent
06a580baf7
commit
aba667dc74
@ -1410,7 +1410,7 @@ int inhibit_warnings = 0;
|
||||
|
||||
/* Don't suppress warnings from system headers. -Wsystem-headers. */
|
||||
|
||||
int warn_system_headers = 1;
|
||||
int warn_system_headers = 0;
|
||||
|
||||
/* Print various extra warnings. -W. */
|
||||
|
||||
@ -2823,7 +2823,8 @@ rest_of_compilation (decl)
|
||||
tem = cse_main (insns, max_reg_num (), 0, rtl_dump_file);
|
||||
if (tem)
|
||||
rebuild_jump_labels (insns);
|
||||
purge_all_dead_edges (0);
|
||||
if (purge_all_dead_edges (0))
|
||||
delete_unreachable_blocks ();
|
||||
|
||||
delete_trivially_dead_insns (insns, max_reg_num ());
|
||||
|
||||
@ -3468,6 +3469,23 @@ rest_of_compilation (decl)
|
||||
#endif
|
||||
|
||||
#ifdef STACK_REGS
|
||||
#if defined (HAVE_ATTR_length)
|
||||
/* If flow2 creates new instructions which need splitting
|
||||
and scheduling after reload is not done, they might not be
|
||||
splitten until final which doesn't allow splitting
|
||||
if HAVE_ATTR_length. */
|
||||
#ifdef INSN_SCHEDULING
|
||||
if (optimize && !flag_schedule_insns_after_reload)
|
||||
#else
|
||||
if (optimize)
|
||||
#endif
|
||||
{
|
||||
timevar_push (TV_SHORTEN_BRANCH);
|
||||
split_all_insns (1);
|
||||
timevar_pop (TV_SHORTEN_BRANCH);
|
||||
}
|
||||
#endif
|
||||
|
||||
timevar_push (TV_REG_STACK);
|
||||
open_dump_file (DFI_stack, decl);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user