c++/1983

Craig Rodrigues rodrigc@mediaone.net
Sun Apr 1 00:00:00 GMT 2001


The following reply was made to PR c++/1983; it has been noted by GNATS.

From: Craig Rodrigues <rodrigc@mediaone.net>
To: gcc-gnats@gcc.gnu.org, coleenp@east.sun.com, nobody@gcc.gnu.org,
   rodrigc@mediaone.net
Cc:  
Subject: Re: c++/1983
Date: Sat, 17 Feb 2001 13:20:15 -0500

 http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=1983&database=gcc
 
 Tested with compiler version:
 gcc version 2.97 20010211 (experimental)
 from http://www.codesourcery.com/gcc-snapshots/
 
 The attached code example did not cause an Internal Compiler Error, but
 it did reject the code with a weird compiler error:
 
 
 a.cc: In static member function `static const c1_RegMask
    c1_RegMask::empty_set()':
 a.cc:32: Unrecognizable insn:
 (insn 17 7 18 (set (reg:SI 43)
         (mem/s/u (symbol_ref:SI ("_ZN10c1_RegMask10_empty_setE")) 0)) -1 (nil)
     (nil))
 a.cc:32: confused by earlier errors, bailing out
 
 I think the code is legal, because it compiles with
 
 the Digital Unix C++ compiler.
 
 --
 Craig Rodrigues
 http://www.gis.net/~craigr
 rodrigc@mediaone.net
 
 
 



More information about the Gcc-prs mailing list