From patchwork Mon Nov 3 23:00:57 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?TWFudWVsIEzDs3Blei1JYsOhw7Fleg==?= X-Patchwork-Id: 406370 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 963A2140082 for ; Tue, 4 Nov 2014 10:01:29 +1100 (AEDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :mime-version:from:date:message-id:subject:to:content-type :content-transfer-encoding; q=dns; s=default; b=L5ZeAw9tBzNgntHy yD0vYZeGmGnXhzzD96J+Z2pepaAe5x6IT7g6GOPaRZUX/MNiMyfI8dHzkpKDhL/U z4MUm9rMYiqhAYVbVTPYe7NlfokIJun/uqZg4AoQtwjjUQNr71LetAA6SDEQKYKD lTHbeMXkzFdN9imlBCeYXAJafmU= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :mime-version:from:date:message-id:subject:to:content-type :content-transfer-encoding; s=default; bh=PwzAue81wXzqocLuTMMg8F w8jKI=; b=RAR8/4SgmXFqJAJ+UYNLdYoTxY+WFPF885+0gwCHioKchzYOWY/S9p 9i7jr61M5RkXB6eaYLZLj0OOrDlMBxXynH0PNwjtFZWZJk8j/dHfY0j7GNzzTuMT wjH19tGXe6LBfcUcwkLVziZWXA0+mItJohnAR4xqZcufeUJUvrJSE= Received: (qmail 17422 invoked by alias); 3 Nov 2014 23:01:22 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 17411 invoked by uid 89); 3 Nov 2014 23:01:21 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.3 required=5.0 tests=AWL, BAYES_00, FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-wg0-f44.google.com Received: from mail-wg0-f44.google.com (HELO mail-wg0-f44.google.com) (74.125.82.44) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Mon, 03 Nov 2014 23:01:20 +0000 Received: by mail-wg0-f44.google.com with SMTP id x12so11773109wgg.31 for ; Mon, 03 Nov 2014 15:01:17 -0800 (PST) X-Received: by 10.194.81.6 with SMTP id v6mr50770291wjx.39.1415055677602; Mon, 03 Nov 2014 15:01:17 -0800 (PST) MIME-Version: 1.0 Received: by 10.217.80.73 with HTTP; Mon, 3 Nov 2014 15:00:57 -0800 (PST) From: =?ISO-8859-1?Q?Manuel_L=F3pez=2DIb=E1=F1ez?= Date: Tue, 4 Nov 2014 00:00:57 +0100 Message-ID: Subject: fix obvious typos in input.c To: Gcc Patch List Committed as r217057. Index: gcc/input.c =================================================================== --- gcc/input.c (revision 217056) +++ gcc/input.c (revision 217057) @@ -749,19 +749,20 @@ expanded_location expand_location_to_spelling_point (source_location loc) { - return expand_location_1 (loc, /*expansion_piont_p=*/false); + return expand_location_1 (loc, /*expansion_point_p=*/false); } -/* If LOCATION is in a system header and if it's a virtual location for - a token coming from the expansion of a macro M, unwind it to the - location of the expansion point of M. Otherwise, just return +/* If LOCATION is in a system header and if it is a virtual location for + a token coming from the expansion of a macro, unwind it to the + location of the expansion point of the macro. Otherwise, just return LOCATION. This is used for instance when we want to emit diagnostics about a - token that is located in a macro that is itself defined in a system - header -- e.g for the NULL macro. In that case, if LOCATION is - passed to diagnostics emitting functions like warning_at as is, no - diagnostic won't be emitted. */ + token that may be located in a macro that is itself defined in a + system header, for example, for the NULL macro. In such a case, if + LOCATION were passed directly to diagnostic functions such as + warning_at, the diagnostic would be suppressed (unless + -Wsystem-headers). */ source_location expansion_point_location_if_in_system_header (source_location location) Index: gcc/ChangeLog =================================================================== --- gcc/ChangeLog (revision 217056) +++ gcc/ChangeLog (revision 217057) @@ -1,3 +1,8 @@ +2014-11-04 Manuel López-Ibáñez + + * input.c (expand_location_to_spelling_point): Fix typo. + (expansion_point_location_if_in_system_header): Fix comment. + 2014-11-03 Pitchumani Sivanupandi * config/avr/gen-avr-mmcu-specs.c: Remove unnecessary format specifier.