public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* optimization/7246: ICE in find_reloads, at reload.c:3576
@ 2002-07-09  8:56 gbeauchesne
  0 siblings, 0 replies; 3+ messages in thread
From: gbeauchesne @ 2002-07-09  8:56 UTC (permalink / raw)
  To: gcc-gnats; +Cc: jakub, rth


>Number:         7246
>Category:       optimization
>Synopsis:       ICE in find_reloads, at reload.c:3576
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          ice-on-legal-code
>Submitter-Id:   net
>Arrival-Date:   Tue Jul 09 08:56:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Gwenole Beauchesne
>Release:        GNU C version 3.1.1 20020709 (prerelease)
>Organization:
>Environment:
i586-mandrake-linux-gnu
>Description:
Testcase attached, distilled from <ffmpeg>/libavcodec/h263.c.

[gb@kernel gcc]$ ./cc1 -O ~/vrac/h263.i
 g f
h263.c: In function `f':
h263.c:26: unable to generate reloads for:
(insn 51 45 52 (parallel[
            (set (reg:CCZ 17 flags)
                (compare:CCZ (lshiftrt:SI (reg:SI 0 eax [63])
                        (const_int -13 [0xfffffff3]))
                    (const_int 0 [0x0])))
            (set (reg/v:SI 0 eax [61])
                (lshiftrt:SI (reg:SI 0 eax [63])
                    (const_int -13 [0xfffffff3])))
        ] ) 456 {*lshrsi3_cmp} (insn_list 19 (nil))
    (expr_list:REG_DEAD (reg:SI 0 eax [63])
        (nil)))

h263.c:26: Internal compiler error in find_reloads, at reload.c:3576
>How-To-Repeat:
- GCC ICEs on the testcase for any optimization level >= 1.
- That doesn't occur on x86_64.
- This is a regression from 3.0.4, i.e. it ICEs with 3.1.0 too.
>Fix:
Workaround: undefine ARCH_X86 -or- compile without optimization.
>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: application/octet-stream; name="h263.c"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="h263.c"

I2RlZmluZSBBUkNIX1g4NiAxCgojaWZkZWYgQVJDSF9YODYKLy8gaW52ZXJzZSBmb3Igc2hpZnQg
b3B0aW1pemF0aW9uIChnY2Mgc2hvdWxkIGRvIHRoYXQgLi4uKQojZGVmaW5lIElOVjMyKGEpICgt
YSkKI2Vsc2UKI2RlZmluZSBJTlYzMihhKSAoMzItYSkKI2VuZGlmCgpzdGF0aWMgaW5saW5lIHVu
c2lnbmVkIGludCBnKGludCBuKQp7CiAgcmV0dXJuICgodW5zaWduZWQgaW50KTApID4+IElOVjMy
KG4pOwp9CgpzdGF0aWMgc3csIHNoOwoKc3RhdGljIHZvaWQgZih2b2lkKQp7CiAgaW50IHcsIGg7
CiAgdyA9IGcoMTMpOwogIGggPSBnKDEzKTsKICBpZiAodyAmJiBoKSB7CglzdyA9IHc7CglzaCA9
IGg7CiAgfQp9Cg==


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

* Re: optimization/7246: ICE in find_reloads, at reload.c:3576
@ 2002-07-10  9:37 jakub
  0 siblings, 0 replies; 3+ messages in thread
From: jakub @ 2002-07-10  9:37 UTC (permalink / raw)
  To: gbeauchesne, gcc-bugs, gcc-prs, jakub, nobody, rth

Synopsis: ICE in find_reloads, at reload.c:3576

State-Changed-From-To: analyzed->closed
State-Changed-By: jakub
State-Changed-When: Wed Jul 10 09:37:49 2002
State-Changed-Why:
    Yes, this is the same as 7245. http://gcc.gnu.org/ml/gcc-patches/2002-07/msg00445.html

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


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

* Re: optimization/7246: ICE in find_reloads, at reload.c:3576
@ 2002-07-09 12:45 paolo
  0 siblings, 0 replies; 3+ messages in thread
From: paolo @ 2002-07-09 12:45 UTC (permalink / raw)
  To: gbeauchesne, gcc-bugs, gcc-prs, jakub, nobody, rth

Synopsis: ICE in find_reloads, at reload.c:3576

State-Changed-From-To: open->analyzed
State-Changed-By: paolo
State-Changed-When: Tue Jul  9 12:45:15 2002
State-Changed-Why:
    Confirmed, regression from 2.95.3 -> high priority
    (probably related to 7245)

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


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

end of thread, other threads:[~2002-07-10 16:37 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-07-09  8:56 optimization/7246: ICE in find_reloads, at reload.c:3576 gbeauchesne
2002-07-09 12:45 paolo
2002-07-10  9:37 jakub

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