https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88024
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2018-11-15 Ever confirmed|0 |1 --- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> --- Hmm, this will be somewhat difficult to implement given it mixes option processing and pass list processing. Consider also -O2 -fno-tree-loop-optimize -ftree-loop-vectorize where -ftree-loop-vectorize has no effect because vectorization sits in a pass group that is guarded by -ftree-loop-optimize. That said it would indeed be nice to have flag "dependences" recorded somewhere but without duplication in two places (passes.def and elsewhere). Because that will very likely bitrot. So I don't like to see the "obvious" fix of adding sth to common.opt like ftree-pre Common Report Var(flag_tree_pre) Optimization NotO0 NotOg Enable SSA-PRE optimization on trees. Similar it would eventually be nice to diagnose -O3 -ftree-loop-vectorize -Woptions note: -ftree-loop-vectorize is already enabled by -O3 -O2 -fno-tree-loop-vectorize -Woptions note: -ftree-loop-vectorize was not enabled (not by default) Just to note what kind of meta-info is missing.