public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug objc/20191] New: ICE in reload_cse_simplify_operands, on powerpc linux
@ 2005-02-24 17:54 stephane dot goujet at kat dot fi
2005-02-24 18:00 ` [Bug objc/20191] " stephane dot goujet at kat dot fi
` (10 more replies)
0 siblings, 11 replies; 12+ messages in thread
From: stephane dot goujet at kat dot fi @ 2005-02-24 17:54 UTC (permalink / raw)
To: gcc-bugs
Here is the output of gcc when compiling NSTextView.m :
Reading specs from /usr/local/lib/gcc/powerpc-unknown-linux-gnu/3.4.4/specs
Configured with: ../gcc-3.4-20050218/configure --enable-threads --enable-
altivec --enable-languages=c,objc
Thread model: posix
gcc version 3.4.4 20050218 (prerelease)
/usr/local/libexec/gcc/powerpc-unknown-linux-gnu/3.4.4/cc1obj -E -quiet -v -
I ../Headers/ -I /usr/GNUstep/System/Library/Headers/ -D__unix__ -
D__gnu_linux__ -D__linux__ -Dunix -D__unix -Dlinux -D__linux -Asystem=linux -
Asystem=unix -Asystem=posix NSTextView.m -fconstant-string-
class=NSConstantString -O2 -o NSTextView.mi
ignoring nonexistent directory "NONE/include"
ignoring nonexistent directory "/usr/local/lib/gcc/powerpc-unknown-linux-
gnu/3.4.4/../../../../powerpc-unknown-linux-gnu/include"
#include "..." search starts here:
#include <...> search starts here:
../Headers/
/usr/GNUstep/System/Library/Headers/
/usr/local/include
/usr/local/lib/gcc/powerpc-unknown-linux-gnu/3.4.4/include
/usr/include
End of search list.
/usr/local/libexec/gcc/powerpc-unknown-linux-gnu/3.4.4/cc1obj -fpreprocessed
NSTextView.mi -quiet -dumpbase NSTextView.m -auxbase NSTextView -O2 -version -
fconstant-string-class=NSConstantString -o NSTextView.s
GNU Objective-C version 3.4.4 20050218 (prerelease) (powerpc-unknown-linux-gnu)
compiled by GNU C version 4.0.0 20050213 (experimental).
GGC heuristics: --param ggc-min-expand=51 --param ggc-min-heapsize=39686
NSTextView.m: In function `-[NSTextView(GSTextView) sync::updateState:]':
NSTextView.m:371: warning: `NSTextView' may not respond to `-
_updateInputMethodState'
NSTextView.m:371: warning: (Messages without a matching method signature
NSTextView.m:371: warning: will be assumed to return `id' and accept
NSTextView.m:371: warning: `...' as arguments.)
NSTextView.m: At top level:
NSTextView.m:2341: warning: incomplete implementation of class `NSTextView'
NSTextView.m:2341: warning: method definition for `-selectedRange' not found
NSTextView.m:2341: warning: class `NSTextView' does not fully implement the
`NSTextInput' protocol
NSTextView.m: In function `-[NSTextView setConstrainedFrameSize:]':
NSTextView.m:1574: error: insn does not satisfy its constraints:
(insn:HI 144 139 140 14 (set (reg:SF 66 ctr [orig:164
<variable>._maxSize.width ] [164])
(reg:SF 66 ctr [162])) 252 {*movsf_hardfloat} (nil)
(nil))
NSTextView.m:1574: internal compiler error: in reload_cse_simplify_operands,
at postreload.c:391
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
--
Summary: ICE in reload_cse_simplify_operands, on powerpc linux
Product: gcc
Version: 3.4.4
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: objc
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: stephane dot goujet at kat dot fi
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: powerpc-unknown-linux-gnu
GCC host triplet: powerpc-unknown-linux-gnu
GCC target triplet: powerpc-unknown-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20191
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug objc/20191] ICE in reload_cse_simplify_operands, on powerpc linux
2005-02-24 17:54 [Bug objc/20191] New: ICE in reload_cse_simplify_operands, on powerpc linux stephane dot goujet at kat dot fi
@ 2005-02-24 18:00 ` stephane dot goujet at kat dot fi
2005-02-24 18:12 ` [Bug target/20191] " pinskia at gcc dot gnu dot org
` (9 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: stephane dot goujet at kat dot fi @ 2005-02-24 18:00 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From stephane dot goujet at kat dot fi 2005-02-24 14:51 -------
Created an attachment (id=8270)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=8270&action=view)
preprocessed objective-c file
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20191
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug target/20191] ICE in reload_cse_simplify_operands, on powerpc linux
2005-02-24 17:54 [Bug objc/20191] New: ICE in reload_cse_simplify_operands, on powerpc linux stephane dot goujet at kat dot fi
2005-02-24 18:00 ` [Bug objc/20191] " stephane dot goujet at kat dot fi
@ 2005-02-24 18:12 ` pinskia at gcc dot gnu dot org
2005-02-24 19:33 ` dje at gcc dot gnu dot org
` (8 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-02-24 18:12 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-02-24 15:01 -------
Hmm,
(insn:HI 144 139 140 14 (set (reg:SF 66 ctr [orig:164
<variable>._maxSize.width ] [164])
(reg:SF 66 ctr [162])) 252 {*movsf_hardfloat} (nil)
(nil))
This looks like either a target problem or a reload problem. The reason why it is hard to reduce is
because you need the right situation to reproduce this bug, mainly using the ctr register for floating
point which really does not work.
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |pinskia at gcc dot gnu dot
| |org
Component|objc |target
Keywords| |ice-on-valid-code
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20191
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug target/20191] ICE in reload_cse_simplify_operands, on powerpc linux
2005-02-24 17:54 [Bug objc/20191] New: ICE in reload_cse_simplify_operands, on powerpc linux stephane dot goujet at kat dot fi
2005-02-24 18:00 ` [Bug objc/20191] " stephane dot goujet at kat dot fi
2005-02-24 18:12 ` [Bug target/20191] " pinskia at gcc dot gnu dot org
@ 2005-02-24 19:33 ` dje at gcc dot gnu dot org
2005-02-24 19:55 ` dje at gcc dot gnu dot org
` (7 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: dje at gcc dot gnu dot org @ 2005-02-24 19:33 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |dje at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20191
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug target/20191] ICE in reload_cse_simplify_operands, on powerpc linux
2005-02-24 17:54 [Bug objc/20191] New: ICE in reload_cse_simplify_operands, on powerpc linux stephane dot goujet at kat dot fi
` (2 preceding siblings ...)
2005-02-24 19:33 ` dje at gcc dot gnu dot org
@ 2005-02-24 19:55 ` dje at gcc dot gnu dot org
2005-05-29 20:09 ` pinskia at gcc dot gnu dot org
` (6 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: dje at gcc dot gnu dot org @ 2005-02-24 19:55 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From dje at gcc dot gnu dot org 2005-02-24 15:51 -------
The 0->!h alternative should match.
Completely preventing SFmode from being placed in CTR can cause more problems,
but we can do a better job to avoid preferencing that class. I would suggest
trying changing
"=!r,!r,m,f,f,m,!cl,!q,!r,!h,!r,!r"
to
"=!r,!r,m,f,f,m,!*cl,!*q,!r,!*h,!r,!r"
so that the register allocator does not use those special registers for
preferencing decisions. See if that helps.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20191
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug target/20191] ICE in reload_cse_simplify_operands, on powerpc linux
2005-02-24 17:54 [Bug objc/20191] New: ICE in reload_cse_simplify_operands, on powerpc linux stephane dot goujet at kat dot fi
` (3 preceding siblings ...)
2005-02-24 19:55 ` dje at gcc dot gnu dot org
@ 2005-05-29 20:09 ` pinskia at gcc dot gnu dot org
2005-06-15 18:19 ` pinskia at gcc dot gnu dot org
` (5 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-05-29 20:09 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
GCC build triplet|powerpc-unknown-linux-gnu |
GCC host triplet|powerpc-unknown-linux-gnu |
GCC target triplet|powerpc-unknown-linux-gnu |powerpc-*-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20191
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug target/20191] ICE in reload_cse_simplify_operands, on powerpc linux
2005-02-24 17:54 [Bug objc/20191] New: ICE in reload_cse_simplify_operands, on powerpc linux stephane dot goujet at kat dot fi
` (4 preceding siblings ...)
2005-05-29 20:09 ` pinskia at gcc dot gnu dot org
@ 2005-06-15 18:19 ` pinskia at gcc dot gnu dot org
2005-06-15 18:21 ` [Bug target/20191] [3.4 Regression] " pinskia at gcc dot gnu dot org
` (4 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-06-15 18:19 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-15 18:19 -------
*** Bug 22081 has been marked as a duplicate of this bug. ***
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |janis at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20191
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug target/20191] [3.4 Regression] ICE in reload_cse_simplify_operands, on powerpc linux
2005-02-24 17:54 [Bug objc/20191] New: ICE in reload_cse_simplify_operands, on powerpc linux stephane dot goujet at kat dot fi
` (5 preceding siblings ...)
2005-06-15 18:19 ` pinskia at gcc dot gnu dot org
@ 2005-06-15 18:21 ` pinskia at gcc dot gnu dot org
2005-06-15 18:24 ` janis at gcc dot gnu dot org
` (3 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-06-15 18:21 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-15 18:20 -------
>From the dup bug:
GCC 3.3.5 doesn't get the error, so it's a regression. GCC 4.0.x and
mainline don't get the error; it was fixed this this patch to mainline
by dalej:
http://gcc.gnu.org/ml/gcc-cvs/2004-02/msg01205.html
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2005-06-15 18:20:53
date| |
Summary|ICE in |[3.4 Regression] ICE in
|reload_cse_simplify_operands|reload_cse_simplify_operands
|, on powerpc linux |, on powerpc linux
Target Milestone|--- |3.4.5
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20191
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug target/20191] [3.4 Regression] ICE in reload_cse_simplify_operands, on powerpc linux
2005-02-24 17:54 [Bug objc/20191] New: ICE in reload_cse_simplify_operands, on powerpc linux stephane dot goujet at kat dot fi
` (6 preceding siblings ...)
2005-06-15 18:21 ` [Bug target/20191] [3.4 Regression] " pinskia at gcc dot gnu dot org
@ 2005-06-15 18:24 ` janis at gcc dot gnu dot org
2005-06-15 20:16 ` pinskia at gcc dot gnu dot org
` (2 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: janis at gcc dot gnu dot org @ 2005-06-15 18:24 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From janis at gcc dot gnu dot org 2005-06-15 18:24 -------
I'm about to submit dalej's patch for the 3.4 branch, so I'll take this (the
duplicate 22081 was mine).
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |janis at gcc dot gnu dot org
|dot org |
Status|NEW |ASSIGNED
Last reconfirmed|2005-06-15 18:20:53 |2005-06-15 18:24:46
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20191
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug target/20191] [3.4 Regression] ICE in reload_cse_simplify_operands, on powerpc linux
2005-02-24 17:54 [Bug objc/20191] New: ICE in reload_cse_simplify_operands, on powerpc linux stephane dot goujet at kat dot fi
` (7 preceding siblings ...)
2005-06-15 18:24 ` janis at gcc dot gnu dot org
@ 2005-06-15 20:16 ` pinskia at gcc dot gnu dot org
2005-07-21 22:07 ` cvs-commit at gcc dot gnu dot org
2005-07-21 23:01 ` janis at gcc dot gnu dot org
10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-06-15 20:16 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-15 20:16 -------
Patch posted here: <http://gcc.gnu.org/ml/gcc-patches/2005-06/msg01302.html>.
--
What |Removed |Added
----------------------------------------------------------------------------
URL| |http://gcc.gnu.org/ml/gcc-
| |patches/2005-
| |06/msg01302.html
Keywords| |patch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20191
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug target/20191] [3.4 Regression] ICE in reload_cse_simplify_operands, on powerpc linux
2005-02-24 17:54 [Bug objc/20191] New: ICE in reload_cse_simplify_operands, on powerpc linux stephane dot goujet at kat dot fi
` (8 preceding siblings ...)
2005-06-15 20:16 ` pinskia at gcc dot gnu dot org
@ 2005-07-21 22:07 ` cvs-commit at gcc dot gnu dot org
2005-07-21 23:01 ` janis at gcc dot gnu dot org
10 siblings, 0 replies; 12+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-07-21 22:07 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-07-21 21:57 -------
Subject: Bug 20191
CVSROOT: /cvs/gcc
Module name: gcc
Branch: gcc-3_4-branch
Changes by: janis@gcc.gnu.org 2005-07-21 21:57:05
Modified files:
gcc : ChangeLog
gcc/config/rs6000: rs6000.md
gcc/testsuite : ChangeLog
Added files:
gcc/testsuite/gcc.c-torture/compile: 20050721-1.c
Log message:
PR target/20191
Backport from mainline:
2004-04-23 Dale Johannesen <dalej@apple.com>
* config/rs6000.md (movsf_hardfloat): Add POWER form of nop.
(movdf_hardfloat64): Ditto.
(movdf_softfloat64): Ditto.
* config/rs6000.md (movsf_hardfloat): Accept CTR-to-CTR copy.
(movdf_hardfloat64): Ditto.
testsuite:
PR target/20191
* gcc.c-torture/compile/20050721-1.c: New test.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=2.2326.2.883&r2=2.2326.2.884
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/rs6000/rs6000.md.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.284.4.18&r2=1.284.4.19
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.3389.2.407&r2=1.3389.2.408
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.c-torture/compile/20050721-1.c.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=NONE&r2=1.1.2.1
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20191
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug target/20191] [3.4 Regression] ICE in reload_cse_simplify_operands, on powerpc linux
2005-02-24 17:54 [Bug objc/20191] New: ICE in reload_cse_simplify_operands, on powerpc linux stephane dot goujet at kat dot fi
` (9 preceding siblings ...)
2005-07-21 22:07 ` cvs-commit at gcc dot gnu dot org
@ 2005-07-21 23:01 ` janis at gcc dot gnu dot org
10 siblings, 0 replies; 12+ messages in thread
From: janis at gcc dot gnu dot org @ 2005-07-21 23:01 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From janis at gcc dot gnu dot org 2005-07-21 22:25 -------
Fixed on the 3.4 branch.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20191
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2005-07-21 22:26 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-02-24 17:54 [Bug objc/20191] New: ICE in reload_cse_simplify_operands, on powerpc linux stephane dot goujet at kat dot fi
2005-02-24 18:00 ` [Bug objc/20191] " stephane dot goujet at kat dot fi
2005-02-24 18:12 ` [Bug target/20191] " pinskia at gcc dot gnu dot org
2005-02-24 19:33 ` dje at gcc dot gnu dot org
2005-02-24 19:55 ` dje at gcc dot gnu dot org
2005-05-29 20:09 ` pinskia at gcc dot gnu dot org
2005-06-15 18:19 ` pinskia at gcc dot gnu dot org
2005-06-15 18:21 ` [Bug target/20191] [3.4 Regression] " pinskia at gcc dot gnu dot org
2005-06-15 18:24 ` janis at gcc dot gnu dot org
2005-06-15 20:16 ` pinskia at gcc dot gnu dot org
2005-07-21 22:07 ` cvs-commit at gcc dot gnu dot org
2005-07-21 23:01 ` janis at gcc dot gnu dot 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).