[Bug target/18421] ICE in reload_cse_simplify_operands, at postreload.c:391

2005-07-26 Thread pinskia at gcc dot gnu dot org

--- Additional Comments From pinskia at gcc dot gnu dot org  2005-07-26 
20:33 ---
Fixed.

-- 
   What|Removed |Added

 Status|REOPENED|RESOLVED
  Known to work||3.4.5 4.0.2 4.1.0
 Resolution||FIXED
   Target Milestone|--- |3.4.5


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


[Bug target/18421] ICE in reload_cse_simplify_operands, at postreload.c:391

2005-07-26 Thread cvs-commit at gcc dot gnu dot org

--- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-07-26 
20:32 ---
Subject: Bug 18421

CVSROOT:/cvs/gcc
Module name:gcc
Branch: gcc-3_4-branch
Changes by: [EMAIL PROTECTED]   2005-07-26 20:32:26

Modified files:
gcc: ChangeLog 
gcc/config/m68k: m68k-protos.h m68k.c m68k.h m68k.md 

Log message:
Backport from mainline:
2005-07-12  Peter Barada  <[EMAIL PROTECTED]>
PR middle-end/16719
PR middle-end/18421
* config/m68k/m68k.h (HARD_REGNO_MODE_OK): Disallow bytes
in address registers.
* config/m68k/m68k.c (hard_regno_mode_ok): Likewise.
* config/m68k/m68k.md: Replace 's' with 'i' in 4th
alternative of addsi3_5200.

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.884&r2=2.2326.2.885
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/m68k/m68k-protos.h.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.14.10.1&r2=1.14.10.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/m68k/m68k.c.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.123.2.3&r2=1.123.2.4
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/m68k/m68k.h.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.103.4.5&r2=1.103.4.6
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/m68k/m68k.md.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.71.4.3&r2=1.71.4.4



-- 


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


[Bug target/18421] ICE in reload_cse_simplify_operands, at postreload.c:391

2005-07-25 Thread cvs-commit at gcc dot gnu dot org

--- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-07-26 
04:40 ---
Subject: Bug 18421

CVSROOT:/cvs/gcc
Module name:gcc
Branch: gcc-4_0-branch
Changes by: [EMAIL PROTECTED]   2005-07-26 04:40:44

Modified files:
gcc: ChangeLog 
gcc/config/m68k: m68k.md m68k.h m68k.c m68k-protos.h 

Log message:
Backport from mainline:
2005-07-12  Peter Barada  <[EMAIL PROTECTED]>
PR middle-end/16719
PR middle-end/18421
* config/m68k/m68k.h (HARD_REGNO_MODE_OK): Disallow bytes
in address registers.
* config/m68k/m68k.c (hard_regno_mode_ok): Likewise.
* config/m68k/m68k.md: Replace 's' with 'i' in 4th
alternative of addsi3_5200.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=2.7592.2.331&r2=2.7592.2.332
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/m68k/m68k.md.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.80&r2=1.80.34.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/m68k/m68k.h.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.123&r2=1.123.10.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/m68k/m68k.c.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.144&r2=1.144.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/m68k/m68k-protos.h.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.17&r2=1.17.18.1



-- 


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


[Bug target/18421] ICE in reload_cse_simplify_operands, at postreload.c:391

2005-07-11 Thread bernie at develer dot com

--- Additional Comments From bernie at develer dot com  2005-07-11 23:35 
---
Oops... still pending for 4.0 and 3.4.

-- 
   What|Removed |Added

 Status|RESOLVED|REOPENED
 Resolution|FIXED   |


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


[Bug target/18421] ICE in reload_cse_simplify_operands, at postreload.c:391

2005-07-11 Thread bernie at develer dot com

--- Additional Comments From bernie at develer dot com  2005-07-11 23:33 
---
Fixed.

-- 
   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution||FIXED


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


[Bug target/18421] ICE in reload_cse_simplify_operands, at postreload.c:391

2005-07-11 Thread cvs-commit at gcc dot gnu dot org

--- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-07-11 
23:32 ---
Subject: Bug 18421

CVSROOT:/cvs/gcc
Module name:gcc
Changes by: [EMAIL PROTECTED]   2005-07-11 23:32:01

Modified files:
gcc: ChangeLog 
gcc/config/m68k: m68k.md m68k.c m68k.h m68k-protos.h 

Log message:
PR middle-end/16719
PR middle-end/18421
* config/m68k/m68k.h (HARD_REGNO_MODE_OK): Disallow bytes
in address registers.
* config/m68k/m68k.c (hard_regno_mode_ok): Likewise.
* config/m68k/m68k.md: Replace 's' with 'i' in 4th
alternative of addsi3_5200.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.9411&r2=2.9412
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/m68k/m68k.md.diff?cvsroot=gcc&r1=1.84&r2=1.85
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/m68k/m68k.c.diff?cvsroot=gcc&r1=1.152&r2=1.153
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/m68k/m68k.h.diff?cvsroot=gcc&r1=1.128&r2=1.129
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/m68k/m68k-protos.h.diff?cvsroot=gcc&r1=1.20&r2=1.21



-- 


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


[Bug target/18421] ICE in reload_cse_simplify_operands, at postreload.c:391

2005-07-11 Thread bernie at develer dot com

--- Additional Comments From bernie at develer dot com  2005-07-11 23:23 
---
Created an attachment (id=9246)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=9246&action=view)
Updated patch


-- 
   What|Removed |Added

Attachment #8577 is|0   |1
   obsolete||
 AssignedTo|unassigned at gcc dot gnu   |bernie at develer dot com
   |dot org |
 Status|NEW |ASSIGNED


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


[Bug target/18421] ICE in reload_cse_simplify_operands, at postreload.c:391

2005-07-11 Thread bernie at develer dot com

--- Additional Comments From bernie at develer dot com  2005-07-11 21:07 
---
A revised patch was posted here:

  http://gcc.gnu.org/ml/gcc-patches/2005-06/msg00853.html

I will attach it here in case someone wants to apply it
to an old version of GCC.


-- 


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


[Bug target/18421] ICE in reload_cse_simplify_operands, at postreload.c:391

2005-07-06 Thread schwab at suse dot de

--- Additional Comments From schwab at suse dot de  2005-07-06 19:42 ---
The patch in comment #11 is wrong. The condition (!((regno) < 8 && (regno) + 
GET_MODE_SIZE (mode) / 4 > 8)) is always true when regno >= 8.  It needs to be 
moved up to under the first condition. 

-- 


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


[Bug target/18421] ICE in reload_cse_simplify_operands, at postreload.c:391

2005-04-07 Thread corsepiu at gcc dot gnu dot org

--- Additional Comments From corsepiu at gcc dot gnu dot org  2005-04-07 
08:26 ---
I can reproduce it with gcc-4.0.0 (20050406)

Interestingly, http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18421#c7
does not ICE with -mO0, -mO2, -mO3!

-- 
   What|Removed |Added

  Known to fail|3.4.3 3.4.4 |3.4.3 3.4.4 4.0.0


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


[Bug target/18421] ICE in reload_cse_simplify_operands, at postreload.c:391

2005-04-06 Thread joel at gcc dot gnu dot org

--- Additional Comments From joel at gcc dot gnu dot org  2005-04-06 18:29 
---
I can confirm this for m68k-rtems with gcc 4.0.0 20050303.  This looks like the
ICE that happens for us in our pppd stack on the Coldfire.   

I also confirm that the small test case in
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18421#c7 occurs.



-- 
   What|Removed |Added

   Last reconfirmed|2004-11-14 13:53:05 |2005-04-06 18:29:51
   date||


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


[Bug target/18421] ICE in reload_cse_simplify_operands, at postreload.c:391

2005-01-08 Thread arend dot bayer at web dot de

--- Additional Comments From arend dot bayer at web dot de  2005-01-08 
21:40 ---
I get an ICE at exactly the same place when trying to bootstrap current HEAD:  
xgcc --version  
Using built-in specs.  
Configured with: ../gcc/configure --prefix=/usr/local/gcc-head/  
--enable-languages=c,java  
Thread model: posix  
xgcc (GCC) 4.0.0 20050108 (experimental)  
  
The ICE happens when compiling libjava:  
(...)  
../../../gcc/libjava/java/lang/natDouble.cc: In static member function 'static  
jdouble java::lang::Double::longBitsToDouble(jlong)':  
../../../gcc/libjava/java/lang/natDouble.cc:62: error: insn does not satisfy  
its constraints:  
(insn 32 30 33 0 ../../../gcc/libjava/java/lang/natDouble.cc:61 (set (mem:DF  
(plus:SI (reg/f:SI 6 bp)  
(const_int -24 [0xffe8])) [0 S8 A8])  
(reg:DF 21 xmm0)) 65 {*movdf_nointeger} (nil)  
(nil))  
../../../gcc/libjava/java/lang/natDouble.cc:62: internal compiler error: in  
reload_cse_simplify_operands, at postreload.c:391  
Please submit a full bug report.  
  
This is on SuSE linux 9.1, Bootstrap compiler is gcc 3.3.3 (as shipped by  
SuSE), and I use "-g -O2 -march=pentium3" as CFLAGS. (On a Pentium M.) Is this 
related, or should I open a new bug report? 

-- 


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


[Bug target/18421] ICE in reload_cse_simplify_operands, at postreload.c:391

2004-11-14 Thread belyshev at lubercy dot com

--- Additional Comments From belyshev at lubercy dot com  2004-11-14 13:53 
---
// small testcase, use -O1 -m5200:

extern char n;
void foo (char *s)
{
  n += *s + 9;
}


-- 
   What|Removed |Added

 Status|UNCONFIRMED |NEW
 Ever Confirmed||1
  GCC build triplet|i686-linux-gnu  |
   GCC host triplet|i686-linux-gnu  |
  Known to fail||3.4.3 3.4.4
   Last reconfirmed|-00-00 00:00:00 |2004-11-14 13:53:05
   date||
Summary|Internal Compiler Error |ICE in
   ||reload_cse_simplify_operands
   ||, at postreload.c:391


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