public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/60865] New: ICE: verify_cgraph_node failed: comdat-local function called by <built-in> outside its comdat
@ 2014-04-16 19:05 zsojka at seznam dot cz
  2014-04-17 11:04 ` [Bug ipa/60865] " rguenth at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: zsojka at seznam dot cz @ 2014-04-16 19:05 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 60865
           Summary: ICE: verify_cgraph_node failed: comdat-local function
                    called by <built-in> outside its comdat
           Product: gcc
           Version: 4.10.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
          Assignee: unassigned at gcc dot gnu.org
          Reporter: zsojka at seznam dot cz

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

Compiler output:
$ gcc -O3 -fdeclone-ctor-dtor --param=ipa-cp-eval-threshold=1 testcase.C
testcase.C:48:1: error: comdat-local function called by <built-in> outside its
comdat
 }
 ^
_ZN10SerializerIjN4Loki8TypelistIiNS1_I9ClassSpecIjiLj40EENS0_8NullTypeEEEEEEC4Ev/9
(Serializer<unsigned int, Loki::Typelist<int, Loki::Typelist<ClassSpec<unsigned
int, int, 40u>, Loki::NullType> > >::Serializer()) @0x7ff5dd0ee520
  Type: function definition analyzed
  Visibility: prevailing_def_ironly
comdat_group:_ZN10SerializerIjN4Loki8TypelistIiNS1_I9ClassSpecIjiLj40EENS0_8NullTypeEEEEEEC5Ev
one_only artificial
  Same comdat group as:
_ZN10SerializerIjN4Loki8TypelistIiNS1_I9ClassSpecIjiLj40EENS0_8NullTypeEEEEEEC2Ev/10
  References:
_ZTT10SerializerIjN4Loki8TypelistIiNS1_I9ClassSpecIjiLj40EENS0_8NullTypeEEEEEE/15
(addr)_ZTV10SerializerIjN4Loki8TypelistIiNS1_I9ClassSpecIjiLj40EENS0_8NullTypeEEEEEE/14
(addr)_ZTV10SerializerIjN4Loki8TypelistIiNS1_I9ClassSpecIjiLj40EENS0_8NullTypeEEEEEE/14
(addr)
  Referring: 
  Availability: local
  First run: 0
  Function flags: body local
  Called by:
_ZN10SerializerIjN4Loki8TypelistIiNS1_I9ClassSpecIjiLj40EENS0_8NullTypeEEEEEEC1Ev.constprop.0/44
(1.00 per call)
_ZN10SerializerIjN4Loki8TypelistIiNS1_I9ClassSpecIjiLj40EENS0_8NullTypeEEEEEEC1Ev/11
(1.00 per call)
_ZN10SerializerIjN4Loki8TypelistIiNS1_I9ClassSpecIjiLj40EENS0_8NullTypeEEEEEEC2Ev/10
(1.00 per call) 
  Calls: 
testcase.C:48:1: internal compiler error: verify_cgraph_node failed
0x934d8f verify_cgraph_node(cgraph_node*)
        /mnt/svn/gcc-trunk/gcc/cgraph.c:2997
0x93001e verify_symtab_node(symtab_node*)
        /mnt/svn/gcc-trunk/gcc/symtab.c:882
0x930057 verify_symtab()
        /mnt/svn/gcc-trunk/gcc/symtab.c:899
0xb29a21 symtab_remove_unreachable_nodes(bool, _IO_FILE*)
        /mnt/svn/gcc-trunk/gcc/ipa.c:308
0xbfc147 execute_todo
        /mnt/svn/gcc-trunk/gcc/passes.c:1896
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-209399-lto-fortran-checking-yes-rtl-df/libexec/gcc/x86_64-unknown-linux-gnu/4.10.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-209399-lto-fortran-checking-yes-rtl-df/
--without-cloog --without-ppl
Thread model: posix
gcc version 4.10.0 20140415 (experimental) (GCC)


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

* [Bug ipa/60865] ICE: verify_cgraph_node failed: comdat-local function called by <built-in> outside its comdat
  2014-04-16 19:05 [Bug middle-end/60865] New: ICE: verify_cgraph_node failed: comdat-local function called by <built-in> outside its comdat zsojka at seznam dot cz
@ 2014-04-17 11:04 ` rguenth at gcc dot gnu.org
  2021-09-16  0:57 ` [Bug ipa/60865] ICE: verify_cgraph_node failed: comdat-local function called by <built-in> outside its comdat with -fdeclone-ctor-dtor pinskia at gcc dot gnu.org
  2021-09-16 10:08 ` zsojka at seznam dot cz
  2 siblings, 0 replies; 4+ messages in thread
From: rguenth at gcc dot gnu.org @ 2014-04-17 11:04 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2014-04-17
                 CC|                            |hubicka at gcc dot gnu.org
          Component|middle-end                  |ipa
     Ever confirmed|0                           |1

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Confirmed.  4.8 doesn't have -fdeclone-ctor-ctor.


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

* [Bug ipa/60865] ICE: verify_cgraph_node failed: comdat-local function called by <built-in> outside its comdat with -fdeclone-ctor-dtor
  2014-04-16 19:05 [Bug middle-end/60865] New: ICE: verify_cgraph_node failed: comdat-local function called by <built-in> outside its comdat zsojka at seznam dot cz
  2014-04-17 11:04 ` [Bug ipa/60865] " rguenth at gcc dot gnu.org
@ 2021-09-16  0:57 ` pinskia at gcc dot gnu.org
  2021-09-16 10:08 ` zsojka at seznam dot cz
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-09-16  0:57 UTC (permalink / raw)
  To: gcc-bugs

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-checking

--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
This looks like it was fixed on the trunk.  Also it was only ICE with checking
so it is going to be hard to figure out where it was fixed.

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

* [Bug ipa/60865] ICE: verify_cgraph_node failed: comdat-local function called by <built-in> outside its comdat with -fdeclone-ctor-dtor
  2014-04-16 19:05 [Bug middle-end/60865] New: ICE: verify_cgraph_node failed: comdat-local function called by <built-in> outside its comdat zsojka at seznam dot cz
  2014-04-17 11:04 ` [Bug ipa/60865] " rguenth at gcc dot gnu.org
  2021-09-16  0:57 ` [Bug ipa/60865] ICE: verify_cgraph_node failed: comdat-local function called by <built-in> outside its comdat with -fdeclone-ctor-dtor pinskia at gcc dot gnu.org
@ 2021-09-16 10:08 ` zsojka at seznam dot cz
  2 siblings, 0 replies; 4+ messages in thread
From: zsojka at seznam dot cz @ 2021-09-16 10:08 UTC (permalink / raw)
  To: gcc-bugs

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

Zdenek Sojka <zsojka at seznam dot cz> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to work|                            |5.5.0, 6.5.0, 7.5.0, 8.5.0

--- Comment #4 from Zdenek Sojka <zsojka at seznam dot cz> ---
I can't reproduce this any more on gcc-5.5.0 or newer, even with enabled
checking:

$ x86_64-pc-linux-gnu-gcc -v
Using built-in specs.
COLLECT_GCC=/repo/gcc-5-branch/binary-latest-amd64/bin/x86_64-pc-linux-gnu-gcc
COLLECT_LTO_WRAPPER=/repo/gcc-5-branch/binary-5-branch-20171010081101-g926d9947847-checking-yes-rtl-df-nographite-amd64/bin/../libexec/gcc/x86_64-pc-linux-gnu/5.5.0/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: /repo/gcc-5-branch//configure --enable-languages=c,c++
--disable-nls --enable-checking=yes,rtl,df --without-cloog --without-ppl
--without-isl --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu
--target=x86_64-pc-linux-gnu --with-ld=/usr/bin/x86_64-pc-linux-gnu-ld
--with-as=/usr/bin/x86_64-pc-linux-gnu-as --disable-libsanitizer
--disable-libstdcxx-pch
--prefix=/repo/gcc-5-branch//binary-5-branch-20171010081101-g926d9947847-checking-yes-rtl-df-nographite-amd64
Thread model: posix
gcc version 5.5.0 (GCC) 

$ x86_64-pc-linux-gnu-gcc -O3 -fdeclone-ctor-dtor
--param=ipa-cp-eval-threshold=1 testcase.C -c
(no output)

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

end of thread, other threads:[~2021-09-16 10:08 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-04-16 19:05 [Bug middle-end/60865] New: ICE: verify_cgraph_node failed: comdat-local function called by <built-in> outside its comdat zsojka at seznam dot cz
2014-04-17 11:04 ` [Bug ipa/60865] " rguenth at gcc dot gnu.org
2021-09-16  0:57 ` [Bug ipa/60865] ICE: verify_cgraph_node failed: comdat-local function called by <built-in> outside its comdat with -fdeclone-ctor-dtor pinskia at gcc dot gnu.org
2021-09-16 10:08 ` zsojka at seznam dot cz

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).