public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/53091] New: Const assignment fails in GCC 4.2, 4.4, 4.6, 4.7 - works fine in clang
@ 2012-04-23 18:24 bugs at m8y dot org
  2012-04-23 18:25 ` [Bug c/53091] " bugs at m8y dot org
                   ` (15 more replies)
  0 siblings, 16 replies; 17+ messages in thread
From: bugs at m8y dot org @ 2012-04-23 18:24 UTC (permalink / raw)
  To: gcc-bugs

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

             Bug #: 53091
           Summary: Const assignment fails in GCC 4.2, 4.4, 4.6, 4.7 -
                    works fine in clang
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
               URL: http://m8y.org/tmp/gcc_bug.c
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: bugs@m8y.org


Works in Clang 2.9 and Clang 3.0

Succeeds in g++ FWIW.

$ gcc gcc_bug.c
gcc_bug.c:5: error: initializer element is not constant


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

end of thread, other threads:[~2021-09-12 21:28 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-23 18:24 [Bug c/53091] New: Const assignment fails in GCC 4.2, 4.4, 4.6, 4.7 - works fine in clang bugs at m8y dot org
2012-04-23 18:25 ` [Bug c/53091] " bugs at m8y dot org
2012-04-23 18:39 ` redi at gcc dot gnu.org
2012-04-23 19:00 ` bugs at m8y dot org
2012-04-23 19:20 ` schwab@linux-m68k.org
2012-04-23 19:25 ` manu at gcc dot gnu.org
2012-04-23 19:35 ` bugs at m8y dot org
2012-04-23 19:43 ` pinskia at gcc dot gnu.org
2012-04-23 19:57 ` bugs at m8y dot org
2012-04-23 20:37 ` schwab@linux-m68k.org
2012-04-23 20:50 ` redi at gcc dot gnu.org
2012-04-23 21:01 ` bugs at m8y dot org
2012-04-24 14:25 ` joseph at codesourcery dot com
2012-04-24 14:38 ` [Bug c/53091] static initializer accepted by clang but not by gcc manu at gcc dot gnu.org
2012-04-24 15:01 ` bugs at m8y dot org
2012-05-30 16:23 ` schwab@linux-m68k.org
2021-09-12 21:28 ` pinskia 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).