Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 15512
Product:  
Component:  
Status: RESOLVED
Resolution: DUPLICATE of bug 13985
Assigned To: Not yet assigned to anyone <unassigned@gcc.gnu.org>
Host:
Reported against  
Priority:  
Severity:  
Target Milestone:  
 
 
Target:
Reporter: niva@niisi.msk.ru
Add CC:
CC:
Remove selected CCs
Build:
URL:
Summary:
Keywords:
Known to work:
Known to fail:

Attachment Description Type Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 15512 depends on: Show dependency tree
Show dependency graph
Bug 15512 blocks:

Additional Comments:






View Bug Activity   |   Format For Printing   |   Clone This Bug


Description:   Last confirmed: Opened: 2004-05-18 11:10
* 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;
    }
}

------- Comment #1 From Eric Botcazou 2004-05-18 11:19 -------

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

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug