public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/55262] New: [C++0x] g++.dg/cpp0x/inh-ctor10.C ICEs with -g
@ 2012-11-10  9:16 zsojka at seznam dot cz
  2012-11-19 14:06 ` [Bug c++/55262] " jason at gcc dot gnu.org
  2012-11-19 14:51 ` paolo.carlini at oracle dot com
  0 siblings, 2 replies; 3+ messages in thread
From: zsojka at seznam dot cz @ 2012-11-10  9:16 UTC (permalink / raw)
  To: gcc-bugs


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

             Bug #: 55262
           Summary: [C++0x] g++.dg/cpp0x/inh-ctor10.C ICEs with -g
    Classification: Unclassified
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: zsojka@seznam.cz


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

Compiler output:
$ gcc inh-ctor10.ii -std=c++11 -g
/mnt/svn/gcc-trunk/gcc/testsuite/g++.dg/cpp0x/inh-ctor10.C: In constructor
'B::B(Ts ...) [with Ts = {int}]':
/mnt/svn/gcc-trunk/gcc/testsuite/g++.dg/cpp0x/inh-ctor10.C:10:12: internal
compiler error: Segmentation fault
   using A::A;
            ^
0xbc2e9f crash_signal
        /mnt/svn/gcc-trunk/gcc/toplev.c:333
0x5eb3bb function_parameter_expanded_from_pack_p(tree_node*, tree_node*)
        /mnt/svn/gcc-trunk/gcc/cp/pt.c:2869
0x8c826d gen_formal_parameter_pack_die
        /mnt/svn/gcc-trunk/gcc/dwarf2out.c:17119
0x8c826d gen_subprogram_die
        /mnt/svn/gcc-trunk/gcc/dwarf2out.c:17943
0x8ce15c gen_decl_die
        /mnt/svn/gcc-trunk/gcc/dwarf2out.c:19990
0x8cbe34 dwarf2out_abstract_function
        /mnt/svn/gcc-trunk/gcc/dwarf2out.c:17429
0x8ce148 gen_decl_die
        /mnt/svn/gcc-trunk/gcc/dwarf2out.c:19947
0x8cf6f8 dwarf2out_function_decl
        /mnt/svn/gcc-trunk/gcc/dwarf2out.c:20380
0x94416c rest_of_handle_final
        /mnt/svn/gcc-trunk/gcc/final.c:4324
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.

$ gcc -v
Using built-in specs.
COLLECT_GCC=/mnt/svn/gcc-trunk/binary-latest/bin/gcc
COLLECT_LTO_WRAPPER=/mnt/svn/gcc-trunk/binary-193368-lto-fortran-checking-yes-rtl-df/libexec/gcc/x86_64-unknown-linux-gnu/4.8.0/lto-wrapper
Target: x86_64-unknown-linux-gnu
Configured with: /mnt/svn/gcc-trunk//configure --enable-checking=yes,rtl,df
--enable-languages=c,c++,lto,fortran
--prefix=/mnt/svn/gcc-trunk/binary-193368-lto-fortran-checking-yes-rtl-df/
--without-cloog --without-ppl
Thread model: posix
gcc version 4.8.0 20121109 (experimental) (GCC)


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

* [Bug c++/55262] [C++0x] g++.dg/cpp0x/inh-ctor10.C ICEs with -g
  2012-11-10  9:16 [Bug c++/55262] New: [C++0x] g++.dg/cpp0x/inh-ctor10.C ICEs with -g zsojka at seznam dot cz
@ 2012-11-19 14:06 ` jason at gcc dot gnu.org
  2012-11-19 14:51 ` paolo.carlini at oracle dot com
  1 sibling, 0 replies; 3+ messages in thread
From: jason at gcc dot gnu.org @ 2012-11-19 14:06 UTC (permalink / raw)
  To: gcc-bugs


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

--- Comment #1 from Jason Merrill <jason at gcc dot gnu.org> 2012-11-19 14:05:58 UTC ---
Author: jason
Date: Mon Nov 19 14:05:48 2012
New Revision: 193622

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=193622
Log:
    PR c++/55262
    * method.c (implicitly_declare_fn): Set DECL_PARM_INDEX on
    the parms of an inheriting ctor.

Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/method.c
    trunk/gcc/testsuite/g++.dg/cpp0x/inh-ctor10.C


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

* [Bug c++/55262] [C++0x] g++.dg/cpp0x/inh-ctor10.C ICEs with -g
  2012-11-10  9:16 [Bug c++/55262] New: [C++0x] g++.dg/cpp0x/inh-ctor10.C ICEs with -g zsojka at seznam dot cz
  2012-11-19 14:06 ` [Bug c++/55262] " jason at gcc dot gnu.org
@ 2012-11-19 14:51 ` paolo.carlini at oracle dot com
  1 sibling, 0 replies; 3+ messages in thread
From: paolo.carlini at oracle dot com @ 2012-11-19 14:51 UTC (permalink / raw)
  To: gcc-bugs


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |4.8.0

--- Comment #2 from Paolo Carlini <paolo.carlini at oracle dot com> 2012-11-19 14:51:13 UTC ---
Fixed for 4.8.0.


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

end of thread, other threads:[~2012-11-19 14:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-11-10  9:16 [Bug c++/55262] New: [C++0x] g++.dg/cpp0x/inh-ctor10.C ICEs with -g zsojka at seznam dot cz
2012-11-19 14:06 ` [Bug c++/55262] " jason at gcc dot gnu.org
2012-11-19 14:51 ` 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).