public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "zuogang at huawei dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c/52911] New: gcc 4.7.0 (ppc32 e500mc) when compile a c file, after a lot of time, gcc failed and internal compiler error occurs.
Date: Mon, 09 Apr 2012 14:32:00 -0000	[thread overview]
Message-ID: <bug-52911-4@http.gcc.gnu.org/bugzilla/> (raw)

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

             Bug #: 52911
           Summary: gcc 4.7.0 (ppc32 e500mc) when compile a c file, after
                    a lot of time, gcc failed and internal compiler error
                    occurs.
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: zuogang@huawei.com


Created attachment 27118
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=27118
the processed file

gcc 4.7.0, on ppc32 target freescale p4080 processor . when compile a c file
with inline asm, internal compiler error occurs.


gcc version and configure options:
[XXXX@localhost tomsfastmath-0.12]$ gcc -v

Using built-in specs.

COLLECT_GCC=gcc

COLLECT_LTO_WRAPPER=/usr/lib/gcc/powerpc-unknown-linux-gnu/4.7.0/lto-wrapper

Target: powerpc-unknown-linux-gnu

Configured with: /mnt/sda2/backup/gcc-4.7.0/configure --prefix=/usr
--libexecdir=/usr/lib

Thread model: posix

gcc version 4.7.0 (GCC)

how the error can be reproduced: 

[XXXX@localhost tomsfastmath-0.12]$ time  cc -Wall -W -Wshadow -Isrc/headers
-O3 -funroll-loops -fomit-frame-pointer   -c -o src/mul/fp_mul_comba_48.o
src/mul/fp_mul_comba_48.c

src/mul/fp_mul_comba_48.c: In function 'fp_mul_comba48':

src/mul/fp_mul_comba_48.c:398:1: error: insn does not satisfy its constraints:

(insn 61208 61207 6542 2 (set (mem/c:DI (plus:SI (reg:SI 16 16)

                (const_int 32760 [0x7ff8])) [5 %sfp+98296 S8 A64])

        (reg:DI 14 14)) src/mul/fp_mul_comba_48.c:195 340 {*movdi_internal32}

     (nil))

src/mul/fp_mul_comba_48.c:398:1: internal compiler error: in
reload_cse_simplify_operands, at postreload.c:403

Please submit a full bug report,

with preprocessed source if appropriate.

See <http://gcc.gnu.org/bugs.html> for instructions.



real    13m22.735s

user    13m22.292s

sys     0m0.424s

[XXXX@localhost tomsfastmath-0.12]$

 ppc32 cpu info:

[XXXX@localhost tomsfastmath-0.12]$ cat /proc/cpuinfo

processor       : 0

cpu             : e500mc

clock           : 1499.985000MHz

revision        : 2.0 (pvr 8023 0020)

bogomips        : 99.99



processor       : 1

cpu             : e500mc

clock           : 1499.985000MHz

revision        : 2.0 (pvr 8023 0020)

bogomips        : 99.99



processor       : 2

cpu             : e500mc

clock           : 1499.985000MHz

revision        : 2.0 (pvr 8023 0020)

bogomips        : 99.99



processor       : 3

cpu             : e500mc

clock           : 1499.985000MHz

revision        : 2.0 (pvr 8023 0020)

bogomips        : 99.99



processor       : 4

cpu             : e500mc

clock           : 1499.985000MHz

revision        : 2.0 (pvr 8023 0020)

bogomips        : 99.99



processor       : 5

cpu             : e500mc

clock           : 1499.985000MHz

revision        : 2.0 (pvr 8023 0020)

bogomips        : 99.99



processor       : 6

cpu             : e500mc

clock           : 1499.985000MHz

revision        : 2.0 (pvr 8023 0020)

bogomips        : 99.99



processor       : 7

cpu             : e500mc

clock           : 1499.985000MHz

revision        : 2.0 (pvr 8023 0020)

bogomips        : 99.99



total bogomips  : 799.99

timebase        : 49999500

platform        : P4080 DS

model           : fsl,P4080DS

Memory          : 4096 MB


             reply	other threads:[~2012-04-09 14:32 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-09 14:32 zuogang at huawei dot com [this message]
2012-04-09 15:57 ` [Bug c/52911] " mikpe at it dot uu.se
2012-04-10 12:22 ` [Bug target/52911] [4.5/4.6/4.7/4.8 Regression] " rguenth at gcc dot gnu.org
2012-04-11 15:02 ` zuogang at huawei dot com
2012-05-29 14:16 ` rguenth at gcc dot gnu.org
2012-05-30  3:27 ` zuogang at huawei dot com
2012-07-02 11:43 ` rguenth at gcc dot gnu.org
2012-07-02 12:11 ` zuogang at huawei dot com
2012-12-03 15:26 ` [Bug target/52911] [4.6/4.7/4.8 " rguenth at gcc dot gnu.org
2013-01-21 14:13 ` aldyh at gcc dot gnu.org
2013-01-21 17:28 ` mikpe at it dot uu.se
2013-01-21 17:34 ` aldyh at gcc dot gnu.org
2013-01-21 18:01 ` mikpe at it dot uu.se
2013-01-21 22:52 ` mikpe at it dot uu.se
2013-01-21 22:54 ` [Bug target/52911] [4.6/4.7 " pinskia at gcc dot gnu.org
2013-04-12 15:18 ` [Bug target/52911] [4.7 " jakub at gcc dot gnu.org
2014-06-12 13:06 ` rguenth at gcc dot gnu.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-52911-4@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).