public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/38371]  New: Fold check error during bootstrap
@ 2008-12-02 10:27 jamborm at gcc dot gnu dot org
  2008-12-02 10:29 ` [Bug middle-end/38371] " jamborm at gcc dot gnu dot org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: jamborm at gcc dot gnu dot org @ 2008-12-02 10:27 UTC (permalink / raw)
  To: gcc-bugs

When I try to bootstrap gcc trunk configured with 

configure --prefix=some_path --enable-checking=yes,fold
--enable-languages=c,c++

I get a fold check error: original tree changed by fold when compiling
libdecnumber/bid/host-ieee32.c.

The exact compile command line leading to this error (in the
libdecnumber subdirectory of the build directory) is:

source='/home/mjambor/svn/libdecnumber/bid/host-ieee32.c'
object='host-ieee32.o' libtool=no /home/mjambor/svn/obj/./prev-gcc/xgcc
-B/home/mjambor/svn/obj/./prev-gcc/
-B/home/mjambor/inst/svn//x86_64-unknown-linux-gnu/bin/ 
-I/home/mjambor/svn/libdecnumber -I.  -g -O2 -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition
-Wmissing-format-attribute -Wcast-qual -pedantic -Wno-long-long -Werror
-I/home/mjambor/svn/libdecnumber -I.  -c
/home/mjambor/svn/libdecnumber/bid/host-ieee32.c

The error output is:

/home/mjambor/svn/libdecnumber/bid/host-ieee32.c: In function
'__host_to_ieee_32':
/home/mjambor/svn/libdecnumber/bid/host-ieee32.c:50: internal compiler error:
fold check: original tree changed by fold

I will attach preprocessed source.


-- 
           Summary: Fold check error during bootstrap
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: jamborm at gcc dot gnu dot org
GCC target triplet: x86_64-suse-linux


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


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

* [Bug middle-end/38371] Fold check error during bootstrap
  2008-12-02 10:27 [Bug middle-end/38371] New: Fold check error during bootstrap jamborm at gcc dot gnu dot org
@ 2008-12-02 10:29 ` jamborm at gcc dot gnu dot org
  2008-12-03 23:29 ` jakub at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: jamborm at gcc dot gnu dot org @ 2008-12-02 10:29 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from jamborm at gcc dot gnu dot org  2008-12-02 10:27 -------
Created an attachment (id=16808)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16808&action=view)
Preprocessed source

Preprocessed source


-- 


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


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

* [Bug middle-end/38371] Fold check error during bootstrap
  2008-12-02 10:27 [Bug middle-end/38371] New: Fold check error during bootstrap jamborm at gcc dot gnu dot org
  2008-12-02 10:29 ` [Bug middle-end/38371] " jamborm at gcc dot gnu dot org
@ 2008-12-03 23:29 ` jakub at gcc dot gnu dot org
  2008-12-04  9:36 ` jakub at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: jakub at gcc dot gnu dot org @ 2008-12-03 23:29 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from jakub at gcc dot gnu dot org  2008-12-03 23:27 -------
This is a bug in fold_checksum_tree, TYPE_NEXT_VARIANT on a type is allowed to
change.


-- 

jakub at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |jakub at gcc dot gnu dot org
                   |dot org                     |
             Status|UNCONFIRMED                 |ASSIGNED
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2008-12-03 23:27:01
               date|                            |


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


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

* [Bug middle-end/38371] Fold check error during bootstrap
  2008-12-02 10:27 [Bug middle-end/38371] New: Fold check error during bootstrap jamborm at gcc dot gnu dot org
  2008-12-02 10:29 ` [Bug middle-end/38371] " jamborm at gcc dot gnu dot org
  2008-12-03 23:29 ` jakub at gcc dot gnu dot org
@ 2008-12-04  9:36 ` jakub at gcc dot gnu dot org
  2008-12-04  9:43 ` jakub at gcc dot gnu dot org
  2008-12-06  9:07 ` jakub at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: jakub at gcc dot gnu dot org @ 2008-12-04  9:36 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from jakub at gcc dot gnu dot org  2008-12-04 09:34 -------
Subject: Bug 38371

Author: jakub
Date: Thu Dec  4 09:33:27 2008
New Revision: 142430

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=142430
Log:
        PR middle-end/38371
        * fold-const.c (fold_checksum_tree): Allow modification of
        TYPE_NEXT_VARIANT.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/fold-const.c


-- 


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


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

* [Bug middle-end/38371] Fold check error during bootstrap
  2008-12-02 10:27 [Bug middle-end/38371] New: Fold check error during bootstrap jamborm at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2008-12-04  9:36 ` jakub at gcc dot gnu dot org
@ 2008-12-04  9:43 ` jakub at gcc dot gnu dot org
  2008-12-06  9:07 ` jakub at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: jakub at gcc dot gnu dot org @ 2008-12-04  9:43 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from jakub at gcc dot gnu dot org  2008-12-04 09:39 -------
Fixed.


-- 

jakub at gcc dot gnu dot org changed:

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


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


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

* [Bug middle-end/38371] Fold check error during bootstrap
  2008-12-02 10:27 [Bug middle-end/38371] New: Fold check error during bootstrap jamborm at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2008-12-04  9:43 ` jakub at gcc dot gnu dot org
@ 2008-12-06  9:07 ` jakub at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: jakub at gcc dot gnu dot org @ 2008-12-06  9:07 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from jakub at gcc dot gnu dot org  2008-12-06 09:01 -------
*** Bug 38224 has been marked as a duplicate of this bug. ***


-- 

jakub at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |edwintorok at gmail dot com


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


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

end of thread, other threads:[~2008-12-06  9:07 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-12-02 10:27 [Bug middle-end/38371] New: Fold check error during bootstrap jamborm at gcc dot gnu dot org
2008-12-02 10:29 ` [Bug middle-end/38371] " jamborm at gcc dot gnu dot org
2008-12-03 23:29 ` jakub at gcc dot gnu dot org
2008-12-04  9:36 ` jakub at gcc dot gnu dot org
2008-12-04  9:43 ` jakub at gcc dot gnu dot org
2008-12-06  9:07 ` jakub 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).