------- Comment #2 from burnus at gcc dot gnu dot org  2010-02-04 12:31 -------
Regarding (2): gcc/fortran/cpp.c contains the following, see PR 42954

  /* FIXME: Pandora's Box
    Using the macros below results in multiple breakages:
     - mingw will fail to compile this file as dependent macros
       assume to be used in c-cppbuiltin.c only. Further, they use
       flags only valid/defined in C (same as noted above).
       [config/i386/mingw32.h, config/i386/cygming.h]
     - other platforms (not as popular) break similarly
       [grep for 'builtin_define_with_int_value' in gcc/config/]

  TARGET_CPU_CPP_BUILTINS ();
  TARGET_OS_CPP_BUILTINS ();
  TARGET_OBJFMT_CPP_BUILTINS (); */


Regarding (4)/(5): The NaN problems might be because we do not use
  __USE_MINGW_ANSI_STDIO=1  or  _POSIX
which is needed for POSIX compatible printf routines. Cf.
  http://sourceforge.net/project/shownotes.php?release_id=24832
Even if it is not the issue, it presumably makes sense to define it.


-- 

burnus at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  BugsThisDependsOn|                            |42954


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

Reply via email to