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]

Array to Double.


Hi,
When I try to compile something like:
foo(){
int a[] = {1,2};

....

}

gcc is combining them into a double (DImode) and handling as such. Is there a switch by which I can direct gcc not to do so? I am using gcc 2.95.2.

When the array has three elements this issues does not exist any more.

Any pointers?

Warm regards,
Krishna.


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