[Bug c++/39188] G++ doesn't handle static anonymous union right

2009-02-19 Thread hjl dot tools at gmail dot com
--- Comment #5 from hjl dot tools at gmail dot com 2009-02-19 18:25 --- Fixed. -- hjl dot tools at gmail dot com changed: What|Removed |Added Status|UNCONFIRM

[Bug c++/39188] G++ doesn't handle static anonymous union right

2009-02-19 Thread hjl at gcc dot gnu dot org
--- Comment #4 from hjl at gcc dot gnu dot org 2009-02-19 15:22 --- Subject: Bug 39188 Author: hjl Date: Thu Feb 19 15:22:28 2009 New Revision: 144297 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=144297 Log: gcc/ 2009-02-19 H.J. Lu PR c++/39188 * varasm.c

[Bug c++/39188] G++ doesn't handle static anonymous union right

2009-02-18 Thread hjl dot tools at gmail dot com
--- Comment #3 from hjl dot tools at gmail dot com 2009-02-18 23:45 --- (In reply to comment #2) > A patch is posted at > > http://gcc.gnu.org/ml/gcc-patches/2009-02/msg00714.html > Jason, Richard, can you review this wrong-code fix? Thanks. -- hjl dot tools at gmail dot com chang

[Bug c++/39188] G++ doesn't handle static anonymous union right

2009-02-15 Thread hjl dot tools at gmail dot com
--- Comment #2 from hjl dot tools at gmail dot com 2009-02-15 19:47 --- A patch is posted at http://gcc.gnu.org/ml/gcc-patches/2009-02/msg00714.html -- hjl dot tools at gmail dot com changed: What|Removed |Added ---

[Bug c++/39188] G++ doesn't handle static anonymous union right

2009-02-13 Thread hjl dot tools at gmail dot com
--- Comment #1 from hjl dot tools at gmail dot com 2009-02-14 00:38 --- [...@gnu-6 936]$ cat x.cc #include "foo.h" int * x (void) { return f (); } [...@gnu-6 936]$ cat y.cc #include #include "foo.h" extern int *x (void); int main () { printf ("%p, %p\n", x (), f ()); return 0;