public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "cvs-commit at gcc dot gnu.org" <gcc-bugzilla@gcc.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	[thread overview]
Message-ID: <bug-109336-4-yT36Ng3fnn@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-109336-4@http.gcc.gnu.org/bugzilla/>

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109336

--- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Gaius Mulley <gaius@gcc.gnu.org>:

https://gcc.gnu.org/g:5bb27a1bb2f1c0533e1dda6c4a326e50756830f1

commit r13-6976-g5bb27a1bb2f1c0533e1dda6c4a326e50756830f1
Author: Gaius Mulley <gaiusmod2@gmail.com>
Date:   Sun Apr 2 20:30:43 2023 +0100

    PR modula2/109336 pass -fmod= though and build m2/stage2/cc1gm2 libs

    This patch enables gm2 to pass -fmod= 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 when
            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=.
            Remove comment.

    Signed-off-by: Gaius Mulley <gaiusmod2@gmail.com>

      parent reply	other threads:[~2023-04-02 19:31 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-29 14:22 [Bug modula2/109336] New: " gaius at gcc dot gnu.org
2023-03-29 14:22 ` [Bug modula2/109336] " gaius at gcc dot gnu.org
2023-03-29 16:39 ` cvs-commit at gcc dot gnu.org
2023-03-29 16:40 ` gaius at gcc dot gnu.org
2023-04-02 19:31 ` cvs-commit at gcc dot gnu.org [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-109336-4-yT36Ng3fnn@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).