This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/46076] [4.6 regression] constant propagation and compile-time math no longer happening versus 4.4 and 4.5
- From: "rguenth at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 4 Nov 2010 13:05:32 +0000
- Subject: [Bug c/46076] [4.6 regression] constant propagation and compile-time math no longer happening versus 4.4 and 4.5
- Auto-submitted: auto-generated
- References: <bug-46076-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46076
Richard Guenther <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jsm28 at gcc dot gnu.org
Component|middle-end |c
--- Comment #9 from Richard Guenther <rguenth at gcc dot gnu.org> 2010-11-04 13:04:58 UTC ---
Joseph, does C really distinguish between
int foo()
{
}
and
int foo(void)
{
}
? That is, are they not the same when in a function definition context
(as opposed to declaration context)?
It would be nice if the C frontend would handle them the same (thus,
make it not varargs).