public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH v3 0/2] Fix C loops' back-jump location
@ 2015-11-04 16:15 Andreas Arnez
  2015-11-04 16:18 ` [PATCH v3 1/2] [PR debug/67192] " Andreas Arnez
  2015-11-04 16:18 ` [PATCH v3 2/2] [PR debug/67192] Further fix " Andreas Arnez
  0 siblings, 2 replies; 12+ messages in thread
From: Andreas Arnez @ 2015-11-04 16:15 UTC (permalink / raw)
  To: gcc-patches

Another iteration of trying to fix the regression caused by r223098
("Implement -Wmisleading-indentation").  Patch #1 is the same as v1,
except for some minor changes to the test case.  Patch #2 fixes some
additional cases where the back-jump's location was set wrongly, and
it removes the dependency on input_location for this purpose.

Tested on s390x without regressions.

Previous versions:
 * v1: https://gcc.gnu.org/ml/gcc-patches/2015-10/msg01132.html
 * v2: https://gcc.gnu.org/ml/gcc-patches/2015-10/msg02393.html

Andreas Arnez (2):
  [PR debug/67192] Fix C loops' back-jump location
  [PR debug/67192] Further fix C loops' back-jump location

 gcc/c/c-parser.c                       | 13 +++---
 gcc/c/c-typeck.c                       | 10 +++++
 gcc/testsuite/gcc.dg/guality/pr67192.c | 79 ++++++++++++++++++++++++++++++++++
 3 files changed, 96 insertions(+), 6 deletions(-)
 create mode 100644 gcc/testsuite/gcc.dg/guality/pr67192.c

-- 
2.3.0

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2015-11-09 17:59 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-11-04 16:15 [PATCH v3 0/2] Fix C loops' back-jump location Andreas Arnez
2015-11-04 16:18 ` [PATCH v3 1/2] [PR debug/67192] " Andreas Arnez
2015-11-05  9:21   ` Bernd Schmidt
2015-11-05 11:33     ` Andreas Arnez
2015-11-05 11:58       ` Bernd Schmidt
2015-11-05 15:30         ` Andreas Arnez
2015-11-07  5:13   ` Jeff Law
2015-11-09 15:36   ` Andreas Krebbel
2015-11-04 16:18 ` [PATCH v3 2/2] [PR debug/67192] Further fix " Andreas Arnez
2015-11-07  5:15   ` Jeff Law
2015-11-09 17:59     ` Andreas Arnez
2015-11-09 15:36   ` Andreas Krebbel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).