[Bug c/30762] New: inlining destroys type information
aldot at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sun Feb 11 10:23:00 GMT 2007
$ gcc-4.2.orig-HEAD -Os -c double-int.i tree-ssa-loop-niter.i -o libbackend.o
-combine
tree-ssa-loop-niter.i: In function 'derive_constant_upper_bound':
tree-ssa-loop-niter.i:28: error: incompatible type for argument 1 of
'double_int_negative_p'
where gcc-4.2.orig-HEAD is a pristine checkout from:
gcc version 4.2.0 20070204 (prerelease)
Turning off inlining via -fno-inline makes it work again.
--
Summary: inlining destroys type information
Product: gcc
Version: 4.2.0
Status: UNCONFIRMED
Keywords: rejects-valid, diagnostic, build
Severity: major
Priority: P3
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: aldot at gcc dot gnu dot org
GCC build triplet: i686-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30762
More information about the Gcc-bugs
mailing list