NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

PR/53178 CVS commit: src/external/gpl3/gcc/dist/gcc

The following reply was made to PR toolchain/53178; it has been noted by GNATS.

From: "Maya Rashish" <>
Subject: PR/53178 CVS commit: src/external/gpl3/gcc/dist/gcc
Date: Tue, 17 Apr 2018 10:02:49 +0000

 Module Name:	src
 Committed By:	maya
 Date:		Tue Apr 17 10:02:49 UTC 2018
 Modified Files:
 	src/external/gpl3/gcc/dist/gcc: genattrtab.c
 Log Message:
 Apply upstream commit:
 From: ppalka <ppalka@138bc75d-0d04-0410-961f-82ee72b054a4>
 Date: Wed, 27 Apr 2016 21:18:05 +0000
 Subject: [PATCH] Reduce nesting of parentheses in conditionals generated by
 	* genattrtab.c (write_test_expr): New parameter EMIT_PARENS
 	which defaults to true.  Emit an outer pair of parentheses only if
 	EMIT_PARENS.  When continuing a chain of && or || (or & or |),
 	don't emit parentheses for the right-hand operand.
 git-svn-id: svn+ssh://
 gcc/arm generates so many parens it hits a bracket depth limited which is
 enforced by clang. This reduces the number of parens generated and avoids the
 need to increase bracket depth.
 Fixes PR toolchain/53178 properly.
 To generate a diff of this commit:
 cvs rdiff -u -r1.1.1.4 -r1.2 src/external/gpl3/gcc/dist/gcc/genattrtab.c
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

Home | Main Index | Thread Index | Old Index