This is the mail archive of the gcc-prs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

c/374: Re: gcc-2.95.2 ceases to produce workable executables after recompiling it with some optimization



>Number:         374
>Category:       c
>Synopsis:       gcc-2.95.2 ceases to produce workable executables after recompiling it with some optimization
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          wrong-code
>Submitter-Id:   net
>Arrival-Date:   Sun Jul 02 23:16:01 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     "Nick Kurshev" <nickols_k@mail.ru>
>Release:        2.95.2
>Organization:
>Environment:
>Description:
 Date: Mon, 03 Jul 2000 09:50:51 +0000 (:)
 Reply-To: "Nick Kurshev" <nickols_k@mail.ru>
 Priority: Normal
 Original-Message-Id: <E138z8O-000N5F-00@smtp6.mail.ru>

 Hello!

 My system: Linux Mandrake release 6.0 Russian Edition (Venus)
 Kernel:    2.2.9-27mdk
 CPU:       K6/200

 Problem:

 Records in my /etc/profile:
 CFLAGS="-g -O2 -fomit-frame-pointer -mschedule-prologue -march=k6 -mcpu=k6
 -momit-leaf-frame-pointer -fmove-all-movables -freduce-all-givs
 -foptimize-register-move -fregmove -ffunction-sections -fdata-sections
 -fexpensive-optimizations -foptimize-register-move"
 CXXFLAGS=$CFLAGS
 export CFLAGS
 export CXXFLAGS

 After recompiling gcc-2.95.2 with such keys, it ceases to produce workable
 executables. Each executable that builded by "new" gcc is produced coredump. 
 Also, anew compiled compiler does not compile itself. After reinstalling
 gcc-2.7.2.3 and relinking of projects previously compiled by "new" 2.95.2
 all work. IMHO, problem in stub or internal gcc libraries.

 Best regards! Nick


>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]