public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "danglin at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/30394]  New: FAIL: gcc.c-torture/execute/pr15262-1.c execution at -O2, -O3 and -Os
Date: Sat, 06 Jan 2007 19:42:00 -0000	[thread overview]
Message-ID: <bug-30394-276@http.gcc.gnu.org/bugzilla/> (raw)

The generated code just calls malloc and then abort:

(gdb) disass main
Dump of assembler code for function main:
0x00002b98 <main+0>:    stw rp,-14(sp)
0x00002b9c <main+4>:    ldi 8,r26
0x00002ba0 <main+8>:    b,l 0x2b68 <malloc>,rp
0x00002ba4 <main+12>:   ldo 40(sp),sp
0x00002ba8 <main+16>:   ldi 1,r19
0x00002bac <main+20>:   b,l 0x2b80 <abort>,rp
0x00002bb0 <main+24>:   stw r19,4(ret0)
0x00002bb4 <main+28>:   nop

The RTL is wrong in .expand.

First seen in 120133.  Last build without this fail was 120074.


-- 
           Summary: FAIL: gcc.c-torture/execute/pr15262-1.c execution at -
                    O2, -O3 and -Os
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: danglin at gcc dot gnu dot org
 GCC build triplet: hppa*-*-*
  GCC host triplet: hppa*-*-*
GCC target triplet: hppa*-*-*


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


             reply	other threads:[~2007-01-06 19:42 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-06 19:42 danglin at gcc dot gnu dot org [this message]
2007-01-06 19:44 ` [Bug tree-optimization/30394] [4.3 Regression] " pinskia at gcc dot gnu dot org
2007-06-29 17:49 ` mmitchel at gcc dot gnu dot org
2007-08-06 15:25 ` pinskia at gcc dot gnu dot org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-30394-276@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).