[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Bug c++/26559] [4.0/4.1/4.2 Regression] ICE with __builtin_constant_p in template argument




------- Comment #1 from pinskia at gcc dot gnu dot org  2006-03-04 16:19 -------
Confirmed.
Backtrace:
htab_find_with_hash (htab=0x0, element=0x2aaaab15a320, hash=1432532068)
    at /home/pinskia/src/checkin/trunk/libiberty/hashtab.c:269
269       const struct prime_ent *p = &prime_tab[htab->size_prime_index];
(gdb) up
#1  0x0000000000434c9b in retrieve_local_specialization (tmpl=0x2aaaab15a320)
    at /home/pinskia/src/checkin/trunk/gcc/cp/pt.c:905
905                                               htab_hash_pointer (tmpl));
(gdb) 
#2  0x000000000044a2c8 in tsubst_copy (t=Variable "t" is not available.
) at /home/pinskia/src/checkin/trunk/gcc/cp/pt.c:7726
7726          r = retrieve_local_specialization (t);
(gdb) bt
#0  htab_find_with_hash (htab=0x0, element=0x2aaaab15a320, hash=1432532068)
    at /home/pinskia/src/checkin/trunk/libiberty/hashtab.c:269
#1  0x0000000000434c9b in retrieve_local_specialization (tmpl=0x2aaaab15a320)
    at /home/pinskia/src/checkin/trunk/gcc/cp/pt.c:905
#2  0x000000000044a2c8 in tsubst_copy (t=Variable "t" is not available.
) at /home/pinskia/src/checkin/trunk/gcc/cp/pt.c:7726
#3  0x000000000044b79c in tsubst_copy_and_build (t=0x2aaaab15a320, args=0x0,
complain=tf_error, 
    in_decl=0x0, function_p=0 '\0') at
/home/pinskia/src/checkin/trunk/gcc/cp/pt.c:8960
#4  0x000000000044c4c9 in tsubst_copy_and_build (t=0x2aaaab0efd20, args=0x0,
complain=tf_error, 
    in_decl=0x0, function_p=Variable "function_p" is not available.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2006-03-04 16:20:00
               date|                            |
            Summary|ICE with                    |[4.0/4.1/4.2 Regression] ICE
                   |__builtin_constant_p in     |with __builtin_constant_p in
                   |template argument           |template argument
   Target Milestone|---                         |4.0.3


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

------- You are receiving this mail because: -------
You reported the bug, or are watching the reporter.



Reply to: