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 c/46076] [4.6 regression] constant propagation and compile-time math no longer happening versus 4.4 and 4.5


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).


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