I'm getting bootstrap failure with mainline on sparc-sun-solaris2.10 using cc
for stage1.  The failure occurs due to empty macro arguments.  They occur in
two places, one of which I've posted a patch for:
http://gcc.gnu.org/ml/gcc-patches/2007-08/msg01131.html

The second occurance is in c-common.c on line 2249 where it says:
  C_COMMON_FIXED_TYPES (, fract);
Other instances occur below that in the same file.

In another thread, I fixed an empty macro argument problem encountered when
using gcc-2.8.1 for stage1 here:
http://gcc.gnu.org/ml/gcc-patches/2007-08/msg01119.html

According to Joseph later in that thread, empty macro arguments are undefined
in ISO C90.  Since we claim to only require ISO C90 to bootstrap, and because
we want to ensure older versions of GCC continue to be usable to bootstrap,
IMHO we should not allow empty macro arguments in the sources.


-- 
           Summary: Bootstrap failure on solaris2 using cc due to empty
                    macro arguments
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Keywords: build
          Severity: normal
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: ghazi at gcc dot gnu dot org
  GCC host triplet: sparc-sun-solaris2.10


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

Reply via email to