public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c++/3533: g++ seg faults on IRIX at enum in member function
@ 2001-08-17 19:04 rodrigc
0 siblings, 0 replies; 3+ messages in thread
From: rodrigc @ 2001-08-17 19:04 UTC (permalink / raw)
To: gcc-bugs, gcc-prs, johnv, nobody, var, rodrigc
Synopsis: g++ seg faults on IRIX at enum in member function
State-Changed-From-To: open->feedback
State-Changed-By: rodrigc
State-Changed-When: Fri Aug 17 19:04:43 2001
State-Changed-Why:
I cannot reproduce your problem since you did not
provide a preprocessed source file as described in the
instructions at:
http://gcc.gnu.org/bugs.html
Can you download a newer snapshot of gcc 3.0.1
and try again?
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=3533&database=gcc
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: c++/3533: g++ seg faults on IRIX at enum in member function
@ 2001-09-15 20:22 rodrigc
0 siblings, 0 replies; 3+ messages in thread
From: rodrigc @ 2001-09-15 20:22 UTC (permalink / raw)
To: gcc-bugs, gcc-prs, johnv, nobody, var, rodrigc
Synopsis: g++ seg faults on IRIX at enum in member function
State-Changed-From-To: feedback->closed
State-Changed-By: rodrigc
State-Changed-When: Sat Sep 15 20:22:31 2001
State-Changed-Why:
Feedback not provided.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=3533&database=gcc
^ permalink raw reply [flat|nested] 3+ messages in thread
* c++/3533: g++ seg faults on IRIX at enum in member function
@ 2001-07-02 17:26 johnv
0 siblings, 0 replies; 3+ messages in thread
From: johnv @ 2001-07-02 17:26 UTC (permalink / raw)
To: gcc-gnats; +Cc: var
>Number: 3533
>Category: c++
>Synopsis: g++ seg faults on IRIX at enum in member function
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Jul 02 17:26:02 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: johnv@adacel.com.au
>Release: gcc version 3.0; Thread model: single
>Organization:
>Environment:
mips-sgi-irix6.5
% hinv
4 250 MHZ IP27 Processors
CPU: MIPS R10000 Processor Chip Revision: 3.4
FPU: MIPS R10010 Floating Point Chip Revision: 3.4
Main memory size: 1024 Mbytes
Instruction cache size: 32 Kbytes
Data cache size: 32 Kbytes
>Description:
Building OpenOffice using gcc 3.0 results in a core dump on line 1432, which is an enum dangling within a member function.
I tried to build the .ii.gz files as instructed, however the resulting file was shortened way before the problem.
So I have attached the file in question ... which could otherwise be found at:
http://www.openoffice.org/source/browse/util/tools/source/fsys/urlobj.cxx?rev=1.15&content-type=text/x-cvsweb-markup
Workaround: move enum to top of member function
This is the OpenOffice bug involved:
http://www.openoffice.org/issues/show_bug.cgi?id=1156
And here is the patch I applied to the file I have attached.
http://www.openoffice.org/issues/showattachment.cgi?attach_id=332
>How-To-Repeat:
g++ -v -save-temps -c -I. -I. -I../inc -I../../inc -I../../unx/inc -I../../unxirxm3.pro/inc -I. -I/projects/sise/openoffice/devel/workpits/OO632B_GNUD/workarea/solver/632/unxirxm3.pro/inc -I/projects/sise/openoffice/devel/workpits/OO632B_GNUD/workarea/solver/632/unxirxm3.pro/inc/external -I/projects/sise/openoffice/devel/workpits/OO632B_GNUD/workarea/solenv/unxirxm3/inc -I/projects/sise/openoffice/devel/workpits/OO632B_GNUD/workarea/solenv/inc -I/projects/sise/openoffice/devel/workpits/OO632B_GNUD/workarea/res -I/usr/include/CC/stlport -I/projects/sise/openoffice/devel/workpits/OO632B_GNUD/workarea/solenv/inc/Xp31 -I/projects/sise/openoffice/devel/workpits/java_1.2.2/usr/java//include -I/projects/sise/openoffice/devel/workpits/java_1.2.2/usr/java//include/irix -I/projects/sise/openoffice/devel/workpits/java_1.2.2/usr/java//include/native_threads/include -I. -I../../res -I. -g -O -fno-for-scope -fpermissive -fguiding-decls -DIRIX -DUNX -DVCL -DGCC -DC295 -DMIPS -DUSE_PSPRINT -DTF_UCB -DENABLEUNICODE -DTF_FILTER -DCVER=C295 -D_USE_NAMESPACE -D__GNU_STL__=3 -DVCL -D_STD_NO_NAMESPACE -D_VOS_NO_NAMESPACE -D_UNO_NO_NAMESPACE -D__DMAKE -DUNIX -DSUPD=632 -DBUILD=6483 -DSOLAR_PLUGIN -DVCL -DSO3 -DDEBUG -D_DEBUG -DPRODUCT -DNDEBUG -DPRODUCT_FULL -DEXCEPTIONS_OFF -DGUI -DSRC632 -DTF_ONE51 -DMULTITHREAD -o ../../unxirxm3.pro/obj/urlobj.o /projects/sise/openoffice/devel/workpits/OO632B_GNUD/workarea/tools/source/fsys/urlobj.cxx
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2001-09-15 20:22 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-08-17 19:04 c++/3533: g++ seg faults on IRIX at enum in member function rodrigc
-- strict thread matches above, loose matches on Subject: below --
2001-09-15 20:22 rodrigc
2001-07-02 17:26 johnv
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).