This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/28235] segmentation fault ICE in 4.0 and 4.1



------- Comment #4 from sascha dot krissler at web dot de  2006-07-03 13:21 -------
Created an attachment (id=11808)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11808&action=view)
minimal difference causing ICE

after applying this patch it throws an ICE



@@ -52823,13 +52823,13 @@
   }

   template <typename KEY, typename VALUE, typename HASHFN,
-     typename InlineNat = PerfectHash::NoNatImpl<KEY, VALUE>, bool BitSet =
true >
+     typename InlineNat = PerfectHash::NoNatImpl<KEY, VALUE>, bool BitSet1 =
true >
   class PerfectHashMap : public HASHFN,
     public PerfectHash::NatBitset<
     true
     >::type
   {
-
+    static const bool BitSet = BitSet1;

     typedef typename PerfectHash::NatBitset<BitSet>::type bitset_type;
     typedef std::vector<typename PerfectHash::VType<KEY, VALUE, InlineNat,
false>::type> entries_t;


-- 

sascha dot krissler at web dot de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #11806|0                           |1
        is obsolete|                            |


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]