| To: | pro64-support@xxxxxxxxxxx |
|---|---|
| Subject: | gcc extension to control variable names works with sgiCC, but not sgicc. |
| From: | David Goodwin <goodwin@xxxxxxxxxxxxx> |
| Date: | Fri, 5 Jan 2001 09:37:38 -0800 (PST) |
| Cc: | goodwin@xxxxxxxxxxxxx |
| Reply-to: | goodwin@xxxxxxxxxxxxx |
| Sender: | owner-pro64-support@xxxxxxxxxxx |
gcc allows this use of "asm" to set the name used for a variable in the
assembly file to be different than the variable name in the source:
char myarray[10] asm ("asmname_myarray");
char *
proc (void)
{
return myarray;
}
> sgicc -v
SGIcc Compilers: Version 0.01.0-12
> sgiCC -v
SGIcc Compilers: Version 0.01.0-12
Compiling with sgiCC gives the correct result, i.e. the array is referred
to as "asmname_myarray". Using sgicc, the array is incorrectly referred to
as "myarray".
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: Column no. info required, Ross A. Towle |
|---|---|
| Next by Date: | Re: gcc extension to control variable names works with sgiCC, but not sgicc., Chandrasekhar Murthy |
| Previous by Thread: | Column no. info required, Rajalakshmi Iyer |
| Next by Thread: | Re: gcc extension to control variable names works with sgiCC, but not sgicc., Chandrasekhar Murthy |
| Indexes: | [Date] [Thread] [Top] [All Lists] |