This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Array to Double.
- From: N V Krishna <nvk at CS dot UCLA dot EDU>
- To: gcc at gnu dot org
- Date: Mon, 19 Sep 2005 22:36:59 -0700
- Subject: 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.