public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* c++/8915: optimalisation on HP problems
@ 2002-12-12 8:26 joeri.verbiest
0 siblings, 0 replies; only message in thread
From: joeri.verbiest @ 2002-12-12 8:26 UTC (permalink / raw)
To: gcc-gnats
>Number: 8915
>Category: c++
>Synopsis: optimalisation on HP problems
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: rejects-legal
>Submitter-Id: net
>Arrival-Date: Thu Dec 12 08:26:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator: joeri.verbiest@esat.kuleuven.ac.be
>Release: gcc version 3.2.1
>Organization:
>Environment:
HP-UX B.11.00 A
>Description:
When I do (via makefile):
OBJS = programname.o
CC = g++
LIBS = -lm
EXEC = programname
CFLAGS = -O3 -Wall -Wno-deprecated
#
## compile & link
#
all : $(EXEC)
programname.o : programname.c
$(CC) $(CFLAGS) -c programname.c
$(EXEC): $(OBJS)
rm -f $(EXEC)
$(CC) $(CFLAGS) -o $(EXEC) programname.o $(LIBS)
I get:
/freeware/gcc/hppa/lib/gcc-lib/hppa2.0w-hp-hpux11.00/3.2.1/include/c++/bits/stl_threads.h: In instantiation of `__gthread_mutex_t std::_Swap_lock_struct<0>::_S_swap_lock':
/freeware/gcc/hppa/lib/gcc-lib/hppa2.0w-hp-hpux11.00/3.2.1/include/c++/bits/stl_threads.h:122: instantiated from here
/freeware/gcc/hppa/lib/gcc-lib/hppa2.0w-hp-hpux11.00/3.2.1/include/c++/bits/stl_threads.h:115: warning: aggregate
has a partly bracketed initializer
/freeware/gcc/hppa/lib/gcc-lib/hppa2.0w-hp-hpux11.00/3.2.1/include/c++/bits/stl_threads.h:115: warning: aggregate
has a partly bracketed initializer
/freeware/gcc/hppa/lib/gcc-lib/hppa2.0w-hp-hpux11.00/3.2.1/include/c++/bits/stl_threads.h:115: warning: aggregate
has a partly bracketed initializer
/freeware/gcc/hppa/lib/gcc-lib/hppa2.0w-hp-hpux11.00/3.2.1/include/c++/bits/stl_threads.h:115: warning: aggregate
has a partly bracketed initializer
/freeware/gcc/hppa/lib/gcc-lib/hppa2.0w-hp-hpux11.00/3.2.1/include/c++/bits/stl_threads.h:115: warning: aggregate
has a partly bracketed initializer
/freeware/gcc/hppa/lib/gcc-lib/hppa2.0w-hp-hpux11.00/3.2.1/include/c++/bits/stl_threads.h:115: warning: aggregate
has a partly bracketed initializer
/freeware/gcc/hppa/lib/gcc-lib/hppa2.0w-hp-hpux11.00/3.2.1/include/c++/bits/stl_threads.h:115: warning: aggregate
has a partly bracketed initializer
fdtdkernel.c: In function `int main(int, char**)':
fdtdkernel.c:4367: Internal compiler error in output_cbranch, at config/pa/pa.c
:5240
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
I have looked in the code if there was an error. From the moment I
reach line 3455 I get the error:
fdtdkernel.c: In function `int main(int, char**)':
fdtdkernel.c:4367: Internal compiler error in output_cbranch, at config/pa/pa.c
:5240
When I place line 3455 to the end I get this error no more. I have
check the code but there is no error.
I get this eror ONLY when I do an optimalisation of the code O1, O2 and O3.
This error I doesn't when I compile the program with O3 under linux
Suse 7.2 (Linux 2.4.4-4GB #1 i686 with (gcc version 2.95.3 20010315 (SuSE))
It is maybe because it is a HP environment. The question is
how can I solve this?
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-12-12 16:26 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-12-12 8:26 c++/8915: optimalisation on HP problems joeri.verbiest
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).