From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 691503858407; Sun, 2 Apr 2023 19:31:12 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 691503858407 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1680463872; bh=xnMhD8b6a4iVYzrB0VYZI4Zg+gZaH+Zxt3ZXfLTiX4Y=; h=From:To:Subject:Date:In-Reply-To:References:From; b=oBGVVWh8X27BHvqlrKNFp8rVCFkm8nWY1dm7KlwMCSgF3LaZEDupcyPpafrsSds6A 8Z8dIS2XK83qAd0g5BytrKPqyD7EmNM28snuh3ojJvzyN8JW7QVAfoWJNDYMCzg6ZC 3y7pDC5rTCwFucdPSBCCG7ze5X/gS9mtNXY8zMtk= From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug modula2/109336] The -fmod= and -fdef= options do not work. Date: Sun, 02 Apr 2023 19:31:11 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: modula2 X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: gaius at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D109336 --- Comment #3 from CVS Commits --- The master branch has been updated by Gaius Mulley : https://gcc.gnu.org/g:5bb27a1bb2f1c0533e1dda6c4a326e50756830f1 commit r13-6976-g5bb27a1bb2f1c0533e1dda6c4a326e50756830f1 Author: Gaius Mulley Date: Sun Apr 2 20:30:43 2023 +0100 PR modula2/109336 pass -fmod=3D though and build m2/stage2/cc1gm2 libs This patch enables gm2 to pass -fmod=3D though to cc1gm2. It also builds the libraries for m2/stage2/cc1gm2 with no named path and full debugging. gcc/m2/ChangeLog: PR modula2/109336 * Make-lang.in (GM2_O): Set to -O0. (GM2_LIBS): Remove target libraries and replace with build libs. (BUILD-LIBS): New declaration. (m2/gm2-libs/libgm2.a): New rule. (m2/gm2-libs/%.o): New rule. (m2/gm2-libs/choosetemp.o): New rule. * gm2-compiler/M2ColorString.mod (append): Use ADR rather than implicit conversion. * gm2-compiler/M2Comp.mod (Compile): Add qprintf messages for w= hen a source file is not found. Improve comments and formatting. * gm2-libs-ch/cgetopt.c (cgetopt_cgetopt_long): Remove ansi-decl.h. Add getopt.h. (cgetopt_cgetopt_long_only): Change cgetopt_ to getopt_. * gm2spec.cc (lang_specific_driver): Do not skip -fmod=3D. Remove comment. Signed-off-by: Gaius Mulley =