[Bug c++/17618] [4.0 Regression] ICE in cp_convert_to_pointer, at cp/cvt.c:83

reichelt at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed Sep 22 19:46:00 GMT 2004


------- Additional Comments From reichelt at gcc dot gnu dot org  2004-09-22 19:46 -------
Confirmed:

Here's a reduced testcase:
===============================
void foo()
{
    p;
    (void*) p;
}
===============================

The ICE only happens with the C++ frontend, and not with the C frontend.

Phils's regression tester says:
: Search converges between 2004-03-01-trunk (#446) and 2004-04-01-trunk (#447).


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |reichelt at gcc dot gnu dot
                   |                            |org
           Severity|normal                      |minor
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
           Keywords|                            |error-recovery, ice-
                   |                            |checking, ice-on-invalid-
                   |                            |code, monitored
      Known to fail|                            |4.0.0
      Known to work|                            |3.4.2
   Last reconfirmed|0000-00-00 00:00:00         |2004-09-22 19:46:16
               date|                            |
   Target Milestone|---                         |4.0.0


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



More information about the Gcc-bugs mailing list