public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/15004] New: [3.4/3.5 Regression] [unit-at-a-time] no wanring for unused paramater in static function
@ 2004-04-18 15:59 pinskia at gcc dot gnu dot org
  2004-04-18 16:07 ` [Bug c/15004] " pinskia at gcc dot gnu dot org
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-04-18 15:59 UTC (permalink / raw)
  To: gcc-bugs

Since t is inlined and no longer even tried to be emitted anymore there is no unused 
paramater warning for t.
 
static int t(int i)
{
  return 0;
}
int tt()
{
  return t(0);
}

-- 
           Summary: [3.4/3.5 Regression] [unit-at-a-time] no wanring for
                    unused paramater in static function
           Product: gcc
           Version: 3.4.0
            Status: UNCONFIRMED
          Keywords: diagnostic
          Severity: minor
          Priority: P2
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: pinskia at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org,hubicka at gcc dot gnu
                    dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15004


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2004-05-05 23:27 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-04-18 15:59 [Bug c/15004] New: [3.4/3.5 Regression] [unit-at-a-time] no wanring for unused paramater in static function pinskia at gcc dot gnu dot org
2004-04-18 16:07 ` [Bug c/15004] " pinskia at gcc dot gnu dot org
2004-04-18 18:17 ` [Bug c/15004] [3.4/3.5 Regression] [unit-at-a-time] no warning " bangerth at dealii dot org
2004-04-18 21:37 ` hubicka at ucw dot cz
2004-04-18 21:50 ` pinskia at gcc dot gnu dot org
2004-04-18 23:05 ` pinskia at gcc dot gnu dot org
2004-04-18 23:17 ` bangerth at dealii dot org
2004-04-28 23:38 ` cvs-commit at gcc dot gnu dot org
2004-04-29  0:38 ` [Bug c/15004] [3.4 " pinskia at gcc dot gnu dot org
2004-05-05 23:24 ` cvs-commit at gcc dot gnu dot org
2004-05-05 23:27 ` hubicka at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).