From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12967 invoked by alias); 8 Dec 2003 23:14:18 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 12957 invoked by uid 48); 8 Dec 2003 23:14:15 -0000 Date: Mon, 08 Dec 2003 23:14:00 -0000 Message-ID: <20031208231415.12956.qmail@sources.redhat.com> From: "janis187 at us dot ibm dot com" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20031114031823.13046.n8gray@caltech.edu> References: <20031114031823.13046.n8gray@caltech.edu> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug preprocessor/13046] [3.3/3.4 Regression] -traditional-cpp rejects valid code X-Bugzilla-Reason: CC X-SW-Source: 2003-12/txt/msg00996.txt.bz2 List-Id: ------- Additional Comments From janis187 at us dot ibm dot com 2003-12-08 23:14 ------- The regression in PR 13046 was introduced or exposed with this patch: 2002-06-28 Neil Booth PR preprocessor/7138 * cpplib.c (_cpp_handle_directive): Do traditional preparation after setting state.angled_headers. * cpptrad.c (scan_out_logical_line): Fix potential quote bug. The regression hunt took place on i686-pc-linux-gnu using the small test case from comment #2, but is confirmed with the original test case whose output before the patch (blank lines removed) is: # 1 "13046_orig.c" # 1 "" # 1 ""# 1 "" # 1 "" # 1 "13046_orig.c" 13046_orig.c:2: warning: #warning Defining two-argument macros and right after the patch is: # 1 "13046_orig.c" # 1 "" # 1 "" # 1 "13046_orig.c" 13046_orig.c:2: warning: #warning Defining two-argument macros 13046_orig.c:7: macro "btodb" requires 2 arguments, but only 1 given 13046_orig.c:8: macro "dbtob" requires 2 arguments, but only 1 given -- What |Removed |Added ---------------------------------------------------------------------------- CC| |neil at daikokuya dot co dot | |uk http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13046