public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/14089] New: ICE in check_pointer_types_r
@ 2004-02-09 23:45 falk at debian dot org
  2004-02-09 23:52 ` [Bug c++/14089] [tree-ssa] ICE in check_pointer_types_r, at gimplify.c:3370 pinskia at gcc dot gnu dot org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: falk at debian dot org @ 2004-02-09 23:45 UTC (permalink / raw)
  To: gcc-bugs

% cat min4.c      
struct pair {
    typedef void (pair::*fp)();
    int first;
    pair::fp second;
    pair(const int& a, const pair::fp& b) : first(a), second(b) {}
    void f(const int& a, const pair::fp& b) { first = a; second = b; }
};

void op() {
    pair(5, pair::fp());
}

% g++ -c min4.c
min4.c: In member function `void pair::f(const int&, void (pair::*const&)())':
min4.c:6: internal compiler error: in check_pointer_types_r, at gimplify.c:3460
Please submit a full bug report,

-- 
           Summary: ICE in check_pointer_types_r
           Product: gcc
           Version: tree-ssa
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: falk at debian dot org
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: alphaev68-unknown-linux-gnu
  GCC host triplet: alphaev68-unknown-linux-gnu
GCC target triplet: alphaev68-unknown-linux-gnu


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


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

* [Bug c++/14089] [tree-ssa] ICE in check_pointer_types_r, at gimplify.c:3370
  2004-02-09 23:45 [Bug c++/14089] New: ICE in check_pointer_types_r falk at debian dot org
@ 2004-02-09 23:52 ` pinskia at gcc dot gnu dot org
  2004-02-09 23:55 ` bangerth at dealii dot org
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-02-09 23:52 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-02-09 23:52 -------
Confirmed.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |critical
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
      Known to fail|                            |tree-ssa
      Known to work|                            |3.4.0
   Last reconfirmed|0000-00-00 00:00:00         |2004-02-09 23:52:46
               date|                            |
            Summary|ICE in check_pointer_types_r|[tree-ssa] ICE in
                   |                            |check_pointer_types_r, at
                   |                            |gimplify.c:3370
   Target Milestone|---                         |tree-ssa


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


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

* [Bug c++/14089] [tree-ssa] ICE in check_pointer_types_r, at gimplify.c:3370
  2004-02-09 23:45 [Bug c++/14089] New: ICE in check_pointer_types_r falk at debian dot org
  2004-02-09 23:52 ` [Bug c++/14089] [tree-ssa] ICE in check_pointer_types_r, at gimplify.c:3370 pinskia at gcc dot gnu dot org
@ 2004-02-09 23:55 ` bangerth at dealii dot org
  2004-02-10  1:22 ` pinskia at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: bangerth at dealii dot org @ 2004-02-09 23:55 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From bangerth at dealii dot org  2004-02-09 23:55 -------
This works with my (outdated) snapshot from 2004-01-30 on x86 linux, 
so may have been introduced later. 
 
W. 

-- 


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


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

* [Bug c++/14089] [tree-ssa] ICE in check_pointer_types_r, at gimplify.c:3370
  2004-02-09 23:45 [Bug c++/14089] New: ICE in check_pointer_types_r falk at debian dot org
  2004-02-09 23:52 ` [Bug c++/14089] [tree-ssa] ICE in check_pointer_types_r, at gimplify.c:3370 pinskia at gcc dot gnu dot org
  2004-02-09 23:55 ` bangerth at dealii dot org
@ 2004-02-10  1:22 ` pinskia at gcc dot gnu dot org
  2004-02-27 11:50 ` rth 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 @ 2004-02-10  1:22 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-02-10 01:22 -------
Note: I tested this on a compiler from yesterday.

-- 


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


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

* [Bug c++/14089] [tree-ssa] ICE in check_pointer_types_r, at gimplify.c:3370
  2004-02-09 23:45 [Bug c++/14089] New: ICE in check_pointer_types_r falk at debian dot org
                   ` (2 preceding siblings ...)
  2004-02-10  1:22 ` pinskia at gcc dot gnu dot org
@ 2004-02-27 11:50 ` rth at gcc dot gnu dot org
  2004-02-27 23:58 ` pinskia at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: rth at gcc dot gnu dot org @ 2004-02-27 11:50 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


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


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

* [Bug c++/14089] [tree-ssa] ICE in check_pointer_types_r, at gimplify.c:3370
  2004-02-09 23:45 [Bug c++/14089] New: ICE in check_pointer_types_r falk at debian dot org
                   ` (3 preceding siblings ...)
  2004-02-27 11:50 ` rth at gcc dot gnu dot org
@ 2004-02-27 23:58 ` pinskia at gcc dot gnu dot org
  2004-02-28  0:22 ` rth at redhat dot com
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-02-27 23:58 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-02-27 23:58 -------
Something is really messed up in the front-end:
<indirect_ref 0xa1b9a0
    type <record_type 0xa1cba0 readonly DI
        size <integer_cst 0x41698780 constant invariant 64>
        unit size <integer_cst 0x416989a0 constant invariant 8>
        align 32 symtab 0 alias set -1
        fields <field_decl 0xa1ca2c __pfn type <pointer_type 0x417620f8>
            unsigned SI file pr14089.cc line 7
            size <integer_cst 0xa1b460 constant invariant 32>
            unit size <integer_cst 0xa1b480 constant invariant 4>
            align 32 offset_align 128
            offset <integer_cst 0x41698a80 constant invariant 0>
            bit offset <integer_cst 0x41698b40 constant invariant 0> context <record_type 
0xa1c8b8> arguments <integer_cst 0x41698a80 0> chain <field_decl 0xa1caa8 
__delta>>
        ptrmemfunc fn type <pointer_type 0x417620f8 type <method_type 0x41760aa8>
            readonly unsigned SI size <integer_cst 0xa1b460 32> unit size <integer_cst 
0xa1b480 4>
            align 32 symtab 0 alias set -1>>
    readonly
    arg 0 <parm_decl 0x41762d14 b
        type <reference_type 0x41762c98 type <record_type 0x41762c1c>
            unsigned SI
            size <integer_cst 0x41698a00 constant invariant 32>
            unit size <integer_cst 0x41698a60 constant invariant 4>
            align 32 symtab 0 alias set -1>
        readonly unsigned used SI file pr14089.cc line 7 size <integer_cst 0x41698a00 32> 
unit size <integer_cst 0x41698a60 4>
        align 32 context <function_decl 0x41762e88 f> initial <reference_type 0x41762c98> 
arg-type <reference_type 0x41762c98>>>

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|2004-02-09 23:52:46         |2004-02-27 23:58:43
               date|                            |


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


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

* [Bug c++/14089] [tree-ssa] ICE in check_pointer_types_r, at gimplify.c:3370
  2004-02-09 23:45 [Bug c++/14089] New: ICE in check_pointer_types_r falk at debian dot org
                   ` (4 preceding siblings ...)
  2004-02-27 23:58 ` pinskia at gcc dot gnu dot org
@ 2004-02-28  0:22 ` rth at redhat dot com
  2004-02-29  3:06 ` pinskia at gcc dot gnu dot org
  2004-03-18  0:49 ` rth at gcc dot gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: rth at redhat dot com @ 2004-02-28  0:22 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From rth at redhat dot com  2004-02-28 00:22 -------
Subject: Re:  [tree-ssa] ICE in check_pointer_types_r, at gimplify.c:3370

On Fri, Feb 27, 2004 at 11:58:43PM -0000, pinskia at gcc dot gnu dot org wrote:
> Something is really messed up in the front-end:
> <indirect_ref 0xa1b9a0
>     type <record_type 0xa1cba0 readonly DI
>         size <integer_cst 0x41698780 constant invariant 64>
>         unit size <integer_cst 0x416989a0 constant invariant 8>
>         align 32 symtab 0 alias set -1
>         fields <field_decl 0xa1ca2c __pfn type <pointer_type 0x417620f8>

Gaaadammit.  Yet another pointer-to-member bug.
Anyone volunteer to rewrite all of this carp properly?


r~


-- 


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


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

* [Bug c++/14089] [tree-ssa] ICE in check_pointer_types_r, at gimplify.c:3370
  2004-02-09 23:45 [Bug c++/14089] New: ICE in check_pointer_types_r falk at debian dot org
                   ` (5 preceding siblings ...)
  2004-02-28  0:22 ` rth at redhat dot com
@ 2004-02-29  3:06 ` pinskia at gcc dot gnu dot org
  2004-03-18  0:49 ` rth at gcc dot gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-02-29  3:06 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|critical                    |normal
           Keywords|                            |ice-checking


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


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

* [Bug c++/14089] [tree-ssa] ICE in check_pointer_types_r, at gimplify.c:3370
  2004-02-09 23:45 [Bug c++/14089] New: ICE in check_pointer_types_r falk at debian dot org
                   ` (6 preceding siblings ...)
  2004-02-29  3:06 ` pinskia at gcc dot gnu dot org
@ 2004-03-18  0:49 ` rth at gcc dot gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: rth at gcc dot gnu dot org @ 2004-03-18  0:49 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From rth at gcc dot gnu dot org  2004-03-18 00:49 -------
Fixed by Dale Johannesen's 2004-03-16 comptypes patch.

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


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


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

end of thread, other threads:[~2004-03-18  0:49 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-02-09 23:45 [Bug c++/14089] New: ICE in check_pointer_types_r falk at debian dot org
2004-02-09 23:52 ` [Bug c++/14089] [tree-ssa] ICE in check_pointer_types_r, at gimplify.c:3370 pinskia at gcc dot gnu dot org
2004-02-09 23:55 ` bangerth at dealii dot org
2004-02-10  1:22 ` pinskia at gcc dot gnu dot org
2004-02-27 11:50 ` rth at gcc dot gnu dot org
2004-02-27 23:58 ` pinskia at gcc dot gnu dot org
2004-02-28  0:22 ` rth at redhat dot com
2004-02-29  3:06 ` pinskia at gcc dot gnu dot org
2004-03-18  0:49 ` 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).