public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug driver/12448] -MT / -MQ don't behave as documented.
       [not found] <bug-12448-4@http.gcc.gnu.org/bugzilla/>
@ 2014-02-16 13:13 ` jackie.rosen at hushmail dot com
  0 siblings, 0 replies; 16+ messages in thread
From: jackie.rosen at hushmail dot com @ 2014-02-16 13:13 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12448

Jackie Rosen <jackie.rosen at hushmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jackie.rosen at hushmail dot com

--- Comment #14 from Jackie Rosen <jackie.rosen at hushmail dot com> ---
*** Bug 260998 has been marked as a duplicate of this bug. ***
Seen from the domain http://volichat.com
Page where seen: http://volichat.com/adult-chat-rooms
Marked for reference. Resolved as fixed @bugzilla.


^ permalink raw reply	[flat|nested] 16+ messages in thread

* [Bug driver/12448] -MT / -MQ don't behave as documented.
       [not found] <bug-12448-6090@http.gcc.gnu.org/bugzilla/>
                   ` (4 preceding siblings ...)
  2007-03-13 23:51 ` tromey at gcc dot gnu dot org
@ 2010-09-02 11:48 ` jsm28 at gcc dot gnu dot org
  5 siblings, 0 replies; 16+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2010-09-02 11:48 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #13 from jsm28 at gcc dot gnu dot org  2010-09-02 11:48 -------
This was fixed by the commit shown in the logs for this bug.


-- 

jsm28 at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
      Known to work|                            |4.3.0
         Resolution|                            |FIXED
   Target Milestone|---                         |4.3.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12448


^ permalink raw reply	[flat|nested] 16+ messages in thread

* [Bug driver/12448] -MT / -MQ don't behave as documented.
       [not found] <bug-12448-6090@http.gcc.gnu.org/bugzilla/>
                   ` (3 preceding siblings ...)
  2007-01-22  3:30 ` patchapp at dberlin dot org
@ 2007-03-13 23:51 ` tromey at gcc dot gnu dot org
  2010-09-02 11:48 ` jsm28 at gcc dot gnu dot org
  5 siblings, 0 replies; 16+ messages in thread
From: tromey at gcc dot gnu dot org @ 2007-03-13 23:51 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #11 from tromey at gcc dot gnu dot org  2007-03-13 23:50 -------
Subject: Bug 12448

Author: tromey
Date: Tue Mar 13 23:50:42 2007
New Revision: 122889

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=122889
Log:
2007-03-13  David Taylor  <taylor@candd.org>

        PR driver/12448:
        * gcc.c (cpp_unique_options): If -MT or -MQ is seen, don't pass
        default -MQ.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/gcc.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12448


^ permalink raw reply	[flat|nested] 16+ messages in thread

* [Bug driver/12448] -MT / -MQ don't behave as documented.
       [not found] <bug-12448-6090@http.gcc.gnu.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2007-01-22  3:29 ` tromey at gcc dot gnu dot org
@ 2007-01-22  3:30 ` patchapp at dberlin dot org
  2007-03-13 23:51 ` tromey at gcc dot gnu dot org
  2010-09-02 11:48 ` jsm28 at gcc dot gnu dot org
  5 siblings, 0 replies; 16+ messages in thread
From: patchapp at dberlin dot org @ 2007-01-22  3:30 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #10 from patchapp at dberlin dot org  2007-01-22 03:30 -------
Subject: Bug number PR driver/12448

A patch for this bug has been added to the patch tracker.
The mailing list url for the patch is
http://gcc.gnu.org/ml/gcc-patches/2007-01/msg01759.html


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12448


^ permalink raw reply	[flat|nested] 16+ messages in thread

* [Bug driver/12448] -MT / -MQ don't behave as documented.
       [not found] <bug-12448-6090@http.gcc.gnu.org/bugzilla/>
  2005-12-11 18:46 ` pinskia at gcc dot gnu dot org
  2007-01-20  6:20 ` tromey at gcc dot gnu dot org
@ 2007-01-22  3:29 ` tromey at gcc dot gnu dot org
  2007-01-22  3:30 ` patchapp at dberlin dot org
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 16+ messages in thread
From: tromey at gcc dot gnu dot org @ 2007-01-22  3:29 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #9 from tromey at gcc dot gnu dot org  2007-01-22 03:29 -------
I tested this and it works.  I'm submitting it.


-- 

tromey at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |tromey at gcc dot gnu dot
                   |dot org                     |org
             Status|NEW                         |ASSIGNED
   Last reconfirmed|2005-05-16 02:23:53         |2007-01-22 03:29:19
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12448


^ permalink raw reply	[flat|nested] 16+ messages in thread

* [Bug driver/12448] -MT / -MQ don't behave as documented.
       [not found] <bug-12448-6090@http.gcc.gnu.org/bugzilla/>
  2005-12-11 18:46 ` pinskia at gcc dot gnu dot org
@ 2007-01-20  6:20 ` tromey at gcc dot gnu dot org
  2007-01-22  3:29 ` tromey at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 16+ messages in thread
From: tromey at gcc dot gnu dot org @ 2007-01-20  6:20 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from tromey at gcc dot gnu dot org  2007-01-20 06:19 -------
The patch in this PR looks correct to me.


-- 

tromey at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tromey at gcc dot gnu dot
                   |                            |org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12448


^ permalink raw reply	[flat|nested] 16+ messages in thread

* [Bug driver/12448] -MT / -MQ don't behave as documented.
       [not found] <bug-12448-6090@http.gcc.gnu.org/bugzilla/>
@ 2005-12-11 18:46 ` pinskia at gcc dot gnu dot org
  2007-01-20  6:20 ` tromey at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 16+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-12-11 18:46 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from pinskia at gcc dot gnu dot org  2005-12-11 18:46 -------
*** Bug 25356 has been marked as a duplicate of this bug. ***


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |igodard at pacbell dot net


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12448


^ permalink raw reply	[flat|nested] 16+ messages in thread

* [Bug driver/12448] -MT / -MQ don't behave as documented.
  2003-09-29 21:06 [Bug driver/12448] New: -NT / -NQ " taylor at candd dot org
                   ` (7 preceding siblings ...)
  2004-05-26 22:43 ` pinskia at gcc dot gnu dot org
@ 2005-02-15  6:17 ` ppluzhnikov at charter dot net
  8 siblings, 0 replies; 16+ messages in thread
From: ppluzhnikov at charter dot net @ 2005-02-15  6:17 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From ppluzhnikov at charter dot net  2005-02-14 23:37 -------
I just bumped into this bug as well.
Still failing in gcc-3.4.3 a year later :-(

The simplest test case:

  mkdir pr12448 && cd pr12448 && touch foo.c &&
  gcc -c -o foo.o -MD -MTfoobar foo.c && cat foo.d

Current output:
foobar foo.o: foo.c

Expected output:
foobar: foo.c

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12448


^ permalink raw reply	[flat|nested] 16+ messages in thread

* [Bug driver/12448] -MT / -MQ don't behave as documented.
  2003-09-29 21:06 [Bug driver/12448] New: -NT / -NQ " taylor at candd dot org
                   ` (6 preceding siblings ...)
  2004-01-10 22:32 ` pinskia at gcc dot gnu dot org
@ 2004-05-26 22:43 ` pinskia at gcc dot gnu dot org
  2005-02-15  6:17 ` ppluzhnikov at charter dot net
  8 siblings, 0 replies; 16+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-05-26 22:43 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|3.5.0                       |---


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12448


^ permalink raw reply	[flat|nested] 16+ messages in thread

* [Bug driver/12448] -MT / -MQ don't behave as documented.
  2003-09-29 21:06 [Bug driver/12448] New: -NT / -NQ " taylor at candd dot org
                   ` (5 preceding siblings ...)
  2003-12-23 14:19 ` steven at gcc dot gnu dot org
@ 2004-01-10 22:32 ` pinskia at gcc dot gnu dot org
  2004-05-26 22:43 ` pinskia at gcc dot gnu dot org
  2005-02-15  6:17 ` ppluzhnikov at charter dot net
  8 siblings, 0 replies; 16+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-01-10 22:32 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|3.4.0                       |3.5.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12448


^ permalink raw reply	[flat|nested] 16+ messages in thread

* [Bug driver/12448] -MT / -MQ don't behave as documented.
  2003-09-29 21:06 [Bug driver/12448] New: -NT / -NQ " taylor at candd dot org
                   ` (4 preceding siblings ...)
  2003-11-18  7:20 ` pinskia at gcc dot gnu dot org
@ 2003-12-23 14:19 ` steven at gcc dot gnu dot org
  2004-01-10 22:32 ` pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 16+ messages in thread
From: steven at gcc dot gnu dot org @ 2003-12-23 14:19 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From steven at gcc dot gnu dot org  2003-12-23 12:06 -------
The proposed patch would be this:  
 
------------------------------------------------------------------------ 
<date>  David Taylor  <taylor at candd dot org>   
 
	PR driver/12448 
	* gcc.c (cpp_unique_options): Strip  
 
Index: gcc.c 
=================================================================== 
RCS file: /cvs/gcc/gcc/gcc/gcc.c,v 
retrieving revision 1.400 
diff -c -3 -p -r1.400 gcc.c 
*** gcc.c       20 Dec 2003 07:40:21 -0000      1.400 
--- gcc.c       23 Dec 2003 11:57:41 -0000 
*************** static const char *cpp_unique_options = 
*** 745,751 **** 
   %{MD:-MD %{!o:%b.d}%{o*:%.d%*}}\ 
   %{MMD:-MMD %{!o:%b.d}%{o*:%.d%*}}\ 
   %{M} %{MM} %{MF*} %{MG} %{MP} %{MQ*} %{MT*}\ 
!  %{!E:%{!M:%{!MM:%{MD|MMD:%{o*:-MQ %*}}}}}\ 
   %{trigraphs} %{remap} %{g3:-dD} %{H} %C %{D*&U*&A*} %{i*} %Z %i\ 
   %{E|M|MM:%W{o*}}"; 
 
--- 745,751 ---- 
   %{MD:-MD %{!o:%b.d}%{o*:%.d%*}}\ 
   %{MMD:-MMD %{!o:%b.d}%{o*:%.d%*}}\ 
   %{M} %{MM} %{MF*} %{MG} %{MP} %{MQ*} %{MT*}\ 
!  %{!E:%{!M:%{!MM:%{!MT:%{!MQ:%{MD|MMD:%{o*:-MQ %*}}}}}}} \ 
   %{trigraphs} %{remap} %{g3:-dD} %{H} %C %{D*&U*&A*} %{i*} %Z %i\ 
   %{E|M|MM:%W{o*}}"; 
   
------------------------------------------------------------------------   
 
I really can't tell if this is correct or not.  Evil driver commands! 

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|2003-11-18 07:20:17         |2003-12-23 12:06:24
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12448


^ permalink raw reply	[flat|nested] 16+ messages in thread

* [Bug driver/12448] -MT / -MQ don't behave as documented.
  2003-09-29 21:06 [Bug driver/12448] New: -NT / -NQ " taylor at candd dot org
                   ` (3 preceding siblings ...)
  2003-10-05 18:17 ` vvas at hal dot csd dot auth dot gr
@ 2003-11-18  7:20 ` pinskia at gcc dot gnu dot org
  2003-12-23 14:19 ` steven at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 16+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-11-18  7:20 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-11-18 07:20 -------
Confirmed but please send the patch to gcc-patches@gcc.gnu.org.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2003-11-18 07:20:17
               date|                            |
   Target Milestone|---                         |3.4


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12448


^ permalink raw reply	[flat|nested] 16+ messages in thread

* [Bug driver/12448] -MT / -MQ don't behave as documented.
  2003-09-29 21:06 [Bug driver/12448] New: -NT / -NQ " taylor at candd dot org
                   ` (2 preceding siblings ...)
  2003-10-03 14:34 ` taylor at candd dot org
@ 2003-10-05 18:17 ` vvas at hal dot csd dot auth dot gr
  2003-11-18  7:20 ` pinskia at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 16+ messages in thread
From: vvas at hal dot csd dot auth dot gr @ 2003-10-05 18:17 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12448


vvas at hal dot csd dot auth dot gr changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |vvas at hal dot csd dot auth
                   |                            |dot gr


------- Additional Comments From vvas at hal dot csd dot auth dot gr  2003-10-05 18:17 -------
  Hello,

  I just came to Bugzilla to report this bug, and bumped into this existing bug
report. Since this is currently set as UNCONFIRMED, I'd simply like to point out
that the bug is very easily reproducible. For example:

$ touch foo.h
$ echo '#include "foo.h"' > foo.c
$ gcc -c -MD foo.c -MT foo.d -o foo.o
$ cat foo.d
foo.d foo.o: foo.c foo.h

  Now, since -MT is advertised to "set the target to be exactly the string you
specify", and indeed does that in all other cases (i.e., except when it's
specified along with both -MD and -o), this is an obviously wrong behaviour.


^ permalink raw reply	[flat|nested] 16+ messages in thread

* [Bug driver/12448] -MT / -MQ don't behave as documented.
  2003-09-29 21:06 [Bug driver/12448] New: -NT / -NQ " taylor at candd dot org
  2003-09-29 21:19 ` [Bug driver/12448] -MT / -MQ " pinskia at gcc dot gnu dot org
  2003-10-01 17:39 ` pinskia at gcc dot gnu dot org
@ 2003-10-03 14:34 ` taylor at candd dot org
  2003-10-05 18:17 ` vvas at hal dot csd dot auth dot gr
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 16+ messages in thread
From: taylor at candd dot org @ 2003-10-03 14:34 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12448



------- Additional Comments From taylor at candd dot org  2003-10-03 14:34 -------
To reproduce the problem, consider the following Makefile:

CC = gcc
CFLAGS = -MD -MT foo.o -MF foo.d
MV = mv

foo.o: bar.c
        ${CC} bar.c -o - > xfoo.o
        ${MV} xfoo.o foo.o

Suppose bar.c includes no files, then the resulting foo.d
file will contain:

    foo.o -: bar.c

But, it should contain:

    foo.o: bar.c

The - should NOT be present.  You could argue about whether - should ever
be a target within the .d file, but regardless -- if the user specified one
or more targets with -MT / -MQ, then the *DEFAULT* target should *NOT* be used.

Eliminating or editing the cpp_unique_options line, as mentioned, fixes
the problem.

Deleting the line (my preferred fix) bootstraps just fine.  There do not
appear to be any tests within the testsuite that test the -MT / -MQ / -MD /
-MMD / -MF / -M<whatever> options.  If someone will give me a pointer on
how to have the testsuite compare two files -- the generated .d file against
the correct .d file, I will gladly write a test case for this bug.


^ permalink raw reply	[flat|nested] 16+ messages in thread

* [Bug driver/12448] -MT / -MQ don't behave as documented.
  2003-09-29 21:06 [Bug driver/12448] New: -NT / -NQ " taylor at candd dot org
  2003-09-29 21:19 ` [Bug driver/12448] -MT / -MQ " pinskia at gcc dot gnu dot org
@ 2003-10-01 17:39 ` pinskia at gcc dot gnu dot org
  2003-10-03 14:34 ` taylor at candd dot org
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 16+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-10-01 17:39 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12448



------- Additional Comments From pinskia at gcc dot gnu dot org  2003-10-01 17:39 -------
*** Bug 12478 has been marked as a duplicate of this bug. ***


^ permalink raw reply	[flat|nested] 16+ messages in thread

* [Bug driver/12448] -MT / -MQ don't behave as documented.
  2003-09-29 21:06 [Bug driver/12448] New: -NT / -NQ " taylor at candd dot org
@ 2003-09-29 21:19 ` pinskia at gcc dot gnu dot org
  2003-10-01 17:39 ` pinskia at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 16+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-09-29 21:19 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12448


pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|-NT / -NQ don't behave as   |-MT / -MQ don't behave as
                   |documented.                 |documented.


^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2014-02-16 13:13 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-12448-4@http.gcc.gnu.org/bugzilla/>
2014-02-16 13:13 ` [Bug driver/12448] -MT / -MQ don't behave as documented jackie.rosen at hushmail dot com
     [not found] <bug-12448-6090@http.gcc.gnu.org/bugzilla/>
2005-12-11 18:46 ` pinskia at gcc dot gnu dot org
2007-01-20  6:20 ` tromey at gcc dot gnu dot org
2007-01-22  3:29 ` tromey at gcc dot gnu dot org
2007-01-22  3:30 ` patchapp at dberlin dot org
2007-03-13 23:51 ` tromey at gcc dot gnu dot org
2010-09-02 11:48 ` jsm28 at gcc dot gnu dot org
2003-09-29 21:06 [Bug driver/12448] New: -NT / -NQ " taylor at candd dot org
2003-09-29 21:19 ` [Bug driver/12448] -MT / -MQ " pinskia at gcc dot gnu dot org
2003-10-01 17:39 ` pinskia at gcc dot gnu dot org
2003-10-03 14:34 ` taylor at candd dot org
2003-10-05 18:17 ` vvas at hal dot csd dot auth dot gr
2003-11-18  7:20 ` pinskia at gcc dot gnu dot org
2003-12-23 14:19 ` steven at gcc dot gnu dot org
2004-01-10 22:32 ` pinskia at gcc dot gnu dot org
2004-05-26 22:43 ` pinskia at gcc dot gnu dot org
2005-02-15  6:17 ` ppluzhnikov at charter dot net

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).