public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/67313] New: [6 Regression] ICE: in vague_linkage_p, at cp/decl2.c:1878 with -fno-weak and variadic template
@ 2015-08-21 18:54 zsojka at seznam dot cz
  2015-08-24 12:17 ` [Bug c++/67313] " mpolacek at gcc dot gnu.org
  2015-08-25  8:26 ` rguenth at gcc dot gnu.org
  0 siblings, 2 replies; 3+ messages in thread
From: zsojka at seznam dot cz @ 2015-08-21 18:54 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 67313
           Summary: [6 Regression] ICE: in vague_linkage_p, at
                    cp/decl2.c:1878 with -fno-weak and variadic template
           Product: gcc
           Version: 6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: zsojka at seznam dot cz
  Target Milestone: ---

Created attachment 36236
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36236&action=edit
reduced testcase

Compiler output:
$ gcc -fno-weak testcase.C
testcase.C: In function 'void f() [with <template-parameter-1-1> = {}]':
testcase.C:2:1: internal compiler error: in vague_linkage_p, at cp/decl2.c:1878
 f ()
 ^
0x6ba472 vague_linkage_p(tree_node*)
        /mnt/svn/gcc-trunk/gcc/cp/decl2.c:1878
0x6ba5bb generate_mangling_alias
        /mnt/svn/gcc-trunk/gcc/cp/decl2.c:4361
0xf87820 decl_assembler_name(tree_node*)
        /mnt/svn/gcc-trunk/gcc/tree.c:658
0xfab7a7 assign_assembler_name_if_neeeded(tree_node*)
        /mnt/svn/gcc-trunk/gcc/tree.c:5829
0x915158 cgraph_node::analyze()
        /mnt/svn/gcc-trunk/gcc/cgraphunit.c:629
0x918533 analyze_functions
        /mnt/svn/gcc-trunk/gcc/cgraphunit.c:1028
0x919050 symbol_table::finalize_compilation_unit()
        /mnt/svn/gcc-trunk/gcc/cgraphunit.c:2477
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.

Tested revisions:
r227052 - ICE
5 branch r225803 - OK


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

* [Bug c++/67313] [6 Regression] ICE: in vague_linkage_p, at cp/decl2.c:1878 with -fno-weak and variadic template
  2015-08-21 18:54 [Bug c++/67313] New: [6 Regression] ICE: in vague_linkage_p, at cp/decl2.c:1878 with -fno-weak and variadic template zsojka at seznam dot cz
@ 2015-08-24 12:17 ` mpolacek at gcc dot gnu.org
  2015-08-25  8:26 ` rguenth at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: mpolacek at gcc dot gnu.org @ 2015-08-24 12:17 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2015-08-24
                 CC|                            |mpolacek at gcc dot gnu.org
     Ever confirmed|0                           |1

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


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

* [Bug c++/67313] [6 Regression] ICE: in vague_linkage_p, at cp/decl2.c:1878 with -fno-weak and variadic template
  2015-08-21 18:54 [Bug c++/67313] New: [6 Regression] ICE: in vague_linkage_p, at cp/decl2.c:1878 with -fno-weak and variadic template zsojka at seznam dot cz
  2015-08-24 12:17 ` [Bug c++/67313] " mpolacek at gcc dot gnu.org
@ 2015-08-25  8:26 ` rguenth at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: rguenth at gcc dot gnu.org @ 2015-08-25  8:26 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |6.0


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

end of thread, other threads:[~2015-08-25  8:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-08-21 18:54 [Bug c++/67313] New: [6 Regression] ICE: in vague_linkage_p, at cp/decl2.c:1878 with -fno-weak and variadic template zsojka at seznam dot cz
2015-08-24 12:17 ` [Bug c++/67313] " mpolacek at gcc dot gnu.org
2015-08-25  8:26 ` rguenth 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).