Re: [patch, testsuite, mips] Fix gcc.dg/torture/mips-sdata-1.c

2012-11-05 Thread Richard Sandiford
Steve Ellcey sell...@mips.com writes: On Mon, 2012-11-05 at 22:55 +, Richard Sandiford wrote: Steve Ellcey sell...@mips.com writes: I am not sure how ld is supposed to find crt0.o in the uninstalled setup, it exists in obj-mips-mti-elf/newlib/mips-mti-elf/libgloss/mips. The newlib and

Re: RFC: PR middle-end/55142: Check Pmode instead of ptr_mode for address mode

2012-11-05 Thread H.J. Lu
On Mon, Nov 5, 2012 at 3:06 PM, Richard Sandiford rdsandif...@googlemail.com wrote: H.J. Lu hjl.to...@gmail.com writes: On Sat, Nov 3, 2012 at 1:14 AM, H.J. Lu hjl.to...@gmail.com wrote: Hi, The testcase shows -O -mx32 -maddress-mode=long -fPIC -S generates; x.i:22:37: internal compiler

Re: RFC: PR middle-end/55142: Check Pmode instead of ptr_mode for address mode

2012-11-05 Thread H.J. Lu
On Mon, Nov 5, 2012 at 3:06 PM, Richard Sandiford rdsandif...@googlemail.com wrote: H.J. Lu hjl.to...@gmail.com writes: On Sat, Nov 3, 2012 at 1:14 AM, H.J. Lu hjl.to...@gmail.com wrote: Hi, The testcase shows -O -mx32 -maddress-mode=long -fPIC -S generates; x.i:22:37: internal compiler

Re: [x86] Fix gcc.c-torture/compile/20080806-1.c failures

2012-11-05 Thread H.J. Lu
On Mon, Nov 5, 2012 at 10:56 AM, Richard Sandiford rdsandif...@googlemail.com wrote: Uros Bizjak ubiz...@gmail.com writes: On Mon, Nov 5, 2012 at 9:30 AM, Richard Sandiford rdsandif...@googlemail.com wrote: gcc/ PR target/55204 * config/i386/i386.c

Re: [x86] Fix gcc.c-torture/compile/20080806-1.c failures

2012-11-05 Thread H.J. Lu
On Mon, Nov 5, 2012 at 3:34 PM, H.J. Lu hjl.to...@gmail.com wrote: On Mon, Nov 5, 2012 at 10:56 AM, Richard Sandiford rdsandif...@googlemail.com wrote: Uros Bizjak ubiz...@gmail.com writes: On Mon, Nov 5, 2012 at 9:30 AM, Richard Sandiford rdsandif...@googlemail.com wrote: gcc/ PR

[v3] Fix profile mode failures

2012-11-05 Thread Jonathan Wakely
* include/profile/deque: Constrain InputIterator parameters. * include/profile/forward_list: Likewise. * include/profile/list: Likewise. * include/profile/map.h: Likewise. * include/profile/multimap.h: Likewise. * include/profile/set.h: Likewise.

Re: [patch, testsuite, mips] Fix gcc.dg/torture/mips-sdata-1.c

2012-11-05 Thread Steve Ellcey
On Mon, 2012-11-05 at 23:22 +, Richard Sandiford wrote: No, same here: I don't use --with-sysroot for the newlib targets. Do you build a unified gcc+newlib tree? If not, I don't think the above boilerplate works; you'll have to use something else instead. E.g. install newlib first,

committed: fix extract_insn HAVE_ATTR_enabled SNAFU

2012-11-05 Thread Joern Rennecke
Committed as obvious. 2012-11-05 Joern Rennecke joern.renne...@embecosm.com * recog.c (extract_insn): Enabled alternative defaults to 1. Index: recog.c === --- recog.c (revision 193202) +++ recog.c (revision

Re: [tsan] ThreadSanitizer instrumentation part

2012-11-05 Thread Wei Mi
Hi Jakub, Thanks for the comments. I fix most of them except the setting of TODO_ The new patch.txt is attached. Thanks, Wei. + TODO_verify_all | TODO_update_ssa Ideally you shouldn't need TODO_update_ssa. I got error when I removed TODO_update_ssa, so I kept it. +|

Re: Minimize downward code motion during reassociation

2012-11-05 Thread Easwaran Raman
I am unable to figure out the right way to handle the debug statements. What I tried was to find debug statements that use the SSA name defined by the statement I moved (using SSA_NAME_IMM_USE_NODE) and then moved them as well at the right place. Thus, if I have to move t1 = a + b down (after the

[Patch] libitm: add HTM fastpath

2012-11-05 Thread Torvald Riegel
This patch adds support for using strongly-isolated HTMs with serial-irrevocable mode as fallback. Such HTMs can execute uninstrumented code transactionally, and eventually aborted transactions will cause no visible side effects. Data conflicts with nontransactional accesses lead to transactions

[PATCH] Cleanup last_location and update input_location in ipa_prop

2012-11-05 Thread Dehao Chen
Hi, This is a patch to do some obvious cleanup and setting correct input_location in ipa_prop (because it invokes gimplification routines). Bootstrapped and passed gcc regression tests. Is it okay for trunk? Thanks, Dehao gcc/ChangeLog: 2010-11-05 Dehao Chen de...@google.com *

Re: [PATCH] fix libgomp.c++/pr24455.C failures on darwin

2012-11-05 Thread Mike Stump
On Nov 5, 2012, at 12:40 PM, Jack Howarth howa...@bromo.med.uc.edu wrote: These can be fixed for darwin by passing -Wl,-undefined,dynamic_lookup on dg-options as has been recommended by the darwin linker maintainer. Okay for gcc trunk? Ok.

[patch] Contribute performance comparison script.

2012-11-05 Thread Lawrence Crowl
Add a contrib script for comparing the performance of two sets of compiler runs. Usage documentation is in the script. The script produces output of the form: $ compare_two_ftime_report_sets Log0/*perf Log3/*perf Arithmetic sample for timevar log files Log0/*perf and selecting lines containing

Re: GCC 4.8.0 Status Report (2012-10-29), Stage 1 to end soon

2012-11-05 Thread Easwaran Raman
I'd like to get a small patch to tree reassociation ( http://gcc.gnu.org/ml/gcc-patches/2012-10/msg01761.html ) in. Thanks, Easwaran On Mon, Oct 29, 2012 at 10:56 AM, Jakub Jelinek ja...@redhat.com wrote: Status == I'd like to close the stage 1 phase of GCC 4.8 development on Monday,

[patch] generate dual code paths in transactions

2012-11-05 Thread Aldy Hernandez
As originally discussed here... http://gcc.gnu.org/ml/gcc-patches/2012-10/msg02648.html ...the goal is to generate dual code paths for transactions: one for the instrumented code path, and one without instrumentation. In keeping with tradition, the implementation was nightmarish and our

RFC: PATCH to add abi_tag attribute

2012-11-05 Thread Jason Merrill
As discussed at the Cauldron in Prague, this patch introduces a C++ abi_tag attribute which can be attached to a function or class to modify its mangled name and avoid name collisions with earlier versions with a different ABI. It also adds a -Wabi-tag warning option to make the compiler

Re: GCC 4.8.0 Status Report (2012-10-29), Stage 1 to end soon

2012-11-05 Thread Peter Bergner
On Mon, 2012-11-05 at 15:47 +0100, Jakub Jelinek wrote: On Mon, Nov 05, 2012 at 08:40:00AM -0600, Peter Bergner wrote: Well we also patch config.in and configure.ac/configure. If those are acceptable to be patched later too, then great. If not, the patch That is the same thing as

[PATCH] Enable -mcpu=power8 for PowerPC

2012-11-05 Thread Peter Bergner
This patch enables new -mcpu and -mtune options for POWER8. The -mcpu=power8 option currently is just an alias for power7. The affect of these options will be expanded when more technical details are released by IBM. Bootstrapped and regtested on powerpc64-linux. Ok for mainline or should we

committed: Use mode parameter in epiphany_address_cost

2012-11-05 Thread Joern Rennecke
2012-11-06 Joern Rennecke joern.renne...@embecosm.com * config/epiphany/epiphany.c (epiphany_address_cost): Use MODE parameter. Index: config/epiphany/epiphany.c === --- config/epiphany/epiphany.c (revision

Re: [x86] Fix gcc.c-torture/compile/20080806-1.c failures

2012-11-05 Thread Richard Sandiford
H.J. Lu hjl.to...@gmail.com writes: On Mon, Nov 5, 2012 at 3:34 PM, H.J. Lu hjl.to...@gmail.com wrote: On Mon, Nov 5, 2012 at 10:56 AM, Richard Sandiford rdsandif...@googlemail.com wrote: Uros Bizjak ubiz...@gmail.com writes: On Mon, Nov 5, 2012 at 9:30 AM, Richard Sandiford

Re: [PATCH] Replace const_vector with match_operand in sse.md

2012-11-05 Thread Kirill Yukhin
Hi, Yes, the patch is OK for mainline SVN. Checked into trunk: http://gcc.gnu.org/ml/gcc-cvs/2012-11/msg00155.html Thanks, K

<    1   2