[gnu.utils.bug] bug in gnu make version 3.27

how@IRIS.UCDAVIS.EDU (W. Wilson Ho) (02/15/89)

I found the following bug in the Gnu make version 3.27.  The same bug
appears when running under both the Sun Workstation and the Vax.
Consider the following script:

---------------
Script started on Tue Feb 14 16:19:48 1989
how@iris:51> cat makefile
all: a a

a:
	@echo a
how@iris:52> /usr/gnu/make -n
how@iris:53> /usr/gnu/make
how@iris:54> /bin/make -n
echo a
how@iris:55> /bin/make 
a
how@iris:56> exit
how@iris:57> 
script done on Tue Feb 14 16:20:06 1989

---------------

The target "all" of the makefile (incorrectly) depends on "a" twice.
And the gnu make does not give an error message nor does it proceed to
work on creating "a".  The standard unix make does not have this bug.

Thank you for your attention!

Wilson Ho
-------------------------------------------------------------------------------
  W. Wilson Ho		        |  INTERNET: how@iris.ucdavis.edu
  Division of Computer Science	|  UUCP:     {lll-crg, ucbvax}!ucdavis!iris!how
  EECS Department		|
  University of California	|  Phone:    (916)752-7109
  Davis, CA 95616		|
-------------------------------------------------------------------------------