public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c/2682: gcc 2.95 does not compile struct
@ 2002-02-23 17:44 rodrigc
  0 siblings, 0 replies; 2+ messages in thread
From: rodrigc @ 2002-02-23 17:44 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, gelchinski, nobody

Synopsis: gcc 2.95 does not compile struct

State-Changed-From-To: analyzed->closed
State-Changed-By: rodrigc
State-Changed-When: Sat Feb 23 17:24:29 2002
State-Changed-Why:
    Invalid C code in testcase.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=2682


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

* c/2682: gcc 2.95 does not compile struct
@ 2001-04-29  8:36 gelchinski
  0 siblings, 0 replies; 2+ messages in thread
From: gelchinski @ 2001-04-29  8:36 UTC (permalink / raw)
  To: gcc-gnats

>Number:         2682
>Category:       c
>Synopsis:       gcc 2.95 does not compile struct
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          rejects-legal
>Submitter-Id:   net
>Arrival-Date:   Sun Apr 29 08:36:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Yafit Gelchinski
>Release:        gcc version 2.95.2 19991024 (release)
>Organization:
>Environment:
hppa2.0-hp-hpux10.20
>Description:
The following messages appear:

test.c:10: parse error before `pattern'
test.c:10: warning: no semicolon at end of struct or union

even though struct declaration and definition both end with semicolons.
>How-To-Repeat:
struct pattern;

struct pattern
{
   int      ipattern_num;
   int      *order_index;
   int      *array_order;
   int      A;
   int      N;
   pattern* next;
};
>Fix:
none
>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: application/octet-stream; name="test.i"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="test.i"

IyAxICJ0ZXN0LmMiCnN0cnVjdCBwYXR0ZXJuOwoKc3RydWN0IHBhdHRlcm4KewogICBpbnQgICAg
ICBpcGF0dGVybl9udW07CiAgIGludCAgICAgICpvcmRlcl9pbmRleDsKICAgaW50ICAgICAgKmFy
cmF5X29yZGVyOwogICBpbnQgICAgICBBOwogICBpbnQgICAgICBOOwogICBwYXR0ZXJuKiBuZXh0
Owp9Owo=


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

end of thread, other threads:[~2002-02-24  1:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-02-23 17:44 c/2682: gcc 2.95 does not compile struct rodrigc
  -- strict thread matches above, loose matches on Subject: below --
2001-04-29  8:36 gelchinski

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