public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/23144] New: [4.0/4.1 Regression] invalid parameter forward declarations not diagnosed
@ 2005-07-29 23:34 jsm28 at gcc dot gnu dot org
  2005-07-29 23:34 ` [Bug c/23144] " pinskia at gcc dot gnu dot org
  2005-09-27 16:21 ` mmitchel at gcc dot gnu dot org
  0 siblings, 2 replies; 4+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2005-07-29 23:34 UTC (permalink / raw)
  To: gcc-bugs

GCC 4.0 fails to diagnose cases of parameter forward declarations followed by no
normal parameter declarations, such as

int g1(int a;);
int g2(int a; __attribute__((unused)));
int g3(int;);
int g4(int, long;);

The same applies to 4.1 once I've fixed bug 23143.  3.4 diagnoses these cases.

-- 
           Summary: [4.0/4.1 Regression] invalid parameter forward
                    declarations not diagnosed
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: jsm28 at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org


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


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

* [Bug c/23144] [4.0/4.1 Regression] invalid parameter forward declarations not diagnosed
  2005-07-29 23:34 [Bug c/23144] New: [4.0/4.1 Regression] invalid parameter forward declarations not diagnosed jsm28 at gcc dot gnu dot org
@ 2005-07-29 23:34 ` pinskia at gcc dot gnu dot org
  2005-09-27 16:21 ` mmitchel at gcc dot gnu dot org
  1 sibling, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-07-29 23:34 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-07-29 23:34 -------
Confirmed, this has been failing since at least 20040909.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
           Keywords|                            |diagnostic
   Last reconfirmed|0000-00-00 00:00:00         |2005-07-29 23:34:03
               date|                            |
   Target Milestone|---                         |4.0.2


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


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

* [Bug c/23144] [4.0/4.1 Regression] invalid parameter forward declarations not diagnosed
  2005-07-29 23:34 [Bug c/23144] New: [4.0/4.1 Regression] invalid parameter forward declarations not diagnosed jsm28 at gcc dot gnu dot org
  2005-07-29 23:34 ` [Bug c/23144] " pinskia at gcc dot gnu dot org
@ 2005-09-27 16:21 ` mmitchel at gcc dot gnu dot org
  1 sibling, 0 replies; 4+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2005-09-27 16:21 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.0.2                       |4.0.3


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


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

* [Bug c/23144] [4.0/4.1 Regression] invalid parameter forward declarations not diagnosed
       [not found] <bug-23144-230@http.gcc.gnu.org/bugzilla/>
@ 2005-10-31  4:28 ` mmitchel at gcc dot gnu dot org
  0 siblings, 0 replies; 4+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2005-10-31  4:28 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from mmitchel at gcc dot gnu dot org  2005-10-31 04:28 -------
This will never be release-critical.


-- 

mmitchel at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P2                          |P5


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


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

end of thread, other threads:[~2005-10-31  4:28 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-07-29 23:34 [Bug c/23144] New: [4.0/4.1 Regression] invalid parameter forward declarations not diagnosed jsm28 at gcc dot gnu dot org
2005-07-29 23:34 ` [Bug c/23144] " pinskia at gcc dot gnu dot org
2005-09-27 16:21 ` mmitchel at gcc dot gnu dot org
     [not found] <bug-23144-230@http.gcc.gnu.org/bugzilla/>
2005-10-31  4:28 ` mmitchel 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).