This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/85075] New: powerpc: ICE in iszero testcase


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

            Bug ID: 85075
           Summary: powerpc: ICE in iszero testcase
           Product: gcc
           Version: 8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: raji at linux dot vnet.ibm.com
  Target Milestone: ---

> cat test-math-iszero.cc
#include <math.h>
int
main (void)
{
  long double q1 = 0;
  _Float128 q = 0;

  iszero (q1);
  iszero (q);
  return 0;
}

>  g++-8 test-math-iszero.cc   -mfloat128 -mabi=ieeelongdouble -Wno-psabi 
test-math-iszero.cc:11:1: error: Two symbols with same comdat_group are not
linked by the same_comdat_group list.
 }
 ^
_Z6iszeroIU10__float128EbT_/175 (bool iszero(__T) [with __T = __ieee128])
@0x7fffa4cc5a90
  Type: function definition analyzed
  Visibility: no_reorder public weak comdat
comdat_group:_Z6iszeroIU10__float128EbT_ one_only
  previous sharing asm name: 174
  References: 
  Referring: 
  First run: 0
  Function flags: body
  Called by: int main()/173 
  Calls: 
_Z6iszeroIU10__float128EbT_/174 (bool iszero(__T) [with __T = long double])
@0x7fffa4cc5920
  Type: function definition analyzed
  Visibility: no_reorder public weak comdat
comdat_group:_Z6iszeroIU10__float128EbT_ one_only
  next sharing asm name: 175
  References: 
  Referring: 
  First run: 0
  Function flags: body
  Called by: int main()/173 
  Calls: 
test-math-iszero.cc:11:1: internal compiler error: symtab_node::verify failed
0x7fffa8eb429b ???
        ../csu/libc-start.c:308
0x7fffa8eb4497 ???
        ../sysdeps/unix/sysv/linux/powerpc/libc-start.c:102
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://bugs.opensuse.org/> for instructions.

> g++-8 --version
g++-8 (SUSE Linux) 8.0.1 20180226 (experimental) [trunk revision 257983]
Copyright (C) 2018 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

> ld --version
GNU ld (GNU Binutils; openSUSE Tumbleweed) 2.30.0.20180226-1
Copyright (C) 2018 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or (at your option) a later version.
This program has absolutely no warranty.

> ldd --version
ldd (GNU libc) 2.27
Copyright (C) 2018 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Roland McGrath and Ulrich Drepper.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]