[Bug c/43374] New: ICE with __builtin_isinf() and _Decimal argument

kononov at ftml dot net gcc-bugzilla@gcc.gnu.org
Mon Mar 15 03:29:00 GMT 2010


$ cat test.c
int func(_Decimal32 v) {
  return __builtin_isinf(v);
}

$ gcc -c test.c
test.c: In function 'func':
test.c:2:25: internal compiler error: in prepare_float_lib_cmp, at
optabs.c:4391
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

$ gcc -c -O test.c
test.c: In function 'func':
test.c:1:5: internal compiler error: in decimal_to_decnumber, at dfp.c:115
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.


-- 
           Summary: ICE with __builtin_isinf() and _Decimal argument
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: kononov at ftml dot net
 GCC build triplet: x86_64-unknown-linux-gnu
  GCC host triplet: x86_64-unknown-linux-gnu
GCC target triplet: x86_64-unknown-linux-gnu


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



More information about the Gcc-bugs mailing list