public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/19511] New: ICE in in reload_cse_simplify_operands, at postreload.c:391
@ 2005-01-18 20:15 v dot haisman at sh dot cvut dot cz
  2005-01-18 20:16 ` [Bug bootstrap/19511] " v dot haisman at sh dot cvut dot cz
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: v dot haisman at sh dot cvut dot cz @ 2005-01-18 20:15 UTC (permalink / raw)
  To: gcc-bugs

Error during bootstrap:

wilx@logout:::~/tmp/gcc-head/objdir/gcc> stage1/xgcc -Bstage1/
-B/home/4/wilx/i386-unknown-freebsd4.10/bin/ -c   -O1 -g -fomit-frame-pointer
-DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
-pedantic -Wno-long-long -Wno-variadic-macros -Wold-style-definition -Werror
-fno-common   -DHAVE_CONFIG_H -I/home/4/wilx/include   -I. -I.
-I../../srcdir/gcc -I../../srcdir/gcc/. -I../../srcdir/gcc/../include
-I../../srcdir/gcc/../libcpp/include  ../../srcdir/gcc/cfgexpand.c -o cfgexpand.o
../../srcdir/gcc/cfgexpand.c: In function 'construct_exit_block':
../../srcdir/gcc/cfgexpand.c:1264: error: insn does not satisfy its constraints:
(insn 373 284 286 35 ../../srcdir/gcc/cfgexpand.c:1258 (set (reg:DI 22 xmm1)
        (const_int 0 [0x0])) 81 {*movdi_2} (nil)
    (nil))
../../srcdir/gcc/cfgexpand.c:1264: 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.

wilx@logout:::~/tmp/gcc-head/objdir/gcc> stage1/xgcc -v
Reading specs from /home/4/wilx/lib/gcc/i386-unknown-freebsd4.10/4.0.0/specs
Configured with: ../srcdir/configure --disable-nls
--enable-version-specific-runtime-libs --enable-dwarf2 --with-cpu=pentium3
--with-arch=pentium3 --with-system-zlib --disable-shared --prefix=/home/4/wilx
--enable-languages=c,c++ --disable-sjlj-exceptions --enable-shared=libstdc++
--enable-shared=libobjc --with-gc=zone
Thread model: posix
gcc version 4.0.0 20050118 (experimental)

-- 
           Summary: ICE in in reload_cse_simplify_operands, at
                    postreload.c:391
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: v dot haisman at sh dot cvut dot cz
                CC: gcc-bugs at gcc dot gnu dot org,v dot haisman at sh dot
                    cvut dot cz
 GCC build triplet: i386-unknown-freebsd4.10
  GCC host triplet: i386-unknown-freebsd4.10
GCC target triplet: i386-unknown-freebsd4.10


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


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

* [Bug bootstrap/19511] ICE in in reload_cse_simplify_operands, at postreload.c:391
  2005-01-18 20:15 [Bug bootstrap/19511] New: ICE in in reload_cse_simplify_operands, at postreload.c:391 v dot haisman at sh dot cvut dot cz
@ 2005-01-18 20:16 ` v dot haisman at sh dot cvut dot cz
  2005-01-18 20:19 ` [Bug bootstrap/19511] [4.0 Regression] " pinskia at gcc dot gnu dot org
                   ` (8 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: v dot haisman at sh dot cvut dot cz @ 2005-01-18 20:16 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From v dot haisman at sh dot cvut dot cz  2005-01-18 20:16 -------
Created an attachment (id=7982)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=7982&action=view)
Preprocessed source.


-- 


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


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

* [Bug bootstrap/19511] [4.0 Regression] ICE in in reload_cse_simplify_operands, at postreload.c:391
  2005-01-18 20:15 [Bug bootstrap/19511] New: ICE in in reload_cse_simplify_operands, at postreload.c:391 v dot haisman at sh dot cvut dot cz
  2005-01-18 20:16 ` [Bug bootstrap/19511] " v dot haisman at sh dot cvut dot cz
@ 2005-01-18 20:19 ` pinskia at gcc dot gnu dot org
  2005-01-18 20:21 ` [Bug target/19511] " pinskia at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-01-18 20:19 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rth at gcc dot gnu dot org
           Keywords|                            |ice-on-valid-code, ssemmx
            Summary|ICE in in                   |[4.0 Regression] ICE in in
                   |reload_cse_simplify_operands|reload_cse_simplify_operands
                   |, at postreload.c:391       |, at postreload.c:391
   Target Milestone|---                         |4.0.0


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


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

* [Bug target/19511] [4.0 Regression] ICE in in reload_cse_simplify_operands, at postreload.c:391
  2005-01-18 20:15 [Bug bootstrap/19511] New: ICE in in reload_cse_simplify_operands, at postreload.c:391 v dot haisman at sh dot cvut dot cz
  2005-01-18 20:16 ` [Bug bootstrap/19511] " v dot haisman at sh dot cvut dot cz
  2005-01-18 20:19 ` [Bug bootstrap/19511] [4.0 Regression] " pinskia at gcc dot gnu dot org
@ 2005-01-18 20:21 ` pinskia at gcc dot gnu dot org
  2005-01-18 20:27 ` v dot haisman at sh dot cvut dot cz
                   ` (6 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-01-18 20:21 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|bootstrap                   |target
  GCC build triplet|i386-unknown-freebsd4.10    |
   GCC host triplet|i386-unknown-freebsd4.10    |
           Keywords|                            |build


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


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

* [Bug target/19511] [4.0 Regression] ICE in in reload_cse_simplify_operands, at postreload.c:391
  2005-01-18 20:15 [Bug bootstrap/19511] New: ICE in in reload_cse_simplify_operands, at postreload.c:391 v dot haisman at sh dot cvut dot cz
                   ` (2 preceding siblings ...)
  2005-01-18 20:21 ` [Bug target/19511] " pinskia at gcc dot gnu dot org
@ 2005-01-18 20:27 ` v dot haisman at sh dot cvut dot cz
  2005-01-18 20:50 ` pinskia at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: v dot haisman at sh dot cvut dot cz @ 2005-01-18 20:27 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From v dot haisman at sh dot cvut dot cz  2005-01-18 20:26 -------
If -da dumps are of any interest anybody can d/l them from
http://logout.sh.cvut.cz/~wilx/cfgexpand.c.dumps.bz2


-- 


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


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

* [Bug target/19511] [4.0 Regression] ICE in in reload_cse_simplify_operands, at postreload.c:391
  2005-01-18 20:15 [Bug bootstrap/19511] New: ICE in in reload_cse_simplify_operands, at postreload.c:391 v dot haisman at sh dot cvut dot cz
                   ` (3 preceding siblings ...)
  2005-01-18 20:27 ` v dot haisman at sh dot cvut dot cz
@ 2005-01-18 20:50 ` pinskia at gcc dot gnu dot org
  2005-01-18 21:18 ` pinskia at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-01-18 20:50 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-01-18 20:50 -------
I have a reduced testcase down to around 160 lines, still reducing.

-- 


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


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

* [Bug target/19511] [4.0 Regression] ICE in in reload_cse_simplify_operands, at postreload.c:391
  2005-01-18 20:15 [Bug bootstrap/19511] New: ICE in in reload_cse_simplify_operands, at postreload.c:391 v dot haisman at sh dot cvut dot cz
                   ` (4 preceding siblings ...)
  2005-01-18 20:50 ` pinskia at gcc dot gnu dot org
@ 2005-01-18 21:18 ` pinskia at gcc dot gnu dot org
  2005-01-18 21:52 ` pinskia at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-01-18 21:18 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-01-18 21:18 -------
Confirmed, reduced testcase (20 lines :) ):
typedef struct edge_def { long long probability, count; } *edge;
typedef struct VEC_edge { unsigned num; edge *vec; } VEC_edge;
edge make_edge (void);
static inline edge
ei_safe_edge1 (VEC_edge *container, unsigned index)
{
  if (index != (container)->num)
    return (container)->vec[index];
  return 0;
}
void construct_exit_block (VEC_edge *preds)
{
  unsigned index;
  edge e = make_edge ();
  e->count = 0;
  for (index = 0; ei_safe_edge1 (preds, index); index++)
    ;
  e->count = 0;
}


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2005-01-18 21:18:28
               date|                            |


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


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

* [Bug target/19511] [4.0 Regression] ICE in in reload_cse_simplify_operands, at postreload.c:391
  2005-01-18 20:15 [Bug bootstrap/19511] New: ICE in in reload_cse_simplify_operands, at postreload.c:391 v dot haisman at sh dot cvut dot cz
                   ` (5 preceding siblings ...)
  2005-01-18 21:18 ` pinskia at gcc dot gnu dot org
@ 2005-01-18 21:52 ` pinskia at gcc dot gnu dot org
  2005-01-19  5:08 ` rth at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-01-18 21:52 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-01-18 21:52 -------
(In reply to comment #4)
> Confirmed, reduced testcase (20 lines :) ):
One more thing, the options to reproduce this with a normaly compiled compiler:
-march=pentium3 -O1 -m32

-- 


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


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

* [Bug target/19511] [4.0 Regression] ICE in in reload_cse_simplify_operands, at postreload.c:391
  2005-01-18 20:15 [Bug bootstrap/19511] New: ICE in in reload_cse_simplify_operands, at postreload.c:391 v dot haisman at sh dot cvut dot cz
                   ` (6 preceding siblings ...)
  2005-01-18 21:52 ` pinskia at gcc dot gnu dot org
@ 2005-01-19  5:08 ` rth at gcc dot gnu dot org
  2005-01-20  6:48 ` cvs-commit at gcc dot gnu dot org
  2005-01-20  6:59 ` rth at gcc dot gnu dot org
  9 siblings, 0 replies; 11+ messages in thread
From: rth at gcc dot gnu dot org @ 2005-01-19  5:08 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |rth at gcc dot gnu dot org
                   |dot org                     |
             Status|NEW                         |ASSIGNED
   Last reconfirmed|2005-01-18 21:18:28         |2005-01-19 05:08:48
               date|                            |


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


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

* [Bug target/19511] [4.0 Regression] ICE in in reload_cse_simplify_operands, at postreload.c:391
  2005-01-18 20:15 [Bug bootstrap/19511] New: ICE in in reload_cse_simplify_operands, at postreload.c:391 v dot haisman at sh dot cvut dot cz
                   ` (7 preceding siblings ...)
  2005-01-19  5:08 ` rth at gcc dot gnu dot org
@ 2005-01-20  6:48 ` cvs-commit at gcc dot gnu dot org
  2005-01-20  6:59 ` rth at gcc dot gnu dot org
  9 siblings, 0 replies; 11+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-01-20  6:48 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-01-20 06:47 -------
Subject: Bug 19511

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	rth@gcc.gnu.org	2005-01-20 06:47:38

Modified files:
	gcc            : ChangeLog 
	gcc/config/i386: i386.c i386.h i386.md 

Log message:
	PR target/19511
	* config/i386/i386.c (ix86_preferred_reload_class): Return a proper
	subclass of the input class.
	(ix86_secondary_memory_needed): Always true for cross-MMX classes.
	Always true for cross-SSE1 classes.  Rationalize conditionals.
	* config/i386/i386.h (SSE_CLASS_P, MMX_CLASS_P): Use straight equality.
	* config/i386/i386.md (movsi_1): Add MMX/SSE zeros.  Fix alternatives
	for SSE1.  Don't check TARGET_INTER_UNIT_MOVES.
	(movdi_2): Add MMX/SSE zeros.
	(movdi_1_rex64): Likewise.  Don't check TARGET_INTER_UNIT_MOVES.
	(movsf_1): Don't check TARGET_INTER_UNIT_MOVES.
	(zero_extendsidi2_32, zero_extendsidi2_rex64): Likewise.
	(movsi_1_nointernunit, movdi_1_rex64_nointerunit): Remove.
	(movsf_1_nointerunit, zero_extendsidi2_32_1): Remove.
	(zero_extendsidi2_rex64_1): Remove.
	(MOV0 peephole): Check GENERAL_REG_P.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.7195&r2=2.7196
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/i386/i386.c.diff?cvsroot=gcc&r1=1.782&r2=1.783
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/i386/i386.h.diff?cvsroot=gcc&r1=1.418&r2=1.419
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/i386/i386.md.diff?cvsroot=gcc&r1=1.607&r2=1.608



-- 


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


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

* [Bug target/19511] [4.0 Regression] ICE in in reload_cse_simplify_operands, at postreload.c:391
  2005-01-18 20:15 [Bug bootstrap/19511] New: ICE in in reload_cse_simplify_operands, at postreload.c:391 v dot haisman at sh dot cvut dot cz
                   ` (8 preceding siblings ...)
  2005-01-20  6:48 ` cvs-commit at gcc dot gnu dot org
@ 2005-01-20  6:59 ` rth at gcc dot gnu dot org
  9 siblings, 0 replies; 11+ messages in thread
From: rth at gcc dot gnu dot org @ 2005-01-20  6:59 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From rth at gcc dot gnu dot org  2005-01-20 06:58 -------
Fixed.

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


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


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

end of thread, other threads:[~2005-01-20  6:59 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-01-18 20:15 [Bug bootstrap/19511] New: ICE in in reload_cse_simplify_operands, at postreload.c:391 v dot haisman at sh dot cvut dot cz
2005-01-18 20:16 ` [Bug bootstrap/19511] " v dot haisman at sh dot cvut dot cz
2005-01-18 20:19 ` [Bug bootstrap/19511] [4.0 Regression] " pinskia at gcc dot gnu dot org
2005-01-18 20:21 ` [Bug target/19511] " pinskia at gcc dot gnu dot org
2005-01-18 20:27 ` v dot haisman at sh dot cvut dot cz
2005-01-18 20:50 ` pinskia at gcc dot gnu dot org
2005-01-18 21:18 ` pinskia at gcc dot gnu dot org
2005-01-18 21:52 ` pinskia at gcc dot gnu dot org
2005-01-19  5:08 ` rth at gcc dot gnu dot org
2005-01-20  6:48 ` cvs-commit at gcc dot gnu dot org
2005-01-20  6:59 ` rth 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).