This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/30762] New: inlining destroys type information
- From: "aldot at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 11 Feb 2007 10:23:14 -0000
- Subject: [Bug c/30762] New: inlining destroys type information
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
$ 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