This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/15004] [3.4/3.5 Regression] [unit-at-a-time] no warning for unused paramater in static function
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 18 Apr 2004 21:29:13 -0000
- Subject: [Bug c/15004] [3.4/3.5 Regression] [unit-at-a-time] no warning for unused paramater in static function
- References: <20040418155358.15004.pinskia@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-04-18 21:29 -------
Yes we want this, as if the function is too big to be inlined the function is warned about but if it is okay
to be inlined it will be inlined and not warned about which right now is causing a bootstrap failure on
some targets as the warning only applies to some targets only. Maybe this warning needs to be done
earlier for C and C++ in that needs to be moved into the front-end or moved so that goes through
some of these warnings no matter what.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15004