public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug ada/30094]  New: bogus use of CROSS_COMPILE in adaint.c
@ 2006-12-06 20:28 geoffk at gcc dot gnu dot org
  2006-12-07 20:34 ` [Bug ada/30094] " geoffk at gcc dot gnu dot org
  2008-11-17 21:15 ` sam at gcc dot gnu dot org
  0 siblings, 2 replies; 3+ messages in thread
From: geoffk at gcc dot gnu dot org @ 2006-12-06 20:28 UTC (permalink / raw)
  To: gcc-bugs

adaint.c contains several lines like

#if defined (_WIN32) && ! defined (__vxworks) && ! defined (CROSS_COMPILE)

which, although completely uncommented, appear to be trying to detect whether
or not the system has an _tfopen function or an fopen function.  The function
is present on the target system independent of whether this file is being
compiled on the target system or on, say, a linux system, so testing
CROSS_COMPILE here is inappropriate.


-- 
           Summary: bogus use of CROSS_COMPILE in adaint.c
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: ada
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: geoffk at gcc dot gnu dot org


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


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

* [Bug ada/30094] bogus use of CROSS_COMPILE in adaint.c
  2006-12-06 20:28 [Bug ada/30094] New: bogus use of CROSS_COMPILE in adaint.c geoffk at gcc dot gnu dot org
@ 2006-12-07 20:34 ` geoffk at gcc dot gnu dot org
  2008-11-17 21:15 ` sam at gcc dot gnu dot org
  1 sibling, 0 replies; 3+ messages in thread
From: geoffk at gcc dot gnu dot org @ 2006-12-07 20:34 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from geoffk at gcc dot gnu dot org  2006-12-07 20:34 -------
This function was added in revision 118240, with
<http://gcc.gnu.org/ml/gcc-patches/2006-10/msg01646.html>.


-- 

geoffk at gcc dot gnu dot org changed:

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


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


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

* [Bug ada/30094] bogus use of CROSS_COMPILE in adaint.c
  2006-12-06 20:28 [Bug ada/30094] New: bogus use of CROSS_COMPILE in adaint.c geoffk at gcc dot gnu dot org
  2006-12-07 20:34 ` [Bug ada/30094] " geoffk at gcc dot gnu dot org
@ 2008-11-17 21:15 ` sam at gcc dot gnu dot org
  1 sibling, 0 replies; 3+ messages in thread
From: sam at gcc dot gnu dot org @ 2008-11-17 21:15 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from sam at gcc dot gnu dot org  2008-11-17 21:13 -------
This check is still present in the sources, albeit now using
CROSS_DIRECTORY_STRUCTURE.


-- 

sam at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2008-11-17 21:13:58
               date|                            |


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


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

end of thread, other threads:[~2008-11-17 21:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-12-06 20:28 [Bug ada/30094] New: bogus use of CROSS_COMPILE in adaint.c geoffk at gcc dot gnu dot org
2006-12-07 20:34 ` [Bug ada/30094] " geoffk at gcc dot gnu dot org
2008-11-17 21:15 ` sam 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).