public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c/6509: endless-loop in C-parser while parsing struct with forgotten ','
@ 2002-07-12 20:16 Andrew Pinski
  0 siblings, 0 replies; 6+ messages in thread
From: Andrew Pinski @ 2002-07-12 20:16 UTC (permalink / raw)
  To: nobody; +Cc: gcc-prs

The following reply was made to PR c/6509; it has been noted by GNATS.

From: Andrew Pinski <pinskia@physics.uc.edu>
To: gcc-gnats@gcc.gnu.org, gcc-prs@gcc.gnu.org, gcc-bugs@gcc.gnu.org,
   nobody@gcc.gnu.org, immo.gccbug@faul.dyndns.org
Cc:  
Subject: Re: c/6509: endless-loop in C-parser while parsing struct with forgotten ','
Date: Fri, 12 Jul 2002 23:06:55 -0400

 Since the bug report says that the bug report has been fixed for 
 gcc 3.1+, can someone close the bug.
 
 http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-
 trail&database=gcc&pr=6509
 


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

* Re: c/6509: endless-loop in C-parser while parsing struct with forgotten ','
@ 2002-07-13  2:18 neil
  0 siblings, 0 replies; 6+ messages in thread
From: neil @ 2002-07-13  2:18 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, immo.gccbug, nobody

Synopsis: endless-loop in C-parser while parsing struct with forgotten ','

State-Changed-From-To: analyzed->closed
State-Changed-By: neil
State-Changed-When: Sat Jul 13 02:18:28 2002
State-Changed-Why:
    Fixed in 3.1.

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


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

* Re: c/6509: endless-loop in C-parser while parsing struct with forgotten ','
@ 2002-04-30  3:01 jakub
  0 siblings, 0 replies; 6+ messages in thread
From: jakub @ 2002-04-30  3:01 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, immo.gccbug, nobody

Synopsis: endless-loop in C-parser while parsing struct with forgotten ','

State-Changed-From-To: feedback->analyzed
State-Changed-By: jakub
State-Changed-When: Tue Apr 30 03:01:41 2002
State-Changed-Why:
    This bug has been fixed in gcc 3.1+, with:
    2001-12-05  Jakub Jelinek  <jakub@redhat.com>
    
            * c-typeck.c (output_init_element): Call digest_init
            just once, not in each if branch and check its return value for
            error_mark_node.

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


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

* Re: c/6509: endless-loop in C-parser while parsing struct with forgotten ','
@ 2002-04-30  2:56 FaUl
  0 siblings, 0 replies; 6+ messages in thread
From: FaUl @ 2002-04-30  2:56 UTC (permalink / raw)
  To: nobody; +Cc: gcc-prs

The following reply was made to PR c/6509; it has been noted by GNATS.

From: FaUl <immo.gccbug@faul.dyndns.org>
To: jakub@gcc.gnu.org, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org,
	immo.gccbug@faul.dyndns.org, nobody@gcc.gnu.org,
	gcc-gnats@gcc.gnu.org
Cc:  
Subject: Re: c/6509: endless-loop in C-parser while parsing struct with forgotten ','
Date: Tue, 30 Apr 2002 11:46:14 +0200

 --p4qYPpj5QlsIQJ0K
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 
 Hallo jakub,
 du schrobst:
 
 > Synopsis: endless-loop in C-parser while parsing struct with forgotten ','
 > 
 > State-Changed-From-To: open->feedback
 > State-Changed-By: jakub
 > State-Changed-When: Tue Apr 30 02:17:20 2002
 > State-Changed-Why:
 >     You forgot to include the testcase.
 
 Sorry, it was the first time I try the gccbug-script... 
 I've attached it now...
 
 FaUl
 -- 
 Brain 1.0, sollte eigentlich bei jedem Humanoiden dabeisein - jedoch zeigt die
 Praxis, das oft bei der auslieferung geschlampt wird und viele mit einer 
 pre-release von Brain ausgeliefert werden. (oder ganz ohne)
 [Juergen P. Meier in dcsf]
 
 --p4qYPpj5QlsIQJ0K
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: attachment; filename="bug.c"
 
 typedef unsigned short int port_t;
 #define NVAL 0
 #define IVAL 1
 #define PVAL 2
 #define SVAL 3
 #define CVAL 4
 #define FVAL 5
 const struct {
   char *key;
   char arg;
   union {
     unsigned int* ival;
     port_t* pval;
     char** sval;
     unsigned char* cval;
     void (*fval) (void);
   } val;
   char what;
   const char *help; 
   int ch_bitmask;
   int cf_bitmask; 
 } config_keys[] = {
   {"user-database", 'u', {&config.passwd}, SVAL, 
    "file\tuse file as user-database", CHANGED_PASSWD, 0},
   {"logfile",'l' ,{&config.logfile},SVAL, 
    "file\tuse file as log-datei (or SYSLOG to use syslog)", CHANGED_LOGFILE,0},
   {"dbsocket-path", 's', {&config.dbserver}, SVAL, 
    "path to dbserver-executable", CHANGED_DBSERVER, 0},
   {"loglevel", 'L', {&config.loglevel}, CVAL, 
    "num\tloglevel (0-255)", CHANGED_LOGLEVEL, 0},
   {"interface", 'i', {&config.interface}, SVAL, 
    "interface\tinterface to bind", CHANGED_IF, 0},
   {"port",'p', {&config.port}, PVAL,
    "port\tportnumber where ipserv listenes on", CHANGED_PORT, 0},
   {"debug", 'd', {&config.debug}, CVAL, 
    "level\tdebug level (0-255)", CHANGED_DEBUG, 0},
   {"backround", 'D', {NULL}, NVAL, 
    "\twether to fork to backround (not if set)", CHANGED_FTB, CONFIG_FTB},
   {"timeout", 't'dasfasfd, {&config.timeout}, IVAL, 
    "time\ttime until server closes the connection", CHANGED_TIMEOUT, 0},
   {"version", 'v', {version}, FVAL,
   "\tprint version-info", 0, 0 }
   {"config", 'c', {&config.config}, SVAL, 
    "file\tuse file as configuration-file", 0, 0},
   {"help", 'h', {help}, FVAL,
    "\tprint this text", 0, 0},
   {NULL}
 }; /* keys for configuration-parser */
 
 --p4qYPpj5QlsIQJ0K--


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

* Re: c/6509: endless-loop in C-parser while parsing struct with forgotten ','
@ 2002-04-30  2:17 jakub
  0 siblings, 0 replies; 6+ messages in thread
From: jakub @ 2002-04-30  2:17 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, immo.gccbug, nobody

Synopsis: endless-loop in C-parser while parsing struct with forgotten ','

State-Changed-From-To: open->feedback
State-Changed-By: jakub
State-Changed-When: Tue Apr 30 02:17:20 2002
State-Changed-Why:
    You forgot to include the testcase.

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


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

* c/6509: endless-loop in C-parser while parsing struct with forgotten ','
@ 2002-04-29 11:36 immo.gccbug
  0 siblings, 0 replies; 6+ messages in thread
From: immo.gccbug @ 2002-04-29 11:36 UTC (permalink / raw)
  To: gcc-gnats


>Number:         6509
>Category:       c
>Synopsis:       endless-loop in C-parser while parsing struct with forgotten ','
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Apr 29 11:36:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Immo 'FaUl' Wehrenberg
>Release:        3.0.3
>Organization:
>Environment:
System: Linux mobilFaUl 2.4.17 #1 Wed Feb 20 18:53:31 CET 2002 i686 unknown
Architecture: i686

	
host: i686-pc-linux-gnu
build: i686-pc-linux-gnu
target: i686-pc-linux-gnu
glibc-2.2.5
configured with: ../gcc-3.0.3/configure --prefix=/usr 
>Description:
while parsing a struct with a forgotten ',' the parser will go in an endless-loop printing the same error-message...
	
>How-To-Repeat:
try my included source!
	
>Fix:
do not forget ',' ;)
>Release-Note:
>Audit-Trail:
>Unformatted:


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

end of thread, other threads:[~2002-07-13  9:18 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-07-12 20:16 c/6509: endless-loop in C-parser while parsing struct with forgotten ',' Andrew Pinski
  -- strict thread matches above, loose matches on Subject: below --
2002-07-13  2:18 neil
2002-04-30  3:01 jakub
2002-04-30  2:56 FaUl
2002-04-30  2:17 jakub
2002-04-29 11:36 immo.gccbug

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