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++/17642] [4.0 Regression] internal compiler error: in invert_truthvalue, at fold-const.c:2997


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-09-23 22:27 -------
Here is the reduced testcase:
template<int dim>
int f(const int* const lsh, const int* const bbox, const int* const nghostzones, int d)
{
  for (int d=0; d<dim; ++d)
    lsh[d] - (bbox[2*d+1] ? 0 : nghostzones[d]);
}

This is definitely a bug in the front-end as the non-template version works correct.
: Search converges between 2004-05-20-trunk (#457) and 2004-05-23-trunk (#458).

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
           Keywords|                            |ice-on-valid-code
   Last reconfirmed|0000-00-00 00:00:00         |2004-09-23 22:27:53
               date|                            |
            Summary|internal compiler error: in |[4.0 Regression] internal
                   |invert_truthvalue, at fold- |compiler error: in
                   |const.c:2997                |invert_truthvalue, at fold-
                   |                            |const.c:2997
   Target Milestone|---                         |4.0.0


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


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