From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from userp2120.oracle.com (userp2120.oracle.com [156.151.31.85]) by sourceware.org (Postfix) with ESMTPS id 0E6D9385DC1B for ; Wed, 15 Apr 2020 20:30:29 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 0E6D9385DC1B Received: from pps.filterd (userp2120.oracle.com [127.0.0.1]) by userp2120.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 03FKRtsH022245; Wed, 15 Apr 2020 20:30:29 GMT Received: from userp3030.oracle.com (userp3030.oracle.com [156.151.31.80]) by userp2120.oracle.com with ESMTP id 30e0bfbakf-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 15 Apr 2020 20:30:29 +0000 Received: from pps.filterd (userp3030.oracle.com [127.0.0.1]) by userp3030.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 03FKRpAr013502; Wed, 15 Apr 2020 20:30:28 GMT Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by userp3030.oracle.com with ESMTP id 30dynwe0hb-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 15 Apr 2020 20:30:28 +0000 Received: from abhmp0014.oracle.com (abhmp0014.oracle.com [141.146.116.20]) by userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id 03FKURWb006994; Wed, 15 Apr 2020 20:30:27 GMT Received: from dhcp-10-154-132-46.vpn.oracle.com (/10.154.132.46) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Wed, 15 Apr 2020 13:30:27 -0700 From: Qing Zhao Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Subject: Fwd: PING [PATCH][gcc][PR94230]provide an option to change the size limitation for -Wmisleading-indent Date: Wed, 15 Apr 2020 15:30:26 -0500 References: <47B8948D-C9BA-41EC-B55B-AF8117E79C50@ORACLE.COM> Cc: gcc-patches@gcc.gnu.org To: dmalcolm@redhat.com, jakub@redhat.com Message-Id: X-Mailer: Apple Mail (2.3445.104.11) X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9592 signatures=668686 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxlogscore=999 suspectscore=0 malwarescore=0 phishscore=0 spamscore=0 adultscore=0 mlxscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2003020000 definitions=main-2004150153 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9592 signatures=668686 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 malwarescore=0 clxscore=1015 priorityscore=1501 mlxscore=0 lowpriorityscore=0 mlxlogscore=999 impostorscore=0 adultscore=0 suspectscore=0 phishscore=0 spamscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2003020000 definitions=main-2004150153 X-Spam-Status: No, score=-2.4 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, HTML_MESSAGE, KAM_SHORT, SPF_HELO_PASS, SPF_PASS, TXREP, UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Apr 2020 20:30:31 -0000 Ping. We need this patch for our product building. thanks. Qing > Begin forwarded message: >=20 > From: Qing Zhao via Gcc-patches > Subject: PING [PATCH][gcc][PR94230]provide an option to change the = size limitation for -Wmisleading-indent=20 > Date: April 8, 2020 at 2:39:22 PM CDT > To: dmalcolm@redhat.com, jakub@redhat.com > Cc: gcc-patches@gcc.gnu.org > Reply-To: Qing Zhao >=20 > Hi, >=20 > Please take a look at the attached patch and let me know your = comments. >=20 > Thanks. >=20 > Qing >=20 > gcc/ChangeLog: >=20 > 2020-04-03 qing zhao >=20 > * common.opt: Add -flocation-ranges. > * doc/invoke.texi: Document it. > * toplev.c (process_options): set line_table->default_range_bits > to 0 when flag_location_ranges is false.=20 >=20 >=20 >=20 >> Begin forwarded message: >>=20 >> From: Qing Zhao via Gcc-patches >> Subject: [PATCH][gcc][PR94230]provide an option to change the size = limitation for -Wmisleading-indent=20 >> Date: April 3, 2020 at 2:55:53 PM CDT >> To: dmalcolm@redhat.com, jakub@redhat.com >> Cc: gcc-patches@gcc.gnu.org >> Reply-To: Qing Zhao >>=20 >> Hi, David and Jakub, >>=20 >> Per the discussion we had for PR94230: provide an option to change = the size limitation for -Wmisleading-indent >> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D94230 = >>=20 >> I come up with the following simple patch per David=E2=80=99s = suggestion: >>=20 >> Provide a new first class option -flocation-ranges to control = enabling/disablng range tracking when recording source locations. >> The default value for this option is enabling the range tracking. >>=20 >> When specify -fno-location-ranges, disable the range tracking to save = space for column tracking.=20 >>=20 >> I have tested this GCC to build our huge application by adding = -fno-location-ranges, the whole build completed without any issue. and >> -Wmisleading-indent also emitted several helpful warning message = during building. >>=20 >> I am running bootstrap right now. >>=20 >> Could you please take a look at the attached patch? >>=20 >> thanks. >>=20 >> Qing >>=20 >>=20 >>=20 >>=20 >=20