public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/67354] New: internal compiler error: in add_to_same_comdat_group, at symtab.c:421
@ 2015-08-26  0:35 bgreen0 at gmail dot com
  2015-08-26  6:16 ` [Bug c++/67354] [5/6 regression] " trippels at gcc dot gnu.org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: bgreen0 at gmail dot com @ 2015-08-26  0:35 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 67354
           Summary: internal compiler error: in add_to_same_comdat_group,
                    at symtab.c:421
           Product: gcc
           Version: 5.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: bgreen0 at gmail dot com
  Target Milestone: ---

Created attachment 36255
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36255&action=edit
preprocessor output

The attached preprocessed code generates an internal compiler error when
compiled with the -Os option.  Tested with g++ 5.1 and 5.2.

Preprocessed file attached.

Here is the command line out output:

$ g++ -v -save-temps -std=gnu++11 -Wall -Wextra -Os -c -o gccbug.o gccbug.cpp 
Using built-in specs.
COLLECT_GCC=g++
Target: x86_64-unknown-linux-gnu
Configured with: /build/gcc-multilib/src/gcc-5.2.0/configure --prefix=/usr
--libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man
--infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/
--enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++ --enable-shared
--enable-threads=posix --enable-libmpx --with-system-zlib --with-isl
--enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=gnu
--disable-libstdcxx-pch --disable-libssp --enable-gnu-unique-object
--enable-linker-build-id --enable-lto --enable-plugin
--enable-install-libiberty --with-linker-hash-style=gnu
--enable-gnu-indirect-function --enable-multilib --disable-werror
--enable-checking=release --with-default-libstdcxx-abi=gcc4-compatible
Thread model: posix
gcc version 5.2.0 (GCC) 
COLLECT_GCC_OPTIONS='-v' '-save-temps' '-std=gnu++11' '-Wall' '-Wextra' '-Os'
'-c' '-o' 'gccbug.o' '-shared-libgcc' '-mtune=generic' '-march=x86-64'
 /usr/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/cc1plus -E -quiet -v -D_GNU_SOURCE
gccbug.cpp -mtune=generic -march=x86-64 -std=gnu++11 -Wall -Wextra -Os
-fpch-preprocess -o gccbug.ii
ignoring nonexistent directory
"/usr/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/../../../../x86_64-unknown-linux-gnu/include"
#include "..." search starts here:
#include <...> search starts here:
 /usr/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/../../../../include/c++/5.2.0

/usr/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/../../../../include/c++/5.2.0/x86_64-unknown-linux-gnu

/usr/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/../../../../include/c++/5.2.0/backward
 /usr/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/include
 /usr/local/include
 /usr/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/include-fixed
 /usr/include
End of search list.
COLLECT_GCC_OPTIONS='-v' '-save-temps' '-std=gnu++11' '-Wall' '-Wextra' '-Os'
'-c' '-o' 'gccbug.o' '-shared-libgcc' '-mtune=generic' '-march=x86-64'
 /usr/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/cc1plus -fpreprocessed gccbug.ii
-quiet -dumpbase gccbug.cpp -mtune=generic -march=x86-64 -auxbase-strip
gccbug.o -Os -Wall -Wextra -std=gnu++11 -version -o gccbug.s
GNU C++11 (GCC) version 5.2.0 (x86_64-unknown-linux-gnu)
        compiled by GNU C version 5.2.0, GMP version 6.0.0, MPFR version
3.1.3-p4, MPC version 1.0.3
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
GNU C++11 (GCC) version 5.2.0 (x86_64-unknown-linux-gnu)
        compiled by GNU C version 5.2.0, GMP version 6.0.0, MPFR version
3.1.3-p4, MPC version 1.0.3
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: 18422b8e6e00646fd4f8fbf484d27148
gccbug.cpp: In instantiation of ‘Test::Test(Args&& ...) [with Args = {}]’:
/usr/include/c++/5.2.0/ext/new_allocator.h:120:4:   required from ‘void
__gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = Test;
_Args = {}; _Tp = Test]’
/usr/include/c++/5.2.0/bits/alloc_traits.h:256:4:   required from ‘static
std::_Require<typename std::allocator_traits<_Alloc>::__construct_helper<_Tp,
_Args>::type> std::allocator_traits<_Alloc>::_S_construct(_Alloc&, _Tp*,
_Args&& ...) [with _Tp = Test; _Args = {}; _Alloc = std::allocator<Test>;
std::_Require<typename std::allocator_traits<_Alloc>::__construct_helper<_Tp,
_Args>::type> = void]’
/usr/include/c++/5.2.0/bits/alloc_traits.h:402:16:   required from ‘static
decltype (_S_construct(__a, __p,
(forward<_Args>)(std::allocator_traits::construct::__args)...))
std::allocator_traits<_Alloc>::construct(_Alloc&, _Tp*, _Args&& ...) [with _Tp
= Test; _Args = {}; _Alloc = std::allocator<Test>; decltype (_S_construct(__a,
__p, (forward<_Args>)(std::allocator_traits::construct::__args)...)) = <type
error>]’
/usr/include/c++/5.2.0/bits/shared_ptr_base.h:522:39:   required from
‘std::_Sp_counted_ptr_inplace<_Tp, _Alloc,
_Lp>::_Sp_counted_ptr_inplace(_Alloc, _Args&& ...) [with _Args = {}; _Tp =
Test; _Alloc = std::allocator<Test>; __gnu_cxx::_Lock_policy _Lp =
(__gnu_cxx::_Lock_policy)2u]’
/usr/include/c++/5.2.0/bits/shared_ptr_base.h:617:4:   required from
‘std::__shared_count<_Lp>::__shared_count(std::_Sp_make_shared_tag, _Tp*, const
_Alloc&, _Args&& ...) [with _Tp = Test; _Alloc = std::allocator<Test>; _Args =
{}; __gnu_cxx::_Lock_policy _Lp = (__gnu_cxx::_Lock_policy)2u]’
/usr/include/c++/5.2.0/bits/shared_ptr_base.h:1097:35:   required from
‘std::__shared_ptr<_Tp, _Lp>::__shared_ptr(std::_Sp_make_shared_tag, const
_Alloc&, _Args&& ...) [with _Alloc = std::allocator<Test>; _Args = {}; _Tp =
Test; __gnu_cxx::_Lock_policy _Lp = (__gnu_cxx::_Lock_policy)2u]’
/usr/include/c++/5.2.0/bits/shared_ptr.h:319:64:   required from
‘std::shared_ptr<_Tp>::shared_ptr(std::_Sp_make_shared_tag, const _Alloc&,
_Args&& ...) [with _Alloc = std::allocator<Test>; _Args = {}; _Tp = Test]’
/usr/include/c++/5.2.0/bits/shared_ptr.h:614:39:   required from
‘std::shared_ptr<_Tp1> std::allocate_shared(const _Alloc&, _Args&& ...) [with
_Tp = Test; _Alloc = std::allocator<Test>; _Args = {}]’
/usr/include/c++/5.2.0/bits/shared_ptr.h:629:39:   required from
‘std::shared_ptr<_Tp1> std::make_shared(_Args&& ...) [with _Tp = Test; _Args =
{}]’
gccbug.cpp:13:33:   required from here
gccbug.cpp:10:2: internal compiler error: in add_to_same_comdat_group, at
symtab.c:421
  }
  ^
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://bugs.archlinux.org/> for instructions.
>From gcc-bugs-return-495651-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Aug 26 06:02:11 2015
Return-Path: <gcc-bugs-return-495651-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 47208 invoked by alias); 26 Aug 2015 06:02:10 -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 47136 invoked by uid 48); 26 Aug 2015 06:02:05 -0000
From: "Joost.VandeVondele at mat dot ethz.ch" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/67219] [6 Regression] Incorrect conversion warning
Date: Wed, 26 Aug 2015 06:02: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: 6.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: Joost.VandeVondele at mat dot ethz.ch
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-67219-4-Evo6HVVbVj@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-67219-4@http.gcc.gnu.org/bugzilla/>
References: <bug-67219-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-08/txt/msg01793.txt.bz2
Content-length: 856

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

Joost VandeVondele <Joost.VandeVondele at mat dot ethz.ch> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |Joost.VandeVondele at mat dot ethz
                   |                            |.ch

--- Comment #3 from Joost VandeVondele <Joost.VandeVondele at mat dot ethz.ch> ---
It also depends on which value is used for 'huge_4', for example no warning
like so:

function foo(bar)
   integer(8)             :: foo
   integer(4), intent(in) :: bar
   ! integer(4), parameter  :: huge_4 = huge(0_4)
   integer(4), parameter  :: huge_4 = 2**30
   foo = (huge_4 - int(bar,kind=8))
end function

there is also no valgrind warning for f951 compiling the testcase.


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

* [Bug c++/67354] [5/6 regression] internal compiler error: in add_to_same_comdat_group, at symtab.c:421
  2015-08-26  0:35 [Bug c++/67354] New: internal compiler error: in add_to_same_comdat_group, at symtab.c:421 bgreen0 at gmail dot com
@ 2015-08-26  6:16 ` trippels at gcc dot gnu.org
  2015-08-26  6:59 ` rguenth at gcc dot gnu.org
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: trippels at gcc dot gnu.org @ 2015-08-26  6:16 UTC (permalink / raw)
  To: gcc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="UTF-8", Size: 7801 bytes --]

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2015-08-26
                 CC|                            |trippels at gcc dot gnu.org
            Summary|internal compiler error: in |[5/6 regression] internal
                   |add_to_same_comdat_group,   |compiler error: in
                   |at symtab.c:421             |add_to_same_comdat_group,
                   |                            |at symtab.c:421
     Ever confirmed|0                           |1

--- Comment #1 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
markus@x4 tmp % cat gccbug.ii
class A
{
};
template <typename _Tp>
void
make_shared ()
{
  _Tp ();
}

class B : virtual A
{
public:
  template <typename...> B () {}
};
auto f = make_shared<B>;

markus@x4 tmp % g++ -c -Os -std=gnu++11 gccbug.ii
gccbug.ii: In instantiation of ‘B::B() [with <template-parameter-1-1> = {}]’:
gccbug.ii:8:3:   required from ‘void make_shared() [with _Tp = B]’
gccbug.ii:16:10:   required from here
gccbug.ii:14:32: internal compiler error: in add_to_same_comdat_group, at
symtab.c:402
   template <typename...> B () {}
                                ^
0x8ea7b8 symtab_node::add_to_same_comdat_group(symtab_node*)
        ../../gcc/gcc/symtab.c:402
0x798fb7 maybe_thunk_body
        ../../gcc/gcc/cp/optimize.c:286
0x799dc4 maybe_clone_body(tree_node*)
        ../../gcc/gcc/cp/optimize.c:508
0x7696b3 expand_or_defer_fn_1(tree_node*)
        ../../gcc/gcc/cp/semantics.c:4101
0x7698e8 expand_or_defer_fn(tree_node*)
        ../../gcc/gcc/cp/semantics.c:4124
0x632be6 instantiate_decl(tree_node*, int, bool)
        ../../gcc/gcc/cp/pt.c:21181
0x677cc9 instantiate_pending_templates(int)
        ../../gcc/gcc/cp/pt.c:21275
0x6b9ea4 c_parse_final_cleanups()
        ../../gcc/gcc/cp/decl2.c:4534
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.
>From gcc-bugs-return-495653-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Aug 26 06:40:38 2015
Return-Path: <gcc-bugs-return-495653-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 71665 invoked by alias); 26 Aug 2015 06:40:37 -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 71627 invoked by uid 48); 26 Aug 2015 06:40:33 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug debug/67355] New: [5 Regression] ICE compiling LTP testcase
Date: Wed, 26 Aug 2015 06:40:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: debug
X-Bugzilla-Version: 5.2.1
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rguenth 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 attachments.created
Message-ID: <bug-67355-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-08/txt/msg01795.txt.bz2
Content-length: 3616

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

            Bug ID: 67355
           Summary: [5 Regression] ICE compiling LTP testcase
           Product: gcc
           Version: 5.2.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: debug
          Assignee: unassigned at gcc dot gnu.org
          Reporter: rguenth at gcc dot gnu.org
  Target Milestone: ---

Created attachment 36256
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id6256&actioníit
testcase

> gcc-5 -S -O2 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables atof01.c -m32 -g -B /abuild/rguenther/gcc5-g/gcc -v
Reading specs from /abuild/rguenther/gcc5-g/gcc/specs
COLLECT_GCC=gcc-5
Target: x86_64-suse-linux
Configured with: ../configure --prefix=/usr --infodir=/usr/share/info
--mandir=/usr/share/man --libdir=/usr/lib64 --libexecdir=/usr/lib64
--enable-languages=c,c++,objc,fortran,obj-c++,java,ada,go
--enable-checking=release --with-gxx-include-dir=/usr/include/c++/5
--enable-ssp --disable-libssp --disable-libvtv --enable-libmpx --disable-plugin
--with-bugurl=http://bugs.opensuse.org/ --with-pkgversion='SUSE Linux'
--disable-libgcj --with-slibdir=/lib64 --with-system-zlib --enable-__cxa_atexit
--enable-libstdcxx-allocator=new --disable-libstdcxx-pch
--with-default-libstdcxx-abi=gcc4-compatible
--enable-version-specific-runtime-libs --enable-linker-build-id
--enable-linux-futex --program-suffix=-5 --without-system-libunwind
--enable-multilib --with-arch-32=i586 --with-tune=generic
--build=x86_64-suse-linux --host=x86_64-suse-linux
Thread model: posix
gcc version 5.1.1 20150707 [gcc-5-branch revision 225501] (SUSE Linux)
COLLECT_GCC_OPTIONS='-S' '-O2' '-D' '_FORTIFY_SOURCE=2' '-fstack-protector'
'-funwind-tables' '-fasynchronous-unwind-tables' '-m32' '-g' '-B'
'/abuild/rguenther/gcc5-g/gcc' '-v' '-mtune=generic' '-march=i586'
 /abuild/rguenther/gcc5-g/gcc/cc1 -quiet -v -imultilib 32 -isystem
/abuild/rguenther/gcc5-g/gcc/include -isystem
/abuild/rguenther/gcc5-g/gcc/include-fixed -D _FORTIFY_SOURCE=2 atof01.c -quiet
-dumpbase atof01.c -m32 -mtune=generic -march=i586 -auxbase atof01 -g -O2
-version -fstack-protector -funwind-tables -fasynchronous-unwind-tables -o
atof01.s
GNU C11 (GCC) version 5.2.1 20150826 [gcc-5-branch revision 226027]
(x86_64-unknown-linux-gnu)
        compiled by GNU C version 4.8.4 20150327 [gcc-4_8-branch revision
221722], GMP version 6.0.0, MPFR version 3.1.2, MPC version 1.0.2
GGC heuristics: --param ggc-min-expand0 --param ggc-min-heapsize@96
ignoring nonexistent directory
"/usr/local/lib64/gcc/x86_64-unknown-linux-gnu/5.2.1/include"
ignoring nonexistent directory
"/usr/local/lib64/gcc/x86_64-unknown-linux-gnu/5.2.1/include-fixed"
ignoring nonexistent directory
"/usr/local/lib64/../x86_64-unknown-linux-gnu/include"
#include "..." search starts here:
#include <...> search starts here:
 /abuild/rguenther/gcc5-g/gcc/include
 /abuild/rguenther/gcc5-g/gcc/include-fixed
 /usr/local/include
 /usr/include
End of search list.
GNU C11 (GCC) version 5.2.1 20150826 [gcc-5-branch revision 226027]
(x86_64-unknown-linux-gnu)
        compiled by GNU C version 4.8.4 20150327 [gcc-4_8-branch revision
221722], GMP version 6.0.0, MPFR version 3.1.2, MPC version 1.0.2
GGC heuristics: --param ggc-min-expand0 --param ggc-min-heapsize@96
Compiler executable checksum: eb89c9d8d76c5ea91abc0b0f9363b11c
gcc-5: internal compiler error: Segmentation fault (program cc1)
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugs.opensuse.org/> for instructions.


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

* [Bug c++/67354] [5/6 regression] internal compiler error: in add_to_same_comdat_group, at symtab.c:421
  2015-08-26  0:35 [Bug c++/67354] New: internal compiler error: in add_to_same_comdat_group, at symtab.c:421 bgreen0 at gmail dot com
  2015-08-26  6:16 ` [Bug c++/67354] [5/6 regression] " trippels at gcc dot gnu.org
@ 2015-08-26  6:59 ` rguenth at gcc dot gnu.org
  2015-08-26  7:09 ` mpolacek at gcc dot gnu.org
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu.org @ 2015-08-26  6:59 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hubicka at gcc dot gnu.org
   Target Milestone|---                         |5.3


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

* [Bug c++/67354] [5/6 regression] internal compiler error: in add_to_same_comdat_group, at symtab.c:421
  2015-08-26  0:35 [Bug c++/67354] New: internal compiler error: in add_to_same_comdat_group, at symtab.c:421 bgreen0 at gmail dot com
  2015-08-26  6:16 ` [Bug c++/67354] [5/6 regression] " trippels at gcc dot gnu.org
  2015-08-26  6:59 ` rguenth at gcc dot gnu.org
@ 2015-08-26  7:09 ` mpolacek at gcc dot gnu.org
  2015-10-22 10:21 ` paolo.carlini at oracle dot com
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: mpolacek at gcc dot gnu.org @ 2015-08-26  7:09 UTC (permalink / raw)
  To: gcc-bugs

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

Marek Polacek <mpolacek at gcc dot gnu.org> changed:

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

--- Comment #2 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Started with r211434.


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

* [Bug c++/67354] [5/6 regression] internal compiler error: in add_to_same_comdat_group, at symtab.c:421
  2015-08-26  0:35 [Bug c++/67354] New: internal compiler error: in add_to_same_comdat_group, at symtab.c:421 bgreen0 at gmail dot com
                   ` (2 preceding siblings ...)
  2015-08-26  7:09 ` mpolacek at gcc dot gnu.org
@ 2015-10-22 10:21 ` paolo.carlini at oracle dot com
  2015-10-22 11:09 ` trippels at gcc dot gnu.org
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: paolo.carlini at oracle dot com @ 2015-10-22 10:21 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from Paolo Carlini <paolo.carlini at oracle dot com> ---
Works for me in trunk.


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

* [Bug c++/67354] [5/6 regression] internal compiler error: in add_to_same_comdat_group, at symtab.c:421
  2015-08-26  0:35 [Bug c++/67354] New: internal compiler error: in add_to_same_comdat_group, at symtab.c:421 bgreen0 at gmail dot com
                   ` (3 preceding siblings ...)
  2015-10-22 10:21 ` paolo.carlini at oracle dot com
@ 2015-10-22 11:09 ` trippels at gcc dot gnu.org
  2015-10-22 11:22 ` trippels at gcc dot gnu.org
  2015-10-22 11:32 ` trippels at gcc dot gnu.org
  6 siblings, 0 replies; 8+ messages in thread
From: trippels at gcc dot gnu.org @ 2015-10-22 11:09 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #4 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
It was fixed on trunk by r228017.
And indeed -fabi-version=5 ICEs, 6 or higher is fine.


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

* [Bug c++/67354] [5/6 regression] internal compiler error: in add_to_same_comdat_group, at symtab.c:421
  2015-08-26  0:35 [Bug c++/67354] New: internal compiler error: in add_to_same_comdat_group, at symtab.c:421 bgreen0 at gmail dot com
                   ` (4 preceding siblings ...)
  2015-10-22 11:09 ` trippels at gcc dot gnu.org
@ 2015-10-22 11:22 ` trippels at gcc dot gnu.org
  2015-10-22 11:32 ` trippels at gcc dot gnu.org
  6 siblings, 0 replies; 8+ messages in thread
From: trippels at gcc dot gnu.org @ 2015-10-22 11:22 UTC (permalink / raw)
  To: gcc-bugs

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

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

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

--- Comment #5 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
Hmm that commit is strange. It states that
 -fabi-version=8 is the default for GCC 5.1
 -fabi-version=9 is the default for GCC 5.2
which is clearly not the case.

Jason?


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

* [Bug c++/67354] [5/6 regression] internal compiler error: in add_to_same_comdat_group, at symtab.c:421
  2015-08-26  0:35 [Bug c++/67354] New: internal compiler error: in add_to_same_comdat_group, at symtab.c:421 bgreen0 at gmail dot com
                   ` (5 preceding siblings ...)
  2015-10-22 11:22 ` trippels at gcc dot gnu.org
@ 2015-10-22 11:32 ` trippels at gcc dot gnu.org
  6 siblings, 0 replies; 8+ messages in thread
From: trippels at gcc dot gnu.org @ 2015-10-22 11:32 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #6 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
No, the statement is correct:

markus@x4 tmp % echo | g++ -fabi-version=9 -dM -E - | grep -i abi
#define __GXX_ABI_VERSION 1009
markus@x4 tmp % echo | g++ -fabi-version=0 -dM -E - | grep -i abi
#define __GXX_ABI_VERSION 1009

But why does the testcase stop ICEing only with an explicit -fabi-version=9?


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

end of thread, other threads:[~2015-10-22 11:32 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-08-26  0:35 [Bug c++/67354] New: internal compiler error: in add_to_same_comdat_group, at symtab.c:421 bgreen0 at gmail dot com
2015-08-26  6:16 ` [Bug c++/67354] [5/6 regression] " trippels at gcc dot gnu.org
2015-08-26  6:59 ` rguenth at gcc dot gnu.org
2015-08-26  7:09 ` mpolacek at gcc dot gnu.org
2015-10-22 10:21 ` paolo.carlini at oracle dot com
2015-10-22 11:09 ` trippels at gcc dot gnu.org
2015-10-22 11:22 ` trippels at gcc dot gnu.org
2015-10-22 11:32 ` trippels 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).