public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/14469] New: Cannot compile TAO (regression)
@ 2004-03-07 21:12 schmid at snake dot iap dot physik dot tu-darmstadt dot de
2004-03-07 21:14 ` [Bug c++/14469] " schmid at snake dot iap dot physik dot tu-darmstadt dot de
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: schmid at snake dot iap dot physik dot tu-darmstadt dot de @ 2004-03-07 21:12 UTC (permalink / raw)
To: gcc-bugs
I cannot compile the file ACE_wrappers/Param_Tests/any.cpp from the ACE-5.4
+TAO-1.4+CIAO-0.4 distribution when the optimization at the -O2 level or higher
is enabled. This is a regression with respect to gcc 3.3.
g++ -W -Wall -O2 -I/home/peter/gnu/ACE_wrappers -I/home/peter/gnu/ACE_wrappers/
TAO -I/home/peter/gnu/ACE_wrappers/TAO -c -o .obj/any.o any.cpp
-save-temps
any.cpp: In member function `void Test_Any::dii_req_invoke(CORBA::Request*)':
any.cpp:79: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
peter@kiste:~/gnu/ACE_wrappers/TAO/tests/Param_Test> g++ -v -W -Wall -O2 -I/
home/peter/gnu/ACE_wrappers -I/home/peter/gnu/ACE_wrappers/TAO -I/home/
peter/gnu/ACE_wrappers/TAO -c -o .obj/any.o any.cpp -save-temps
Reading specs from /usr/local/lib/gcc/i686-pc-linux-gnu/3.4.0/specs
Configured with: ../gcc/configure --enable-threads=posix --enable-languages=c,c
++,f77,objc --enable-__cxa_atexit --enable-libstdcxx-debug
Thread model: posix
gcc version 3.4.0 20040306 (prerelease)
/usr/local/libexec/gcc/i686-pc-linux-gnu/3.4.0/cc1plus -E -quiet -v -I/home/
peter/gnu/ACE_wrappers -I/home/peter/gnu/ACE_wrappers/TAO -I/home/peter/gnu/
ACE_wrappers/TAO -D_GNU_SOURCE any.cpp -mtune=pentiumpro -W -Wall -O2 -o any.ii
ignoring nonexistent directory "NONE/include"
ignoring nonexistent directory "/usr/local/lib/gcc/
i686-pc-linux-gnu/3.4.0/../../../../i686-pc-linux-gnu/include"
ignoring duplicate directory "/home/peter/gnu/ACE_wrappers/TAO"
#include "..." search starts here:
#include <...> search starts here:
/home/peter/gnu/ACE_wrappers
/home/peter/gnu/ACE_wrappers/TAO
/usr/local/lib/gcc/i686-pc-linux-gnu/3.4.0/../../../../include/c++/3.4.0
/usr/local/lib/gcc/i686-pc-linux-gnu/3.4.0/../../../../include/c++/3.4.0/
i686-pc-linux-gnu
/usr/local/lib/gcc/i686-pc-linux-gnu/3.4.0/../../../../include/c++/3.4.0/
backward
/usr/local/include
/usr/local/lib/gcc/i686-pc-linux-gnu/3.4.0/include
/usr/include
End of search list.
/usr/local/libexec/gcc/i686-pc-linux-gnu/3.4.0/cc1plus -fpreprocessed any.ii
-quiet -dumpbase any.cpp -mtune=pentiumpro -auxbase-strip .obj/any.o -O2 -W
-Wall -version -o any.s
GNU C++ version 3.4.0 20040306 (prerelease) (i686-pc-linux-gnu)
compiled by GNU C version 3.4.0 20040306 (prerelease).
GGC heuristics: --param ggc-min-expand=64 --param ggc-min-heapsize=64274
any.cpp: In member function `void Test_Any::dii_req_invoke(CORBA::Request*)':
any.cpp:79: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
--
Summary: Cannot compile TAO (regression)
Product: gcc
Version: 3.4.0
Status: UNCONFIRMED
Severity: critical
Priority: P1
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: schmid at snake dot iap dot physik dot tu-darmstadt dot
de
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14469
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c++/14469] Cannot compile TAO (regression)
2004-03-07 21:12 [Bug c++/14469] New: Cannot compile TAO (regression) schmid at snake dot iap dot physik dot tu-darmstadt dot de
@ 2004-03-07 21:14 ` schmid at snake dot iap dot physik dot tu-darmstadt dot de
2004-03-08 0:01 ` [Bug c++/14469] [3.4 Regression] " pinskia at gcc dot gnu dot org
2004-03-08 15:36 ` reichelt at gcc dot gnu dot org
2 siblings, 0 replies; 4+ messages in thread
From: schmid at snake dot iap dot physik dot tu-darmstadt dot de @ 2004-03-07 21:14 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From schmid at snake dot iap dot physik dot tu-darmstadt dot de 2004-03-07 21:14 -------
Created an attachment (id=5877)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=5877&action=view)
bzip2 compressed preprocessor source file any.ii
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14469
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c++/14469] [3.4 Regression] Cannot compile TAO (regression)
2004-03-07 21:12 [Bug c++/14469] New: Cannot compile TAO (regression) schmid at snake dot iap dot physik dot tu-darmstadt dot de
2004-03-07 21:14 ` [Bug c++/14469] " schmid at snake dot iap dot physik dot tu-darmstadt dot de
@ 2004-03-08 0:01 ` pinskia at gcc dot gnu dot org
2004-03-08 15:36 ` reichelt at gcc dot gnu dot org
2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-03-08 0:01 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-03-08 00:01 -------
It works for me on the mainline (20040307).
--
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |ice-on-valid-code
Known to work| |3.5.0
Summary|Cannot compile TAO |[3.4 Regression] Cannot
|(regression) |compile TAO (regression)
Target Milestone|--- |3.4.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14469
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c++/14469] [3.4 Regression] Cannot compile TAO (regression)
2004-03-07 21:12 [Bug c++/14469] New: Cannot compile TAO (regression) schmid at snake dot iap dot physik dot tu-darmstadt dot de
2004-03-07 21:14 ` [Bug c++/14469] " schmid at snake dot iap dot physik dot tu-darmstadt dot de
2004-03-08 0:01 ` [Bug c++/14469] [3.4 Regression] " pinskia at gcc dot gnu dot org
@ 2004-03-08 15:36 ` reichelt at gcc dot gnu dot org
2 siblings, 0 replies; 4+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2004-03-08 15:36 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From reichelt at gcc dot gnu dot org 2004-03-08 15:36 -------
This reduces to
=============================
struct A
{
A();
};
struct B
{
B(const A*);
};
struct C
{
void foo(int);
B b;
};
void C::foo(int)
{
b = new A;
}
=============================
which is a duplicate of PR 14477.
*** This bug has been marked as a duplicate of 14477 ***
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |reichelt at gcc dot gnu dot
| |org
Status|UNCONFIRMED |RESOLVED
Resolution| |DUPLICATE
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14469
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2004-03-08 15:36 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-03-07 21:12 [Bug c++/14469] New: Cannot compile TAO (regression) schmid at snake dot iap dot physik dot tu-darmstadt dot de
2004-03-07 21:14 ` [Bug c++/14469] " schmid at snake dot iap dot physik dot tu-darmstadt dot de
2004-03-08 0:01 ` [Bug c++/14469] [3.4 Regression] " pinskia at gcc dot gnu dot org
2004-03-08 15:36 ` reichelt 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).