public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/42870]  New: [4.5 regression] __attribute__ ((dllexport)) produces broken linkage
@ 2010-01-26 10:29 jojelino at gmail dot com
  2010-01-26 10:41 ` [Bug c++/42870] " jojelino at gmail dot com
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: jojelino at gmail dot com @ 2010-01-26 10:29 UTC (permalink / raw)
  To: gcc-bugs

testcase
test.cpp
#ifdef FOOBAR
#define ATTRIBUTE __attribute__ ((dllexport))
#else
#define ATTRIBUTE __attribute__ ((visibility ("default")))
#endif
 class ATTRIBUTE Sa {
        public:
 Sa()
 {}
 ~Sa();
};
ATTRIBUTE Sa::~Sa()
{return;}

 bool DllMain(void *a,void*b,int)
 {
Sa s;
return true;
}

--
test2.cpp
class __attribute__((dllimport)) Sa {
 public:
 Sa()
 {}
__attribute__((dllimport)) ~Sa();
};

Sa a;
 bool DllMain(void *a,void*b,int)
 {
Sa s;
return true;
}


the following are directives that gcc emit when given attribute is
__attribute__ ((dllexport))
surely it must emit _ZN2SaD1Ev symbol or linker cannot find this symbol.

        .section .drectve
        .ascii " -export:_ZN2SaD2Ev"
        .ascii " -export:_ZN2SaC1Ev"
        .ascii " -export:_ZN2SaC2Ev"

for now i workaround this using __attribute__ ((visibility ("default")))


-- 
           Summary: [4.5 regression] __attribute__ ((dllexport)) produces
                    broken linkage
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: jojelino at gmail dot com
 GCC build triplet: i686-pc-cygwin
  GCC host triplet: i686-pc-cygwin
GCC target triplet: i686-pc-cygwin


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


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

* [Bug c++/42870] [4.5 regression] __attribute__ ((dllexport)) produces broken linkage
  2010-01-26 10:29 [Bug c++/42870] New: [4.5 regression] __attribute__ ((dllexport)) produces broken linkage jojelino at gmail dot com
@ 2010-01-26 10:41 ` jojelino at gmail dot com
  2010-01-26 12:05 ` rguenth at gcc dot gnu dot org
                   ` (9 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: jojelino at gmail dot com @ 2010-01-26 10:41 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from jojelino at gmail dot com  2010-01-26 10:41 -------
Created an attachment (id=19709)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19709&action=view)
given __attribute__ ((dllexport))


-- 


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


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

* [Bug c++/42870] [4.5 regression] __attribute__ ((dllexport)) produces broken linkage
  2010-01-26 10:29 [Bug c++/42870] New: [4.5 regression] __attribute__ ((dllexport)) produces broken linkage jojelino at gmail dot com
  2010-01-26 10:41 ` [Bug c++/42870] " jojelino at gmail dot com
@ 2010-01-26 12:05 ` rguenth at gcc dot gnu dot org
  2010-01-26 22:02 ` jojelino at gmail dot com
                   ` (8 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-01-26 12:05 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from rguenth at gcc dot gnu dot org  2010-01-26 12:04 -------
Please tell how you invoked gcc and what version works for you (and what
the correspoding output is).


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
   Target Milestone|---                         |4.5.0


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


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

* [Bug c++/42870] [4.5 regression] __attribute__ ((dllexport)) produces broken linkage
  2010-01-26 10:29 [Bug c++/42870] New: [4.5 regression] __attribute__ ((dllexport)) produces broken linkage jojelino at gmail dot com
  2010-01-26 10:41 ` [Bug c++/42870] " jojelino at gmail dot com
  2010-01-26 12:05 ` rguenth at gcc dot gnu dot org
@ 2010-01-26 22:02 ` jojelino at gmail dot com
  2010-01-28  2:48 ` d dot g dot gorbachev at gmail dot com
                   ` (7 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: jojelino at gmail dot com @ 2010-01-26 22:02 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from jojelino at gmail dot com  2010-01-26 22:02 -------
Created an attachment (id=19719)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19719&action=view)
given __attribute__ ((visibility ("default")))

and test result
(given __attribute__ ((dllexport)) )
$ gcc test.cpp -shared -o test.dll -Wl,--out-implib,test.dll.a -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/i686-pc-cygwin/4.5.0/lto-wrapper.exe
Target: i686-pc-cygwin
Configured with: ./configure --prefix=/usr --disable-win32-registry
--enable-thr
eads=posix --enable-languages=c,c++ --with-win32-nlsapi=unicode --enable-tls
--d
isable-bootstrap --enable-shared --disable-sjlj-exceptions
Thread model: posix
gcc version 4.5.0 20100126 (experimental) (GCC)
COLLECT_GCC_OPTIONS='-shared' '-o' 'test.dll' '-v' '-mtune=generic'
 /usr/libexec/gcc/i686-pc-cygwin/4.5.0/cc1plus.exe -quiet -v -D__CYGWIN32__
-D__
CYGWIN__ -Dunix -D__unix__ -D__unix -idirafter
/usr/lib/gcc/i686-pc-cygwin/4.5.0
/../../../../include/w32api -idirafter
/usr/lib/gcc/i686-pc-cygwin/4.5.0/../../.
./../i686-pc-cygwin/lib/../../include/w32api test.cpp -quiet -dumpbase test.cpp
-mtune=generic -auxbase test -version -o /cygdrive/d/Temp/cache/ccyU7ymf.s
GNU C++ (GCC) version 4.5.0 20100126 (experimental) (i686-pc-cygwin)
        compiled by GNU C version 4.5.0 20100120 (experimental), GMP version
4.3
.1, MPFR version 2.4.1-p5, MPC version 0.8
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
ignoring duplicate directory
"/usr/lib/gcc/i686-pc-cygwin/4.5.0/../../../../i686
-pc-cygwin/lib/../../include/w32api"
#include "..." search starts here:
#include <...> search starts here:
 /usr/lib/gcc/i686-pc-cygwin/4.5.0/../../../../include/c++/4.5.0
 /usr/lib/gcc/i686-pc-cygwin/4.5.0/../../../../include/c++/4.5.0/i686-pc-cygwin
 /usr/lib/gcc/i686-pc-cygwin/4.5.0/../../../../include/c++/4.5.0/backward
 /usr/local/include
 /usr/lib/gcc/i686-pc-cygwin/4.5.0/include
 /usr/lib/gcc/i686-pc-cygwin/4.5.0/include-fixed
 /usr/lib/gcc/i686-pc-cygwin/4.5.0/../../../../i686-pc-cygwin/include
 /usr/include
 /usr/lib/gcc/i686-pc-cygwin/4.5.0/../../../../include/w32api
End of search list.
GNU C++ (GCC) version 4.5.0 20100126 (experimental) (i686-pc-cygwin)
        compiled by GNU C version 4.5.0 20100120 (experimental), GMP version
4.3
.1, MPFR version 2.4.1-p5, MPC version 0.8
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
Compiler executable checksum: fb963511c7be306a48675197d8d9d6d7
COLLECT_GCC_OPTIONS='-shared' '-o' 'test.dll' '-v' '-mtune=generic'
 /usr/lib/gcc/i686-pc-cygwin/4.5.0/../../../../i686-pc-cygwin/bin/as -o
/cygdriv
e/d/Temp/cache/ccbLebdC.o /cygdrive/d/Temp/cache/ccyU7ymf.s
COMPILER_PATH=/usr/libexec/gcc/i686-pc-cygwin/4.5.0/:/usr/libexec/gcc/i686-pc-cy
gwin/4.5.0/:/usr/libexec/gcc/i686-pc-cygwin/:/usr/lib/gcc/i686-pc-cygwin/4.5.0/:
/usr/lib/gcc/i686-pc-cygwin/:/usr/lib/gcc/i686-pc-cygwin/4.5.0/../../../../i686-
pc-cygwin/bin/
LIBRARY_PATH=/usr/lib/gcc/i686-pc-cygwin/4.5.0/:/usr/lib/gcc/i686-pc-cygwin/4.5.
0/../../../../i686-pc-cygwin/lib/:/usr/lib/gcc/i686-pc-cygwin/4.5.0/../../../:/l
ib/:/usr/lib/
COLLECT_GCC_OPTIONS='-shared' '-o' 'test.dll' '-v' '-mtune=generic'
 /usr/libexec/gcc/i686-pc-cygwin/4.5.0/collect2.exe --wrap _Znwj --wrap _Znaj
--
wrap _ZdlPv --wrap _ZdaPv --wrap _ZnwjRKSt9nothrow_t --wrap _ZnajRKSt9nothrow_t
--wrap _ZdlPvRKSt9nothrow_t --wrap _ZdaPvRKSt9nothrow_t --shared -Bdynamic
--ena
ble-auto-image-base -e __cygwin_dll_entry@12 --dll-search-prefix=cyg -tsaware
-o
 test.dll /usr/lib/gcc/i686-pc-cygwin/4.5.0/crtbegin.o
-L/usr/lib/gcc/i686-pc-cy
gwin/4.5.0 -L/usr/lib/gcc/i686-pc-cygwin/4.5.0/../../../../i686-pc-cygwin/lib
-L
/usr/lib/gcc/i686-pc-cygwin/4.5.0/../../.. /cygdrive/d/Temp/cache/ccbLebdC.o
--o
ut-implib test.dll.a -lgcc_s -lgcc -lcygwin -luser32 -lkernel32 -ladvapi32
-lshe
ll32 -lgcc_s -lgcc /usr/lib/gcc/i686-pc-cygwin/4.5.0/crtend.o
Creating library file: test.dll.a

and for test2.dll

$ gcc test2.cpp -shared -o test2.dll -Wl,--out-implib,test2.dll.a -v -L. -ltest
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/i686-pc-cygwin/4.5.0/lto-wrapper.exe
Target: i686-pc-cygwin
Configured with: ./configure --prefix=/usr --disable-win32-registry
--enable-thr
eads=posix --enable-languages=c,c++ --with-win32-nlsapi=unicode --enable-tls
--d
isable-bootstrap --enable-shared --disable-sjlj-exceptions
Thread model: posix
gcc version 4.5.0 20100126 (experimental) (GCC)
COLLECT_GCC_OPTIONS='-shared' '-o' 'test2.dll' '-v' '-L.' '-mtune=generic'
 /usr/libexec/gcc/i686-pc-cygwin/4.5.0/cc1plus.exe -quiet -v -D__CYGWIN32__
-D__
CYGWIN__ -Dunix -D__unix__ -D__unix -idirafter
/usr/lib/gcc/i686-pc-cygwin/4.5.0
/../../../../include/w32api -idirafter
/usr/lib/gcc/i686-pc-cygwin/4.5.0/../../.
./../i686-pc-cygwin/lib/../../include/w32api test2.cpp -quiet -dumpbase
test2.cp
p -mtune=generic -auxbase test2 -version -o /cygdrive/d/Temp/cache/ccjQ1IbV.s
GNU C++ (GCC) version 4.5.0 20100126 (experimental) (i686-pc-cygwin)
        compiled by GNU C version 4.5.0 20100120 (experimental), GMP version
4.3
.1, MPFR version 2.4.1-p5, MPC version 0.8
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
ignoring duplicate directory
"/usr/lib/gcc/i686-pc-cygwin/4.5.0/../../../../i686
-pc-cygwin/lib/../../include/w32api"
#include "..." search starts here:
#include <...> search starts here:
 /usr/lib/gcc/i686-pc-cygwin/4.5.0/../../../../include/c++/4.5.0
 /usr/lib/gcc/i686-pc-cygwin/4.5.0/../../../../include/c++/4.5.0/i686-pc-cygwin
 /usr/lib/gcc/i686-pc-cygwin/4.5.0/../../../../include/c++/4.5.0/backward
 /usr/local/include
 /usr/lib/gcc/i686-pc-cygwin/4.5.0/include
 /usr/lib/gcc/i686-pc-cygwin/4.5.0/include-fixed
 /usr/lib/gcc/i686-pc-cygwin/4.5.0/../../../../i686-pc-cygwin/include
 /usr/include
 /usr/lib/gcc/i686-pc-cygwin/4.5.0/../../../../include/w32api
End of search list.
GNU C++ (GCC) version 4.5.0 20100126 (experimental) (i686-pc-cygwin)
        compiled by GNU C version 4.5.0 20100120 (experimental), GMP version
4.3
.1, MPFR version 2.4.1-p5, MPC version 0.8
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
Compiler executable checksum: fb963511c7be306a48675197d8d9d6d7
COLLECT_GCC_OPTIONS='-shared' '-o' 'test2.dll' '-v' '-L.' '-mtune=generic'
 /usr/lib/gcc/i686-pc-cygwin/4.5.0/../../../../i686-pc-cygwin/bin/as -o
/cygdriv
e/d/Temp/cache/ccWB27cP.o /cygdrive/d/Temp/cache/ccjQ1IbV.s
COMPILER_PATH=/usr/libexec/gcc/i686-pc-cygwin/4.5.0/:/usr/libexec/gcc/i686-pc-cy
gwin/4.5.0/:/usr/libexec/gcc/i686-pc-cygwin/:/usr/lib/gcc/i686-pc-cygwin/4.5.0/:
/usr/lib/gcc/i686-pc-cygwin/:/usr/lib/gcc/i686-pc-cygwin/4.5.0/../../../../i686-
pc-cygwin/bin/
LIBRARY_PATH=/usr/lib/gcc/i686-pc-cygwin/4.5.0/:/usr/lib/gcc/i686-pc-cygwin/4.5.
0/../../../../i686-pc-cygwin/lib/:/usr/lib/gcc/i686-pc-cygwin/4.5.0/../../../:/l
ib/:/usr/lib/
COLLECT_GCC_OPTIONS='-shared' '-o' 'test2.dll' '-v' '-L.' '-mtune=generic'
 /usr/libexec/gcc/i686-pc-cygwin/4.5.0/collect2.exe --wrap _Znwj --wrap _Znaj
--
wrap _ZdlPv --wrap _ZdaPv --wrap _ZnwjRKSt9nothrow_t --wrap _ZnajRKSt9nothrow_t
--wrap _ZdlPvRKSt9nothrow_t --wrap _ZdaPvRKSt9nothrow_t --shared -Bdynamic
--ena
ble-auto-image-base -e __cygwin_dll_entry@12 --dll-search-prefix=cyg -tsaware
-o
 test2.dll /usr/lib/gcc/i686-pc-cygwin/4.5.0/crtbegin.o -L.
-L/usr/lib/gcc/i686-
pc-cygwin/4.5.0
-L/usr/lib/gcc/i686-pc-cygwin/4.5.0/../../../../i686-pc-cygwin/l
ib -L/usr/lib/gcc/i686-pc-cygwin/4.5.0/../../..
/cygdrive/d/Temp/cache/ccWB27cP.
o --out-implib test2.dll.a -ltest -lgcc_s -lgcc -lcygwin -luser32 -lkernel32
-la
dvapi32 -lshell32 -lgcc_s -lgcc /usr/lib/gcc/i686-pc-cygwin/4.5.0/crtend.o
Creating library file: test2.dll.a
/cygdrive/d/Temp/cache/ccWB27cP.o:test2.cpp:(.text+0x1e): undefined reference
to
 `__imp___ZN2SaD1Ev'
/cygdrive/d/Temp/cache/ccWB27cP.o:test2.cpp:(.text+0x64): undefined reference
to
 `__imp___ZN2SaD1Ev'
collect2: ld returned 1 exit status


-- 


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


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

* [Bug c++/42870] [4.5 regression] __attribute__ ((dllexport)) produces broken linkage
  2010-01-26 10:29 [Bug c++/42870] New: [4.5 regression] __attribute__ ((dllexport)) produces broken linkage jojelino at gmail dot com
                   ` (2 preceding siblings ...)
  2010-01-26 22:02 ` jojelino at gmail dot com
@ 2010-01-28  2:48 ` d dot g dot gorbachev at gmail dot com
  2010-02-02 13:41 ` rguenth at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: d dot g dot gorbachev at gmail dot com @ 2010-01-28  2:48 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from d dot g dot gorbachev at gmail dot com  2010-01-28 02:47 -------
Same thing with mingw32. GCC 4.4.3 20091110 - works, GCC 4.5.0 20100114 - bug.


-- 


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


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

* [Bug c++/42870] [4.5 regression] __attribute__ ((dllexport)) produces broken linkage
  2010-01-26 10:29 [Bug c++/42870] New: [4.5 regression] __attribute__ ((dllexport)) produces broken linkage jojelino at gmail dot com
                   ` (3 preceding siblings ...)
  2010-01-28  2:48 ` d dot g dot gorbachev at gmail dot com
@ 2010-02-02 13:41 ` rguenth at gcc dot gnu dot org
  2010-02-03 22:02 ` jason at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-02-02 13:41 UTC (permalink / raw)
  To: gcc-bugs



-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hubicka at gcc dot gnu dot
                   |                            |org
             Status|WAITING                     |NEW
     Ever Confirmed|0                           |1
           Priority|P3                          |P1
   Last reconfirmed|0000-00-00 00:00:00         |2010-02-02 13:41:36
               date|                            |


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


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

* [Bug c++/42870] [4.5 regression] __attribute__ ((dllexport)) produces broken linkage
  2010-01-26 10:29 [Bug c++/42870] New: [4.5 regression] __attribute__ ((dllexport)) produces broken linkage jojelino at gmail dot com
                   ` (4 preceding siblings ...)
  2010-02-02 13:41 ` rguenth at gcc dot gnu dot org
@ 2010-02-03 22:02 ` jason at gcc dot gnu dot org
  2010-02-05 14:06 ` davek at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: jason at gcc dot gnu dot org @ 2010-02-03 22:02 UTC (permalink / raw)
  To: gcc-bugs



-- 

jason at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |jason at gcc dot gnu dot org
                   |dot org                     |
             Status|NEW                         |ASSIGNED
   Last reconfirmed|2010-02-02 13:41:36         |2010-02-03 22:02:20
               date|                            |


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


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

* [Bug c++/42870] [4.5 regression] __attribute__ ((dllexport)) produces broken linkage
  2010-01-26 10:29 [Bug c++/42870] New: [4.5 regression] __attribute__ ((dllexport)) produces broken linkage jojelino at gmail dot com
                   ` (5 preceding siblings ...)
  2010-02-03 22:02 ` jason at gcc dot gnu dot org
@ 2010-02-05 14:06 ` davek at gcc dot gnu dot org
  2010-02-05 22:17 ` jason at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: davek at gcc dot gnu dot org @ 2010-02-05 14:06 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from davek at gcc dot gnu dot org  2010-02-05 14:06 -------
Patch posted:
http://gcc.gnu.org/ml/gcc-patches/2010-02/msg00156.html

Patched C++ testsuite results:
http://gcc.gnu.org/ml/gcc-testresults/2010-02/msg00414.html

One new failure observed:
http://gcc.gnu.org/ml/gcc-patches/2010-02/msg00236.html

More to follow.


-- 


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


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

* [Bug c++/42870] [4.5 regression] __attribute__ ((dllexport)) produces broken linkage
  2010-01-26 10:29 [Bug c++/42870] New: [4.5 regression] __attribute__ ((dllexport)) produces broken linkage jojelino at gmail dot com
                   ` (6 preceding siblings ...)
  2010-02-05 14:06 ` davek at gcc dot gnu dot org
@ 2010-02-05 22:17 ` jason at gcc dot gnu dot org
  2010-02-05 22:39 ` jason at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: jason at gcc dot gnu dot org @ 2010-02-05 22:17 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from jason at gcc dot gnu dot org  2010-02-05 22:17 -------
Subject: Bug 42870

Author: jason
Date: Fri Feb  5 22:17:09 2010
New Revision: 156529

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=156529
Log:
        PR c++/42870
        * config/i386/cygming.h (ASM_OUTPUT_DEF_FROM_DECLS): Call
        i386_pe_maybe_record_exported_symbol.

Added:
    trunk/gcc/testsuite/g++.dg/ext/dllexport3.C
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/i386/cygming.h
    trunk/gcc/testsuite/ChangeLog


-- 


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


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

* [Bug c++/42870] [4.5 regression] __attribute__ ((dllexport)) produces broken linkage
  2010-01-26 10:29 [Bug c++/42870] New: [4.5 regression] __attribute__ ((dllexport)) produces broken linkage jojelino at gmail dot com
                   ` (7 preceding siblings ...)
  2010-02-05 22:17 ` jason at gcc dot gnu dot org
@ 2010-02-05 22:39 ` jason at gcc dot gnu dot org
  2010-02-05 22:40 ` davek at gcc dot gnu dot org
  2010-02-23 17:05 ` hjl at gcc dot gnu dot org
  10 siblings, 0 replies; 12+ messages in thread
From: jason at gcc dot gnu dot org @ 2010-02-05 22:39 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from jason at gcc dot gnu dot org  2010-02-05 22:38 -------
Fixed.


-- 

jason at gcc dot gnu dot org changed:

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


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


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

* [Bug c++/42870] [4.5 regression] __attribute__ ((dllexport)) produces broken linkage
  2010-01-26 10:29 [Bug c++/42870] New: [4.5 regression] __attribute__ ((dllexport)) produces broken linkage jojelino at gmail dot com
                   ` (8 preceding siblings ...)
  2010-02-05 22:39 ` jason at gcc dot gnu dot org
@ 2010-02-05 22:40 ` davek at gcc dot gnu dot org
  2010-02-23 17:05 ` hjl at gcc dot gnu dot org
  10 siblings, 0 replies; 12+ messages in thread
From: davek at gcc dot gnu dot org @ 2010-02-05 22:40 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from davek at gcc dot gnu dot org  2010-02-05 22:39 -------
(In reply to comment #7)
> Fixed.
> 

Thanks!


-- 

davek at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |VERIFIED


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


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

* [Bug c++/42870] [4.5 regression] __attribute__ ((dllexport)) produces broken linkage
  2010-01-26 10:29 [Bug c++/42870] New: [4.5 regression] __attribute__ ((dllexport)) produces broken linkage jojelino at gmail dot com
                   ` (9 preceding siblings ...)
  2010-02-05 22:40 ` davek at gcc dot gnu dot org
@ 2010-02-23 17:05 ` hjl at gcc dot gnu dot org
  10 siblings, 0 replies; 12+ messages in thread
From: hjl at gcc dot gnu dot org @ 2010-02-23 17:05 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #9 from hjl at gcc dot gnu dot org  2010-02-23 17:04 -------
Subject: Bug 42870

Author: hjl
Date: Tue Feb 23 17:02:26 2010
New Revision: 157010

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=157010
Log:
Backport testcases from mainline.

2010-02-23  H.J. Lu  <hongjiu.lu@intel.com>

        Backport from mainline:
        2010-02-22  Richard Guenther  <rguenther@suse.de>

        PR tree-optimization/42749
        * gcc.c-torture/compile/pr42749.c: New testcase.

        2010-02-21  Dodji Seketeli  <dodji@redhat.com>

        PR c++/42824
        * g++.dg/template/memclass4.C: New test.

        2010-02-20  Paul Thomas  <pault@gcc.gnu.org>

        PR fortran/43111
        * gfortran.dg/internal_pack_8.f90: New test.

        2010-02-18  Jason Merrill  <jason@redhat.com>

        PR c++/43109
        * g++.dg/parse/namespace12.C: New.

        2010-02-18  Martin Jambor  <mjambor@suse.cz>

        PR tree-optimization/43066
        * gcc.c-torture/compile/pr43066.c: New test.

        2010-02-17  Jason Merrill  <jason@redhat.com>

        PR c++/43069
        * g++.dg/parse/namespace11.C: New.

        PR c++/43093
        * g++.dg/ext/attrib37.C: New.

        PR c++/43079
        * g++.dg/template/ptrmem20.C: New.

        2010-02-16  Jason Merrill  <jason@redhat.com>

        PR c++/43031
        * g++.dg/ext/attrib36.C: New.

        2010-02-15  Richard Guenther  <rguenther@suse.de>

        PR middle-end/43068
        * g++.dg/torture/pr43068.C: New testcase.

        2010-02-11  Richard Guenther  <rguenther@suse.de>

        PR tree-optimization/42998
        * gcc.c-torture/compile/pr42998.c: New testcase.

        2010-02-10  Richard Guenther  <rguenther@suse.de>

        PR tree-optimization/43017
        * gcc.dg/torture/pr43017.c: New testcase.

        2010-02-10  Richard Guenther  <rguenther@suse.de>

        PR c/43007
        * gcc.c-torture/execute/20100209-1.c: New testcase.
        * gcc.dg/fold-div-3.c: Likewise.

        2010-02-09  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

        PR fortran/42999
        * gfortran.dg/array_constructor_35.f90: New test.

        2010-02-09  Richard Guenther  <rguenther@suse.de>

        PR tree-optimization/43008
        * gcc.c-torture/execute/pr43008.c: New testcase.

        2010-02-09  Richard Guenther  <rguenther@suse.de>

        PR tree-optimization/43000
        * gcc.dg/torture/pr43000.c: New testcase.
        * gcc.dg/torture/pr43002.c: Likewise.

        2010-02-06  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

        PR libfortran/42742
        * gfortran.dg/fmt_cache_2.f: New test.

        2010-02-03  Jason Merrill  <jason@redhat.com>

        PR c++/42870
        * g++.dg/ext/dllexport3.C: New.

Added:
    branches/gcc-4_4-branch/gcc/testsuite/g++.dg/ext/attrib36.C
      - copied unchanged from r157009,
trunk/gcc/testsuite/g++.dg/ext/attrib36.C
    branches/gcc-4_4-branch/gcc/testsuite/g++.dg/ext/attrib37.C
      - copied unchanged from r157009,
trunk/gcc/testsuite/g++.dg/ext/attrib37.C
    branches/gcc-4_4-branch/gcc/testsuite/g++.dg/ext/dllexport3.C
      - copied unchanged from r157009,
trunk/gcc/testsuite/g++.dg/ext/dllexport3.C
    branches/gcc-4_4-branch/gcc/testsuite/g++.dg/parse/namespace11.C
      - copied unchanged from r157009,
trunk/gcc/testsuite/g++.dg/parse/namespace11.C
    branches/gcc-4_4-branch/gcc/testsuite/g++.dg/parse/namespace12.C
      - copied unchanged from r157009,
trunk/gcc/testsuite/g++.dg/parse/namespace12.C
    branches/gcc-4_4-branch/gcc/testsuite/g++.dg/template/memclass4.C
      - copied unchanged from r157009,
trunk/gcc/testsuite/g++.dg/template/memclass4.C
    branches/gcc-4_4-branch/gcc/testsuite/g++.dg/template/ptrmem20.C
      - copied unchanged from r157009,
trunk/gcc/testsuite/g++.dg/template/ptrmem20.C
    branches/gcc-4_4-branch/gcc/testsuite/g++.dg/torture/pr43068.C
      - copied unchanged from r157009,
trunk/gcc/testsuite/g++.dg/torture/pr43068.C
    branches/gcc-4_4-branch/gcc/testsuite/gcc.c-torture/compile/pr42749.c
      - copied unchanged from r157009,
trunk/gcc/testsuite/gcc.c-torture/compile/pr42749.c
    branches/gcc-4_4-branch/gcc/testsuite/gcc.c-torture/compile/pr42998.c
      - copied unchanged from r157009,
trunk/gcc/testsuite/gcc.c-torture/compile/pr42998.c
    branches/gcc-4_4-branch/gcc/testsuite/gcc.c-torture/compile/pr43066.c
      - copied unchanged from r157009,
trunk/gcc/testsuite/gcc.c-torture/compile/pr43066.c
    branches/gcc-4_4-branch/gcc/testsuite/gcc.c-torture/execute/20100209-1.c
      - copied unchanged from r157009,
trunk/gcc/testsuite/gcc.c-torture/execute/20100209-1.c
    branches/gcc-4_4-branch/gcc/testsuite/gcc.c-torture/execute/pr43008.c
      - copied unchanged from r157009,
trunk/gcc/testsuite/gcc.c-torture/execute/pr43008.c
    branches/gcc-4_4-branch/gcc/testsuite/gcc.dg/fold-div-3.c
      - copied unchanged from r157009, trunk/gcc/testsuite/gcc.dg/fold-div-3.c
    branches/gcc-4_4-branch/gcc/testsuite/gcc.dg/torture/pr43000.c
      - copied unchanged from r157009,
trunk/gcc/testsuite/gcc.dg/torture/pr43000.c
    branches/gcc-4_4-branch/gcc/testsuite/gcc.dg/torture/pr43002.c
      - copied unchanged from r157009,
trunk/gcc/testsuite/gcc.dg/torture/pr43002.c
    branches/gcc-4_4-branch/gcc/testsuite/gfortran.dg/array_constructor_35.f90
      - copied unchanged from r157009,
trunk/gcc/testsuite/gfortran.dg/array_constructor_35.f90
    branches/gcc-4_4-branch/gcc/testsuite/gfortran.dg/fmt_cache_2.f
      - copied unchanged from r157009,
trunk/gcc/testsuite/gfortran.dg/fmt_cache_2.f
    branches/gcc-4_4-branch/gcc/testsuite/gfortran.dg/internal_pack_8.f90
      - copied unchanged from r157009,
trunk/gcc/testsuite/gfortran.dg/internal_pack_8.f90
Modified:
    branches/gcc-4_4-branch/gcc/testsuite/ChangeLog


-- 


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


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

end of thread, other threads:[~2010-02-23 17:05 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-01-26 10:29 [Bug c++/42870] New: [4.5 regression] __attribute__ ((dllexport)) produces broken linkage jojelino at gmail dot com
2010-01-26 10:41 ` [Bug c++/42870] " jojelino at gmail dot com
2010-01-26 12:05 ` rguenth at gcc dot gnu dot org
2010-01-26 22:02 ` jojelino at gmail dot com
2010-01-28  2:48 ` d dot g dot gorbachev at gmail dot com
2010-02-02 13:41 ` rguenth at gcc dot gnu dot org
2010-02-03 22:02 ` jason at gcc dot gnu dot org
2010-02-05 14:06 ` davek at gcc dot gnu dot org
2010-02-05 22:17 ` jason at gcc dot gnu dot org
2010-02-05 22:39 ` jason at gcc dot gnu dot org
2010-02-05 22:40 ` davek at gcc dot gnu dot org
2010-02-23 17:05 ` hjl at gcc dot gnu dot 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).