Re: SRA generates uninitialized var use

2011-06-19 Thread Xinliang David Li
Bootstrap and tested on linux/x86_64. Ok for trunk? David On Sat, Jun 18, 2011 at 1:56 AM, Xinliang David Li davi...@google.com wrote: Compiling the test case in the patch with -O2 -m32 without the fix, the program will abort. The problem is a var decl whose address is taken is not marked

Re: Cgraph alias reorg 15/14 (New infrastructure for same body aliases)

2011-06-19 Thread Hans-Peter Nilsson
On Sat, 11 Jun 2011, Jan Hubicka wrote: Hi, this patch complettes the same body alias rework by removing the old same body alias code and adding new representation. Same body aliases are now separate function nodes that have IPA_REF_ALIAS reference to the node they are alias of. I am

Re: [Ada] Fix bugs with volatile and components of aggregate types

2011-06-19 Thread Duncan Sands
Hi Eric, This is the usual problem of volatile accesses not preserved under (heavy) optimization. In Ada, we can put pragma Volatile on components of composite types without putting it on the enclosing type itself, if T is a non-volatile composite type with volatile components, and O is an

Re: Turn on -pie on darwin11 and later

2011-06-19 Thread Mike Stump
On Jun 15, 2011, at 6:33 PM, Mike Stump wrote: * mh-darwin: Turn off -pie on darwin11 and later. Also backported for gcc 4.5.4 and 4.6.1.

PING: PATCH: PR target/46770: Use .init_array/.fini_array sections

2011-06-19 Thread H.J. Lu
On Fri, Jun 3, 2011 at 5:51 AM, H.J. Lu hjl.to...@gmail.com wrote: On Fri, Jun 3, 2011 at 5:31 AM, Richard Guenther richard.guent...@gmail.com wrote: On Fri, Jun 3, 2011 at 6:31 AM, H.J. Lu hjl.to...@gmail.com wrote: On Wed, May 18, 2011 at 8:57 AM, H.J. Lu hjl.to...@gmail.com wrote: On Tue,

Re: PING: PATCH: PR target/46770: Use .init_array/.fini_array sections

2011-06-19 Thread Uros Bizjak
On Sun, Jun 19, 2011 at 8:39 PM, H.J. Lu hjl.to...@gmail.com wrote: I can't approve the configury changes and would like to defer to target maintainers for the target specific changes.  That said, I'm not familiar enough with the area of the patch.  But yes, it's stage1 now - so if anyone

Re: [RFC, ARM] Convert thumb1 prologue completely to rtl

2011-06-19 Thread Michael Hope
On Sun, Jun 19, 2011 at 7:02 AM, Richard Henderson r...@twiddle.net wrote: I couldn't find anything terribly tricky about the conversion. The existing push_mult pattern would service thumb1 with just a tweak or two to the memory predicate and the length. The existing emit_multi_reg_push

Re: [testsuite] scan-dump variants to use 'unresolved' for missing dump file

2011-06-19 Thread Mike Stump
On Jun 16, 2011, at 6:11 PM, Janis Johnson wrote: Currently, scan-dump variants treat a missing dump file as a failure and append : dump file does not exist to the test message that would be used with pass or fail. This patch treats it as unresolved instead, using the same test message as for

Re: [PATCH][Revised] Pass -no_pie on SYSTEMSPEC for darwin11

2011-06-19 Thread Mike Stump
On Jun 19, 2011, at 12:43 PM, Jack Howarth wrote: Thanks. Can we get this on gcc 4.5.4 as well? As commented in the PR, I'd have to see a confirmation that the bug exists in gcc-4.5.x _and_ that the patch fixes it (with no regressions). That had been previously stated for gcc-4.6.x, which is

Re: [PATCH][Revised] Pass -no_pie on SYSTEMSPEC for darwin11

2011-06-19 Thread Jack Howarth
On Sun, Jun 19, 2011 at 02:40:59PM -0700, Mike Stump wrote: On Jun 19, 2011, at 12:43 PM, Jack Howarth wrote: Thanks. Can we get this on gcc 4.5.4 as well? As commented in the PR, I'd have to see a confirmation that the bug exists in gcc-4.5.x _and_ that the patch fixes it (with no

Converting Sparc to REG_CFA_* notes

2011-06-19 Thread Richard Henderson
Sparc is one of three users of a dwarf2out hook that I'd like to eliminate. The other two users (arm and ia64) should be able to transition directly to existing REG_CFA_* notes, and I will take care of those shortly. Sparc is the only user of DW_CFA_GNU_window_save, which means we need a

Re: [Ada] Fix bugs with volatile and components of aggregate types

2011-06-19 Thread Eric Botcazou
if T is a non-volatile composite type with volatile components, and O is an object of type T, are the optimizers allowed to remove the assignment O := O? Good question, that I'm not really qualified to answer. Any language lawyer? -- Eric Botcazou

Re: [PATCH][RFC][1/2] Bitfield lowering, add BIT_FIELD_EXPR

2011-06-19 Thread William J. Schmidt
On Thu, 2011-06-16 at 13:35 +0200, Richard Guenther wrote: This is a (possible) pre-requesite for the bitfield lowering patch, taken from the old mem-ref branch. It introduces BIT_FIELD_EXPR which can be used to do bitfield composition. BIT_FIELD_EXPR a, b, C1, C2 is equivalent to computing

Re: [Ada] Fix bugs with volatile and components of aggregate types

2011-06-19 Thread Mike Stump
On Jun 19, 2011, at 4:24 PM, Eric Botcazou wrote: if T is a non-volatile composite type with volatile components, and O is an object of type T, are the optimizers allowed to remove the assignment O := O? Good question, that I'm not really qualified to answer. Any language lawyer? I'd like