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

* [Bug c/53091] Const assignment fails in GCC 4.2, 4.4, 4.6, 4.7 - works fine in clang
  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 ` bugs at m8y dot org
  2012-04-23 18:39 ` redi at gcc dot gnu.org
                   ` (14 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: bugs at m8y dot org @ 2012-04-23 18:25 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from bugs at m8y dot org 2012-04-23 18:25:42 UTC ---
Created attachment 27224
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=27224
Demo of problem


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

* [Bug c/53091] Const assignment fails in GCC 4.2, 4.4, 4.6, 4.7 - works fine in clang
  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
                   ` (13 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: redi at gcc dot gnu.org @ 2012-04-23 18:39 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> 2012-04-23 18:38:29 UTC ---
The bug reporting guidelines ask for source code, not a URL.

Here's the code from the URL

#include <stdio.h>

const int SDL_HAT_UP = 0x01;
const int SDL_HAT_RIGHT = 0x02;
const int SDL_HAT_RIGHTUP = (SDL_HAT_RIGHT | SDL_HAT_UP);

int main(int argc, char **argv)
{
  printf("%x\n",SDL_HAT_RIGHTUP);
  return 0;
}

I think GCC is correct, the code is valid C++ but not valid C.

In C the initializer for a global variable must be a constant expression ("All
the expressions in an initializer for an object that has static storage
duration shall be constant expressions or string literals.") and (SDL_HAT_RIGHT
| SDL_HAT_UP) is not a constant expression.

http://c-faq.com/ansi/constasconst.html

I believe Clang is allowed to accept the code because the C standard also says
implementations may accept other forms of constant expression.


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

* [Bug c/53091] Const assignment fails in GCC 4.2, 4.4, 4.6, 4.7 - works fine in clang
  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
                   ` (12 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: bugs at m8y dot org @ 2012-04-23 19:00 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from bugs at m8y dot org 2012-04-23 18:59:59 UTC ---
Hey. I attached it as well. I didn't just provide a URL.

Anyway, I take it this is a "Won't Fix" ?

I guess it isn't the end of the world since we are targetting clang for llvm
output anyway.
Although gcc would be nice-to-have.
I don't think he's big on making specialcase #defines in this converter.


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

* [Bug c/53091] Const assignment fails in GCC 4.2, 4.4, 4.6, 4.7 - works fine in clang
  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
                   ` (2 preceding siblings ...)
  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
                   ` (11 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: schwab@linux-m68k.org @ 2012-04-23 19:20 UTC (permalink / raw)
  To: gcc-bugs

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

Andreas Schwab <schwab@linux-m68k.org> changed:

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

--- Comment #4 from Andreas Schwab <schwab@linux-m68k.org> 2012-04-23 19:20:25 UTC ---
Just use an enum.


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

* [Bug c/53091] Const assignment fails in GCC 4.2, 4.4, 4.6, 4.7 - works fine in clang
  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
                   ` (3 preceding siblings ...)
  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
                   ` (10 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: manu at gcc dot gnu.org @ 2012-04-23 19:25 UTC (permalink / raw)
  To: gcc-bugs

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

Manuel López-Ibáñez <manu at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |UNCONFIRMED
                URL|http://m8y.org/tmp/gcc_bug. |
                   |c                           |
                 CC|                            |jsm28 at gcc dot gnu.org,
                   |                            |manu at gcc dot gnu.org
         Resolution|INVALID                     |

--- Comment #5 from Manuel López-Ibáñez <manu at gcc dot gnu.org> 2012-04-23 19:25:26 UTC ---
(In reply to comment #3)
> Anyway, I take it this is a "Won't Fix" ?

Not sure why. If Clang is allowed by the C standard, then surely GCC is allowed
as well. If the C++ FE has code to enable this, probably it can be reused in
the C FE. GCC could accept it with a -Wpedantic warning.

In any case, like everything, it boils down to having someone make it happen,
that is, providing a patch. I don't think any existing GCC developer will
tackle this in the near future, otherwise it would have been done already.

But let's wait for Joseph opinion to confirm this.


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

* [Bug c/53091] Const assignment fails in GCC 4.2, 4.4, 4.6, 4.7 - works fine in clang
  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
                   ` (4 preceding siblings ...)
  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
                   ` (9 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: bugs at m8y dot org @ 2012-04-23 19:35 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #6 from bugs at m8y dot org 2012-04-23 19:35:18 UTC ---
Oh, cool.
Probably going to replace w/ an enum, which does seem to work.
But it does make 0 sense to me that const int is forbidden, but enum is
allowed...

http://publications.gbdirect.co.uk/c_book/chapter6/enums.html

Can rewrite both const int and enum, so I don't really see why enum is
permitted but const int isn't, they both offer
about the same amount of safety.

I mean, might as well just force #define only. (please don't!)


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

* [Bug c/53091] Const assignment fails in GCC 4.2, 4.4, 4.6, 4.7 - works fine in clang
  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
                   ` (5 preceding siblings ...)
  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
                   ` (8 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: pinskia at gcc dot gnu.org @ 2012-04-23 19:43 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #7 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-04-23 19:39:52 UTC ---
>But it does make 0 sense to me that const int is forbidden, but enum is
allowed...


Why variables are not part of C's constant integer expressions.  enum values
are not variables.


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

* [Bug c/53091] Const assignment fails in GCC 4.2, 4.4, 4.6, 4.7 - works fine in clang
  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
                   ` (6 preceding siblings ...)
  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
                   ` (7 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: bugs at m8y dot org @ 2012-04-23 19:57 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #8 from bugs at m8y dot org 2012-04-23 19:57:37 UTC ---
In response to comment #7, I was referring to this portion of the linked
document.
------
Not that you are likely to care, but the Standard states that enumeration types
are of a type that is compatible with an implementation-defined one of the
integral types. So what? For interest's sake here is an illustration:

enum ee{a,b,c}e_var, *ep;

The names a, b, and c all behave as if they were int constants when you use
them;
------
So. you can rewrite enum values just as easily as you can a const int by taking
a pointer to it.  And that site claims it behaves like a const int.
So, yeah, gotta say clang's behaviour seems more rational here.

Oh well. unc0rr might switch to enum in the interest of getting it working. 
The conversion code is not quite as tidy, but no matter.

I'll let you guys hash it out.  At leas clang works for now.


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

* [Bug c/53091] Const assignment fails in GCC 4.2, 4.4, 4.6, 4.7 - works fine in clang
  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
                   ` (7 preceding siblings ...)
  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
                   ` (6 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: schwab@linux-m68k.org @ 2012-04-23 20:37 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #9 from Andreas Schwab <schwab@linux-m68k.org> 2012-04-23 20:36:10 UTC ---
enum constants are not objects, they don't have an address.


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

* [Bug c/53091] Const assignment fails in GCC 4.2, 4.4, 4.6, 4.7 - works fine in clang
  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
                   ` (8 preceding siblings ...)
  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
                   ` (5 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: redi at gcc dot gnu.org @ 2012-04-23 20:50 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #10 from Jonathan Wakely <redi at gcc dot gnu.org> 2012-04-23 20:50:21 UTC ---
(In reply to comment #3)
> Hey. I attached it as well. I didn't just provide a URL.

Yeah, sorry, I wrote my comment before you attached it.

(In reply to comment #6)
> Can rewrite both const int and enum, so I don't really see why enum is
> permitted but const int isn't, they both offer
> about the same amount of safety.

http://c-faq.com/ansi/constasconst.html

Take it up with the C committee, not GCC.


(In reply to comment #8)
> Not that you are likely to care, but the Standard states that enumeration types
> are of a type that is compatible with an implementation-defined one of the
> integral types.

Enumeration TYPES are compatible with integral TYPES.  But enumerators are
constant, const-qualified variables are not constants.

> So. you can rewrite enum values just as easily as you can a const int by taking
> a pointer to it.  And that site claims it behaves like a const int.

The site's wrong.


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

* [Bug c/53091] Const assignment fails in GCC 4.2, 4.4, 4.6, 4.7 - works fine in clang
  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
                   ` (9 preceding siblings ...)
  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
                   ` (4 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: bugs at m8y dot org @ 2012-04-23 21:01 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #11 from bugs at m8y dot org 2012-04-23 21:01:03 UTC ---
Yeah, I get the difference now.
Ok. Fair.
So, I guess clang is just taking the values of the const ints at the time the
assignment occurs (0x01 and 0x02)
and assigning 0x03.  If RIGHT or UP were changed, RIGHTUP would not change.

Ok, what gcc is doing *does* make sense I 'spose :)


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

* [Bug c/53091] Const assignment fails in GCC 4.2, 4.4, 4.6, 4.7 - works fine in clang
  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
                   ` (10 preceding siblings ...)
  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
                   ` (3 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: joseph at codesourcery dot com @ 2012-04-24 14:25 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #12 from joseph at codesourcery dot com <joseph at codesourcery dot com> 2012-04-24 14:25:06 UTC ---
There is no requirement to accept this static initializer, but the code 
does try to be lax about constants in initializers (there is no 
requirement to reject it either) and fold them with c_fully_fold (see 
c-typeck.c:digest_init).  So it may make sense to look at why this laxity 
isn't causing this code to be accepted.


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

* [Bug c/53091] static initializer accepted by clang but not by gcc
  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
                   ` (11 preceding siblings ...)
  2012-04-24 14:25 ` joseph at codesourcery dot com
@ 2012-04-24 14:38 ` manu at gcc dot gnu.org
  2012-04-24 15:01 ` bugs at m8y dot org
                   ` (2 subsequent siblings)
  15 siblings, 0 replies; 17+ messages in thread
From: manu at gcc dot gnu.org @ 2012-04-24 14:38 UTC (permalink / raw)
  To: gcc-bugs

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

Manuel López-Ibáñez <manu at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2012-04-24
            Summary|Const assignment fails in   |static initializer accepted
                   |GCC 4.2, 4.4, 4.6, 4.7 -    |by clang but not by gcc
                   |works fine in clang         |
     Ever Confirmed|0                           |1
           Severity|normal                      |enhancement

--- Comment #13 from Manuel López-Ibáñez <manu at gcc dot gnu.org> 2012-04-24 14:37:42 UTC ---
(In reply to comment #12)
> There is no requirement to accept this static initializer, but the code 
> does try to be lax about constants in initializers (there is no 
> requirement to reject it either) and fold them with c_fully_fold (see 
> c-typeck.c:digest_init).  So it may make sense to look at why this laxity 
> isn't causing this code to be accepted.

So confirmed.

bugs@m8y.org, I would recommend that if you are interested in this, take a more
active role. First, by finding out where and why the C FE does not accept this
code. Then posting the results of your investigation here.


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

* [Bug c/53091] static initializer accepted by clang but not by gcc
  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
                   ` (12 preceding siblings ...)
  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
  15 siblings, 0 replies; 17+ messages in thread
From: bugs at m8y dot org @ 2012-04-24 15:01 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #14 from bugs at m8y dot org 2012-04-24 15:00:42 UTC ---
Heh. Thanks, but our current target is clang->llvm, I was just surprised that
gcc did not accept it.
The codebase being converted by unc0rr's haskell-based tokeniser is pascal
actually.
const
    SDL_HAT_UP        = $01;
    SDL_HAT_RIGHT     = $02;
    SDL_HAT_RIGHTUP   = SDL_HAT_RIGHT or SDL_HAT_UP;

Sooo, if you guys make it work in GCC, great, could be useful in the future,
maybe for faster game builds on the desktop.
But not really a big priority.  Besides, unc0rr can probably change that to:
enum _consts 
{
SDL_HAT_UP = 0x01,
SDL_HAT_RIGHT = 0x02,
SDL_HAT_RIGHTUP = (SDL_HAT_RIGHT | SDL_HAT_UP)
};

To satisfy gcc's more delicate sensibilities.  :-p

Thanks for looking into it though, and I'll definitely watch the bug.


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

* [Bug c/53091] static initializer accepted by clang but not by gcc
  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
                   ` (13 preceding siblings ...)
  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
  15 siblings, 0 replies; 17+ messages in thread
From: schwab@linux-m68k.org @ 2012-05-30 16:23 UTC (permalink / raw)
  To: gcc-bugs

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

Andreas Schwab <schwab@linux-m68k.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |cpy.prefers.you at gmail
                   |                            |dot com

--- Comment #15 from Andreas Schwab <schwab@linux-m68k.org> 2012-05-30 16:03:51 UTC ---
*** Bug 53530 has been marked as a duplicate of this bug. ***


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

* [Bug c/53091] static initializer accepted by clang but not by gcc
  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
                   ` (14 preceding siblings ...)
  2012-05-30 16:23 ` schwab@linux-m68k.org
@ 2021-09-12 21:28 ` pinskia at gcc dot gnu.org
  15 siblings, 0 replies; 17+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-09-12 21:28 UTC (permalink / raw)
  To: gcc-bugs

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |8.0
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #16 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Fixed for GCC 8 by r8-5025

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