[Bug tree-optimization/28906] [4.2 regression] rejects valid arrays

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed Aug 30 16:24:00 GMT 2006



------- Comment #2 from pinskia at gcc dot gnu dot org  2006-08-30 16:24 -------
Reduced testcase:
extern unsigned char xvalue_store[];
bool reserve (int want)
{
  new unsigned char[want];
}
unsigned char xvalue_store[257];
----
I almost think this was casued by the patch to fix PR 27184.

Janis,
  Could you do a regression hunt on this bug?
Thanks,
Andrew


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |janis at gcc dot gnu dot org
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
           Keywords|ice-on-valid-code           |
   Last reconfirmed|0000-00-00 00:00:00         |2006-08-30 16:24:37
               date|                            |
            Summary|[4.2 regression] tree check:|[4.2 regression] rejects
                   |did not expect class 'type',|valid arrays
                   |have 'type'                 |
                   |(template_type_parm) in     |
                   |contains_placeholder_p, at  |
                   |tree.c:2223                 |


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



More information about the Gcc-bugs mailing list