public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug preprocessor/30468]  New: -M not fully chops dirname
@ 2007-01-15  2:17 kaminaga at sm dot sony dot co dot jp
  2007-01-15  2:34 ` [Bug preprocessor/30468] [4.0/4.1/4.2/4.3 Regression] " pinskia at gcc dot gnu dot org
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: kaminaga at sm dot sony dot co dot jp @ 2007-01-15  2:17 UTC (permalink / raw)
  To: gcc-bugs

I see -M option for gcc-4.1.1 output chops dirname, but faces below
problem.

$ cat foo.c 
#include "foo.h"
$ cat Include/foo.h 
/* empty */
$ gcc41 -M -I.//Include foo.c 
foo.o: foo.c /Include/foo.h
             ^
             root?


gcc-3.4.4 output was:
$ gcc -M -I.//Include foo.c 
foo.o: foo.c .//Include/foo.h


-- 
           Summary: -M not fully chops dirname
           Product: gcc
           Version: 4.1.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: preprocessor
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: kaminaga at sm dot sony dot co dot jp


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


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

* [Bug preprocessor/30468] [4.0/4.1/4.2/4.3 Regression] -M not fully chops dirname
  2007-01-15  2:17 [Bug preprocessor/30468] New: -M not fully chops dirname kaminaga at sm dot sony dot co dot jp
@ 2007-01-15  2:34 ` pinskia at gcc dot gnu dot org
  2007-01-20  4:24 ` tromey at gcc dot gnu dot org
                   ` (10 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-01-15  2:34 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from pinskia at gcc dot gnu dot org  2007-01-15 02:34 -------
Confirmed.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pinskia at gcc dot gnu dot
                   |                            |org
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
      Known to fail|4.1.1                       |4.1.1 4.0.0 4.0.2 4.3.0
      Known to work|3.4.4                       |3.4.4 3.4.0
   Last reconfirmed|0000-00-00 00:00:00         |2007-01-15 02:34:25
               date|                            |
            Summary|-M not fully chops dirname  |[4.0/4.1/4.2/4.3 Regression]
                   |                            |-M not fully chops dirname
   Target Milestone|---                         |4.0.4


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


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

* [Bug preprocessor/30468] [4.0/4.1/4.2/4.3 Regression] -M not fully chops dirname
  2007-01-15  2:17 [Bug preprocessor/30468] New: -M not fully chops dirname kaminaga at sm dot sony dot co dot jp
  2007-01-15  2:34 ` [Bug preprocessor/30468] [4.0/4.1/4.2/4.3 Regression] " pinskia at gcc dot gnu dot org
@ 2007-01-20  4:24 ` tromey at gcc dot gnu dot org
  2007-01-21 23:30 ` patchapp at dberlin dot org
                   ` (9 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: tromey at gcc dot gnu dot org @ 2007-01-20  4:24 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from tromey at gcc dot gnu dot org  2007-01-20 04:23 -------
I'm testing a patch.


-- 

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|2007-01-15 02:34:25         |2007-01-20 04:23:53
               date|                            |


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


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

* [Bug preprocessor/30468] [4.0/4.1/4.2/4.3 Regression] -M not fully chops dirname
  2007-01-15  2:17 [Bug preprocessor/30468] New: -M not fully chops dirname kaminaga at sm dot sony dot co dot jp
  2007-01-15  2:34 ` [Bug preprocessor/30468] [4.0/4.1/4.2/4.3 Regression] " pinskia at gcc dot gnu dot org
  2007-01-20  4:24 ` tromey at gcc dot gnu dot org
@ 2007-01-21 23:30 ` patchapp at dberlin dot org
  2007-01-30 15:50 ` tromey at gcc dot gnu dot org
                   ` (8 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: patchapp at dberlin dot org @ 2007-01-21 23:30 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from patchapp at dberlin dot org  2007-01-21 23:30 -------
Subject: Bug number PR preprocessor/30468

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/msg01751.html


-- 


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


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

* [Bug preprocessor/30468] [4.0/4.1/4.2/4.3 Regression] -M not fully chops dirname
  2007-01-15  2:17 [Bug preprocessor/30468] New: -M not fully chops dirname kaminaga at sm dot sony dot co dot jp
                   ` (2 preceding siblings ...)
  2007-01-21 23:30 ` patchapp at dberlin dot org
@ 2007-01-30 15:50 ` tromey at gcc dot gnu dot org
  2007-01-30 16:30 ` [Bug preprocessor/30468] [4.0/4.1/4.2 " tromey at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: tromey at gcc dot gnu dot org @ 2007-01-30 15:50 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from tromey at gcc dot gnu dot org  2007-01-30 15:50 -------
Subject: Bug 30468

Author: tromey
Date: Tue Jan 30 15:50:00 2007
New Revision: 121341

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=121341
Log:
        PR preprocessor/30468:
        * mkdeps.c (apply_vpath): Strip successive '/'s if we stripped
        './'.

Modified:
    trunk/libcpp/ChangeLog
    trunk/libcpp/mkdeps.c


-- 


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


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

* [Bug preprocessor/30468] [4.0/4.1/4.2 Regression] -M not fully chops dirname
  2007-01-15  2:17 [Bug preprocessor/30468] New: -M not fully chops dirname kaminaga at sm dot sony dot co dot jp
                   ` (3 preceding siblings ...)
  2007-01-30 15:50 ` tromey at gcc dot gnu dot org
@ 2007-01-30 16:30 ` tromey at gcc dot gnu dot org
  2007-02-03 21:25 ` gdr at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: tromey at gcc dot gnu dot org @ 2007-01-30 16:30 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from tromey at gcc dot gnu dot org  2007-01-30 16:30 -------
Fixed in 4.3.


-- 

tromey at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to fail|4.1.1 4.0.0 4.0.2 4.3.0     |4.1.1 4.0.0 4.0.2
      Known to work|3.4.4 3.4.0                 |3.4.4 3.4.0 4.3.0
            Summary|[4.0/4.1/4.2/4.3 Regression]|[4.0/4.1/4.2 Regression] -M
                   |-M not fully chops dirname  |not fully chops dirname


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


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

* [Bug preprocessor/30468] [4.0/4.1/4.2 Regression] -M not fully chops dirname
  2007-01-15  2:17 [Bug preprocessor/30468] New: -M not fully chops dirname kaminaga at sm dot sony dot co dot jp
                   ` (4 preceding siblings ...)
  2007-01-30 16:30 ` [Bug preprocessor/30468] [4.0/4.1/4.2 " tromey at gcc dot gnu dot org
@ 2007-02-03 21:25 ` gdr at gcc dot gnu dot org
  2007-02-03 21:27 ` pinskia at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: gdr at gcc dot gnu dot org @ 2007-02-03 21:25 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from gdr at gcc dot gnu dot org  2007-02-03 21:25 -------
won't fix in GCC-4.0.x.  Adjusting milestone.


-- 

gdr at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.0.4                       |4.1.3


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


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

* [Bug preprocessor/30468] [4.0/4.1/4.2 Regression] -M not fully chops dirname
  2007-01-15  2:17 [Bug preprocessor/30468] New: -M not fully chops dirname kaminaga at sm dot sony dot co dot jp
                   ` (5 preceding siblings ...)
  2007-02-03 21:25 ` gdr at gcc dot gnu dot org
@ 2007-02-03 21:27 ` pinskia at gcc dot gnu dot org
  2007-02-05  5:52 ` mmitchel at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-02-03 21:27 UTC (permalink / raw)
  To: gcc-bugs



-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.1.3                       |4.1.2


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


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

* [Bug preprocessor/30468] [4.0/4.1/4.2 Regression] -M not fully chops dirname
  2007-01-15  2:17 [Bug preprocessor/30468] New: -M not fully chops dirname kaminaga at sm dot sony dot co dot jp
                   ` (6 preceding siblings ...)
  2007-02-03 21:27 ` pinskia at gcc dot gnu dot org
@ 2007-02-05  5:52 ` mmitchel at gcc dot gnu dot org
  2007-02-14  9:20 ` mmitchel at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2007-02-05  5:52 UTC (permalink / raw)
  To: gcc-bugs



-- 

mmitchel at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P2


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


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

* [Bug preprocessor/30468] [4.0/4.1/4.2 Regression] -M not fully chops dirname
  2007-01-15  2:17 [Bug preprocessor/30468] New: -M not fully chops dirname kaminaga at sm dot sony dot co dot jp
                   ` (7 preceding siblings ...)
  2007-02-05  5:52 ` mmitchel at gcc dot gnu dot org
@ 2007-02-14  9:20 ` mmitchel at gcc dot gnu dot org
  2007-04-23 14:26 ` tromey at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2007-02-14  9:20 UTC (permalink / raw)
  To: gcc-bugs



-- 

mmitchel at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.1.2                       |4.1.3


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


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

* [Bug preprocessor/30468] [4.0/4.1/4.2 Regression] -M not fully chops dirname
  2007-01-15  2:17 [Bug preprocessor/30468] New: -M not fully chops dirname kaminaga at sm dot sony dot co dot jp
                   ` (8 preceding siblings ...)
  2007-02-14  9:20 ` mmitchel at gcc dot gnu dot org
@ 2007-04-23 14:26 ` tromey at gcc dot gnu dot org
  2007-04-23 14:27 ` tromey at gcc dot gnu dot org
  2007-04-23 14:27 ` tromey at gcc dot gnu dot org
  11 siblings, 0 replies; 13+ messages in thread
From: tromey at gcc dot gnu dot org @ 2007-04-23 14:26 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from tromey at gcc dot gnu dot org  2007-04-23 15:26 -------
Subject: Bug 30468

Author: tromey
Date: Mon Apr 23 15:26:21 2007
New Revision: 124067

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=124067
Log:
        PR preprocessor/30468:
        * mkdeps.c (apply_vpath): Strip successive '/'s if we stripped
        './'.

Modified:
    branches/gcc-4_1-branch/libcpp/ChangeLog
    branches/gcc-4_1-branch/libcpp/mkdeps.c


-- 


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


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

* [Bug preprocessor/30468] [4.0/4.1/4.2 Regression] -M not fully chops dirname
  2007-01-15  2:17 [Bug preprocessor/30468] New: -M not fully chops dirname kaminaga at sm dot sony dot co dot jp
                   ` (9 preceding siblings ...)
  2007-04-23 14:26 ` tromey at gcc dot gnu dot org
@ 2007-04-23 14:27 ` tromey at gcc dot gnu dot org
  2007-04-23 14:27 ` tromey at gcc dot gnu dot org
  11 siblings, 0 replies; 13+ messages in thread
From: tromey at gcc dot gnu dot org @ 2007-04-23 14:27 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from tromey at gcc dot gnu dot org  2007-04-23 15:27 -------
Subject: Bug 30468

Author: tromey
Date: Mon Apr 23 15:26:51 2007
New Revision: 124068

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=124068
Log:
        PR preprocessor/30468:
        * mkdeps.c (apply_vpath): Strip successive '/'s if we stripped
        './'.

Modified:
    branches/gcc-4_2-branch/libcpp/ChangeLog
    branches/gcc-4_2-branch/libcpp/mkdeps.c


-- 


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


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

* [Bug preprocessor/30468] [4.0/4.1/4.2 Regression] -M not fully chops dirname
  2007-01-15  2:17 [Bug preprocessor/30468] New: -M not fully chops dirname kaminaga at sm dot sony dot co dot jp
                   ` (10 preceding siblings ...)
  2007-04-23 14:27 ` tromey at gcc dot gnu dot org
@ 2007-04-23 14:27 ` tromey at gcc dot gnu dot org
  11 siblings, 0 replies; 13+ messages in thread
From: tromey at gcc dot gnu dot org @ 2007-04-23 14:27 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #9 from tromey at gcc dot gnu dot org  2007-04-23 15:27 -------
Fixed on 4.1 and 4.2 branches.


-- 

tromey at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED


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


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

end of thread, other threads:[~2007-04-23 14:27 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-01-15  2:17 [Bug preprocessor/30468] New: -M not fully chops dirname kaminaga at sm dot sony dot co dot jp
2007-01-15  2:34 ` [Bug preprocessor/30468] [4.0/4.1/4.2/4.3 Regression] " pinskia at gcc dot gnu dot org
2007-01-20  4:24 ` tromey at gcc dot gnu dot org
2007-01-21 23:30 ` patchapp at dberlin dot org
2007-01-30 15:50 ` tromey at gcc dot gnu dot org
2007-01-30 16:30 ` [Bug preprocessor/30468] [4.0/4.1/4.2 " tromey at gcc dot gnu dot org
2007-02-03 21:25 ` gdr at gcc dot gnu dot org
2007-02-03 21:27 ` pinskia at gcc dot gnu dot org
2007-02-05  5:52 ` mmitchel at gcc dot gnu dot org
2007-02-14  9:20 ` mmitchel at gcc dot gnu dot org
2007-04-23 14:26 ` tromey at gcc dot gnu dot org
2007-04-23 14:27 ` tromey at gcc dot gnu dot org
2007-04-23 14:27 ` tromey at gcc dot gnu dot org

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