public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug debug/14838] New: [hppa-linux 3.3/3.4/3.5 Regression] ICE when building with -O2 -g
@ 2004-04-03 22:16 tausq at debian dot org
  2004-04-03 22:17 ` [Bug debug/14838] " tausq at debian dot org
                   ` (21 more replies)
  0 siblings, 22 replies; 23+ messages in thread
From: tausq at debian dot org @ 2004-04-03 22:16 UTC (permalink / raw)
  To: gcc-bugs

legolas[14:13] make% /opt/gcc/gcc-3.5/bin/gcc -O2 -g -c bug.c
bug.c: In function `Buf_GetAll':
bug.c:13: error: unrecognizable insn:
(insn 31 25 55 bug.c:13 (use (reg/i:SI 28 %r28 [ <result> ])) -1 (insn_list 41 
(nil))
    (nil))
bug.c:13: internal compiler error: in insn_default_length, at insn-attrtab.c:825
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.

ICE doesn't happen without -g, or with -O1 -g

code snippet extracted from freebsd-buildutils 

-------- bug.c --------
typedef struct Buffer {
    char    *inPtr;
    char    *outPtr;
} *Buffer;

char *
Buf_GetAll (Buffer bp, int *numcharsPtr)
{
    if (numcharsPtr != 0)
  *numcharsPtr = bp->inPtr - bp->outPtr;

    return (bp->outPtr);
}
-------- bug.c --------

-- 
           Summary: [hppa-linux 3.3/3.4/3.5 Regression] ICE when building
                    with -O2 -g
           Product: gcc
           Version: 3.5.0
            Status: UNCONFIRMED
          Severity: critical
          Priority: P2
         Component: debug
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: tausq at debian dot org
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: hppa-linux
  GCC host triplet: hppa-linux
GCC target triplet: hppa-linux


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


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

end of thread, other threads:[~2005-02-02 14:33 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-04-03 22:16 [Bug debug/14838] New: [hppa-linux 3.3/3.4/3.5 Regression] ICE when building with -O2 -g tausq at debian dot org
2004-04-03 22:17 ` [Bug debug/14838] " tausq at debian dot org
2004-04-04  3:03 ` pinskia at gcc dot gnu dot org
2004-04-04  6:53 ` [Bug optimization/14838] [3.3/3.4/3.5 " pinskia at gcc dot gnu dot org
2004-04-04  8:56 ` debian-gcc at lists dot debian dot org
2004-04-04 16:50 ` danglin at gcc dot gnu dot org
2004-04-04 20:54 ` danglin at gcc dot gnu dot org
2004-04-06  0:28 ` pinskia at gcc dot gnu dot org
2004-06-11 22:22 ` [Bug rtl-optimization/14838] " pinskia at gcc dot gnu dot org
2004-08-05  6:26 ` pinskia at gcc dot gnu dot org
2004-08-05  6:58 ` giovannibajo at libero dot it
2004-08-29 18:16 ` mmitchel at gcc dot gnu dot org
2004-08-29 18:25 ` mmitchel at gcc dot gnu dot org
2004-10-06 11:31 ` [Bug rtl-optimization/14838] [3.3/3.4/4.0 " pinskia at gcc dot gnu dot org
2004-11-01  0:45 ` mmitchel at gcc dot gnu dot org
2004-11-21 14:26 ` pinskia at gcc dot gnu dot org
2004-11-23  2:15 ` cvs-commit at gcc dot gnu dot org
2004-11-23  3:02 ` cvs-commit at gcc dot gnu dot org
2004-11-23  3:38 ` cvs-commit at gcc dot gnu dot org
2004-11-23  3:40 ` danglin at gcc dot gnu dot org
2004-11-23  3:42 ` pinskia at gcc dot gnu dot org
2004-11-24 14:07 ` pinskia at gcc dot gnu dot org
2005-02-02 14:33 ` 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).