public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/49309] New: [4.6/4.7 Regression] ICE with -fmudflap: verify_stmts failed: type mismatch in pointer plus expression
@ 2011-06-07  7:17 reichelt at gcc dot gnu.org
  2011-06-07  7:22 ` [Bug tree-optimization/49309] " reichelt at gcc dot gnu.org
                   ` (12 more replies)
  0 siblings, 13 replies; 14+ messages in thread
From: reichelt at gcc dot gnu.org @ 2011-06-07  7:17 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: [4.6/4.7 Regression] ICE with -fmudflap: verify_stmts
                    failed: type mismatch in pointer plus expression
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: reichelt@gcc.gnu.org


The following testcase compiled with "-fmudflap -O" triggers an ICE

=========================================
struct A
{
  int i;

  A();
  A(const A&);
};

inline void foo(A a) { a = A(); }

void bar() { foo(A()); }
=========================================

bug.cc: In function 'void bar()':
bug.cc:11:6: error: type mismatch in pointer plus expression
struct A & restrict

struct A *

long unsigned int

D.1282_15 = &D.1260 + 0;

bug.cc:11:6: internal compiler error: verify_gimple failed
Please submit a full bug report, [etc.]


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

end of thread, other threads:[~2011-07-25 15:29 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-07  7:17 [Bug tree-optimization/49309] New: [4.6/4.7 Regression] ICE with -fmudflap: verify_stmts failed: type mismatch in pointer plus expression reichelt at gcc dot gnu.org
2011-06-07  7:22 ` [Bug tree-optimization/49309] " reichelt at gcc dot gnu.org
2011-06-12 13:47 ` rguenth at gcc dot gnu.org
2011-06-27 16:09 ` jakub at gcc dot gnu.org
2011-07-12 21:07 ` pinskia at gcc dot gnu.org
2011-07-12 21:19 ` rguenth at gcc dot gnu.org
2011-07-14 20:24 ` pinskia at gcc dot gnu.org
2011-07-14 20:27 ` pinskia at gcc dot gnu.org
2011-07-14 20:57 ` [Bug tree-optimization/49309] [4.6 " pinskia at gcc dot gnu.org
2011-07-14 20:58 ` pinskia at gcc dot gnu.org
2011-07-15 19:49 ` jakub at gcc dot gnu.org
2011-07-15 19:55 ` jakub at gcc dot gnu.org
2011-07-25 15:26 ` ro at gcc dot gnu.org
2011-07-25 15:29 ` ro at gcc dot gnu.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).