From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11158 invoked by alias); 31 Mar 2014 08:24:39 -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 11123 invoked by uid 48); 31 Mar 2014 08:24:34 -0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/60708] [4.8/4.9 Regression] An array temporary causes an ICE in gimplify Date: Mon, 31 Mar 2014 08:24:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 4.9.0 X-Bugzilla-Keywords: accepts-invalid X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.8.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_known_to_work keywords cf_reconfirmed_on everconfirmed short_desc target_milestone cf_known_to_fail 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: 2014-03/txt/msg02751.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60708 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Known to work| |4.7.3 Keywords| |accepts-invalid Last reconfirmed| |2014-03-31 Ever confirmed|0 |1 Summary|An array temporary causes |[4.8/4.9 Regression] An |an ICE in gimplify |array temporary causes an | |ICE in gimplify Target Milestone|--- |4.8.3 Known to fail| |4.8.0 --- Comment #1 from Richard Biener --- With 4.7 I get the maybe informative t.ii:5:55: error: 'my_make_pair' function uses 'auto' type specifier without trailing return type t.ii: In instantiation of 'mypair S::get_pair() [with T = char]': t.ii:23:19: required from here t.ii:12:36: error: 'my_make_pair' was not declared in this scope t.ii:23: confused by earlier errors, bailing out thus we miss the error in 4.8.x and 4.9 (but ICE the same later). Marking as accepts-invalid regression. After that it would be an error-recovery ice-on-invalid.