public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/23624] New: ICE: internal compiler error: in invert_truthvalue, at fold-const.c:2697
@ 2005-08-29 15:13 cnewbold at mathworks dot com
  2005-08-29 15:34 ` [Bug c++/23624] [3.4/4.0/4.1 Regression] " pinskia at gcc dot gnu dot org
                   ` (9 more replies)
  0 siblings, 10 replies; 12+ messages in thread
From: cnewbold at mathworks dot com @ 2005-08-29 15:13 UTC (permalink / raw)
  To: gcc-bugs

Attempting to compile the following example (with no explicit command-line
arguments) results in an ICE:

-----------------------------------

typedef unsigned char RESET_OCCUR_DT;    

typedef struct {
    RESET_OCCUR_DT*        pResetOccur;
} DintgRec;

template<typename T>
void f()
{
    int i, resetScalar;
    DintgRec* s;

    if (s->pResetOccur[resetScalar ? 0 : i] != 0U) {
    }
}


void g()
{
    f<int>();
}

------------------------------------------------------

Here's the exact compiler output:

ice.C: In function `void f()':
ice.C:13: internal compiler error: in invert_truthvalue, at fold-const.c:2697
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
cnewbold@sarge:~/playpen$

---------------------------------------------

And here's the output of '-v' on the compiler in question:

Reading specs from
/mathworks/hub/Linux/glibc-2.3.2/i686/apps/gcc-3.4.4/bin/../lib/gcc/i686-pc-linux-gnu/3.4.4/specs
Configured with: /home/cnewbold/src/gnu/gcc-3.4.4/configure
--enable-__cxa_atexit --prefix=/hub/Linux/glibc-2.3.2/i686/apps/gcc-3.4.4
Thread model: posix
gcc version 3.4.4

-- 
           Summary: ICE: internal compiler error: in invert_truthvalue, at
                    fold-const.c:2697
           Product: gcc
           Version: 3.4.4
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: cnewbold at mathworks dot com
                CC: gcc-bugs at gcc dot gnu dot org
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


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


^ permalink raw reply	[flat|nested] 12+ messages in thread
[parent not found: <bug-23624-10855@http.gcc.gnu.org/bugzilla/>]

end of thread, other threads:[~2006-08-11 21:06 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-08-29 15:13 [Bug c++/23624] New: ICE: internal compiler error: in invert_truthvalue, at fold-const.c:2697 cnewbold at mathworks dot com
2005-08-29 15:34 ` [Bug c++/23624] [3.4/4.0/4.1 Regression] " pinskia at gcc dot gnu dot org
2005-08-29 15:36 ` pinskia at gcc dot gnu dot org
2005-08-30  8:23 ` rguenth at gcc dot gnu dot org
2005-08-30  9:13 ` rguenth at gcc dot gnu dot org
2005-08-30 10:12 ` rguenth at gcc dot gnu dot org
2005-08-30 10:31 ` rguenth at gcc dot gnu dot org
2005-09-09  9:01 ` cvs-commit at gcc dot gnu dot org
2005-09-09  9:26 ` cvs-commit at gcc dot gnu dot org
2005-09-09 10:21 ` rguenth at gcc dot gnu dot org
2005-09-09 10:21 ` cvs-commit at gcc dot gnu dot org
     [not found] <bug-23624-10855@http.gcc.gnu.org/bugzilla/>
2006-08-11 21:06 ` patchapp at dberlin dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).