public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* c/4363: libxml miscompiled with -O2, without -O2 works
@ 2001-09-19 13:36 Andreas Amann
  0 siblings, 0 replies; 2+ messages in thread
From: Andreas Amann @ 2001-09-19 13:36 UTC (permalink / raw)
  To: gcc-gnats

>Number:         4363
>Category:       c
>Synopsis:       libxml miscompiled with -O2, without -O2 works
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          wrong-code
>Submitter-Id:   net
>Arrival-Date:   Wed Sep 19 13:36:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Andreas Amann
>Release:        3.0.1
>Organization:
TU Berlin
>Environment:
System: Linux bill 2.4.9 #1 Tue Aug 28 18:18:19 CEST 2001 i686 unknown
Architecture: i686

	
host: i586-pc-linux-gnu
build: i586-pc-linux-gnu
target: i586-pc-linux-gnu
configured with: ../configure --host=i586-pc-linux-gnu --prefix=/usr/linux-local/gcc-3.0.1
>Description:
libxml2-2.4.5 is not compiled correctly with -O2. Symptom: compile of
kdebase fails with 
/usr/linux-local/kde-2.2.1/bin/meinproc --check --cache index.cache.bz2 ./index.docbook
index.docbook:6: error: failed to load external entity "/kdex.dtd"]
...
where meinproc uses libxml internally

I know that gcc-3.0.x is not recommended for kde compilation. But this is
obviously a bug in gcc, since it goes away when compiled without -O2

>How-To-Repeat:
	
>Fix:
recompile without -O2 !
>Release-Note:
>Audit-Trail:
>Unformatted:


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: c/4363: libxml miscompiled with -O2, without -O2 works
@ 2001-09-19 13:52 sirl
  0 siblings, 0 replies; 2+ messages in thread
From: sirl @ 2001-09-19 13:52 UTC (permalink / raw)
  To: amann, gcc-bugs, gcc-prs, nobody

Synopsis: libxml miscompiled with -O2, without -O2 works

State-Changed-From-To: open->closed
State-Changed-By: sirl
State-Changed-When: Wed Sep 19 13:52:03 2001
State-Changed-Why:
    Fixed in mainline and branch (3.0.2pre).

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=4363&database=gcc


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-09-19 13:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-09-19 13:36 c/4363: libxml miscompiled with -O2, without -O2 works Andreas Amann
2001-09-19 13:52 sirl

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).