From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8684 invoked by alias); 9 Jan 2011 16:59:50 -0000 Received: (qmail 8675 invoked by uid 22791); 9 Jan 2011 16:59:49 -0000 X-SWARE-Spam-Status: No, hits=-2.9 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 09 Jan 2011 16:59:43 +0000 From: "bigotp at acm dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug driver/47236] New: Spaces introduced in option processing X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: driver X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: bigotp at acm dot org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Date: Sun, 09 Jan 2011 17:11:00 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2011-01/txt/msg00823.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47236 Summary: Spaces introduced in option processing Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: driver AssignedTo: unassigned@gcc.gnu.org ReportedBy: bigotp@acm.org The fix to #44076 causes options passed to language drivers to be split into two arguments, a feature not present in previous versions. cat >xspecs < foo.nc gcc -specs=xspecs -DTEST foo.nc With versions prior to revision 163770, this would produce output including: INVOKE: -DTEST As of that version, it now produces: INVOKE: -D TEST This breaks the nesC component-based compiler used for TinyOS, and possibly other similar languages that leverage the gcc driver. The space does not appear to be introduced for built-in languages (viz., the parameter remains -DTEST when passed to cpp for a C language file). If this is intentional and to be fixed in the per-language driver, please update the description of the specs language to describe the conditions under which such canonicalization can occur.