public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/27515]  New: internal compiler error: in extract_insn, at recog.c:2083
@ 2006-05-09  2:31 nomura at netapp dot com
  2006-05-09  3:27 ` [Bug target/27515] " pinskia at gcc dot gnu dot org
  0 siblings, 1 reply; 2+ messages in thread
From: nomura at netapp dot com @ 2006-05-09  2:31 UTC (permalink / raw)
  To: gcc-bugs

Please include in your bug report all of the following items, the first three
of which can be obtained from the output of gcc -v:

    * the exact version of GCC;
    * the system type;
    * the options given when GCC was configured/built; 

$ /x/sim/nomura/root.linux/gcc346/bin/gcc -v
Reading specs from
/x/sim/nomura/root.linux/gcc346/lib/gcc/x86_64-unknown-linux-gnu/3.4.6/specs
Configured with: ../gcc-3.4.6/configure --enable-languages=c
--prefix=/x/sim/nomura/root.linux/gcc346
Thread model: posix
gcc version 3.4.6

    * the complete command line that triggers the bug;

[nahant]$ /x/sim/nomura/root.linux/gcc346/bin/gcc -O1 -fno-omit-frame-pointer  
bug2.c

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

bug2.c: In function `foo':
bug2.c:13: error: unrecognizable insn:
(insn 39 19 38 0 (set (reg:SI 0 ax [63])
        (subreg:SI (plus:DI (subreg:DI (reg:SI 6 bp) 0)
                (const_int -4 [0xfffffffffffffffc])) 0)) -1 (nil)
    (nil))
bug2.c:13: internal compiler error: in extract_insn, at recog.c:2083

 and
    * the preprocessed file (*.i*) that triggers the bug, generated by adding
-save-temps to the complete compilation command

[nahant]$ cat bug2.i
# 1 "bug2.c"
# 1 "<built-in>"
# 1 "<command line>"
# 1 "bug2.c"
void foo(int addr)
{
 unsigned char * u8p;
 unsigned char prefix_in_octet;
 int num_octets_to_zero;

        if (prefix_in_octet != 0)
          u8p++;

        num_octets_to_zero = u8p - (unsigned char *) &addr;

 bar (u8p, num_octets_to_zero);
}


-- 
           Summary: internal compiler error: in extract_insn, at
                    recog.c:2083
           Product: gcc
           Version: 3.4.6
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: nomura at netapp dot com
  GCC host triplet: x86_64-redhat-linux


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


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

* [Bug target/27515] internal compiler error: in extract_insn, at recog.c:2083
  2006-05-09  2:31 [Bug c/27515] New: internal compiler error: in extract_insn, at recog.c:2083 nomura at netapp dot com
@ 2006-05-09  3:27 ` pinskia at gcc dot gnu dot org
  0 siblings, 0 replies; 2+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-05-09  3:27 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from pinskia at gcc dot gnu dot org  2006-05-09 03:27 -------
Fixed in 4.0.3. 3.4.x is no longer being supported.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
          Component|c                           |target
           Keywords|                            |ice-on-valid-code
      Known to fail|                            |3.3.6 3.4.6
      Known to work|                            |4.0.3 4.1.0
         Resolution|                            |FIXED
   Target Milestone|---                         |4.0.3


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


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

end of thread, other threads:[~2006-05-09  3:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-05-09  2:31 [Bug c/27515] New: internal compiler error: in extract_insn, at recog.c:2083 nomura at netapp dot com
2006-05-09  3:27 ` [Bug target/27515] " pinskia 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).