public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/18751] New: ICE in expr.c:5083: in reload_cse_simplify_operands, at postreload.c:391
@ 2004-12-01  6:03 stuckey at earthlink dot net
  2004-12-01  6:07 ` [Bug c/18751] " stuckey at earthlink dot net
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: stuckey at earthlink dot net @ 2004-12-01  6:03 UTC (permalink / raw)
  To: gcc-bugs

stuckey@performa6360:/usr/local/src/build_gcc40_20041128/gcc$ stage1/xgcc
-Bstage1/ -B/usr/local/stow/gcc-4.0-20041128/powerpc-unknown-linux-gnu/bin/ -c 
 -g -O2 -fprofile-generate -DIN_GCC   -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long
-Wno-variadic-macros -Wold-style-definition -Werror    -DHAVE_CONFIG_H    -I.
-I. -I../../gcc-4.0-20041128/gcc -I../../gcc-4.0-20041128/gcc/.
-I../../gcc-4.0-20041128/gcc/../include
-I../../gcc-4.0-20041128/gcc/../libcpp/include -v -save-temps
../../gcc-4.0-20041128/gcc/expr.c -o expr.o
Reading specs from stage1/specs
Configured with: ../gcc-4.0-20041128/configure
--prefix=/usr/local/stow/gcc-4.0-20041128 --enable-languages=c,c++
--disable-checking
Thread model: posix
gcc version 4.0.0 20041128 (experimental)
 stage1/cc1 -E -quiet -v -I. -I. -I../../gcc-4.0-20041128/gcc
-I../../gcc-4.0-20041128/gcc/. -I../../gcc-4.0-20041128/gcc/../include
-I../../gcc-4.0-20041128/gcc/../libcpp/include -iprefix
/usr/local/src/build_gcc40_20041128/gcc/stage1/../lib/gcc/powerpc-unknown-linux-gnu/4.0.0/
-isystem ./include -D__unix__ -D__gnu_linux__ -D__linux__ -Dunix -D__unix
-Dlinux -D__linux -Asystem=linux -Asystem=unix -Asystem=posix -DIN_GCC
-DHAVE_CONFIG_H ../../gcc-4.0-20041128/gcc/expr.c -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long
-Wno-variadic-macros -Wold-style-definition -Werror -fprofile-generate
-fworking-directory -O2 -fpch-preprocess -o expr.i
ignoring nonexistent directory
"/usr/local/src/build_gcc40_20041128/gcc/stage1/../lib/gcc/powerpc-unknown-linux-gnu/4.0.0/include"
ignoring nonexistent directory
"/usr/local/src/build_gcc40_20041128/gcc/stage1/../lib/gcc/powerpc-unknown-linux-gnu/4.0.0/../../../../powerpc-unknown-linux-gnu/include"
ignoring nonexistent directory "/usr/local/stow/gcc-4.0-20041128/include"
ignoring nonexistent directory
"/usr/local/stow/gcc-4.0-20041128/lib/gcc/powerpc-unknown-linux-gnu/4.0.0/include"
ignoring nonexistent directory
"/usr/local/stow/gcc-4.0-20041128/powerpc-unknown-linux-gnu/include"
ignoring duplicate directory "."
ignoring duplicate directory "../../gcc-4.0-20041128/gcc/."
#include "..." search starts here:
#include <...> search starts here:
 .
 ../../gcc-4.0-20041128/gcc
 ../../gcc-4.0-20041128/gcc/../include
 ../../gcc-4.0-20041128/gcc/../libcpp/include
 ./include
 /usr/local/include
 /usr/include
End of search list.
 stage1/cc1 -fpreprocessed expr.i -quiet -dumpbase expr.c -auxbase-strip expr.o
-g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
-pedantic -Wno-long-long -Wno-variadic-macros -Wold-style-definition -Werror
-version -fprofile-generate -o expr.s
GNU C version 4.0.0 20041128 (experimental) (powerpc-unknown-linux-gnu)
        compiled by GNU C version 3.4.1.
GGC heuristics: --param ggc-min-expand=38 --param ggc-min-heapsize=16787
../../gcc-4.0-20041128/gcc/expr.c: In function 'store_constructor':
../../gcc-4.0-20041128/gcc/expr.c:5083: error: insn does not satisfy its
constraints:
(insn 6079 4146 1266 171 (set (mem/c:DI (lo_sum:SI (reg/f:SI 11 11 [1823])
                (const:SI (plus:SI (symbol_ref:SI ("*.LPBX1") [flags 0x2])
                        (const_int 26640 [0x6810])))) [3633 S8 A8])
        (reg:DI 29 29)) 239 {*movdi_internal32} (nil)
    (nil))
../../gcc-4.0-20041128/gcc/expr.c:5083: 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 expr.c:5083: in reload_cse_simplify_operands, at
                    postreload.c:391
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: stuckey at earthlink dot net
                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=18751


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

* [Bug c/18751] ICE in expr.c:5083: in reload_cse_simplify_operands, at postreload.c:391
  2004-12-01  6:03 [Bug c/18751] New: ICE in expr.c:5083: in reload_cse_simplify_operands, at postreload.c:391 stuckey at earthlink dot net
@ 2004-12-01  6:07 ` stuckey at earthlink dot net
  2004-12-01  6:09 ` [Bug target/18751] [4.0 Regression] ICE in expr.c:5083, profiledbootstrap pinskia at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: stuckey at earthlink dot net @ 2004-12-01  6:07 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From stuckey at earthlink dot net  2004-12-01 06:06 -------
Created an attachment (id=7648)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=7648&action=view)
gzipped preprocessed source file.


-- 


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


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

* [Bug target/18751] [4.0 Regression] ICE in expr.c:5083, profiledbootstrap
  2004-12-01  6:03 [Bug c/18751] New: ICE in expr.c:5083: in reload_cse_simplify_operands, at postreload.c:391 stuckey at earthlink dot net
  2004-12-01  6:07 ` [Bug c/18751] " stuckey at earthlink dot net
@ 2004-12-01  6:09 ` pinskia at gcc dot gnu dot org
  2004-12-04 10:50 ` amodra at bigpond dot net dot au
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-12-01  6:09 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|c                           |target
           Keywords|                            |build, ice-on-valid-code
            Summary|ICE in expr.c:5083: in      |[4.0 Regression] ICE in
                   |reload_cse_simplify_operands|expr.c:5083,
                   |, at postreload.c:391       |profiledbootstrap
   Target Milestone|---                         |4.0.0


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


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

* [Bug target/18751] [4.0 Regression] ICE in expr.c:5083, profiledbootstrap
  2004-12-01  6:03 [Bug c/18751] New: ICE in expr.c:5083: in reload_cse_simplify_operands, at postreload.c:391 stuckey at earthlink dot net
  2004-12-01  6:07 ` [Bug c/18751] " stuckey at earthlink dot net
  2004-12-01  6:09 ` [Bug target/18751] [4.0 Regression] ICE in expr.c:5083, profiledbootstrap pinskia at gcc dot gnu dot org
@ 2004-12-04 10:50 ` amodra at bigpond dot net dot au
  2004-12-06 11:26 ` amodra at bigpond dot net dot au
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: amodra at bigpond dot net dot au @ 2004-12-04 10:50 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From amodra at bigpond dot net dot au  2004-12-04 10:50 -------
Confirmed with 4.0.0 20041204

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2004-12-04 10:50:36
               date|                            |


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


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

* [Bug target/18751] [4.0 Regression] ICE in expr.c:5083, profiledbootstrap
  2004-12-01  6:03 [Bug c/18751] New: ICE in expr.c:5083: in reload_cse_simplify_operands, at postreload.c:391 stuckey at earthlink dot net
                   ` (2 preceding siblings ...)
  2004-12-04 10:50 ` amodra at bigpond dot net dot au
@ 2004-12-06 11:26 ` amodra at bigpond dot net dot au
  2004-12-07  2:08 ` amodra at bigpond dot net dot au
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: amodra at bigpond dot net dot au @ 2004-12-06 11:26 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From amodra at bigpond dot net dot au  2004-12-06 11:26 -------
I think this particular problem was introduced with one of Geoff's patches,
http://gcc.gnu.org/ml/gcc-patches/2004-08/msg00022.html

rs6000_mode_dependent_address returns true for LO_SUM addresses, which in turn
makes them not offsettable.  Thus movdi_internal32 won't match DImode gpr stores.
It's clear that LO_SUM addresses can't be offset (since an offset may bump the
final address over a 64k+32k boundary, and the compiler can't know when this
might happen).  Also, the rtl generated by -fprofile-generate looks OK.  I don't
think there's anything wrong with Geoff's patch either, but it's boxed us into a
corner.  A fix that will work (I think) is to limit legitimate_lo_sum_address_p
to 32 bit modes, but that could pessimize all loads and stores of 64 bit values.


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |geoffk at geoffk dot org


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


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

* [Bug target/18751] [4.0 Regression] ICE in expr.c:5083, profiledbootstrap
  2004-12-01  6:03 [Bug c/18751] New: ICE in expr.c:5083: in reload_cse_simplify_operands, at postreload.c:391 stuckey at earthlink dot net
                   ` (3 preceding siblings ...)
  2004-12-06 11:26 ` amodra at bigpond dot net dot au
@ 2004-12-07  2:08 ` amodra at bigpond dot net dot au
  2004-12-23  7:35 ` cvs-commit at gcc dot gnu dot org
  2004-12-23 13:11 ` amodra at bigpond dot net dot au
  6 siblings, 0 replies; 8+ messages in thread
From: amodra at bigpond dot net dot au @ 2004-12-07  2:08 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From amodra at bigpond dot net dot au  2004-12-07 02:08 -------
http://gcc.gnu.org/ml/gcc-patches/2004-12/msg00431.html

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |patch


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


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

* [Bug target/18751] [4.0 Regression] ICE in expr.c:5083, profiledbootstrap
  2004-12-01  6:03 [Bug c/18751] New: ICE in expr.c:5083: in reload_cse_simplify_operands, at postreload.c:391 stuckey at earthlink dot net
                   ` (4 preceding siblings ...)
  2004-12-07  2:08 ` amodra at bigpond dot net dot au
@ 2004-12-23  7:35 ` cvs-commit at gcc dot gnu dot org
  2004-12-23 13:11 ` amodra at bigpond dot net dot au
  6 siblings, 0 replies; 8+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-12-23  7:35 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2004-12-23 07:35 -------
Subject: Bug 18751

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	amodra@gcc.gnu.org	2004-12-23 07:34:46

Modified files:
	gcc            : ChangeLog 
	gcc/config/rs6000: rs6000.c 

Log message:
	PR target/18751
	* config/rs6000/rs6000.c (legitimate_lo_sum_address_p): Return
	false for anything larger than 32 bits in 32-bit code.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.6933&r2=2.6934
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/rs6000/rs6000.c.diff?cvsroot=gcc&r1=1.766&r2=1.767



-- 


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


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

* [Bug target/18751] [4.0 Regression] ICE in expr.c:5083, profiledbootstrap
  2004-12-01  6:03 [Bug c/18751] New: ICE in expr.c:5083: in reload_cse_simplify_operands, at postreload.c:391 stuckey at earthlink dot net
                   ` (5 preceding siblings ...)
  2004-12-23  7:35 ` cvs-commit at gcc dot gnu dot org
@ 2004-12-23 13:11 ` amodra at bigpond dot net dot au
  6 siblings, 0 replies; 8+ messages in thread
From: amodra at bigpond dot net dot au @ 2004-12-23 13:11 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From amodra at bigpond dot net dot au  2004-12-23 13:10 -------
Fixed

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


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


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

end of thread, other threads:[~2004-12-23 13:11 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-12-01  6:03 [Bug c/18751] New: ICE in expr.c:5083: in reload_cse_simplify_operands, at postreload.c:391 stuckey at earthlink dot net
2004-12-01  6:07 ` [Bug c/18751] " stuckey at earthlink dot net
2004-12-01  6:09 ` [Bug target/18751] [4.0 Regression] ICE in expr.c:5083, profiledbootstrap pinskia at gcc dot gnu dot org
2004-12-04 10:50 ` amodra at bigpond dot net dot au
2004-12-06 11:26 ` amodra at bigpond dot net dot au
2004-12-07  2:08 ` amodra at bigpond dot net dot au
2004-12-23  7:35 ` cvs-commit at gcc dot gnu dot org
2004-12-23 13:11 ` amodra at bigpond dot net dot au

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