This is the mail archive of the gcc@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]
Other format: [Raw text]

Produce more simple assembler output


Why does gcc produce such a bad assembler output?
Instead using thousands of .long 0, why don't just use .fill size,0 ?
Example which will use 100 .long's instead of .fill 100,0:

int array[100]={[0 ... 100]=0};

rg
Benjamin


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