From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6742 invoked by alias); 1 Aug 2013 17:12:45 -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 6656 invoked by uid 48); 1 Aug 2013 17:12:41 -0000 From: "roystgnr at ices dot utexas.edu" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/57997] Segmentation fault after returning valarray expression from an auto function Date: Thu, 01 Aug 2013 17:12:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 4.8.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: roystgnr at ices dot utexas.edu X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- 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: 2013-08/txt/msg00040.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57997 --- Comment #6 from Roy Stogner --- Copyright assignment shouldn't be a problem. The one serious non-technical problem is going to be finding time to work on a patch. The only technical issue I've discovered so far is that making this robust with no efficiency penalty seems to be impossible without operator overloads that take rvalue references. libstdc++ policy is that C++11 features are fine to use if wrapped in #if __cplusplus >= 201103L and C++03 compatibility is maintained?