public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug preprocessor/18102] New: darwin framework header search depends on order of options
@ 2004-10-21 21:48 ratmice at yahoo dot com
  2004-10-21 21:52 ` [Bug preprocessor/18102] " pinskia at gcc dot gnu dot org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: ratmice at yahoo dot com @ 2004-10-21 21:48 UTC (permalink / raw)
  To: gcc-bugs

mkdir -p foo.framework/Headers/
cat >foo.framework/Headers/foo.h
#warning works

cat >foo.c
#include <foo/foo.h>

gcc -F. -I. -c foo.c
In file included from foo.c:1
./foo.framework/Headers/foo.h:1:2: warning: #warning "works"

gcc -I. -F. -c foo.c
foo.c:1:21: foo/foo.h: No such file or directory

-- 
           Summary: darwin framework header search depends on order of
                    options
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: preprocessor
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: ratmice at yahoo dot com
                CC: gcc-bugs at gcc dot gnu dot org


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


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

* [Bug preprocessor/18102] darwin framework header search depends on order of options
  2004-10-21 21:48 [Bug preprocessor/18102] New: darwin framework header search depends on order of options ratmice at yahoo dot com
@ 2004-10-21 21:52 ` pinskia at gcc dot gnu dot org
  2004-11-20  4:16 ` ratmice at yahoo dot com
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-10-21 21:52 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-10-21 21:52 -------
I can confirm this on the mainline.  I don't know if the bug is in the preprocessed code or the target 
specific code.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
 GCC target triplet|                            |powerpc-darwin
           Keywords|                            |rejects-valid
   Last reconfirmed|0000-00-00 00:00:00         |2004-10-21 21:52:35
               date|                            |


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


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

* [Bug preprocessor/18102] darwin framework header search depends on order of options
  2004-10-21 21:48 [Bug preprocessor/18102] New: darwin framework header search depends on order of options ratmice at yahoo dot com
  2004-10-21 21:52 ` [Bug preprocessor/18102] " pinskia at gcc dot gnu dot org
@ 2004-11-20  4:16 ` ratmice at yahoo dot com
  2004-11-20 16:46 ` mrs at apple dot com
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: ratmice at yahoo dot com @ 2004-11-20  4:16 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From ratmice at yahoo dot com  2004-11-20 04:16 -------
posted a patch here
http://gcc.gnu.org/ml/gcc-patches/2004-11/msg01637.html

-- 


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


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

* [Bug preprocessor/18102] darwin framework header search depends on order of options
  2004-10-21 21:48 [Bug preprocessor/18102] New: darwin framework header search depends on order of options ratmice at yahoo dot com
  2004-10-21 21:52 ` [Bug preprocessor/18102] " pinskia at gcc dot gnu dot org
  2004-11-20  4:16 ` ratmice at yahoo dot com
@ 2004-11-20 16:46 ` mrs at apple dot com
  2004-12-09 15:54 ` cvs-commit at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: mrs at apple dot com @ 2004-11-20 16:46 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From mrs at apple dot com  2004-11-20 16:46 -------
This patch is ok.

-- 


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


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

* [Bug preprocessor/18102] darwin framework header search depends on order of options
  2004-10-21 21:48 [Bug preprocessor/18102] New: darwin framework header search depends on order of options ratmice at yahoo dot com
                   ` (2 preceding siblings ...)
  2004-11-20 16:46 ` mrs at apple dot com
@ 2004-12-09 15:54 ` cvs-commit at gcc dot gnu dot org
  2004-12-09 15:54 ` pinskia at gcc dot gnu dot org
  2005-01-17 21:22 ` cvs-commit at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-12-09 15:54 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2004-12-09 15:54 -------
Subject: Bug 18102

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	pinskia@gcc.gnu.org	2004-12-09 15:54:16

Modified files:
	gcc            : ChangeLog c-incpath.c 

Log message:
	2004-12-09  Matt Rice  <ratmice@yahoo.com>
	
	PR preprocessor/18102
	* c-incpath.c (remove_duplicates): Check for construct
	equality.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.6756&r2=2.6757
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/c-incpath.c.diff?cvsroot=gcc&r1=1.19&r2=1.20


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-12-09 15:54 -------
I applied the patch after approval from Geoff.

-- 


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


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

* [Bug preprocessor/18102] darwin framework header search depends on order of options
  2004-10-21 21:48 [Bug preprocessor/18102] New: darwin framework header search depends on order of options ratmice at yahoo dot com
                   ` (3 preceding siblings ...)
  2004-12-09 15:54 ` cvs-commit at gcc dot gnu dot org
@ 2004-12-09 15:54 ` pinskia at gcc dot gnu dot org
  2005-01-17 21:22 ` cvs-commit at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-12-09 15:54 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2004-12-09 15:54 -------
Subject: Bug 18102

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	pinskia@gcc.gnu.org	2004-12-09 15:54:16

Modified files:
	gcc            : ChangeLog c-incpath.c 

Log message:
	2004-12-09  Matt Rice  <ratmice@yahoo.com>
	
	PR preprocessor/18102
	* c-incpath.c (remove_duplicates): Check for construct
	equality.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.6756&r2=2.6757
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/c-incpath.c.diff?cvsroot=gcc&r1=1.19&r2=1.20


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-12-09 15:54 -------
I applied the patch after approval from Geoff.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |4.0.0


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


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

* [Bug preprocessor/18102] darwin framework header search depends on order of options
  2004-10-21 21:48 [Bug preprocessor/18102] New: darwin framework header search depends on order of options ratmice at yahoo dot com
                   ` (4 preceding siblings ...)
  2004-12-09 15:54 ` pinskia at gcc dot gnu dot org
@ 2005-01-17 21:22 ` cvs-commit at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-01-17 21:22 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-01-17 21:21 -------
Subject: Bug 18102

CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	apple-ppc-branch
Changes by:	austern@gcc.gnu.org	2005-01-17 21:21:43

Modified files:
	gcc            : ChangeLog c-incpath.c 

Log message:
	2004-12-09  Matt Rice  <ratmice@yahoo.com>
	
	Radar 3956913
	PR preprocessor/18102
	* c-incpath.c (remove_duplicates): Check for construct
	equality.
	
	- Customer impact (why this needs to be fixed): Cause at least one SWB failure.  It's likely customers could see the same problem.
	- Code reviewed by (name): Mike, Geoff
	- Code review date: 11/20/04, 12/9/04 (See http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18102)
	- Root build number the fix was tested in: n/a
	- Root build date:n/a
	- What did you do to test the fix: Bootstrapped compiler, passed it both -I and -F to the same directory, verified that it appeared twice in search path when I ran with -v.
	- Is there a test case for this fix?  If not, why: There isn't a dg test case.  The SWB projects that failed are test cases, as is the test that I described above.
	- Other components affected by this fix (i.e., identify integration points): Xcode uses the -F option, so this will affect the way projects get built by Xcode.
	- Other groups affected by the fix (i.e., QA, Pubs, other eng groups): none
	- Is there Localization impact? no
	- Risk assessment: Low.  This fix has been the in the FSF tree for more than a month.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&only_with_tag=apple-ppc-branch&r1=1.14646.2.151.2.39&r2=1.14646.2.151.2.40
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/c-incpath.c.diff?cvsroot=gcc&only_with_tag=apple-ppc-branch&r1=1.2.2.7.2.5&r2=1.2.2.7.2.6



-- 


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


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

end of thread, other threads:[~2005-01-17 21:22 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-10-21 21:48 [Bug preprocessor/18102] New: darwin framework header search depends on order of options ratmice at yahoo dot com
2004-10-21 21:52 ` [Bug preprocessor/18102] " pinskia at gcc dot gnu dot org
2004-11-20  4:16 ` ratmice at yahoo dot com
2004-11-20 16:46 ` mrs at apple dot com
2004-12-09 15:54 ` cvs-commit at gcc dot gnu dot org
2004-12-09 15:54 ` pinskia at gcc dot gnu dot org
2005-01-17 21:22 ` cvs-commit 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).