int main() {
  auto t = 0r;
}

Compile with -std=c++0x

error: fixed-point constants are a GCC extension
In function 'int main(int, char**)':
internal compiler error: in digest_init_r, at cp/typeck2.c:821


-- 
           Summary: [c++0x] ICE in digest_init_r, at cp/typeck2.c:821 on
                    "auto t = 0r;" (fixed fp)
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Keywords: error-recovery
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: cfairles at gcc dot gnu dot org
 GCC build triplet: x86_64-redhat-linux
  GCC host triplet: x86_64-redhat-linux
GCC target triplet: x86_64-redhat-linux


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

Reply via email to