[Bug c++/53756] [C++1y] ICE: in gen_type_die_with_usage, at dwarf2out.c:18774 with -g and operator auto ()

2014-06-29 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53756

Paolo Carlini paolo.carlini at oracle dot com changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 CC|jason at gcc dot gnu.org   |
 Resolution|--- |FIXED
   Target Milestone|4.9.1   |4.9.0

--- Comment #10 from Paolo Carlini paolo.carlini at oracle dot com ---
I think we can close this.


[Bug c++/53756] [C++1y] ICE: in gen_type_die_with_usage, at dwarf2out.c:18774 with -g and operator auto ()

2014-04-22 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53756

Jakub Jelinek jakub at gcc dot gnu.org changed:

   What|Removed |Added

   Target Milestone|4.9.0   |4.9.1

--- Comment #9 from Jakub Jelinek jakub at gcc dot gnu.org ---
GCC 4.9.0 has been released


[Bug c++/53756] [C++1y] ICE: in gen_type_die_with_usage, at dwarf2out.c:18774 with -g and operator auto ()

2014-01-29 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53756

Jakub Jelinek jakub at gcc dot gnu.org changed:

   What|Removed |Added

 CC||drepper.fsp+rhbz at gmail dot 
com

--- Comment #8 from Jakub Jelinek jakub at gcc dot gnu.org ---
*** Bug 59565 has been marked as a duplicate of this bug. ***


[Bug c++/53756] [C++1y] ICE: in gen_type_die_with_usage, at dwarf2out.c:18774 with -g and operator auto ()

2014-01-28 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53756

--- Comment #6 from Jason Merrill jason at gcc dot gnu.org ---
Author: jason
Date: Tue Jan 28 17:06:40 2014
New Revision: 207197

URL: http://gcc.gnu.org/viewcvs?rev=207197root=gccview=rev
Log:
PR c++/53756
gcc/
* dwarf2out.c (auto_die): New static.
(gen_type_die_with_usage): Handle C++1y 'auto'.
(gen_subprogram_die): If in-class DIE had 'auto', emit type again
on definition.
gcc/cp/
* mangle.c (write_unqualified_name): Handle operator auto.

Added:
trunk/gcc/testsuite/g++.dg/cpp1y/auto-fn22.C
trunk/gcc/testsuite/g++.dg/debug/dwarf2/auto1.C
Modified:
trunk/gcc/ChangeLog
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/mangle.c
trunk/gcc/dwarf2out.c
trunk/gcc/testsuite/g++.dg/cpp1y/auto-fn12.C


[Bug c++/53756] [C++1y] ICE: in gen_type_die_with_usage, at dwarf2out.c:18774 with -g and operator auto ()

2014-01-28 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53756

Jason Merrill jason at gcc dot gnu.org changed:

   What|Removed |Added

   Target Milestone|--- |4.9.0

--- Comment #7 from Jason Merrill jason at gcc dot gnu.org ---
Fixed in 4.9 so far.


[Bug c++/53756] [C++1y] ICE: in gen_type_die_with_usage, at dwarf2out.c:18774 with -g and operator auto ()

2013-11-22 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53756

Jason Merrill jason at gcc dot gnu.org changed:

   What|Removed |Added

 Status|NEW |ASSIGNED
   Assignee|unassigned at gcc dot gnu.org  |jason at gcc dot gnu.org


[Bug c++/53756] [C++1y] ICE: in gen_type_die_with_usage, at dwarf2out.c:18774 with -g and operator auto ()

2013-10-05 Thread tim at klingt dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53756

tim blechmann tim at klingt dot org changed:

   What|Removed |Added

 CC||tim at klingt dot org

--- Comment #5 from tim blechmann tim at klingt dot org ---
i think i experienced the same issue, but with a different line number:

internal compiler error: in gen_type_die_with_usage, at dwarf2out.c:19486

g++-4.8 -std=c++1y -g -x c++

code:
struct
{
auto a1 ();
}

g++-4.8 -v
Using built-in specs.
COLLECT_GCC=/usr/bin/g++-4.8.real
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.8/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu
4.8.1-2ubuntu1~13.04' --with-bugurl=file:///usr/share/doc/gcc-4.8/README.Bugs
--enable-languages=c,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr
--program-suffix=-4.8 --enable-shared --enable-linker-build-id
--libexecdir=/usr/lib --without-included-gettext --enable-threads=posix
--with-gxx-include-dir=/usr/include/c++/4.8 --libdir=/usr/lib --enable-nls
--with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug
--enable-libstdcxx-time=yes --enable-gnu-unique-object --enable-plugin
--with-system-zlib --disable-browser-plugin --enable-java-awt=gtk
--enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-4.8-amd64/jre
--enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-4.8-amd64
--with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-4.8-amd64
--with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar
--enable-objc-gc --enable-multiarch --disable-werror --with-arch-32=i686
--with-abi=m64 --with-multilib-list=m32,m64,mx32 --with-tune=generic
--enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu
--target=x86_64-linux-gnu
Thread model: posix
gcc version 4.8.1 (Ubuntu 4.8.1-2ubuntu1~13.04)


[Bug c++/53756] [C++1y] ICE: in gen_type_die_with_usage, at dwarf2out.c:18774 with -g and operator auto ()

2013-08-22 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53756

Paolo Carlini paolo.carlini at oracle dot com changed:

   What|Removed |Added

 CC||i.nixman at gmail dot com

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


[Bug c++/53756] [C++1y] ICE: in gen_type_die_with_usage, at dwarf2out.c:18774 with -g and operator auto ()

2013-08-03 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53756

Paolo Carlini paolo.carlini at oracle dot com changed:

   What|Removed |Added

 CC||jason at gcc dot gnu.org

--- Comment #3 from Paolo Carlini paolo.carlini at oracle dot com ---
Jason, looks like some bits related to debugging are missing from the work on
return type deduction and people cannot debug uses of the new facility.

gen_type_die_with_usage gets a TEMPLATE_TYPE_PARM which doesn't know how to
handle. Is it just matter of somehow having an equivalent of is_auto and using
a DW_TAG_unspecified_type? Or we shouldn't have a TEMPLATE_TYPE_PARM at all at
this point? (I don't see what else)

... or you prefer to look a bit into this? ;)


[Bug c++/53756] [C++1y] ICE: in gen_type_die_with_usage, at dwarf2out.c:18774 with -g and operator auto ()

2013-08-02 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53756

Paolo Carlini paolo.carlini at oracle dot com changed:

   What|Removed |Added

 CC||jogojapan at gmail dot com

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


[Bug c++/53756] [C++1y] ICE: in gen_type_die_with_usage, at dwarf2out.c:18774 with -g and operator auto ()

2012-06-25 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53756

Richard Guenther rguenth at gcc dot gnu.org changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
   Last reconfirmed||2012-06-25
Summary|ICE: in |[C++1y] ICE: in
   |gen_type_die_with_usage, at |gen_type_die_with_usage, at
   |dwarf2out.c:18774 with -g   |dwarf2out.c:18774 with -g
   |and operator auto ()|and operator auto ()
 Ever Confirmed|0   |1

--- Comment #1 from Richard Guenther rguenth at gcc dot gnu.org 2012-06-25 
08:09:08 UTC ---
Confirmed.