This is the mail archive of the gcc-patches@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] |
Janus Weil wrote:+ /* Add current_attr to the symbol attributes. */ + src_attr = (char *) (&(current_attr)); + dest_attr = (char *) (&(sym->attr)); + for (i = 0; i < (int) sizeof (sym->attr); i++) + { + *dest_attr = (*dest_attr) | (*src_attr); + dest_attr++; + src_attr++; + }
This doesn't make any sense. There's a function gfc_copy_attr() which maybe does what you want.
Apologies, - Tobi
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |