public inbox for gcc-prs@sourceware.org help / color / mirror / Atom feed
From: joeri.verbiest@esat.kuleuven.ac.be To: gcc-gnats@gcc.gnu.org Subject: c++/8915: optimalisation on HP problems Date: Thu, 12 Dec 2002 08:26:00 -0000 [thread overview] Message-ID: <20021212161658.15324.qmail@sources.redhat.com> (raw) >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:
reply other threads:[~2002-12-12 16:26 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20021212161658.15324.qmail@sources.redhat.com \ --to=joeri.verbiest@esat.kuleuven.ac.be \ --cc=gcc-gnats@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).