From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 75601 invoked by alias); 14 Oct 2015 08:37:06 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 71812 invoked by uid 48); 14 Oct 2015 08:37:01 -0000 From: "rsandifo at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/67945] [6 Regression] Testsuite failures starting with revision 228616 Date: Wed, 14 Oct 2015 08:37:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 6.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rsandifo at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rsandifo at gcc dot gnu.org X-Bugzilla-Target-Milestone: 6.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-10/txt/msg01075.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67945 --- Comment #10 from rsandifo at gcc dot gnu.org --- (In reply to Richard Biener from comment #9) > I wonder if we should have two "phases" of simplifications, first > aggressively canonicalize and later apply the optimizations. We could > key this on a new GIMPLE state, PROP_gimple_XXX (can't figure out a good > acronym) and key patterns with it (like we have reload_completed on RTL). > The pass deciding it's time to "lower" stuff (rather than canonicalize) > would be cse_sincos (the pass doing the transform required > for the testcase). Note that some patters in that pass might be moved > to match.pd instead so we can key PROP_gimple_XXX on the forwprop pass > preceeding cse_sincos (so we can transform all stmts at once). OK, thanks for the pointer. I'm giving that a go now.