From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24639 invoked by alias); 10 Dec 2010 11:13:32 -0000 Received: (qmail 24304 invoked by uid 22791); 10 Dec 2010 11:13:02 -0000 X-SWARE-Spam-Status: No, hits=-0.8 required=5.0 tests=AWL,BAYES_00,SUBJ_ALL_CAPS X-Spam-Check-By: sourceware.org Received: from seketeli.net (HELO ms.seketeli.net) (91.121.166.71) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 10 Dec 2010 11:12:11 +0000 Received: from adjoa.torimasen.com (torimasen.com [82.237.12.13]) by ms.seketeli.net (Postfix) with ESMTP id A7782160803D; Fri, 10 Dec 2010 12:11:39 +0100 (CET) Received: by adjoa.torimasen.com (Postfix, from userid 500) id 9D6F18E6046; Fri, 10 Dec 2010 12:11:38 +0100 (CET) From: Dodji Seketeli To: gcc-patches@gcc.gnu.org Cc: tromey@redhat.com, joseph@codesourcery.com, gdr@integrable-solutions.net, lopezibanez@gmail.com Subject: [PATCH 0/6] *** SUBJECT HERE *** Date: Fri, 10 Dec 2010 11:16:00 -0000 Message-Id: <1291979498-1604-2-git-send-email-dodji@redhat.com> In-Reply-To: <1291979498-1604-1-git-send-email-dodji@redhat.com> References: <1291979498-1604-1-git-send-email-dodji@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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: 2010-12/txt/msg00857.txt.bz2 *** BLURB HERE *** Dodji Seketeli (6): Linemap infrastructure for virtual locations Generate virtual locations for tokens Emit macro expansion related diagnostics Support -fdebug-cpp option Add line map statistics to -fmem-report output Kill pedantic warnings on system headers macros gcc/Makefile.in | 2 +- gcc/ada/gcc-interface/trans.c | 10 +- gcc/c-decl.c | 17 +- gcc/c-family/c-lex.c | 10 +- gcc/c-family/c-opts.c | 17 + gcc/c-family/c-pch.c | 2 +- gcc/c-family/c-ppoutput.c | 92 ++- gcc/c-family/c.opt | 12 + gcc/c-parser.c | 12 +- gcc/c-tree.h | 2 +- gcc/cp/error.c | 2 +- gcc/diagnostic.c | 160 +++- gcc/diagnostic.h | 2 +- gcc/doc/cppopts.texi | 29 + gcc/doc/invoke.texi | 6 +- gcc/fortran/cpp.c | 22 +- gcc/input.c | 107 ++- gcc/input.h | 22 +- gcc/java/jcf-parse.c | 2 +- gcc/testsuite/g++.dg/cpp0x/initlist15.C | 1 + gcc/testsuite/g++.old-deja/g++.robertl/eb43.C | 4 + gcc/testsuite/g++.old-deja/g++.robertl/eb79.C | 4 + gcc/testsuite/gcc.dg/cpp/macro-exp-tracking-1.c | 30 + gcc/testsuite/gcc.dg/cpp/macro-exp-tracking-2.c | 31 + gcc/testsuite/gcc.dg/cpp/macro-exp-tracking-3.c | 18 + gcc/testsuite/gcc.dg/cpp/macro-exp-tracking-4.c | 19 + gcc/testsuite/gcc.dg/cpp/syshdr3.c | 16 + gcc/testsuite/gcc.dg/cpp/syshdr3.h | 7 + gcc/testsuite/gcc.dg/nofixed-point-2.c | 6 +- gcc/testsuite/gcc.target/i386/sse-vect-types.c | 6 + gcc/toplev.c | 1 + gcc/tree-diagnostic.c | 2 +- libcpp/directives-only.c | 7 +- libcpp/directives.c | 19 +- libcpp/errors.c | 21 +- libcpp/expr.c | 176 ++-- libcpp/files.c | 24 +- libcpp/include/cpp-id-data.h | 6 + libcpp/include/cpplib.h | 15 +- libcpp/include/line-map.h | 634 +++++++++++-- libcpp/init.c | 3 +- libcpp/internal.h | 49 +- libcpp/lex.c | 112 ++- libcpp/line-map.c | 997 +++++++++++++++++-- libcpp/macro.c | 1188 ++++++++++++++++++++--- libcpp/traditional.c | 7 +- 46 files changed, 3376 insertions(+), 555 deletions(-) create mode 100644 gcc/testsuite/gcc.dg/cpp/macro-exp-tracking-1.c create mode 100644 gcc/testsuite/gcc.dg/cpp/macro-exp-tracking-2.c create mode 100644 gcc/testsuite/gcc.dg/cpp/macro-exp-tracking-3.c create mode 100644 gcc/testsuite/gcc.dg/cpp/macro-exp-tracking-4.c create mode 100644 gcc/testsuite/gcc.dg/cpp/syshdr3.c create mode 100644 gcc/testsuite/gcc.dg/cpp/syshdr3.h -- Dodji