public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/53658] New: internal compiler error -- segmentation fault
@ 2012-06-13 15:30 Philipp.B@moechte-mit-dir-aufwachen.de
  2012-06-13 17:07 ` [Bug c++/53658] " markus at trippelsdorf dot de
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Philipp.B@moechte-mit-dir-aufwachen.de @ 2012-06-13 15:30 UTC (permalink / raw)
  To: gcc-bugs

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

             Bug #: 53658
           Summary: internal compiler error -- segmentation fault
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: Philipp.B@moechte-mit-dir-aufwachen.de


Created attachment 27616
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=27616
Preprocessed source

Hello,

I'm using g++ 4.7:

Using built-in specs.
COLLECT_GCC=g++-4.7
COLLECT_LTO_WRAPPER=/usr/lib/gcc/i486-linux-gnu/4.7/lto-wrapper
Target: i486-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian 4.7.0-8'
--with-bugurl=file:///usr/share/doc/gcc-4.7/README.Bugs
--enable-languages=c,c++,go,fortran,objc,obj-c++ --prefix=/usr
--program-suffix=-4.7 --enable-shared --enable-linker-build-id
--with-system-zlib --libexecdir=/usr/lib --without-included-gettext
--enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.7
--libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu
--enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object
--enable-plugin --enable-objc-gc --enable-targets=all --with-arch-32=i586
--with-tune=generic --enable-checking=release --build=i486-linux-gnu
--host=i486-linux-gnu --target=i486-linux-gnu
Thread model: posix
gcc version 4.7.0 (Debian 4.7.0-8) 

I encounter an ICE when running:

/tmp$ gunzip ccDalx3O.i.gz
/tmp$ LANG=C g++-4.7 -std=c++11 -Wall -c ccDalx3O.i 
In file included from ../src/structured_grid.hpp:47:0,
                 from test_neumann.cpp:34:
../src/boundary.hpp:775:34: internal compiler error: Segmentation fault
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/ccurVmfw.out file, please attach this to
your bugreport.


Kind regards,

Philipp


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

* [Bug c++/53658] internal compiler error -- segmentation fault
  2012-06-13 15:30 [Bug c++/53658] New: internal compiler error -- segmentation fault Philipp.B@moechte-mit-dir-aufwachen.de
@ 2012-06-13 17:07 ` markus at trippelsdorf dot de
  2012-06-14  7:05 ` markus at trippelsdorf dot de
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: markus at trippelsdorf dot de @ 2012-06-13 17:07 UTC (permalink / raw)
  To: gcc-bugs

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

Markus Trippelsdorf <markus at trippelsdorf dot de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |markus at trippelsdorf dot
                   |                            |de

--- Comment #1 from Markus Trippelsdorf <markus at trippelsdorf dot de> 2012-06-13 17:07:13 UTC ---
Reduced:

 % cat test.ii
struct A;
template <typename> using Foo = const A;
template <typename Item> Foo <Item>;

 % c++ -std=c++11 test.ii
test.ii:3:35: internal compiler error: Segmentation fault
 template <typename Item> Foo <Item>;
                                   ^
Please submit a full bug report,
with preprocessed source if appropriate.


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

* [Bug c++/53658] internal compiler error -- segmentation fault
  2012-06-13 15:30 [Bug c++/53658] New: internal compiler error -- segmentation fault Philipp.B@moechte-mit-dir-aufwachen.de
  2012-06-13 17:07 ` [Bug c++/53658] " markus at trippelsdorf dot de
@ 2012-06-14  7:05 ` markus at trippelsdorf dot de
  2012-06-14  7:45 ` jakub at gcc dot gnu.org
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: markus at trippelsdorf dot de @ 2012-06-14  7:05 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Markus Trippelsdorf <markus at trippelsdorf dot de> 2012-06-14 07:04:54 UTC ---
(In reply to comment #1)
> Reduced:
> 
>  % cat test.ii
> struct A;
> template <typename> using Foo = const A;
> template <typename Item> Foo <Item>;
                                    ^^    
If one adds "bar()" to the last line above, then clang++ and Intel's icpc
compile it without problems, while gcc still crashes.


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

* [Bug c++/53658] internal compiler error -- segmentation fault
  2012-06-13 15:30 [Bug c++/53658] New: internal compiler error -- segmentation fault Philipp.B@moechte-mit-dir-aufwachen.de
  2012-06-13 17:07 ` [Bug c++/53658] " markus at trippelsdorf dot de
  2012-06-14  7:05 ` markus at trippelsdorf dot de
@ 2012-06-14  7:45 ` jakub at gcc dot gnu.org
  2013-06-07  0:36 ` paolo.carlini at oracle dot com
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: jakub at gcc dot gnu.org @ 2012-06-14  7:45 UTC (permalink / raw)
  To: gcc-bugs

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2012-06-14
                 CC|                            |dodji at gcc dot gnu.org,
                   |                            |jakub at gcc dot gnu.org
     Ever Confirmed|0                           |1

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-06-14 07:44:59 UTC ---
Seems this ICEs since template alias support has been checked in:
http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=181118
Before that it has been rejected.


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

* [Bug c++/53658] internal compiler error -- segmentation fault
  2012-06-13 15:30 [Bug c++/53658] New: internal compiler error -- segmentation fault Philipp.B@moechte-mit-dir-aufwachen.de
                   ` (2 preceding siblings ...)
  2012-06-14  7:45 ` jakub at gcc dot gnu.org
@ 2013-06-07  0:36 ` paolo.carlini at oracle dot com
  2013-06-07  8:35 ` paolo.carlini at oracle dot com
  2014-05-13 16:39 ` paolo.carlini at oracle dot com
  5 siblings, 0 replies; 7+ messages in thread
From: paolo.carlini at oracle dot com @ 2013-06-07  0:36 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|unassigned at gcc dot gnu.org      |paolo.carlini at oracle dot com
   Target Milestone|---                         |4.9.0

--- Comment #4 from Paolo Carlini <paolo.carlini at oracle dot com> ---
Mine.


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

* [Bug c++/53658] internal compiler error -- segmentation fault
  2012-06-13 15:30 [Bug c++/53658] New: internal compiler error -- segmentation fault Philipp.B@moechte-mit-dir-aufwachen.de
                   ` (3 preceding siblings ...)
  2013-06-07  0:36 ` paolo.carlini at oracle dot com
@ 2013-06-07  8:35 ` paolo.carlini at oracle dot com
  2014-05-13 16:39 ` paolo.carlini at oracle dot com
  5 siblings, 0 replies; 7+ messages in thread
From: paolo.carlini at oracle dot com @ 2013-06-07  8:35 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #5 from Paolo Carlini <paolo.carlini at oracle dot com> ---
Fixed for 4.9.0.


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

* [Bug c++/53658] internal compiler error -- segmentation fault
  2012-06-13 15:30 [Bug c++/53658] New: internal compiler error -- segmentation fault Philipp.B@moechte-mit-dir-aufwachen.de
                   ` (4 preceding siblings ...)
  2013-06-07  8:35 ` paolo.carlini at oracle dot com
@ 2014-05-13 16:39 ` paolo.carlini at oracle dot com
  5 siblings, 0 replies; 7+ messages in thread
From: paolo.carlini at oracle dot com @ 2014-05-13 16:39 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |florent.hivert at lri dot fr

--- Comment #6 from Paolo Carlini <paolo.carlini at oracle dot com> ---
*** Bug 60210 has been marked as a duplicate of this bug. ***


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

end of thread, other threads:[~2014-05-13 16:39 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-06-13 15:30 [Bug c++/53658] New: internal compiler error -- segmentation fault Philipp.B@moechte-mit-dir-aufwachen.de
2012-06-13 17:07 ` [Bug c++/53658] " markus at trippelsdorf dot de
2012-06-14  7:05 ` markus at trippelsdorf dot de
2012-06-14  7:45 ` jakub at gcc dot gnu.org
2013-06-07  0:36 ` paolo.carlini at oracle dot com
2013-06-07  8:35 ` paolo.carlini at oracle dot com
2014-05-13 16:39 ` 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).