public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/52682] New: [patch] gcc-4.7.0/gcc/c-family/c-lex.c doesn't compile with old C compilers
@ 2012-03-23  7:06 williambader at hotmail dot com
  2012-03-23  8:21 ` [Bug c/52682] " rguenth at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: williambader at hotmail dot com @ 2012-03-23  7:06 UTC (permalink / raw)
  To: gcc-bugs

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

             Bug #: 52682
           Summary: [patch] gcc-4.7.0/gcc/c-family/c-lex.c doesn't compile
                    with old C compilers
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: williambader@hotmail.com


Created attachment 26964
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26964
patch to fix the problem

c-lex.c has declarations after an assignment and doesn't compile with gcc-2.96
distributed with Red Hat Linux 7.1.
William
williambader@hotmail.com


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

* [Bug c/52682] [patch] gcc-4.7.0/gcc/c-family/c-lex.c doesn't compile with old C compilers
  2012-03-23  7:06 [Bug c/52682] New: [patch] gcc-4.7.0/gcc/c-family/c-lex.c doesn't compile with old C compilers williambader at hotmail dot com
@ 2012-03-23  8:21 ` rguenth at gcc dot gnu.org
  2012-03-23  8:32 ` rguenth at gcc dot gnu.org
  2012-05-05 20:19 ` ebotcazou at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: rguenth at gcc dot gnu.org @ 2012-03-23  8:21 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-03-23 08:19:19 UTC ---
Author: rguenth
Date: Fri Mar 23 08:19:08 2012
New Revision: 185726

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=185726
Log:
2012-03-23  William Bader  <williambader@hotmail.com>

    PR c/52682
    * c-lex.c (c_lex_with_flags): Avoid declarations after stmts.

Modified:
    branches/gcc-4_7-branch/gcc/c-family/ChangeLog
    branches/gcc-4_7-branch/gcc/c-family/c-lex.c


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

* [Bug c/52682] [patch] gcc-4.7.0/gcc/c-family/c-lex.c doesn't compile with old C compilers
  2012-03-23  7:06 [Bug c/52682] New: [patch] gcc-4.7.0/gcc/c-family/c-lex.c doesn't compile with old C compilers williambader at hotmail dot com
  2012-03-23  8:21 ` [Bug c/52682] " rguenth at gcc dot gnu.org
@ 2012-03-23  8:32 ` rguenth at gcc dot gnu.org
  2012-05-05 20:19 ` ebotcazou at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: rguenth at gcc dot gnu.org @ 2012-03-23  8:32 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Guenther <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED

--- Comment #2 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-03-23 08:19:32 UTC ---
Fixed.


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

* [Bug c/52682] [patch] gcc-4.7.0/gcc/c-family/c-lex.c doesn't compile with old C compilers
  2012-03-23  7:06 [Bug c/52682] New: [patch] gcc-4.7.0/gcc/c-family/c-lex.c doesn't compile with old C compilers williambader at hotmail dot com
  2012-03-23  8:21 ` [Bug c/52682] " rguenth at gcc dot gnu.org
  2012-03-23  8:32 ` rguenth at gcc dot gnu.org
@ 2012-05-05 20:19 ` ebotcazou at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2012-05-05 20:19 UTC (permalink / raw)
  To: gcc-bugs

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

Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |skunk at iskunk dot org

--- Comment #3 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2012-05-05 20:18:08 UTC ---
*** Bug 53237 has been marked as a duplicate of this bug. ***


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

end of thread, other threads:[~2012-05-05 20:19 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-23  7:06 [Bug c/52682] New: [patch] gcc-4.7.0/gcc/c-family/c-lex.c doesn't compile with old C compilers williambader at hotmail dot com
2012-03-23  8:21 ` [Bug c/52682] " rguenth at gcc dot gnu.org
2012-03-23  8:32 ` rguenth at gcc dot gnu.org
2012-05-05 20:19 ` ebotcazou at gcc dot gnu.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).