public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug debug/60380] New: [C++11] ICE: in gen_type_die_with_usage with -g and template instantiation
@ 2014-03-01 15:33 bcmpinc at hotmail dot com
  2014-03-01 15:34 ` [Bug debug/60380] " bcmpinc at hotmail dot com
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: bcmpinc at hotmail dot com @ 2014-03-01 15:33 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 60380
           Summary: [C++11] ICE: in gen_type_die_with_usage with -g and
                    template instantiation
           Product: gcc
           Version: 4.8.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: debug
          Assignee: unassigned at gcc dot gnu.org
          Reporter: bcmpinc at hotmail dot com

Created attachment 32237
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=32237&action=edit
A minimal testcase triggering the ICE

GCC crashes with an ICE, when trying to generate the debug information of a
template class that contains a function that cannot be instantiated due to
substitution failure.

A minimal testcase and compiler output are attached. The testcase was compiled
with:

g++ -v -save-temps -std=c++11 -g testcase.cpp 2> output.txt


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

* [Bug debug/60380] [C++11] ICE: in gen_type_die_with_usage with -g and template instantiation
  2014-03-01 15:33 [Bug debug/60380] New: [C++11] ICE: in gen_type_die_with_usage with -g and template instantiation bcmpinc at hotmail dot com
@ 2014-03-01 15:34 ` bcmpinc at hotmail dot com
  2014-03-01 15:36 ` bcmpinc at hotmail dot com
  2015-03-24 16:44 ` [Bug c++/60380] " paolo.carlini at oracle dot com
  2 siblings, 0 replies; 4+ messages in thread
From: bcmpinc at hotmail dot com @ 2014-03-01 15:34 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Bauke Conijn <bcmpinc at hotmail dot com> ---
Created attachment 32238
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=32238&action=edit
Compiler output


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

* [Bug debug/60380] [C++11] ICE: in gen_type_die_with_usage with -g and template instantiation
  2014-03-01 15:33 [Bug debug/60380] New: [C++11] ICE: in gen_type_die_with_usage with -g and template instantiation bcmpinc at hotmail dot com
  2014-03-01 15:34 ` [Bug debug/60380] " bcmpinc at hotmail dot com
@ 2014-03-01 15:36 ` bcmpinc at hotmail dot com
  2015-03-24 16:44 ` [Bug c++/60380] " paolo.carlini at oracle dot com
  2 siblings, 0 replies; 4+ messages in thread
From: bcmpinc at hotmail dot com @ 2014-03-01 15:36 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Bauke Conijn <bcmpinc at hotmail dot com> ---
Bug 53756 is possibly related.


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

* [Bug c++/60380] [C++11] ICE: in gen_type_die_with_usage with -g and template instantiation
  2014-03-01 15:33 [Bug debug/60380] New: [C++11] ICE: in gen_type_die_with_usage with -g and template instantiation bcmpinc at hotmail dot com
  2014-03-01 15:34 ` [Bug debug/60380] " bcmpinc at hotmail dot com
  2014-03-01 15:36 ` bcmpinc at hotmail dot com
@ 2015-03-24 16:44 ` paolo.carlini at oracle dot com
  2 siblings, 0 replies; 4+ messages in thread
From: paolo.carlini at oracle dot com @ 2015-03-24 16:44 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
      Known to work|                            |4.9.0, 5.0
         Resolution|---                         |FIXED
   Target Milestone|---                         |4.9.0

--- Comment #3 from Paolo Carlini <paolo.carlini at oracle dot com> ---
In 4.9 and trunk the testcase is simply rejected.


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

end of thread, other threads:[~2015-03-24 16:21 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-03-01 15:33 [Bug debug/60380] New: [C++11] ICE: in gen_type_die_with_usage with -g and template instantiation bcmpinc at hotmail dot com
2014-03-01 15:34 ` [Bug debug/60380] " bcmpinc at hotmail dot com
2014-03-01 15:36 ` bcmpinc at hotmail dot com
2015-03-24 16:44 ` [Bug c++/60380] " 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).