From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28835 invoked by alias); 1 Dec 2012 10:23:42 -0000 Received: (qmail 28819 invoked by uid 22791); 1 Dec 2012 10:23:41 -0000 X-SWARE-Spam-Status: No, hits=1.9 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_YE,RP_MATCHES_RCVD,SARE_FREE_WEBM_CZSEZNA X-Spam-Check-By: sourceware.org Received: from mxh2.seznam.cz (HELO mxh2.seznam.cz) (77.75.76.26) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 01 Dec 2012 10:23:35 +0000 Received: from ip-84-42-151-82.net.upcbroadband.cz (ip-84-42-151-82.net.upcbroadband.cz [84.42.151.82]) by email.seznam.cz with HTTP ; Sat, 01 Dec 2012 11:23:24 +0100 (CET) From: =?utf-8?q?Zden=C4=9Bk_Sojka?= To: Cc: Subject: [testcase] add testcase for PR53860 Date: Sat, 01 Dec 2012 10:23:00 -0000 Message-Id: Mime-Version: 1.0 (szn-mime-1.0.74) Content-Type: multipart/mixed; boundary="=_2416be7a6f8f3bfb77582af6=f4563afe-5d52-5d37-b778-8c4c3d4a49bd_=" X-IsSubscribed: yes Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org X-SW-Source: 2012-12/txt/msg00015.txt.bz2 --=_2416be7a6f8f3bfb77582af6=f4563afe-5d52-5d37-b778-8c4c3d4a49bd_= Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-length: 296 Hello, as advised by Alexandre Oliva at http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53860#c3 , I am submitting a testcase for PR53860. If Ok, I need someone to commit this patch. Tested by make check-g++. Thanks, Zdenek Sojka Changelog: PR debug/53860 * g++.dg/debug/pr53860.C: New testcase. --=_2416be7a6f8f3bfb77582af6=f4563afe-5d52-5d37-b778-8c4c3d4a49bd_= Content-Type: text/x-diff; charset=us-ascii; name=pr53860-testcase.diff Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename=pr53860-testcase.diff; size=414 Content-length: 552 Index: gcc/testsuite/g++.dg/debug/pr53860.C =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- gcc/testsuite/g++.dg/debug/pr53860.C (revision 0) +++ gcc/testsuite/g++.dg/debug/pr53860.C (revision 0) @@ -0,0 +1,14 @@ +// PR debug/53860 +// { dg-do compile } +// { dg-options "-fkeep-inline-functions -fdebug-types-section" } + +void +foo () +{ + struct S + { + S () + { + } + }; +} --=_2416be7a6f8f3bfb77582af6=f4563afe-5d52-5d37-b778-8c4c3d4a49bd_=--