public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/59877] New: Internal compiler error: Error reporting routines re-entered.
@ 2014-01-19 10:27 hawran.diskuse at gmail dot com
  2014-01-19 10:33 ` [Bug c++/59877] " hawran.diskuse at gmail dot com
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: hawran.diskuse at gmail dot com @ 2014-01-19 10:27 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 59877
           Summary: Internal compiler error: Error reporting routines
                    re-entered.
           Product: gcc
           Version: 4.7.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: hawran.diskuse at gmail dot com

Created attachment 31889
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=31889&action=edit
A preprocessed source.

An error has occurred when compilling:
======================================
g++ -Wall -pedantic -g -std=c++11 main.cpp -o main
‘
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/ccvp7WyF.out file, please attach this to
your bugreport.

Additional info:
================
lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 13.04
Release:        13.04
Codename:       raring
---
uname -a
Linux ... 3.8.0-35-generic #50-Ubuntu SMP Tue Dec 3 01:24:59 UTC 2013 x86_64
x86_64 x86_64 GNU/Linux
---
gcc --version
gcc (Ubuntu/Linaro 4.7.3-1ubuntu1) 4.7.3
Copyright (C) 2012 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
>From gcc-bugs-return-440883-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Jan 19 10:27:18 2014
Return-Path: <gcc-bugs-return-440883-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 11985 invoked by alias); 19 Jan 2014 10:27:17 -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 11947 invoked by uid 48); 19 Jan 2014 10:27:13 -0000
From: "janus at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/34547] [4.8/4.9 regression] NULL(): Fortran 2003 changes, accepts invalid, ICE on invalid
Date: Sun, 19 Jan 2014 10:27:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: fortran
X-Bugzilla-Version: 4.3.0
X-Bugzilla-Keywords: accepts-invalid, diagnostic, ice-on-invalid-code, rejects-valid
X-Bugzilla-Severity: normal
X-Bugzilla-Who: janus at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Priority: P4
X-Bugzilla-Assigned-To: pault at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 4.8.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status cc assigned_to
Message-ID: <bug-34547-4-CUiMYJsK4J@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-34547-4@http.gcc.gnu.org/bugzilla/>
References: <bug-34547-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: 2014-01/txt/msg02025.txt.bz2
Content-length: 678

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

janus at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
                 CC|                            |janus at gcc dot gnu.org
           Assignee|unassigned at gcc dot gnu.org      |pault at gcc dot gnu.org

--- Comment #12 from janus at gcc dot gnu.org ---
(In reply to Tobias Burnus from comment #11)
> Fixed by Paul's patch at
> http://gcc.gnu.org/ml/fortran/2013-11/msg00203.html

... which has been committed to trunk as r205565. Backport pending.


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

* [Bug c++/59877] Internal compiler error: Error reporting routines re-entered.
  2014-01-19 10:27 [Bug c++/59877] New: Internal compiler error: Error reporting routines re-entered hawran.diskuse at gmail dot com
@ 2014-01-19 10:33 ` hawran.diskuse at gmail dot com
  2014-02-15  0:31 ` [Bug c++/59877] [4.7 Regression] ICE: " reichelt at gcc dot gnu.org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: hawran.diskuse at gmail dot com @ 2014-01-19 10:33 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from hawran.diskuse <hawran.diskuse at gmail dot com> ---
Created attachment 31890
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=31890&action=edit
A bug file and fixed file (I hope it could help)


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

* [Bug c++/59877] [4.7 Regression] ICE: Error reporting routines re-entered.
  2014-01-19 10:27 [Bug c++/59877] New: Internal compiler error: Error reporting routines re-entered hawran.diskuse at gmail dot com
  2014-01-19 10:33 ` [Bug c++/59877] " hawran.diskuse at gmail dot com
@ 2014-02-15  0:31 ` reichelt at gcc dot gnu.org
  2014-02-15  2:11 ` [Bug c++/59877] [4.7 Regression] [c++11] " reichelt at gcc dot gnu.org
  2014-06-12 13:34 ` rguenth at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: reichelt at gcc dot gnu.org @ 2014-02-15  0:31 UTC (permalink / raw)
  To: gcc-bugs

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

Volker Reichelt <reichelt at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-invalid-code
                 CC|                            |reichelt at gcc dot gnu.org
      Known to work|                            |4.6.0, 4.7.0, 4.7.1, 4.7.2,
                   |                            |4.8.0, 4.9.0
   Target Milestone|---                         |4.7.4
            Summary|Internal compiler error:    |[4.7 Regression] ICE: Error
                   |Error reporting routines    |reporting routines
                   |re-entered.                 |re-entered.
      Known to fail|                            |4.7.3

--- Comment #2 from Volker Reichelt <reichelt at gcc dot gnu.org> ---
Here's a shorter testcase:

================================
#include <memory>

struct A
{
  A(int) {}
};

void foo()
{
  std::make_shared<A>();
}
================================

The bug only appears in GCC 4.7.3.

GCC 4.7.2, 4.8.0, 4.9.0 produce a regular error message.


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

* [Bug c++/59877] [4.7 Regression] [c++11] ICE: Error reporting routines re-entered.
  2014-01-19 10:27 [Bug c++/59877] New: Internal compiler error: Error reporting routines re-entered hawran.diskuse at gmail dot com
  2014-01-19 10:33 ` [Bug c++/59877] " hawran.diskuse at gmail dot com
  2014-02-15  0:31 ` [Bug c++/59877] [4.7 Regression] ICE: " reichelt at gcc dot gnu.org
@ 2014-02-15  2:11 ` reichelt at gcc dot gnu.org
  2014-06-12 13:34 ` rguenth at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: reichelt at gcc dot gnu.org @ 2014-02-15  2:11 UTC (permalink / raw)
  To: gcc-bugs

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

Volker Reichelt <reichelt at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2014-02-15
      Known to work|4.7.0, 4.7.1, 4.7.2         |
            Summary|[4.7 Regression] ICE: Error |[4.7 Regression] [c++11]
                   |reporting routines          |ICE: Error reporting
                   |re-entered.                 |routines re-entered.
     Ever confirmed|0                           |1
      Known to fail|                            |4.7.0, 4.7.1, 4.7.2

--- Comment #3 from Volker Reichelt <reichelt at gcc dot gnu.org> ---
Confirmed. Here's a reduced testcase that demonstrates the problem with GCC
4.7.x
(compile with "-std=c++11"):

=============================================================
template<typename T> int* foo(T t)
{
  return t;
}

template<typename> struct A
{
  static void bar();

  template<typename T> static decltype(bar()) baz(T t)
  {
    foo(t);
  }
};

void foo()
{
  A<int>::baz(0);
}
=============================================================


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

* [Bug c++/59877] [4.7 Regression] [c++11] ICE: Error reporting routines re-entered.
  2014-01-19 10:27 [Bug c++/59877] New: Internal compiler error: Error reporting routines re-entered hawran.diskuse at gmail dot com
                   ` (2 preceding siblings ...)
  2014-02-15  2:11 ` [Bug c++/59877] [4.7 Regression] [c++11] " reichelt at gcc dot gnu.org
@ 2014-06-12 13:34 ` rguenth at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: rguenth at gcc dot gnu.org @ 2014-06-12 13:34 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59877

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|4.7.4                       |4.8.0
      Known to fail|                            |4.7.4

--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> ---
Fixed for 4.8.0.


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

end of thread, other threads:[~2014-06-12 13:34 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-01-19 10:27 [Bug c++/59877] New: Internal compiler error: Error reporting routines re-entered hawran.diskuse at gmail dot com
2014-01-19 10:33 ` [Bug c++/59877] " hawran.diskuse at gmail dot com
2014-02-15  0:31 ` [Bug c++/59877] [4.7 Regression] ICE: " reichelt at gcc dot gnu.org
2014-02-15  2:11 ` [Bug c++/59877] [4.7 Regression] [c++11] " reichelt at gcc dot gnu.org
2014-06-12 13:34 ` rguenth 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).