public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/15512] New: ICE on with -O3 -mtune=i486 on gcc.c-torture/compile/930621-1.c
@ 2004-05-18 22:05 niva at niisi dot msk dot ru
  2004-05-18 22:24 ` [Bug c/15512] " ebotcazou at gcc dot gnu dot org
  0 siblings, 1 reply; 2+ messages in thread
From: niva at niisi dot msk dot ru @ 2004-05-18 22:05 UTC (permalink / raw)
  To: gcc-bugs

* the exact version of GCC;

gcc version 3.4.0

     * the system type;

The host/build/target system is i686-pc-linux-gnu,

     * the options given when GCC was configured/built;

Configured with: /home/niva/src/gcc-3.4-binutils/configure
--with-gnu-as --with-gnu-ld --enable-generated-files-in-srcdir
--disable-checking --enable-languages=c
--srcdir=/home/niva/src/gcc-3.4-binutils
--prefix=/home/niva/local-osina --enable-cpp --enable-shared

     * the complete command line that triggers the bug;

/home/niva/local-osina/bin/gcc -O3 -c ttt.c -mtune=i486
/home/niva/local-osina/bin/gcc -O3 -c ttt.c -mtune=i386

      Note: we have initially detected the bug in gcc-3.4.0 targeted
      for i386-*-elf

     * the compiler output (error messages, warnings, etc.); and

ttt.c: In function `modlookup':
ttt.c:30: internal compiler error: in get_loop_body, at cfgloop.c:988
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.

     * the  preprocessed  file (*.i*) that triggers the bug, generated by
       adding -save-temps to the complete compilation command, or, in the
       case  of  a  bug  report for the GNAT front end, a complete set of
       source files (see below).

int bytestart[5000 + 1];
unsigned char modtext[400 + 1];
unsigned char bytemem[2][45000L + 1];

long
modlookup (int l)
{
  signed char c;
  long j;
  long k;
  signed char w;
  long p;
  while (p != 0)
    {
      while ((k < bytestart[p + 2]) && (j <= l) && (modtext[j] == bytemem[w][k]))
 {
   k = k + 1;
   j = j + 1;
 }
      if (k == bytestart[p + 2])

   c = 1;

      else if (j > l)
 c = 3;
      else if (modtext[j] < bytemem[w][k])
 c = 0;
      else c = 2;
    }
}

-- 
           Summary: ICE on with -O3 -mtune=i486 on gcc.c-
                    torture/compile/930621-1.c
           Product: gcc
           Version: 3.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: niva at niisi dot msk dot ru
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug c/15512] ICE on with -O3 -mtune=i486 on gcc.c-torture/compile/930621-1.c
  2004-05-18 22:05 [Bug c/15512] New: ICE on with -O3 -mtune=i486 on gcc.c-torture/compile/930621-1.c niva at niisi dot msk dot ru
@ 2004-05-18 22:24 ` ebotcazou at gcc dot gnu dot org
  0 siblings, 0 replies; 2+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2004-05-18 22:24 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From ebotcazou at gcc dot gnu dot org  2004-05-18 11:19 -------


*** This bug has been marked as a duplicate of 13985 ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |DUPLICATE


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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-05-18 11:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-05-18 22:05 [Bug c/15512] New: ICE on with -O3 -mtune=i486 on gcc.c-torture/compile/930621-1.c niva at niisi dot msk dot ru
2004-05-18 22:24 ` [Bug c/15512] " ebotcazou at gcc dot gnu 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).