[bug #66627] A target-specific variable side-effect on eval

anonymous <[email protected]>
Newsgroups gmane.comp.gnu.make.bugs
Message-ID <[email protected]>
URL:
  <https://savannah.gnu.org/bugs/?66627>

                 Summary: A target-specific variable side-effect on eval
                   Group: make
               Submitter: None
               Submitted: Thu 02 Jan 2025 08:00:10 PM UTC
                Severity: 3 - Normal
              Item Group: Bug
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
       Component Version: 4.4.1
        Operating System: Any
           Fixed Release: None
           Triage Status: None


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Thu 02 Jan 2025 08:00:10 PM UTC By: Anonymous
A target-specific variable has a "strange" side-effect on evaluation of
expressions involving the variable. I have replicated this on various GNU Make
versions: 3.81 on macos, 4.3.0 on ubuntu, 4.4.1 on fedora. 








    _______________________________________________________
File Attachments:


-------------------------------------------------------
Name: Makefile  Size: 1KiB
<https://file.savannah.gnu.org/file/Makefile?file_id=56734>
-------------------------------------------------------
Name: reproduce-bug-make-20250102.results  Size: 1KiB
<https://file.savannah.gnu.org/file/reproduce-bug-make-20250102.results?file_id=56735>

    AGPL NOTICE

These attachments are served by Savane. You can download the corresponding
source code of Savane at
https://savannah.gnu.org/source/savane-60bab5f4bb97079a4f50fd30c5633b2562628477.tar.gz

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?66627>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc (application/pgp-signature, 228 B)
-----BEGIN PGP SIGNATURE-----

iHUEABYIAB0WIQQk97aszIMMAvLLwm6qLAuaBUf3TgUCZ3bwTgAKCRCqLAuaBUf3
TtqfAQDpw0ptIP9Xo9TG/1AvttzR8gVNm7ZW1hHgsmGJFCWXbQD/SeNgXh1TRMPc
nVZQR0bdxb0M2lTOHMijTznJFsF4qgg=
=U/wy
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.