public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/68010] New: internal compiler error: in tree_to_shwi, at tree.h:3661
@ 2015-10-18 18:33 ghoort1 at gmail dot com
  2015-10-18 19:02 ` [Bug c++/68010] " ghoort1 at gmail dot com
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: ghoort1 at gmail dot com @ 2015-10-18 18:33 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 68010
           Summary: internal compiler error: in tree_to_shwi, at
                    tree.h:3661
           Product: gcc
           Version: 4.9.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: ghoort1 at gmail dot com
  Target Milestone: ---

I tried to compile debug version of code with many templates class. 
There are
_usr_lib_gcc_x86_64-linux-gnu_4.9_cc1plus.1000.crash
cct1Lgt3.out

but I cannot attach them due to their big sizes.


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

* [Bug c++/68010] internal compiler error: in tree_to_shwi, at tree.h:3661
  2015-10-18 18:33 [Bug c++/68010] New: internal compiler error: in tree_to_shwi, at tree.h:3661 ghoort1 at gmail dot com
@ 2015-10-18 19:02 ` ghoort1 at gmail dot com
  2015-10-18 19:23 ` trippels at gcc dot gnu.org
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: ghoort1 at gmail dot com @ 2015-10-18 19:02 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from ghoort1 at gmail dot com ---
At GCC-5.1.1

/home/ghoort/projects/nfg/NFserver/StructDecoder.h:67:2: internal compiler
error: in tree_to_shwi, at tree.h:3856
  }
  ^
0x806864 tree_to_shwi(tree_node const*)
        ../../src/gcc/tree.h:3856
0x806864 add_data_member_location_attribute
        ../../src/gcc/dwarf2out.c:15327
0x8137ce gen_inheritance_die
        ../../src/gcc/dwarf2out.c:19886
0x8137ce gen_member_die
        ../../src/gcc/dwarf2out.c:19938
0x8137ce gen_struct_or_union_type_die
        ../../src/gcc/dwarf2out.c:20039
0x81425c gen_tagged_type_die
        ../../src/gcc/dwarf2out.c:20228
0x8145c1 gen_type_die_with_usage
        ../../src/gcc/dwarf2out.c:20377
0x815881 gen_type_die
        ../../src/gcc/dwarf2out.c:20430
0x815881 modified_type_die
        ../../src/gcc/dwarf2out.c:10817
0x815fff force_type_die
        ../../src/gcc/dwarf2out.c:20729
0x8161db get_context_die
        ../../src/gcc/dwarf2out.c:20644
0x8161db force_decl_die
        ../../src/gcc/dwarf2out.c:20663
0x81611a get_context_die
        ../../src/gcc/dwarf2out.c:20647
0x81611a force_decl_die
        ../../src/gcc/dwarf2out.c:20663
0x825853 dwarf2out_imported_module_or_decl_1
        ../../src/gcc/dwarf2out.c:21157
0x825d07 process_scope_var
        ../../src/gcc/dwarf2out.c:20540
0x825da7 decls_for_scope
        ../../src/gcc/dwarf2out.c:20567
0x825f58 gen_lexical_block_die
        ../../src/gcc/dwarf2out.c:19487
0x825f58 gen_block_die
        ../../src/gcc/dwarf2out.c:20514
0x825e0a decls_for_scope
        ../../src/gcc/dwarf2out.c:20581
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <file:///usr/share/doc/gcc-5/README.Bugs> for instructions.
CMakeFiles/NFServer.dir/build.make:445: recipe for target
'CMakeFiles/NFServer.dir/home/ghoort/projects/nfg/NFserver/nfg_parser.cpp.o'
failed


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

* [Bug c++/68010] internal compiler error: in tree_to_shwi, at tree.h:3661
  2015-10-18 18:33 [Bug c++/68010] New: internal compiler error: in tree_to_shwi, at tree.h:3661 ghoort1 at gmail dot com
  2015-10-18 19:02 ` [Bug c++/68010] " ghoort1 at gmail dot com
@ 2015-10-18 19:23 ` trippels at gcc dot gnu.org
  2015-10-18 19:53 ` ghoort1 at gmail dot com
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: trippels at gcc dot gnu.org @ 2015-10-18 19:23 UTC (permalink / raw)
  To: gcc-bugs

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

Markus Trippelsdorf <trippels at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2015-10-18
                 CC|                            |trippels at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #2 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
(In reply to Andrey Chistyakov from comment #0)
> but I cannot attach them due to their big sizes.

Using compression is OK.


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

* [Bug c++/68010] internal compiler error: in tree_to_shwi, at tree.h:3661
  2015-10-18 18:33 [Bug c++/68010] New: internal compiler error: in tree_to_shwi, at tree.h:3661 ghoort1 at gmail dot com
  2015-10-18 19:02 ` [Bug c++/68010] " ghoort1 at gmail dot com
  2015-10-18 19:23 ` trippels at gcc dot gnu.org
@ 2015-10-18 19:53 ` ghoort1 at gmail dot com
  2015-10-18 20:18 ` [Bug debug/68010] " trippels at gcc dot gnu.org
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: ghoort1 at gmail dot com @ 2015-10-18 19:53 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from Andrey Chistyakov <ghoort1 at gmail dot com> ---
Created attachment 36538
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36538&action=edit
crash file


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

* [Bug debug/68010] internal compiler error: in tree_to_shwi, at tree.h:3661
  2015-10-18 18:33 [Bug c++/68010] New: internal compiler error: in tree_to_shwi, at tree.h:3661 ghoort1 at gmail dot com
                   ` (2 preceding siblings ...)
  2015-10-18 19:53 ` ghoort1 at gmail dot com
@ 2015-10-18 20:18 ` trippels at gcc dot gnu.org
  2015-10-19 17:43 ` trippels at gcc dot gnu.org
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: trippels at gcc dot gnu.org @ 2015-10-18 20:18 UTC (permalink / raw)
  To: gcc-bugs

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

Markus Trippelsdorf <trippels at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |NEW
          Component|c++                         |debug
      Known to work|                            |5.2.1, 6.0
      Known to fail|                            |4.9.3

--- Comment #4 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
Thanks. Confirmed. Reducing...


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

* [Bug debug/68010] internal compiler error: in tree_to_shwi, at tree.h:3661
  2015-10-18 18:33 [Bug c++/68010] New: internal compiler error: in tree_to_shwi, at tree.h:3661 ghoort1 at gmail dot com
                   ` (3 preceding siblings ...)
  2015-10-18 20:18 ` [Bug debug/68010] " trippels at gcc dot gnu.org
@ 2015-10-19 17:43 ` trippels at gcc dot gnu.org
  2015-10-21 20:15 ` ghoort1 at gmail dot com
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: trippels at gcc dot gnu.org @ 2015-10-19 17:43 UTC (permalink / raw)
  To: gcc-bugs

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

Markus Trippelsdorf <trippels at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to work|5.2.1, 6.0                  |
      Known to fail|                            |5.2.1, 6.0

--- Comment #5 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
Reduced testcase ICEs with all supported versions:

markus@x4 tmp % cat c.ii
template <class _Container>
auto begin(_Container __cont) -> decltype(__cont.begin());
template <class _Container>
auto end(_Container __cont) -> decltype(__cont.end());
class A {
public:
  int begin();
  int end();
};
namespace boost {}
namespace b = boost;
namespace boost {
template <typename, typename = int, typename = int, typename = int,
          typename = int>
struct B;
template <typename = int> struct C;
template <typename, typename, typename, typename, typename> struct B {};
template <typename> struct C {
  typedef C base_type;
  template <typename Iterator_, typename T1_, typename T2_, typename T3_,
            typename T4_>
  C(B<Iterator_, T1_, T2_, T3_, T4_>);
};
}
template <typename Skipper> class StructDecoder : boost::C<Skipper> {
public:
  StructDecoder() : StructDecoder::base_type(start_rule) {
    namespace bs = boost;
    using namespace bs;
  }
  b::B<Skipper> start_rule;
};
namespace qi = boost;
class D {
public:
  D(int, int);
};
struct F : qi::C<> {
  F(int, D func) : base_type(program), report_error(func) {}
  qi::B<int> program;
  StructDecoder<int> q_syslog_desc;
  D report_error;
};
int NFGParserparse_tokens;
void NFGParserparse() {
  A str;
  D error_report(begin(str), end(str));
  F(NFGParserparse_tokens, error_report);
}

markus@x4 tmp % g++ -c -g -std=c++11 c.ii
c.ii: In constructor ‘StructDecoder<Skipper>::StructDecoder() [with Skipper =
int]’:
c.ii:49:1: internal compiler error: in tree_to_shwi, at tree.c:7289
 }
 ^
0xf22ae2 tree_to_shwi(tree_node const*)
        ../../gcc/gcc/tree.c:7289
0x983033 add_data_member_location_attribute
        ../../gcc/gcc/dwarf2out.c:15480
0x98c748 gen_inheritance_die
        ../../gcc/gcc/dwarf2out.c:20345
0x98c748 gen_member_die
        ../../gcc/gcc/dwarf2out.c:20397
0x98c748 gen_struct_or_union_type_die
        ../../gcc/gcc/dwarf2out.c:20517
0x98c748 gen_tagged_type_die
        ../../gcc/gcc/dwarf2out.c:20718
0x98b1cd gen_type_die_with_usage
        ../../gcc/gcc/dwarf2out.c:20880
0x98c036 gen_type_die
        ../../gcc/gcc/dwarf2out.c:20935
0x9948fa modified_type_die
        ../../gcc/gcc/dwarf2out.c:10950
0x99404b force_type_die
        ../../gcc/gcc/dwarf2out.c:21265
0x99378d get_context_die
        ../../gcc/gcc/dwarf2out.c:21180
0x99378d force_decl_die
        ../../gcc/gcc/dwarf2out.c:21199
0x993894 get_context_die
        ../../gcc/gcc/dwarf2out.c:21183
0x993894 force_decl_die
        ../../gcc/gcc/dwarf2out.c:21199
0x98e2a7 dwarf2out_imported_module_or_decl_1
        ../../gcc/gcc/dwarf2out.c:21752
0x98e592 process_scope_var
        ../../gcc/gcc/dwarf2out.c:21053
0x98e807 decls_for_scope
        ../../gcc/gcc/dwarf2out.c:21081
0x9a4b9d gen_lexical_block_die
        ../../gcc/gcc/dwarf2out.c:19950
0x9a4b9d gen_block_die
        ../../gcc/gcc/dwarf2out.c:21025
0x98e892 decls_for_scope
        ../../gcc/gcc/dwarf2out.c:21095
>From gcc-bugs-return-499955-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Oct 19 17:48:41 2015
Return-Path: <gcc-bugs-return-499955-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 53181 invoked by alias); 19 Oct 2015 17:48:41 -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 53151 invoked by uid 48); 19 Oct 2015 17:48:37 -0000
From: "gerhard.steinmetz.fortran@t-online.de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/68019] New: ICE on rank mismatch of implied-shape array of user-defined type
Date: Mon, 19 Oct 2015 17:48:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: fortran
X-Bugzilla-Version: 5.2.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: gerhard.steinmetz.fortran@t-online.de
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone
Message-ID: <bug-68019-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: 2015-10/txt/msg01510.txt.bz2
Content-length: 1194

https://gcc.gnu.org/bugzilla/show_bug.cgi?idh019

            Bug ID: 68019
           Summary: ICE on rank mismatch of implied-shape array of
                    user-defined type
           Product: gcc
           Version: 5.2.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gerhard.steinmetz.fortran@t-online.de
  Target Milestone: ---

With a rank mismatch of "arr" :

$ cat z1.f90
program p
   integer :: i
   type t
      integer :: n
   end type
   type(t), parameter :: vec(*) = [(t(i), i = 1, 4)]
   type(t), parameter :: arr(*) = reshape(vec, [2, 2])
end


$ gfortran -g -O0 -Wall -fcheck=all z1.f90
f951: internal compiler error: in add_init_expr_to_sym, at fortran/decl.c:1457

---

Whereas :

$ cat z2.f90
program p
   integer :: i
   integer, parameter :: vec(*) = [(i, i = 1, 4)]
   integer, parameter :: arr(*) = reshape(vec, [2, 2])
end


$ gfortran -g -O0 -Wall -fcheck=all z2.f90
z2.f90:4:31:

    integer, parameter :: arr(*) = reshape(vec, [2, 2])
                               1
Error: Incompatible ranks 1 and 2 in assignment at (1)


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

* [Bug debug/68010] internal compiler error: in tree_to_shwi, at tree.h:3661
  2015-10-18 18:33 [Bug c++/68010] New: internal compiler error: in tree_to_shwi, at tree.h:3661 ghoort1 at gmail dot com
                   ` (4 preceding siblings ...)
  2015-10-19 17:43 ` trippels at gcc dot gnu.org
@ 2015-10-21 20:15 ` ghoort1 at gmail dot com
  2015-10-22  7:48 ` trippels at gcc dot gnu.org
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: ghoort1 at gmail dot com @ 2015-10-21 20:15 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #6 from Andrey Chistyakov <ghoort1 at gmail dot com> ---
I simplified the Marcus' code:

Ghoort@blade /cygdrive/c/Projects/bug
$ cat c2.cpp
namespace boost {}

template <typename>
struct C {
};

template <typename Skipper> class StructDecoder : C<Skipper> {
public:
  StructDecoder()  {
    namespace bs = boost;
    using namespace bs;
  }
};

void NFGParserparse() {
  StructDecoder<int> q_syslog_desc;
}

Ghoort@blade /cygdrive/c/Projects/bug
$ g++ -c -g c2.cpp

c2.cpp: In constructor «StructDecoder<Skipper>::StructDecoder() [with Skipper =
int]»:
c2.cpp:12:3: internal compiler error: в tree_to_shwi, в tree.h:3661
   }
   ^
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
>From gcc-bugs-return-500213-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Oct 21 20:22:12 2015
Return-Path: <gcc-bugs-return-500213-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 8637 invoked by alias); 21 Oct 2015 20:22:12 -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 8592 invoked by uid 48); 21 Oct 2015 20:22:08 -0000
From: "msebor at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug driver/68043] New: many undocumented options, missing punctuation
Date: Wed, 21 Oct 2015 20:22:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: driver
X-Bugzilla-Version: 6.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: enhancement
X-Bugzilla-Who: msebor at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Resolution:
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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone
Message-ID: <bug-68043-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: 2015-10/txt/msg01768.txt.bz2
Content-length: 1708

https://gcc.gnu.org/bugzilla/show_bug.cgi?idh043

            Bug ID: 68043
           Summary: many undocumented options, missing punctuation
           Product: gcc
           Version: 6.0
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: P3
         Component: driver
          Assignee: unassigned at gcc dot gnu.org
          Reporter: msebor at gcc dot gnu.org
  Target Milestone: ---

As discussed in the thread at the link below, gcc's online help (the output of
gcc --help -v) includes a large number of undocumented options (197 in 5.1.0).
For  example, the section listing language-related options starts with the
following and 44 or so more undocumented options:

  The following options are language-related:
    --all-warnings           This switch lacks documentation
    --ansi                   This switch lacks documentation
    --assert                 This switch lacks documentation
    ...

All of the options in the section above and a good number of others are
synonyms for other options that are, in fact, documented.  This bug tracks an
enhancement to use this "aliasing" knowledge to avoid printing "This switch
lacks documentation" for such options and improve the experience using the
compiler.  In addition, as was also noted in the mailing list discussion, many
of the one-sentence descriptions of the options are not properly ended with a
period, making printing additional (generated) sentences difficult.  To make
that possible, the other aspect of this bug is to track fixing the sources of
the descriptions (i.e., the various .opt files) to properly terminate each
sentence.

https://gcc.gnu.org/ml/gcc-patches/2015-10/msg01395.html


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

* [Bug debug/68010] internal compiler error: in tree_to_shwi, at tree.h:3661
  2015-10-18 18:33 [Bug c++/68010] New: internal compiler error: in tree_to_shwi, at tree.h:3661 ghoort1 at gmail dot com
                   ` (5 preceding siblings ...)
  2015-10-21 20:15 ` ghoort1 at gmail dot com
@ 2015-10-22  7:48 ` trippels at gcc dot gnu.org
  2021-08-13 21:46 ` [Bug debug/68010] ICE with -g and using namespace and namespace alias pinskia at gcc dot gnu.org
  2024-03-25  5:25 ` [Bug debug/68010] [11/12/13/14 Regression] ICE with -g and using namespace and namespace alias inside a template class with dependent inheritance pinskia at gcc dot gnu.org
  8 siblings, 0 replies; 10+ messages in thread
From: trippels at gcc dot gnu.org @ 2015-10-22  7:48 UTC (permalink / raw)
  To: gcc-bugs

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

Markus Trippelsdorf <trippels at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jason at gcc dot gnu.org

--- Comment #7 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
Thank you. CCing Jason.


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

* [Bug debug/68010] ICE with -g and using namespace and namespace alias
  2015-10-18 18:33 [Bug c++/68010] New: internal compiler error: in tree_to_shwi, at tree.h:3661 ghoort1 at gmail dot com
                   ` (6 preceding siblings ...)
  2015-10-22  7:48 ` trippels at gcc dot gnu.org
@ 2021-08-13 21:46 ` pinskia at gcc dot gnu.org
  2024-03-25  5:25 ` [Bug debug/68010] [11/12/13/14 Regression] ICE with -g and using namespace and namespace alias inside a template class with dependent inheritance pinskia at gcc dot gnu.org
  8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-08-13 21:46 UTC (permalink / raw)
  To: gcc-bugs

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|internal compiler error: in |ICE with -g and using
                   |tree_to_shwi, at            |namespace and namespace
                   |tree.h:3661                 |alias
             Target|                            |x86_64-linux-gnu
   Last reconfirmed|2015-10-18 00:00:00         |2021-8-13

--- Comment #10 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Reduced slightly more:

namespace boost {}
template <typename> struct C { };
template <typename Skipper>
struct StructDecoder : C<Skipper>
{
  StructDecoder()  {
    namespace bs = boost;
    using namespace bs;
  }
};
void NFGParserparse() {
  StructDecoder<int> q_syslog_desc;
}

Still ICEs on the trunk

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

* [Bug debug/68010] [11/12/13/14 Regression] ICE with -g and using namespace and namespace alias inside a template class with dependent inheritance
  2015-10-18 18:33 [Bug c++/68010] New: internal compiler error: in tree_to_shwi, at tree.h:3661 ghoort1 at gmail dot com
                   ` (7 preceding siblings ...)
  2021-08-13 21:46 ` [Bug debug/68010] ICE with -g and using namespace and namespace alias pinskia at gcc dot gnu.org
@ 2024-03-25  5:25 ` pinskia at gcc dot gnu.org
  8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu.org @ 2024-03-25  5:25 UTC (permalink / raw)
  To: gcc-bugs

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to work|                            |4.1.2
      Known to fail|                            |4.4.7, 4.5.3, 4.6.4
   Target Milestone|---                         |11.5
            Summary|ICE with -g and using       |[11/12/13/14 Regression]
                   |namespace and namespace     |ICE with -g and using
                   |alias inside a template     |namespace and namespace
                   |class with dependent        |alias inside a template
                   |inheritance                 |class with dependent
                   |                            |inheritance

--- Comment #11 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
This is actually a regression from at least GCC 4.1.2 which was able to compile
this without an ICE.

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

end of thread, other threads:[~2024-03-25  5:25 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-10-18 18:33 [Bug c++/68010] New: internal compiler error: in tree_to_shwi, at tree.h:3661 ghoort1 at gmail dot com
2015-10-18 19:02 ` [Bug c++/68010] " ghoort1 at gmail dot com
2015-10-18 19:23 ` trippels at gcc dot gnu.org
2015-10-18 19:53 ` ghoort1 at gmail dot com
2015-10-18 20:18 ` [Bug debug/68010] " trippels at gcc dot gnu.org
2015-10-19 17:43 ` trippels at gcc dot gnu.org
2015-10-21 20:15 ` ghoort1 at gmail dot com
2015-10-22  7:48 ` trippels at gcc dot gnu.org
2021-08-13 21:46 ` [Bug debug/68010] ICE with -g and using namespace and namespace alias pinskia at gcc dot gnu.org
2024-03-25  5:25 ` [Bug debug/68010] [11/12/13/14 Regression] ICE with -g and using namespace and namespace alias inside a template class with dependent inheritance pinskia 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).