This is the mail archive of the gcc-prs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: c++/9373: [<3.3,3.4> regression] ICE with -fstrict-aliasing in set_mem_alias_set, at emit-rtl.c:1932


Old Synopsis: GCC-3.3 internal compiler error with -fstrict-aliasing
New Synopsis: [<3.3,3.4> regression] ICE with -fstrict-aliasing in set_mem_alias_set, at emit-rtl.c:1932

Responsible-Changed-From-To: cae->unassigned
Responsible-Changed-By: cae
Responsible-Changed-When: Mon Jan 20 15:47:44 2003
Responsible-Changed-Why:
    Testcase reduced.
State-Changed-From-To: open->analyzed
State-Changed-By: cae
State-Changed-When: Mon Jan 20 15:47:44 2003
State-Changed-Why:
    Here's a reduced test case that ICEs with 3.4 on sparc-sun-solaris
    and linux-gnu-i686: This reduced testcase is probably no longer legal
    but as I can't comment on the legality of the original code I leave this
    in ice-on-legal state. Priority high because this is a regression from 3.2.
    
    ------------- cut ---------------------------------
    typedef unsigned int Mword;
    struct Thread
    {
      Mword sys_ipc_log();
      void hook_ipc_vector();
      unsigned (Thread::*syscall_table)();
    };
    
    void Thread::hook_ipc_vector()
    {
        syscall_table = &Thread::sys_ipc_log;
    }
    ------------- cut ---------------------------------
    
    Compile with -fstrict-aliasing. Here's the ICE again:
    
    9373-2.cc: In member function `void Thread::hook_ipc_vector()':
    9373-2.cc:11: internal compiler error: in set_mem_alias_set, at emit-rtl.c:1934
    Please submit a full bug report,
    with preprocessed source if appropriate.
    See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
    

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=9373


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]