public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/21447] New: internal compiler error: output_operand
@ 2005-05-07 20:17 ceniza666 at yahoo dot com
2005-05-07 20:20 ` [Bug c++/21447] " pinskia at gcc dot gnu dot org
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: ceniza666 at yahoo dot com @ 2005-05-07 20:17 UTC (permalink / raw)
To: gcc-bugs
This problem occurs compiling wxWidgets 2.6.0 and also if I try to compile a
program using wxWidgets 2.5.x compiled with gcc 3.4.2.
It's the one when compiling wxWidgets 2.6.0:
$ sh ../configure CXXFLAGS='-O4 -s -DNO_GCC_PRAGMA' --with-msw --enable-stl
--enable-shared --with-odbc
$ make
../src/common/sckipc.cpp:755: internal compiler error: output_operand: invalid
expression as operand
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
make: *** [netdll_sckipc.o] Error 1
$ gcc -v:
Using built-in specs.
Target: mingw32
Configured with: ../gcc/configure --with-gcc --with-gnu-ld --with-gnu-as --host=
mingw32 --target=mingw32 --prefix=C:/MinGW --enable-threads --disable-nls --enab
le-languages=c,c++ --disable-win32-registry --disable-shared --without-x
Thread model: win32
gcc version 4.0.0
sckipc.ii can be downloaded from http://gda.utp.edu.co/~ceniza/sckipc.zip
--
Summary: internal compiler error: output_operand
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Severity: critical
Priority: P1
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: ceniza666 at yahoo dot com
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21447
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c++/21447] internal compiler error: output_operand
2005-05-07 20:17 [Bug c++/21447] New: internal compiler error: output_operand ceniza666 at yahoo dot com
@ 2005-05-07 20:20 ` pinskia at gcc dot gnu dot org
2005-05-08 7:31 ` zxpmyth at yahoo dot com dot cn
2005-05-12 10:14 ` dannysmith at users dot sourceforge dot net
2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-05-07 20:20 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-05-07 20:20 -------
*** This bug has been marked as a duplicate of 21275 ***
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |DUPLICATE
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21447
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c++/21447] internal compiler error: output_operand
2005-05-07 20:17 [Bug c++/21447] New: internal compiler error: output_operand ceniza666 at yahoo dot com
2005-05-07 20:20 ` [Bug c++/21447] " pinskia at gcc dot gnu dot org
@ 2005-05-08 7:31 ` zxpmyth at yahoo dot com dot cn
2005-05-12 10:14 ` dannysmith at users dot sourceforge dot net
2 siblings, 0 replies; 4+ messages in thread
From: zxpmyth at yahoo dot com dot cn @ 2005-05-08 7:31 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From zxpmyth at yahoo dot com dot cn 2005-05-08 07:30 -------
(In reply to comment #1)
> *** This bug has been marked as a duplicate of 21275 ***
I have patched GCC 4.0.0 with http://gcc.gnu.org/ml/gcc-patches/2005-
05/msg00009.html. The problem is still there.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21447
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c++/21447] internal compiler error: output_operand
2005-05-07 20:17 [Bug c++/21447] New: internal compiler error: output_operand ceniza666 at yahoo dot com
2005-05-07 20:20 ` [Bug c++/21447] " pinskia at gcc dot gnu dot org
2005-05-08 7:31 ` zxpmyth at yahoo dot com dot cn
@ 2005-05-12 10:14 ` dannysmith at users dot sourceforge dot net
2 siblings, 0 replies; 4+ messages in thread
From: dannysmith at users dot sourceforge dot net @ 2005-05-12 10:14 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From dannysmith at users dot sourceforge dot net 2005-05-12 10:14 -------
(In reply to comment #4)
The patch for 21275 failed to take care of C++ class members which "inherit" a
dllimport attribute from the class type definition.
Here is a C++ testcase:
struct __attribute__ ((dllimport)) Foo
{
static int bar (void);
};
typedef int(*foobar)(void);
foobar my_foobar = (foobar) &Foo::bar;
int my_bar()
{
return my_foobar();
}
The code that marks Foo::bar as NON_ADDR_CONSTANT_P in winnt.c happens too
late.
I have a more invasive patch that fixes C and C++, replacing NON_ADDR_CONST_P
with a target hook (dll-supporting targets are currently the only ones that set
the tree_decl.non_addr_const_p flag). I'll submit as soon as I can access a
machine that will build and regtest Java on mingw.
Danny
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |dannysmith at users dot
| |sourceforge dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21447
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2005-05-12 10:14 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-05-07 20:17 [Bug c++/21447] New: internal compiler error: output_operand ceniza666 at yahoo dot com
2005-05-07 20:20 ` [Bug c++/21447] " pinskia at gcc dot gnu dot org
2005-05-08 7:31 ` zxpmyth at yahoo dot com dot cn
2005-05-12 10:14 ` dannysmith at users dot sourceforge dot net
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).