public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c/6245: GCC-3.0.4 infinite loop on invalid code
@ 2002-04-14 13:50 jakub
  0 siblings, 0 replies; 3+ messages in thread
From: jakub @ 2002-04-14 13:50 UTC (permalink / raw)
  To: etienne.lorrain, gcc-bugs, gcc-prs, nobody

Synopsis: GCC-3.0.4 infinite loop on invalid code

State-Changed-From-To: open->analyzed
State-Changed-By: jakub
State-Changed-When: Sun Apr 14 13:50:27 2002
State-Changed-Why:
    This has been fixed in gcc 3.1.
    http://gcc.gnu.org/ml/gcc-patches/2001-10/msg01300.html
    commited 2001-12-05 to CVS trunk.

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


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

* Re: c/6245: GCC-3.0.4 infinite loop on invalid code
@ 2003-02-17 15:32 bangerth
  0 siblings, 0 replies; 3+ messages in thread
From: bangerth @ 2003-02-17 15:32 UTC (permalink / raw)
  To: etienne.lorrain, gcc-bugs, gcc-prs, nobody

Synopsis: GCC-3.0.4 infinite loop on invalid code

State-Changed-From-To: analyzed->closed
State-Changed-By: bangerth
State-Changed-When: Mon Feb 17 15:32:24 2003
State-Changed-Why:
    Confirmed fixed.

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


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

* c/6245: GCC-3.0.4 infinite loop on invalid code
@ 2002-04-10  3:06 etienne.lorrain
  0 siblings, 0 replies; 3+ messages in thread
From: etienne.lorrain @ 2002-04-10  3:06 UTC (permalink / raw)
  To: gcc-gnats


>Number:         6245
>Category:       c
>Synopsis:       GCC-3.0.4 infinite loop on invalid code
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Apr 10 03:06:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Etienne Lorrain
>Release:        GCC-3.0.4
>Organization:
>Environment:
Linux
>Description:
Continually display, until ^C:
bug.c:19: initializer element is not constant
bug.c:19: (near initialization for `STATE')
>How-To-Repeat:
[etienne@nextstar gujin]$ /home/etienne/projet/toolchain/bin/gcc -v
Reading specs from /home/etienne/projet/toolchain/lib/gcc-lib/i686-pc-linux-gnu/3.0.4/specs
Configured with: ../configure --prefix=/home/etienne/projet/toolchain --enable-languages=C
Thread model: single
gcc version 3.0.4
[etienne@nextstar gujin]$ cat bug.c
extern unsigned _srodata[], _edata[];

extern const struct state_str {
    unsigned dummy_but_needed_for_bug;
    struct short_bound_str {
        signed short low_limit;
        signed short high_limit;
        } __attribute__ ((packed)) stack_limit;
    struct long_bound_str {
        signed  low_limit;
        signed  high_limit;
        } __attribute__ ((packed)) data_limit;
    const char *BoundMsg;
    } STATE;

const struct state_str STATE = {
    data_limit: { low_limit: (unsigned)_srodata , high_limit: 0xFFFF },
    stack_limit: { low_limit: (short)_edata, high_limit: 0xFFFC },
    };
[etienne@nextstar gujin]$ /home/etienne/projet/toolchain/bin/gcc bug.c
   .... (cannot catch beginning) ...
bug.c:19: (near initialization for `STATE')
bug.c:19: initializer element is not constant
bug.c:19: (near initialization for `STATE')
bug.c:19: initializer element is not constant
bug.c:19: (near initialization for `STATE')
bug.c:19: initializer element is not constant
bug.c:19: (near initialization for `STATE')
bug.c:19: initializer element is not constant
bug.c:19: (near initialization for `STATE')
bug.c:19: initializer element is not constant
 ....
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


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

end of thread, other threads:[~2003-02-17 15:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-04-14 13:50 c/6245: GCC-3.0.4 infinite loop on invalid code jakub
  -- strict thread matches above, loose matches on Subject: below --
2003-02-17 15:32 bangerth
2002-04-10  3:06 etienne.lorrain

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