------- Comment #3 from jamborm at gcc dot gnu dot org 2010-03-10 16:36 ------- Created an attachment (id=20075) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20075&action=view) Potential (preliminary) fix
After much tinkering I have came up with this patch do create an ABSTRACT_ORIGIN for functions affected by IPA-SRA. The formal parameter x is in debug info as shown by dwarfdump. The C and C++ testsuites have shown no regressions and the full bootstrap I am running at the moment is already in stage 3. However, this patch certainly does cut some corners so if you think it is unsuitable, please let me know, the sooner the better. Otherwise, if all goes well I'll add the missing comments, changelog, dependencies and stuff and will submit the patch for trunk. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43141