public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/50866] New: [4.7 Regression] ICE in verify_gimple_stmt, at tree-cfg.c:4175
@ 2011-10-25 14:48 markus at trippelsdorf dot de
  2011-10-25 18:25 ` [Bug c++/50866] " jason at gcc dot gnu.org
  2011-10-25 19:06 ` jason at gcc dot gnu.org
  0 siblings, 2 replies; 3+ messages in thread
From: markus at trippelsdorf dot de @ 2011-10-25 14:48 UTC (permalink / raw)
  To: gcc-bugs

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

             Bug #: 50866
           Summary: [4.7 Regression] ICE in verify_gimple_stmt, at
                    tree-cfg.c:4175
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: markus@trippelsdorf.de


Consider:

 % < test.cpp
#include <string>
struct KeyParams {
     std::string hostname;
     std::string username;
};
class SyncInternal
{
void SetPassphrase();
};
void SyncInternal::SetPassphrase()
{
     KeyParams params = {
          "a","b"
     };
}

 % g++ -w -fpermissive test.cpp
test.cpp: In member function ‘void SyncInternal::SetPassphrase()’:
test.cpp:10:6: internal compiler error: in verify_gimple_stmt, at
tree-cfg.c:4175
Please submit a full bug report

bit-bisect points to:
b3c93f85c7135781bfe1a520feab3fbe440338e6 is the first bad commit
commit b3c93f85c7135781bfe1a520feab3fbe440338e6
Author: jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Date:   Thu Oct 20 19:13:51 2011 +0000

        PR c++/41449
        * typeck2.c (split_nonconstant_init_1): Handle EH cleanup of
        initialized subobjects.

    git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@180267
138bc75d-0d04-0410-961f-82ee72b054a4


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

* [Bug c++/50866] [4.7 Regression] ICE in verify_gimple_stmt, at tree-cfg.c:4175
  2011-10-25 14:48 [Bug c++/50866] New: [4.7 Regression] ICE in verify_gimple_stmt, at tree-cfg.c:4175 markus at trippelsdorf dot de
@ 2011-10-25 18:25 ` jason at gcc dot gnu.org
  2011-10-25 19:06 ` jason at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: jason at gcc dot gnu.org @ 2011-10-25 18:25 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Jason Merrill <jason at gcc dot gnu.org> 2011-10-25 18:24:32 UTC ---
Author: jason
Date: Tue Oct 25 18:24:28 2011
New Revision: 180442

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=180442
Log:
    PR c++/50866
    PR c++/41449
    * semantics.c (maybe_cleanup_point_expr_void): No longer static.
    * typeck2.c (split_nonconstant_init_1): Use it.
    * cp-tree.h: Declare it.
    * decl.c (wrap_cleanups_r): Stop at CLEANUP_POINT_EXPR.

Added:
    trunk/gcc/testsuite/g++.dg/init/aggr7.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/cp-tree.h
    trunk/gcc/cp/decl.c
    trunk/gcc/cp/semantics.c
    trunk/gcc/cp/typeck2.c
    trunk/gcc/testsuite/ChangeLog


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

* [Bug c++/50866] [4.7 Regression] ICE in verify_gimple_stmt, at tree-cfg.c:4175
  2011-10-25 14:48 [Bug c++/50866] New: [4.7 Regression] ICE in verify_gimple_stmt, at tree-cfg.c:4175 markus at trippelsdorf dot de
  2011-10-25 18:25 ` [Bug c++/50866] " jason at gcc dot gnu.org
@ 2011-10-25 19:06 ` jason at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: jason at gcc dot gnu.org @ 2011-10-25 19:06 UTC (permalink / raw)
  To: gcc-bugs

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

Jason Merrill <jason at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |jason at gcc dot gnu.org
         Resolution|                            |FIXED
         AssignedTo|unassigned at gcc dot       |jason at gcc dot gnu.org
                   |gnu.org                     |
   Target Milestone|---                         |4.7.0

--- Comment #2 from Jason Merrill <jason at gcc dot gnu.org> 2011-10-25 19:04:22 UTC ---
Fixed.


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

end of thread, other threads:[~2011-10-25 19:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-10-25 14:48 [Bug c++/50866] New: [4.7 Regression] ICE in verify_gimple_stmt, at tree-cfg.c:4175 markus at trippelsdorf dot de
2011-10-25 18:25 ` [Bug c++/50866] " jason at gcc dot gnu.org
2011-10-25 19:06 ` jason 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).