public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: optimization/4483: powerpc, -O2, ICE (affects building linux kernel)
@ 2002-02-03 16:05 dje
  0 siblings, 0 replies; 2+ messages in thread
From: dje @ 2002-02-03 16:05 UTC (permalink / raw)
  To: dje, gcc-bugs, gcc-prs, nobody, paul.stoeber

Synopsis: powerpc, -O2, ICE (affects building linux kernel)

Responsible-Changed-From-To: unassigned->dje
Responsible-Changed-By: dje
Responsible-Changed-When: Sun Feb  3 16:05:15 2002
Responsible-Changed-Why:
    PowerPC failure
State-Changed-From-To: open->closed
State-Changed-By: dje
State-Changed-When: Sun Feb  3 16:05:15 2002
State-Changed-Why:
    I cannot reproduce this error with the current GCC 3.1
    sources.  This seems to have been fixed already.  If not, 
    please resubmit it and also contact me.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=4483


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

* optimization/4483: powerpc, -O2, ICE (affects building linux kernel)
@ 2001-10-05 11:36 paul.stoeber
  0 siblings, 0 replies; 2+ messages in thread
From: paul.stoeber @ 2001-10-05 11:36 UTC (permalink / raw)
  To: gcc-gnats

>Number:         4483
>Category:       optimization
>Synopsis:       powerpc, -O2, ICE (affects building linux kernel)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          ice-on-legal-code
>Submitter-Id:   net
>Arrival-Date:   Fri Oct 05 11:36:02 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Paul Stoeber
>Release:        3.1 20010930 (experimental)
>Organization:
>Environment:
System: Linux tulgey 2.4.9-pre3 #10 Wed Oct 3 16:18:13 UTC 2001 ppc unknown
Architecture: ppc
host: powerpc-unknown-linux-gnu
build: powerpc-unknown-linux-gnu
target: powerpc-unknown-linux-gnu
configured with: ../gcc/configure --prefix=/home/wtq/gcc-inst --enable-languages=c
>Description:
input file ice.c:
-------------------------------------------------------
int ugh(int to, int from, int size)
{
}

static inline int grmpf(int to, int from, int n)
{
	if (n <= 0x80000000UL) {
		return ugh(to, from, n);
	}
	return n;
}

static inline int blchh(int to, int from, int n)
{
	if ( n == 0 || (n <= 0x80000000UL)&&(to <= 0x80000000UL-n)) {
		return ugh(to, from, n);
	}
	return n;
}

void func(void)
{
	int x = 42;

	grmpf(7, 11, x);
	blchh(13, 17, x);
}
-------------------------------------------------------

command line:
-------------------------------------------------------
/home/wtq/gcc-inst/bin/gcc -v -O2 -c ice.c
-------------------------------------------------------

standard error:
-------------------------------------------------------
Reading specs from /home/wtq/gcc-inst/lib/gcc-lib/powerpc-unknown-linux-gnu/3.1/specs
Configured with: ../gcc/configure --prefix=/home/wtq/gcc-inst --enable-languages=c
Thread model: single
gcc version 3.1 20010930 (experimental)
 /home/wtq/gcc-inst/lib/gcc-lib/powerpc-unknown-linux-gnu/3.1/cc1 -lang-c -v -D__GNUC__=3 -D__GNUC_MINOR__=1 -D__GNUC_PATCHLEVEL__=0 -DPPC -D__ELF__ -Dpowerpc -D__PPC__ -D__ELF__ -D__powerpc__ -D__PPC -D__powerpc -Acpu=powerpc -Amachine=powerpc -D__CHAR_UNSIGNED__ -D__OPTIMIZE__ -D__STDC_HOSTED__=1 -D_CALL_SYSV -D_BIG_ENDIAN -D__BIG_ENDIAN__ -Amachine=bigendian -D_ARCH_PPC -D__unix__ -D__linux__ -Dunix -D__unix -Dlinux -D__linux -Asystem=unix -Asystem=posix ice.c -quiet -dumpbase ice.c -O2 -version -o /tmp/ccbSU2fj.s
GNU CPP version 3.1 20010930 (experimental) (cpplib) (PowerPC GNU/Linux)
GNU C version 3.1 20010930 (experimental) (powerpc-unknown-linux-gnu)
	compiled by GNU C version 2.95.2 20000220 (Debian GNU/Linux).
ignoring nonexistent directory "/home/wtq/gcc-inst/powerpc-unknown-linux-gnu/include"
#include "..." search starts here:
#include <...> search starts here:
 /usr/local/include
 /home/wtq/gcc-inst/include
 /home/wtq/gcc-inst/lib/gcc-lib/powerpc-unknown-linux-gnu/3.1/include
 /usr/include
End of search list.
ice.c: In function `func':
ice.c:27: Could not split insn
(insn 95 23 94 (set (reg:SI 9 r9 [95])
        (const_int -2147483690 [0xffffffff7fffffd6])) 289 {*movsi_internal1} (insn_list:REG_DEP_ANTI 23 (nil))
    (expr_list:REG_EQUIV (const_int -2147483690 [0xffffffff7fffffd6])
        (nil)))
ice.c:27: Internal compiler error in final_scan_insn, at final.c:2912
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL: http://www.gnu.org/software/gcc/bugs.html > for instructions.
-------------------------------------------------------

>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:


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

end of thread, other threads:[~2002-02-04  0:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-02-03 16:05 optimization/4483: powerpc, -O2, ICE (affects building linux kernel) dje
  -- strict thread matches above, loose matches on Subject: below --
2001-10-05 11:36 paul.stoeber

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