From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11214 invoked by alias); 31 Jul 2012 21:09:49 -0000 Received: (qmail 11206 invoked by uid 22791); 31 Jul 2012 21:09:48 -0000 X-SWARE-Spam-Status: No, hits=-6.9 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_THREADED,RCVD_IN_DNSWL_HI,RCVD_IN_HOSTKARMA_W,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 31 Jul 2012 21:09:31 +0000 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q6VL9U8T012246 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 31 Jul 2012 17:09:30 -0400 Received: from greed.delorie.com (ovpn-113-78.phx2.redhat.com [10.3.113.78]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id q6VL9TEf002341 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 31 Jul 2012 17:09:30 -0400 Received: from greed.delorie.com (greed.delorie.com [127.0.0.1]) by greed.delorie.com (8.14.4/8.14.4) with ESMTP id q6VL9TiZ027556; Tue, 31 Jul 2012 17:09:29 -0400 Received: (from dj@localhost) by greed.delorie.com (8.14.4/8.14.4/Submit) id q6VL9SCl027555; Tue, 31 Jul 2012 17:09:28 -0400 Date: Tue, 31 Jul 2012 21:25:00 -0000 Message-Id: <201207312109.q6VL9SCl027555@greed.delorie.com> From: DJ Delorie To: Richard Henderson CC: gcc-patches@gcc.gnu.org In-reply-to: <501806B6.7020409@redhat.com> (message from Richard Henderson on Tue, 31 Jul 2012 09:24:22 -0700) Subject: Re: TPF: disable discriminators References: <201207310407.q6V47qIe028859@greed.delorie.com> <501806B6.7020409@redhat.com> 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-07/txt/msg01590.txt.bz2 Ah, the original complaint was for a gcc branch which doesn't have your strict-dwarf/discriminator patch. How's this? Index: gcc/config/s390/s390.c =================================================================== --- gcc/config/s390/s390.c (revision 190017) +++ gcc/config/s390/s390.c (working copy) @@ -1651,12 +1651,21 @@ s390_option_override (void) flag_prefetch_loop_arrays = 1; /* Use the alternative scheduling-pressure algorithm by default. */ maybe_set_param_value (PARAM_SCHED_PRESSURE_ALGORITHM, 2, global_options.x_param_values, global_options_set.x_param_values); + +#ifdef TARGET_TPF + /* Don't emit DWARF3/4 unless specifically selected. The TPF + debuggers do not yet support DWARF 3/4. */ + if (!global_options_set.x_dwarf_strict) + dwarf_strict = 1; + if (!global_options_set.x_dwarf_version) + dwarf_version = 2; +#endif } /* Map for smallest class containing reg regno. */ const enum reg_class regclass_map[FIRST_PSEUDO_REGISTER] = { GENERAL_REGS, ADDR_REGS, ADDR_REGS, ADDR_REGS,