public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug rtl-optimization/19348] New: internal consistency error while compiling linux kernel
@ 2005-01-09 17:38 ak at muc dot de
  2005-01-09 17:41 ` [Bug rtl-optimization/19348] " ak at muc dot de
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: ak at muc dot de @ 2005-01-09 17:38 UTC (permalink / raw)
  To: gcc-bugs

(guessing at component) 

While compiling the attached file from the linux 2.6 kernel with
-march=i686  -fno-unit-at-a-time  -m32 -Os I get:
-a-time  -S -m32 -Os acct-full.i
/home/lsrc/v2.6/quilt/linux/kernel/acct.c: In function `encode_float':
/home/lsrc/v2.6/quilt/linux/kernel/acct.c:366: fatal error: internal consistency
failure
compilation terminated.

It needs these options, removing -fno-unit-at-a-time or -march=i686 makes it go away

The compiler was built without checking: 

Configured with: ../gcc/configure --disable-checking --enable-languages=c
--prefix=/pkg/gcc-4.0-050109
Thread model: posix
gcc version 4.0.0 20050108 (experimental)

-- 
           Summary: internal consistency error while compiling linux kernel
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: rtl-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: ak at muc dot de
                CC: gcc-bugs at gcc dot gnu dot org
  GCC host triplet: x86_64-linux
GCC target triplet: i386-linux (actually x86_64 -m32)


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


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

* [Bug rtl-optimization/19348] internal consistency error while compiling linux kernel
  2005-01-09 17:38 [Bug rtl-optimization/19348] New: internal consistency error while compiling linux kernel ak at muc dot de
@ 2005-01-09 17:41 ` ak at muc dot de
  2005-01-09 17:57 ` aj at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: ak at muc dot de @ 2005-01-09 17:41 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From ak at muc dot de  2005-01-09 17:41 -------
Created an attachment (id=7913)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=7913&action=view)
Preprocessed acct.c file from linux 2.6 kernel


-- 


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


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

* [Bug rtl-optimization/19348] internal consistency error while compiling linux kernel
  2005-01-09 17:38 [Bug rtl-optimization/19348] New: internal consistency error while compiling linux kernel ak at muc dot de
  2005-01-09 17:41 ` [Bug rtl-optimization/19348] " ak at muc dot de
@ 2005-01-09 17:57 ` aj at gcc dot gnu dot org
  2005-01-09 18:45 ` [Bug rtl-optimization/19348] [4.0 Regression] " pinskia at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: aj at gcc dot gnu dot org @ 2005-01-09 17:57 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From aj at gcc dot gnu dot org  2005-01-09 17:57 -------
This might be a duplicate of PR19084. 

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |aj at gcc dot gnu dot org,
                   |                            |hubicka at gcc dot gnu dot
                   |                            |org


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


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

* [Bug rtl-optimization/19348] [4.0 Regression] internal consistency error while compiling linux kernel
  2005-01-09 17:38 [Bug rtl-optimization/19348] New: internal consistency error while compiling linux kernel ak at muc dot de
  2005-01-09 17:41 ` [Bug rtl-optimization/19348] " ak at muc dot de
  2005-01-09 17:57 ` aj at gcc dot gnu dot org
@ 2005-01-09 18:45 ` pinskia at gcc dot gnu dot org
  2005-01-09 18:49 ` pinskia at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-01-09 18:45 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-01-09 18:45 -------
Confirmed.
: Search converges between 2004-09-12-trunk (#538) and 2004-09-14-trunk (#539).
Reduced testcase:
unsigned int encode_float(unsigned long long value)
{
 unsigned u;

 if (value==0) return 0;
 u = (unsigned int)(value >> 32);
 return u;
}


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
 GCC target triplet|i386-linux (actually x86_64 |i686-linux
                   |-m32)                       |
           Keywords|                            |ice-on-valid-code
   Last reconfirmed|0000-00-00 00:00:00         |2005-01-09 18:45:09
               date|                            |
            Summary|internal consistency error  |[4.0 Regression] internal
                   |while compiling linux kernel|consistency error while
                   |                            |compiling linux kernel
   Target Milestone|---                         |4.0.0


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


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

* [Bug rtl-optimization/19348] [4.0 Regression] internal consistency error while compiling linux kernel
  2005-01-09 17:38 [Bug rtl-optimization/19348] New: internal consistency error while compiling linux kernel ak at muc dot de
                   ` (2 preceding siblings ...)
  2005-01-09 18:45 ` [Bug rtl-optimization/19348] [4.0 Regression] " pinskia at gcc dot gnu dot org
@ 2005-01-09 18:49 ` pinskia at gcc dot gnu dot org
  2005-01-11 13:55 ` pinskia at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-01-09 18:49 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-01-09 18:49 -------
(In reply to comment #2)
> This might be a duplicate of PR19084. 
I don't think it is but it is related.
This one can be reproduced with a native 32bit compiler while PR 19084 I cannot.

-- 


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


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

* [Bug rtl-optimization/19348] [4.0 Regression] internal consistency error while compiling linux kernel
  2005-01-09 17:38 [Bug rtl-optimization/19348] New: internal consistency error while compiling linux kernel ak at muc dot de
                   ` (3 preceding siblings ...)
  2005-01-09 18:49 ` pinskia at gcc dot gnu dot org
@ 2005-01-11 13:55 ` pinskia at gcc dot gnu dot org
  2005-01-14 10:51 ` cvs-commit at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-01-11 13:55 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-01-11 13:54 -------
Patch here: <http://gcc.gnu.org/ml/gcc-patches/2005-01/msg00591.html>.

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


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


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

* [Bug rtl-optimization/19348] [4.0 Regression] internal consistency error while compiling linux kernel
  2005-01-09 17:38 [Bug rtl-optimization/19348] New: internal consistency error while compiling linux kernel ak at muc dot de
                   ` (4 preceding siblings ...)
  2005-01-11 13:55 ` pinskia at gcc dot gnu dot org
@ 2005-01-14 10:51 ` cvs-commit at gcc dot gnu dot org
  2005-01-14 13:03 ` pinskia at gcc dot gnu dot org
  2005-01-25 12:15 ` cvs-commit at gcc dot gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-01-14 10:51 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-01-14 10:50 -------
Subject: Bug 19348

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	jakub@gcc.gnu.org	2005-01-14 10:50:19

Modified files:
	gcc            : ChangeLog basic-block.h recog.c 
	gcc/testsuite  : ChangeLog 
Added files:
	gcc/testsuite/gcc.c-torture/execute: 20050111-1.c 
	gcc/testsuite/gcc.dg: 20050111-1.c 

Log message:
	PR middle-end/19084
	PR rtl-optimization/19348
	* recog.c (peephole2_optimize): Do global life update if some peephole
	decides it doesn't need at least one of its inputs and that change
	influences liveness at the start of the basic block.
	
	* basic-block.h (EXECUTE_IF_AND_COMPL_IN_REG_SET): Needs 2 REGSET
	arguments instead of 1.
	
	* gcc.dg/20050111-1.c: New test.
	* gcc.c-torture/execute/20050111-1.c: New test.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.7119&r2=2.7120
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/basic-block.h.diff?cvsroot=gcc&r1=1.233&r2=1.234
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/recog.c.diff?cvsroot=gcc&r1=1.215&r2=1.216
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.4883&r2=1.4884
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.c-torture/execute/20050111-1.c.diff?cvsroot=gcc&r1=NONE&r2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/20050111-1.c.diff?cvsroot=gcc&r1=NONE&r2=1.1



-- 


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


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

* [Bug rtl-optimization/19348] [4.0 Regression] internal consistency error while compiling linux kernel
  2005-01-09 17:38 [Bug rtl-optimization/19348] New: internal consistency error while compiling linux kernel ak at muc dot de
                   ` (5 preceding siblings ...)
  2005-01-14 10:51 ` cvs-commit at gcc dot gnu dot org
@ 2005-01-14 13:03 ` pinskia at gcc dot gnu dot org
  2005-01-25 12:15 ` cvs-commit at gcc dot gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-01-14 13:03 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-01-14 13:01 -------
Fixed.

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


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


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

* [Bug rtl-optimization/19348] [4.0 Regression] internal consistency error while compiling linux kernel
  2005-01-09 17:38 [Bug rtl-optimization/19348] New: internal consistency error while compiling linux kernel ak at muc dot de
                   ` (6 preceding siblings ...)
  2005-01-14 13:03 ` pinskia at gcc dot gnu dot org
@ 2005-01-25 12:15 ` cvs-commit at gcc dot gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-01-25 12:15 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-01-25 12:15 -------
Subject: Bug 19348

CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	gcc-3_4-rhl-branch
Changes by:	jakub@gcc.gnu.org	2005-01-25 12:15:21

Modified files:
	gcc/testsuite  : ChangeLog 
Added files:
	gcc/testsuite/gcc.c-torture/execute: 20050111-1.c 
	gcc/testsuite/gcc.dg: 20050111-1.c 

Log message:
	PR middle-end/19084
	PR rtl-optimization/19348
	* gcc.dg/20050111-1.c: New test.
	* gcc.c-torture/execute/20050111-1.c: New test.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_4-rhl-branch&r1=1.3389.2.170.2.43&r2=1.3389.2.170.2.44
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.c-torture/execute/20050111-1.c.diff?cvsroot=gcc&only_with_tag=gcc-3_4-rhl-branch&r1=NONE&r2=1.1.6.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/20050111-1.c.diff?cvsroot=gcc&only_with_tag=gcc-3_4-rhl-branch&r1=NONE&r2=1.1.6.1



-- 


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


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

end of thread, other threads:[~2005-01-25 12:15 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-01-09 17:38 [Bug rtl-optimization/19348] New: internal consistency error while compiling linux kernel ak at muc dot de
2005-01-09 17:41 ` [Bug rtl-optimization/19348] " ak at muc dot de
2005-01-09 17:57 ` aj at gcc dot gnu dot org
2005-01-09 18:45 ` [Bug rtl-optimization/19348] [4.0 Regression] " pinskia at gcc dot gnu dot org
2005-01-09 18:49 ` pinskia at gcc dot gnu dot org
2005-01-11 13:55 ` pinskia at gcc dot gnu dot org
2005-01-14 10:51 ` cvs-commit at gcc dot gnu dot org
2005-01-14 13:03 ` pinskia at gcc dot gnu dot org
2005-01-25 12:15 ` cvs-commit 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).