public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/57387] New: Passing parameter pack to emplace stl function cause compilation bug
@ 2013-05-23 14:00 avraammauridis at gmail dot com
  2013-05-23 14:28 ` [Bug c++/57387] " redi at gcc dot gnu.org
  2013-06-07 20:46 ` paolo.carlini at oracle dot com
  0 siblings, 2 replies; 3+ messages in thread
From: avraammauridis at gmail dot com @ 2013-05-23 14:00 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 57387
           Summary: Passing parameter pack to emplace stl function cause
                    compilation bug
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: avraammauridis at gmail dot com

Created attachment 30174
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30174&action=edit
bug output

g++ -std=c++0x stlstudy.cc
‘
Internal compiler error: Error reporting routines re-entered.
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.7/README.Bugs> for instructions.
Preprocessed source stored into /tmp/cc7q32tE.out file, please attach this to
your bugreport.
>From gcc-bugs-return-422967-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu May 23 14:18:22 2013
Return-Path: <gcc-bugs-return-422967-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 8770 invoked by alias); 23 May 2013 14:18:21 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 8697 invoked by uid 48); 23 May 2013 14:18:08 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/57287] GCC 4.9.0 fails to build GDB on Ubuntu 12.04
Date: Thu, 23 May 2013 14:18:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: middle-end
X-Bugzilla-Version: 4.9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rguenth at gcc dot gnu.org
X-Bugzilla-Status: NEW
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-57287-4-tqr8hIyETK@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-57287-4@http.gcc.gnu.org/bugzilla/>
References: <bug-57287-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2013-05/txt/msg01640.txt.bz2
Content-length: 1294

http://gcc.gnu.org/bugzilla/show_bug.cgi?idW287

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |xinliangli at gmail dot com

--- Comment #7 from Richard Biener <rguenth at gcc dot gnu.org> ---
tree-ssa-uninit.c somehow fails to properly handle abnormal edges.

Index: tree-ssa-uninit.c
==================================================================--- tree-ssa-uninit.c   (revision 199249)
+++ tree-ssa-uninit.c   (working copy)
@@ -1919,7 +1919,8 @@ find_uninit_use (gimple phi, unsigned un
             }

           worklist->safe_push (use_stmt);
-          pointer_set_insert (possibly_undefined_names, phi_result);
+         if (!SSA_NAME_OCCURS_IN_ABNORMAL_PHI (phi_result))
+           pointer_set_insert (possibly_undefined_names, phi_result);
         }
     }

fixes the issue but that doesn't look the very best place to fix it
and it doesn't look fully correct.  It should be enough to not consider
values flowing across abnormal edges - but that's already done (but somehow
not in a complete manner).

I'm trying to reduce the testcase to get a better idea what is going wrong
here.


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

* [Bug c++/57387] Passing parameter pack to emplace stl function cause compilation bug
  2013-05-23 14:00 [Bug c++/57387] New: Passing parameter pack to emplace stl function cause compilation bug avraammauridis at gmail dot com
@ 2013-05-23 14:28 ` redi at gcc dot gnu.org
  2013-06-07 20:46 ` paolo.carlini at oracle dot com
  1 sibling, 0 replies; 3+ messages in thread
From: redi at gcc dot gnu.org @ 2013-05-23 14:28 UTC (permalink / raw)
  To: gcc-bugs

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

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to work|                            |4.8.0

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Seems to be fixed for 4.8 already.


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

* [Bug c++/57387] Passing parameter pack to emplace stl function cause compilation bug
  2013-05-23 14:00 [Bug c++/57387] New: Passing parameter pack to emplace stl function cause compilation bug avraammauridis at gmail dot com
  2013-05-23 14:28 ` [Bug c++/57387] " redi at gcc dot gnu.org
@ 2013-06-07 20:46 ` paolo.carlini at oracle dot com
  1 sibling, 0 replies; 3+ messages in thread
From: paolo.carlini at oracle dot com @ 2013-06-07 20:46 UTC (permalink / raw)
  To: gcc-bugs

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

Paolo Carlini <paolo.carlini at oracle dot com> changed:

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

--- Comment #2 from Paolo Carlini <paolo.carlini at oracle dot com> ---
Dup.

*** This bug has been marked as a duplicate of bug 57086 ***


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

end of thread, other threads:[~2013-06-07 20:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-05-23 14:00 [Bug c++/57387] New: Passing parameter pack to emplace stl function cause compilation bug avraammauridis at gmail dot com
2013-05-23 14:28 ` [Bug c++/57387] " redi at gcc dot gnu.org
2013-06-07 20:46 ` paolo.carlini at oracle dot com

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