public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [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.
@ 2012-04-09 14:32 zuogang at huawei dot com
  2012-04-09 15:57 ` [Bug c/52911] " mikpe at it dot uu.se
                   ` (15 more replies)
  0 siblings, 16 replies; 17+ messages in thread
From: zuogang at huawei dot com @ 2012-04-09 14:32 UTC (permalink / raw)
  To: gcc-bugs

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


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

end of thread, other threads:[~2014-06-12 13:06 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-09 14:32 [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 zuogang at huawei dot com
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

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).