public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/31793]  New: [4.3 Regression] internal compiler error in build_int_cst_wide tree.c:902
@ 2007-05-02 18:53 jojelino at gmail dot com
  2007-05-02 18:54 ` [Bug c/31793] " jojelino at gmail dot com
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: jojelino at gmail dot com @ 2007-05-02 18:53 UTC (permalink / raw)
  To: gcc-bugs

configure flag
---
Using built-in specs.
Target: i686-pc-cygwin
Configured with: ./configure --prefix=/usr --disable-win32-registry
--enable-thr
eads=posix --enable-languages=all --with-win32-nlsapi=unicode --enable-tls
--dis
able-bootstrap : (reconfigured) ./configure --prefix=/usr
--disable-win32-regist
ry --enable-threads=posix --enable-languages=all --with-win32-nlsapi=unicode
--e
nable-tls --disable-bootstrap : (reconfigured) ./configure --prefix=/usr
--disab
le-win32-registry --enable-threads=posix --enable-languages=all
--with-win32-nls
api=unicode --enable-tls --disable-bootstrap : (reconfigured) ./configure
--pref
ix=/usr --disable-win32-registry --enable-threads=posix --enable-languages=all
-
-with-win32-nlsapi=unicode --enable-tls --disable-bootstrap : (reconfigured)
./c
onfigure --prefix=/usr --disable-win32-registry --enable-threads=posix
--enable-
languages=all --with-win32-nlsapi=unicode --enable-tls --disable-bootstrap :
(re
configured) ./configure --prefix=/usr --disable-win32-registry
--enable-threads=
posix --enable-languages=all --with-win32-nlsapi=unicode --enable-tls
--disable-
bootstrap : (reconfigured) ./configure --prefix=/usr --disable-win32-registry
--
enable-threads=posix --enable-languages=all --with-win32-nlsapi=unicode
--enable
-tls --disable-bootstrap
Thread model: posix
gcc version 4.3.0 20070430 (experimental)
---
svn revision #124297
---

demux_vqf.s
---
        .file   "demux_vqf.c"
        .text
        .p2align 4,,15
        .def    _demux_seek_vqf;        .scl    3;      .type   32;     .endef
_demux_seek_vqf:
        rep ; ret
        .p2align 4,,15
        .def    _demux_close_vqf;       .scl    3;      .type   32;     .endef
_demux_close_vqf:
        rep ; ret
        .section .rdata,"dr"
        .align 4
LC2:
        .ascii "stream_read: WARNING! s->buf_pos>s->buf_len\12\0"
        .text
        .p2align 4,,15
        .def    _demux_vqf_fill_buffer; .scl    3;      .type   32;     .endef
_demux_vqf_fill_buffer:
        pushl   %ebp
        pushl   %edi
        pushl   %esi
        pushl   %ebx
        subl    $44, %esp
        movl    64(%esp), %edx
        movl    68(%edx), %eax
        movl    64(%esp), %edx
        movl    100(%eax), %eax
        movl    %eax, 28(%esp)
        movl    156(%eax), %eax
        movl    8(%eax), %eax
        movl    %eax, 24(%esp)
        movl    32(%edx), %eax
        movl    40(%eax), %edx
        movl    72(%eax), %ecx
        movl    48(%eax), %edi
        movl    52(%eax), %ebp
        movl    %edx, 36(%esp)
        xorl    %edx, %edx
        movl    36(%eax), %ebx
        testl   %ecx, %ecx
        je      L43
        addl    $44, %esp
        movl    %edx, %eax
        popl    %ebx
        popl    %esi
        popl    %edi
        popl    %ebp
        ret
L43:
        movl    24(%esp), %eax
        movl    $64, (%esp)
        movl    %eax, 32(%esp)
        call    _malloc
        movl    32(%esp), %edx
        movl    %edx, (%eax)
        movl    _correct_pts, %edx
        movl    %eax, 20(%esp)
        movl    $0, 56(%eax)
        testl   %edx, %edx
        jne     L9
        fldz
L11:
        movl    36(%esp), %eax
        xorl    %esi, %esi
        addl    %edi, %ebx
        adcl    %ebp, %esi
        xorl    %edx, %edx
        subl    %eax, %ebx
        movl    20(%esp), %eax
        sbbl    %edx, %esi
        fstpl   8(%eax)
        flds    LC1
        fstl    16(%eax)
        movl    $0, 32(%eax)
        fstpl   24(%eax)
        movl    $0, 36(%eax)
        movl    $0, 44(%eax)
        movl    $1, 48(%eax)
        movl    $0, 52(%eax)
        movl    $0, 40(%eax)
        movl    24(%esp), %eax
        testl   %eax, %eax
        jg      L44
        movl    20(%esp), %eax
        movl    $0, (%eax)
        pushl   %esi
        pushl   %ebx
        fildq   (%esp)
        addl    $8, %esp
        movl    28(%esp), %edx
        movl    156(%edx), %eax
        movl    8(%eax), %edx
        pushl   %edx
        fildl   (%esp)
        addl    $4, %esp
        testl   %edx, %edx
        jns     L21
        fstp    %st(0)
        movl    %edx, %eax
        andl    $1, %edx
        shrl    %eax
        orl     %edx, %eax
        pushl   %eax
        fildl   (%esp)
        addl    $4, %esp
        fadd    %st(0), %st
L21:
        fdivrp  %st, %st(1)
        movl    68(%esp), %eax
        movl    20(%esp), %edx
        movl    %ebx, 32(%eax)
        movl    %esi, 36(%eax)
        fstpl   16(%eax)
        movl    40(%edx), %eax
        jmp     L22
        .p2align 4,,7
L9:
        flds    LC1
        jmp     L11
L44:
        movl    24(%esp), %eax
        addl    $8, %eax
        movl    %eax, (%esp)
        call    _malloc
        movl    20(%esp), %edx
        testl   %eax, %eax
        movl    %eax, 40(%edx)
        je      L14
        addl    24(%esp), %eax
        movl    $0, (%eax)
        movl    $0, 4(%eax)
        pushl   %esi
        pushl   %ebx
        fildq   (%esp)
        addl    $8, %esp
        movl    28(%esp), %edx
        movl    156(%edx), %eax
        movl    8(%eax), %edx
        pushl   %edx
        fildl   (%esp)
        addl    $4, %esp
        testl   %edx, %edx
        js      L45
L17:
        fdivrp  %st, %st(1)
        movl    68(%esp), %eax
        movl    20(%esp), %edx
        movl    %esi, 36(%eax)
        movl    %ebx, 32(%eax)
        movl    40(%edx), %ebp
        fstpl   16(%eax)
        movl    64(%esp), %eax
        movl    32(%eax), %esi
L18:
        movl    24(%esp), %edi
        leal    100(%esi), %edx
        movl    %edx, 40(%esp)
        jmp     L19
        .p2align 4,,7
L49:
        cmpl    %eax, %edx
        jb      L50
L29:
        cmpl    %edi, %ebx
        jle     L31
        movl    %edi, %ebx
L31:
        addl    40(%esp), %eax
        subl    %ebx, %edi
        movl    %ebx, 8(%esp)
        movl    %ebp, (%esp)
        movl    %eax, 4(%esp)
        call    _memcpy
        addl    %ebx, 36(%esi)
        testl   %edi, %edi
        jle     L27
        addl    %ebx, %ebp
L19:
        movl    40(%esi), %edx
        movl    36(%esi), %eax
        movl    %edx, %ebx
        subl    %eax, %ebx
        jne     L49
        movl    %esi, (%esp)
        call    _cache_stream_fill_buffer
        testl   %eax, %eax
        je      L47
        movl    40(%esi), %edx
        movl    36(%esi), %eax
        movl    %edx, %ebx
        subl    %eax, %ebx
        cmpl    %eax, %edx
        jae     L29
        .p2align 4,,7
L50:
        movl    $LC2, 8(%esp)
        movl    $2, 4(%esp)
        movl    $7, (%esp)
        call    _mp_msg
        movl    36(%esi), %eax
        jmp     L29
L27:
        movl    32(%esp), %eax
        movl    20(%esp), %edx
        addl    $8, %eax
        movl    %eax, 4(%esp)
        movl    40(%edx), %eax
        movl    %eax, (%esp)
        call    _realloc
        movl    20(%esp), %edx
        movl    %eax, 40(%edx)
L33:
        movl    32(%esp), %eax
        movl    %eax, (%edx)
        movl    40(%edx), %eax
        testl   %eax, %eax
        je      L36
        addl    32(%esp), %eax
        movl    $0, (%eax)
        movl    $0, 4(%eax)
        movl    20(%esp), %eax
L38:
        movl    68(%esp), %edx
        movl    %eax, 4(%esp)
        movl    %edx, (%esp)
        call    _ds_add_packet
        addl    $44, %esp
        movl    $1, %edx
        popl    %ebx
        movl    %edx, %eax
        popl    %esi
        popl    %edi
        popl    %ebp
        ret
L36:
        movl    %edx, %eax
        movl    $0, (%edx)
        jmp     L38
L47:
        movl    24(%esp), %eax
        subl    %edi, %eax
        testl   %eax, %eax
        movl    %eax, 32(%esp)
        jg      L27
        movl    20(%esp), %edx
        movl    40(%edx), %eax
L22:
        testl   %eax, %eax
        je      L34
        movl    %eax, (%esp)
        call    _free
L34:
        movl    20(%esp), %eax
        movl    %eax, %edx
        movl    $0, 40(%eax)
        jmp     L33
L14:
        movl    $0, (%edx)
        pushl   %esi
        pushl   %ebx
        fildq   (%esp)
        addl    $8, %esp
        movl    28(%esp), %edx
        movl    156(%edx), %eax
        movl    8(%eax), %edx
        pushl   %edx
        fildl   (%esp)
        addl    $4, %esp
        testl   %edx, %edx
        js      L48
L40:
        fdivrp  %st, %st(1)
        movl    68(%esp), %eax
        movl    64(%esp), %edx
        movl    %esi, 36(%eax)
        movl    %ebx, 32(%eax)
        movl    32(%edx), %esi
        fstpl   16(%eax)
        movl    20(%esp), %eax
        movl    40(%eax), %ebp
        jmp     L18
L48:
        fstp    %st(0)
        movl    %edx, %eax
        andl    $1, %edx
        shrl    %eax
        orl     %edx, %eax
        pushl   %eax
        fildl   (%esp)
        addl    $4, %esp
        fadd    %st(0), %st
        jmp     L40
L45:
        fstp    %st(0)
        movl    %edx, %eax
        andl    $1, %edx
        shrl    %eax
        orl     %edx, %eax
        pushl   %eax
        fildl   (%esp)
        addl    $4, %esp
        fadd    %st(0), %st
        jmp     L17
        .section .rdata,"dr"
LC4:
        .ascii "TWIN\0"
        .text
        .p2align 4,,15
        .def    _demux_probe_vqf;       .scl    3;      .type   32;     .endef
_demux_probe_vqf:
        pushl   %ebp
        pushl   %edi
        movl    $4, %edi
        pushl   %esi
        pushl   %ebx
        subl    $44, %esp
        movl    64(%esp), %eax
        movl    32(%eax), %ebx
        leal    100(%ebx), %eax
        movl    %eax, 24(%esp)
        leal    40(%esp), %eax
        movl    %eax, %ebp
        movl    %eax, 20(%esp)
        jmp     L52
        .p2align 4,,7
L53:
        cmpl    %edx, %eax
        ja      L65
L57:
        cmpl    %edi, %esi
        jle     L59
        movl    %edi, %esi
L59:
        addl    24(%esp), %eax
        subl    %esi, %edi
        movl    %esi, 8(%esp)
        movl    %ebp, (%esp)
        movl    %eax, 4(%esp)
        call    _memcpy
        addl    %esi, 36(%ebx)
        testl   %edi, %edi
        jle     L60
        addl    %esi, %ebp
L52:
        movl    40(%ebx), %edx
        movl    36(%ebx), %eax
        movl    %edx, %esi
        subl    %eax, %esi
        jne     L53
        movl    %ebx, (%esp)
        call    _cache_stream_fill_buffer
        testl   %eax, %eax
        je      L55
        movl    40(%ebx), %edx
        movl    36(%ebx), %eax
        movl    %edx, %esi
        subl    %eax, %esi
        cmpl    %edx, %eax
        jbe     L57
        .p2align 4,,7
L65:
        movl    $LC2, 8(%esp)
        movl    $2, 4(%esp)
        movl    $7, (%esp)
        call    _mp_msg
        movl    36(%ebx), %eax
        jmp     L57
L60:
        movl    20(%esp), %esi
        movl    $4, %ecx
        movl    $LC4, %edi
        repe
        cmpsb
        movl    $37, %ecx
        seta    %dl
        setb    %al
        cmpb    %al, %dl
        je      L62
L55:
        xorl    %ecx, %ecx
L62:
        addl    $44, %esp
        movl    %ecx, %eax
        popl    %ebx
        popl    %esi
        popl    %edi
        popl    %ebp
        ret


-- 
           Summary: [4.3 Regression] internal compiler error in
                    build_int_cst_wide tree.c:902
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: jojelino at gmail dot com


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


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

* [Bug c/31793] [4.3 Regression] internal compiler error in build_int_cst_wide tree.c:902
  2007-05-02 18:53 [Bug c/31793] New: [4.3 Regression] internal compiler error in build_int_cst_wide tree.c:902 jojelino at gmail dot com
@ 2007-05-02 18:54 ` jojelino at gmail dot com
  2007-05-02 18:56 ` [Bug middle-end/31793] " pinskia at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: jojelino at gmail dot com @ 2007-05-02 18:54 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from jojelino at gmail dot com  2007-05-02 19:54 -------
Created an attachment (id=13499)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13499&action=view)
demux_vqf.i


-- 


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


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

* [Bug middle-end/31793] [4.3 Regression] internal compiler error in build_int_cst_wide tree.c:902
  2007-05-02 18:53 [Bug c/31793] New: [4.3 Regression] internal compiler error in build_int_cst_wide tree.c:902 jojelino at gmail dot com
  2007-05-02 18:54 ` [Bug c/31793] " jojelino at gmail dot com
@ 2007-05-02 18:56 ` pinskia at gcc dot gnu dot org
  2007-05-03  4:59 ` jojelino at gmail dot com
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-05-02 18:56 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from pinskia at gcc dot gnu dot org  2007-05-02 19:56 -------
I think this was fixed by:
2007-05-01  Ian Lance Taylor  <iant@google.com>

        PR tree-optimization/31739
        * tree-vrp.c (vrp_val_is_max): New static function.
        (vrp_val_is_min): New static function.
        (set_value_range_to_value): Use TYPE_{MAX,MIN}_VALUE rather than
        copying the node.
        (set_value_range): Use vrp_val_is_{max,min}.
        (extract_range_from_assert): Likewise.
        (extract_range_from_binary_expr): Likewise.
        (extract_range_from_unary_expr): Likewise.
        (dump_value_range, vrp_meet): Likewise.
        (vrp_visit_phi_node): Likewise.
        * tree.c (build_distinct_type_copy): Revert change of 2007-04-27.

Can you try again?


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|c                           |middle-end


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


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

* [Bug middle-end/31793] [4.3 Regression] internal compiler error in build_int_cst_wide tree.c:902
  2007-05-02 18:53 [Bug c/31793] New: [4.3 Regression] internal compiler error in build_int_cst_wide tree.c:902 jojelino at gmail dot com
  2007-05-02 18:54 ` [Bug c/31793] " jojelino at gmail dot com
  2007-05-02 18:56 ` [Bug middle-end/31793] " pinskia at gcc dot gnu dot org
@ 2007-05-03  4:59 ` jojelino at gmail dot com
  2007-05-08 14:37 ` pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: jojelino at gmail dot com @ 2007-05-03  4:59 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from jojelino at gmail dot com  2007-05-03 05:59 -------
(In reply to comment #1)
confirmed. it works now. thanks
> Created an attachment (id=13499)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13499&action=view) [edit]
> demux_vqf.i
> 

(In reply to comment #2)
> I think this was fixed by:
> 2007-05-01  Ian Lance Taylor  <iant@google.com>
> 
>         PR tree-optimization/31739
>         * tree-vrp.c (vrp_val_is_max): New static function.
>         (vrp_val_is_min): New static function.
>         (set_value_range_to_value): Use TYPE_{MAX,MIN}_VALUE rather than
>         copying the node.
>         (set_value_range): Use vrp_val_is_{max,min}.
>         (extract_range_from_assert): Likewise.
>         (extract_range_from_binary_expr): Likewise.
>         (extract_range_from_unary_expr): Likewise.
>         (dump_value_range, vrp_meet): Likewise.
>         (vrp_visit_phi_node): Likewise.
>         * tree.c (build_distinct_type_copy): Revert change of 2007-04-27.
> 
> Can you try again?
> 


-- 

jojelino at gmail dot com changed:

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


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


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

* [Bug middle-end/31793] [4.3 Regression] internal compiler error in build_int_cst_wide tree.c:902
  2007-05-02 18:53 [Bug c/31793] New: [4.3 Regression] internal compiler error in build_int_cst_wide tree.c:902 jojelino at gmail dot com
                   ` (2 preceding siblings ...)
  2007-05-03  4:59 ` jojelino at gmail dot com
@ 2007-05-08 14:37 ` pinskia at gcc dot gnu dot org
  2007-05-08 17:48 ` ismail at pardus dot org dot tr
  2007-05-08 18:02 ` ismail at pardus dot org dot tr
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-05-08 14:37 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from pinskia at gcc dot gnu dot org  2007-05-08 15:36 -------
*** Bug 31865 has been marked as a duplicate of this bug. ***


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ismail at pardus dot org dot
                   |                            |tr


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


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

* [Bug middle-end/31793] [4.3 Regression] internal compiler error in build_int_cst_wide tree.c:902
  2007-05-02 18:53 [Bug c/31793] New: [4.3 Regression] internal compiler error in build_int_cst_wide tree.c:902 jojelino at gmail dot com
                   ` (3 preceding siblings ...)
  2007-05-08 14:37 ` pinskia at gcc dot gnu dot org
@ 2007-05-08 17:48 ` ismail at pardus dot org dot tr
  2007-05-08 18:02 ` ismail at pardus dot org dot tr
  5 siblings, 0 replies; 7+ messages in thread
From: ismail at pardus dot org dot tr @ 2007-05-08 17:48 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from ismail at pardus dot org dot tr  2007-05-08 18:48 -------
I had to apply http://gcc.gnu.org/viewcvs?view=rev&revision=122255 to the 4.2.0
branch to be able to bootstrap, else I get :

from gcc-4.2.0-20070430/libstdc++-v3/include/precompiled/stdc++.h:71:
gcc-4.2.0-20070430/build-default-i686-pc-linux-gnu/i686-pc-linux-gnu/libstdc++-v3/include/bits/stl_tree.h:337:
error: declaration of 'typedef struct std::_Rb_tree_node<_Val>
std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_Rb_tree_node'
gcc-4.2.0-20070430/build-default-i686-pc-linux-gnu/i686-pc-linux-gnu/libstdc++-v3/include/bits/stl_tree.h:134:
error: changes meaning of '_Rb_tree_node' from 'struct
std::_Rb_tree_node<_Val>'


-- 


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


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

* [Bug middle-end/31793] [4.3 Regression] internal compiler error in build_int_cst_wide tree.c:902
  2007-05-02 18:53 [Bug c/31793] New: [4.3 Regression] internal compiler error in build_int_cst_wide tree.c:902 jojelino at gmail dot com
                   ` (4 preceding siblings ...)
  2007-05-08 17:48 ` ismail at pardus dot org dot tr
@ 2007-05-08 18:02 ` ismail at pardus dot org dot tr
  5 siblings, 0 replies; 7+ messages in thread
From: ismail at pardus dot org dot tr @ 2007-05-08 18:02 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from ismail at pardus dot org dot tr  2007-05-08 19:02 -------
Never mind my last comment, it was a local patch causing the problem.


-- 


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


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

end of thread, other threads:[~2007-05-08 18:02 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-05-02 18:53 [Bug c/31793] New: [4.3 Regression] internal compiler error in build_int_cst_wide tree.c:902 jojelino at gmail dot com
2007-05-02 18:54 ` [Bug c/31793] " jojelino at gmail dot com
2007-05-02 18:56 ` [Bug middle-end/31793] " pinskia at gcc dot gnu dot org
2007-05-03  4:59 ` jojelino at gmail dot com
2007-05-08 14:37 ` pinskia at gcc dot gnu dot org
2007-05-08 17:48 ` ismail at pardus dot org dot tr
2007-05-08 18:02 ` ismail at pardus dot org dot tr

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