This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
target/5715: alpha-OSF - sends incorrect options to as.
- From: tilps at hotmail dot com
- To: gcc-gnats at gcc dot gnu dot org
- Date: 17 Feb 2002 21:00:01 -0000
- Subject: target/5715: alpha-OSF - sends incorrect options to as.
- Reply-to: tilps at hotmail dot com
>Number: 5715
>Category: target
>Synopsis: alpha-OSF - sends incorrect options to as.
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Feb 17 13:06:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator: tilps@hotmail.com
>Release: 3.0.3
>Organization:
>Environment:
alphaev56-dec-osf4.0d
>Description:
gcc/config/alpha/osf.h
includes the line
#define ASM_SPEC "%{!mgas:-g %(asm_oldas)} -nocpp %{pg} -O0"
problems with this line include -O0 is sent when mgas is
selected - and gas doesnt support -O0
also -nocpp is Always sent - which is bad when the input file is .s - and needs cpp ... - prehaps gcc should be running cpp on .s - but I couldnt find anywhere that it was programmed to do so.
>How-To-Repeat:
compiling mozilla 0.9.8 - the xpcom/reflect/md/unix
running make causes gcc calls the OSF as - which core dumps because it cant handle the .s file which contains comments.
After installing gas to try and fix this - gcc just dies at assembly stage no matter what - since -O0 gets passed to as which gas doesnt understand.
>Fix:
modify the ASM_SPEC line to be more intelligent.
>Release-Note:
>Audit-Trail:
>Unformatted: