This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
c/620: -O2 option causes executable to malfunction
- To: gcc-gnats at gcc dot gnu dot org
- Subject: c/620: -O2 option causes executable to malfunction
- From: morris dot dan at ssd dot loral dot com
- Date: 7 Oct 2000 22:59:18 -0000
- Reply-To: morris dot dan at ssd dot loral dot com
- Resent-Cc: gcc-prs at gcc dot gnu dot org, gcc-bugs at gcc dot gnu dot org
- Resent-Reply-To: gcc-gnats@gcc.gnu.org, morris.dan@ssd.loral.com
>Number: 620
>Category: c
>Synopsis: -O2 option causes executable to malfunction
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: wrong-code
>Submitter-Id: net
>Arrival-Date: Sat Oct 07 16:06:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator: Dan Morris
>Release: gcc 2.95.2 19991024 (release)
>Organization:
>Environment:
Solaris-8
>Description:
Compiled 'wget-1.5.3'
Program wasn't producing the expected results. If I
remember right a problem was around line 251 of file
ftp-ls.c.
>How-To-Repeat:
Compile and run
>Fix:
removed the '-O2' option from CFALGS
>Release-Note:
>Audit-Trail:
>Unformatted: