public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c/6821: GNU recode cannot be compiled with -O by gcc-3.1
@ 2002-05-31 6:36 jakub
0 siblings, 0 replies; 2+ messages in thread
From: jakub @ 2002-05-31 6:36 UTC (permalink / raw)
To: gcc-bugs, gcc-prs, nobody, utx
Synopsis: GNU recode cannot be compiled with -O by gcc-3.1
State-Changed-From-To: open->closed
State-Changed-By: jakub
State-Changed-When: Fri May 31 06:25:05 2002
State-Changed-Why:
This looks like recode bugs (even ones which have been fixed
in recode-3.6). Particularly applemac.c and ibmpc.c missing
return statement at end of their module_* routines.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=6821
^ permalink raw reply [flat|nested] 2+ messages in thread
* c/6821: GNU recode cannot be compiled with -O by gcc-3.1
@ 2002-05-26 12:16 Stanislav Brabec
0 siblings, 0 replies; 2+ messages in thread
From: Stanislav Brabec @ 2002-05-26 12:16 UTC (permalink / raw)
To: gcc-gnats
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 2300 bytes --]
>Number: 6821
>Category: c
>Synopsis: GNU recode cannot be compiled with -O by gcc-3.1
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: wrong-code
>Submitter-Id: net
>Arrival-Date: Sun May 26 12:16:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: Stanislav Brabec
>Release: 3.1
>Organization:
UTX
>Environment:
System: Linux utx 2.4.19-pre8 #12 Ne kvì 12 14:10:04 CEST 2002 i686 unknown
Architecture: i686
<machine, os, target, libraries (multiple lines)>
host: i686-pc-linux-gnu
build: i686-pc-linux-gnu
target: i686-pc-linux-gnu
configured with: ./configure --prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --libexecdir=/usr/lib --datadir=/usr/share --sysconfdir=/etc --sharedstatedir=/var/cache --localstatedir=/var --libdir=/usr/lib --includedir=/usr/include --oldincludedir=/usr/include --infodir=/usr/share/info --mandir=/usr/share/man --enable-shared --disable-static --with-pic --with-system-zlib --verbose --enable-static : (reconfigured) ./configure --prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --libexecdir=/usr/lib --datadir=/usr/share --sysconfdir=/etc --sharedstatedir=/var/cache --localstatedir=/var --libdir=/usr/lib --includedir=/usr/include --oldincludedir=/usr/include --infodir=/usr/share/info --mandir=/usr/share/man --enable-shared --disable-static --with-pic --with-system-zlib --verbose
gcc was compiled with -O3
>Description:
I have tried to compile GNU recode-3.5 using gcc-3.1 on my machine
(glibc-2.2.5, target i686)
The result was immediate segfault of compiled recode:
recode latin-2..latin-1
Note that recode was compiled using --enable-shared --disable-static --prefix=/usr
Buggy codes:
gcc-3.1 -O
gcc-3.1 -O2
gcc-3.1 -O3
Correct codes:
gcc-3.1 -O0 -g
gcc-3.0.4 -O3
(Both compilers was compiled from CVS tags: gcc_3_0_4_release and
gcc_3_1_release) and self-recompiled using -O3.)
(Sorry for vague report, but I am not able to detect, which part of recode causes the problem.)
>How-To-Repeat:
<When reporting a compiler error, preprocessor output must be included>
>Fix:
<how to correct or work around the problem, if known (multiple lines)>
>Release-Note:
>Audit-Trail:
>Unformatted:
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-05-31 13:25 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-05-31 6:36 c/6821: GNU recode cannot be compiled with -O by gcc-3.1 jakub
-- strict thread matches above, loose matches on Subject: below --
2002-05-26 12:16 Stanislav Brabec
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).