This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/28235] segmentation fault ICE in 4.0 and 4.1
- From: "sascha dot krissler at web dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 3 Jul 2006 13:21:44 -0000
- Subject: [Bug c++/28235] segmentation fault ICE in 4.0 and 4.1
- References: <bug-28235-8311@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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