Re: libgcc/sync.c vs. cgraph alias tracking

2013-10-09 Thread Richard Sandiford
Jan Hubicka hubi...@ucw.cz writes: MIPS16 code can't do atomic operations directly, so it calls into out-of-line versions that are compiled as -mno-mips16. These out-of-line versions use the same open-coded implementation as you'd get in normal -mno-mips16 code. Hmm, and I assume you don't

Re: libgcc/sync.c vs. cgraph alias tracking

2013-10-09 Thread Jan Hubicka
Jan Hubicka hubi...@ucw.cz writes: MIPS16 code can't do atomic operations directly, so it calls into out-of-line versions that are compiled as -mno-mips16. These out-of-line versions use the same open-coded implementation as you'd get in normal -mno-mips16 code. Hmm, and I assume

cortex-m3(gcc.4.6.3)

2013-10-09 Thread Umesh Kalappa
Dear Group, The below asm is generated for target cortex-m3 (gcc-4.6.3) main: @ args = 0, pretend = 0, frame = 0 @ frame_needed = 0, uses_anonymous_args = 0 push {r3, r4, r5, lr} bl vAlgTNoOptimize movs r0, #170 bl vFnCall bl vAlgTOptimize ldr r4, .L22 add

Re: cortex-m3(gcc.4.6.3)

2013-10-09 Thread pinskia
On Oct 9, 2013, at 2:14 AM, Umesh Kalappa umesh.kalap...@gmail.com wrote: Dear Group, The below asm is generated for target cortex-m3 (gcc-4.6.3) main: @ args = 0, pretend = 0, frame = 0 @ frame_needed = 0, uses_anonymous_args = 0 push {r3, r4, r5, lr} bl

Re: libgcc/sync.c vs. cgraph alias tracking

2013-10-09 Thread Jakub Jelinek
On Wed, Oct 09, 2013 at 10:59:35AM +0200, Jan Hubicka wrote: I see, the previous implementation tricked the one-declaration rule by introducing two names. What made the difference is that the second name is expanded as builtin... So you don't have __bulitin_sync_synchronize() at hand that

GCC retargeting

2013-10-09 Thread Umesh Kalappa
Dear Group , We are re-targeting the GCC to the CISC target ,which has the eight 8-bit registers and same register set can used as pair register for 16 bit computation i.e four 16-bits . Any one in the group tell me ,How do i model this requirement using the target macros like

Re: libgcc/sync.c vs. cgraph alias tracking

2013-10-09 Thread Richard Sandiford
Jakub Jelinek ja...@redhat.com writes: On Wed, Oct 09, 2013 at 10:59:35AM +0200, Jan Hubicka wrote: I see, the previous implementation tricked the one-declaration rule by introducing two names. What made the difference is that the second name is expanded as builtin... So you don't have

Re: libgcc/sync.c vs. cgraph alias tracking

2013-10-09 Thread Jakub Jelinek
On Wed, Oct 09, 2013 at 10:56:33AM +0100, Richard Sandiford wrote: gcc/testsuite/ * gcc.target/i386/asm-rename-1.c: New file. Index: gcc/testsuite/gcc.target/i386/asm-rename-1.c === --- /dev/null 2013-10-09

GCC 4.8.2 Release Candidate available from gcc.gnu.org

2013-10-09 Thread Jakub Jelinek
The first release candidate for GCC 4.8.2 is available from ftp://gcc.gnu.org/pub/gcc/snapshots/4.8.2-RC-20131009 and shortly its mirrors. It has been generated from SVN revision 203308. I have so far bootstrapped and tested the release candidate on x86_64-linux and i686-linux. Please test

GCC 4.8.2 Status Report (2013-10-09)

2013-10-09 Thread Jakub Jelinek
Status == The GCC 4.8.2-rc1 release candidate has been released. The branch is frozen now, all changes require release manager approval until the final release of GCC 4.8.2 which should happen roughly one week after the release candidate. Quality Data Priority #

Re: GCC retargeting

2013-10-09 Thread Paul_Koning
On Oct 9, 2013, at 5:24 AM, Umesh Kalappa umesh.kalap...@gmail.com wrote: Dear Group , We are re-targeting the GCC to the CISC target ,which has the eight 8-bit registers and same register set can used as pair register for 16 bit computation i.e four 16-bits . Any one in the group

X86-64 System V Application Binary Interface group announcement

2013-10-09 Thread H.J. Lu
Hi, www.x86-64.org was down for several months and it is up now, but not in its full capacity. I created a x86-64 psABI group: https://groups.google.com/forum/?hl=en#!forum/x86-64-abi so that there is a mailing list we can discuss x86-64 psABI related issues. Thanks. -- H.J.

RE: Cilk Library

2013-10-09 Thread Iyer, Balaji V
Dear Jeff and the rest of Steering committee members, Thank you very much for approving the license terms of the Cilk Library. I couldn't attach the zipped copy of the patch due to its size, so here is a link to the Cilk library patch that can be applied to the trunk:

RE: Cilk Library

2013-10-09 Thread Joseph S. Myers
Some observations: * Various source files include x86-specific asm. At some point it will need restructuring so that the architecture-specific parts go in architecture-specific files and it's clear what to do to add support for another architecture. * Given that architecture dependency, the

libgccjit.so: an embeddable JIT-compilation library based on GCC

2013-10-09 Thread David Malcolm
As some may have seen I posted a patch to gcc-patches that adds a way to embed GCC as a shared library, for Just-In-Time compilation, for use e.g. by bytecode interpreters: http://gcc.gnu.org/ml/gcc-patches/2013-10/msg00228.html I've gone ahead and created a git-only on the mirror as branch

[Bug target/57310] [4.7/4.8/4.9 Regression] segfault with -O2 or higher on x86_64-linux-gnu

2013-10-09 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57310 Jakub Jelinek jakub at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED

[Bug c++/58627] [4.9 Regression] crash during compilation of boost testsuite

2013-10-09 Thread markus at trippelsdorf dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58627 Markus Trippelsdorf markus at trippelsdorf dot de changed: What|Removed |Added CC||jason

[Bug bootstrap/58666] New: make install after make bootstrap-lean fails starting with r202895

2013-10-09 Thread krebbel at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58666 Bug ID: 58666 Summary: make install after make bootstrap-lean fails starting with r202895 Product: gcc Version: 4.9.0 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/58530] [4.9 Regression] crash in get_combined_adhoc_loc

2013-10-09 Thread dcb314 at hotmail dot com
Resolution|--- |FIXED --- Comment #4 from David Binderman dcb314 at hotmail dot com --- Seems to be fixed by 20131009, revision 203302

[Bug bootstrap/58666] make install after make bootstrap-lean fails starting with r202895

2013-10-09 Thread mario.held at de dot ibm.com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58666 --- Comment #1 from Mario Held mario.held at de dot ibm.com --- Same behavior seen on my systems. A 'make' of GCC (s390x) sucessful, ' make bootstrap-lean' fails.

[Bug tree-optimization/50417] regression: memcpy with known alignment

2013-10-09 Thread gjl at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50417 Georg-Johann Lay gjl at gcc dot gnu.org changed: What|Removed |Added Keywords|

[Bug tree-optimization/58539] [4.7/4.8 Regression] ICE with segfault at -O3 with -g enabled on x86_64-linux-gnu

2013-10-09 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58539 --- Comment #5 from Jakub Jelinek jakub at gcc dot gnu.org --- Author: jakub Date: Wed Oct 9 09:26:48 2013 New Revision: 203307 URL: http://gcc.gnu.org/viewcvs?rev=203307root=gccview=rev Log: Backport from mainline 2013-09-26 Richard

[Bug fortran/31593] Invariant DO loop variables and subroutines

2013-10-09 Thread dominiq at lps dot ens.fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31593 --- Comment #45 from Dominique d'Humieres dominiq at lps dot ens.fr --- Anything left to fix in this PR?

[Bug debug/58663] entry-value: missing DW_TAG_GNU_call_site for libasan calls

2013-10-09 Thread jan.kratochvil at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58663 Jan Kratochvil jan.kratochvil at redhat dot com changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED

[Bug fortran/58667] New: Add -Wfloat-conversion

2013-10-09 Thread burnus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58667 Bug ID: 58667 Summary: Add -Wfloat-conversion Product: gcc Version: 4.9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran

[Bug middle-end/58570] [4.9 Regression] wrong code for bitfields at -O2 and above

2013-10-09 Thread ebotcazou at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58570 --- Comment #13 from Eric Botcazou ebotcazou at gcc dot gnu.org --- Author: ebotcazou Date: Wed Oct 9 12:59:02 2013 New Revision: 203315 URL: http://gcc.gnu.org/viewcvs?rev=203315root=gccview=rev Log: PR middle-end/58570 *

[Bug c/20318] RFE: add attribute to specify that a function never returns NULL

2013-10-09 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20318 --- Comment #10 from Marc Glisse glisse at gcc dot gnu.org --- Author: glisse Date: Wed Oct 9 13:03:13 2013 New Revision: 203316 URL: http://gcc.gnu.org/viewcvs?rev=203316root=gccview=rev Log: 2013-10-09 Marc Glisse marc.gli...@inria.fr

[Bug middle-end/58570] [4.9 Regression] wrong code for bitfields at -O2 and above

2013-10-09 Thread ebotcazou at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58570 Eric Botcazou ebotcazou at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED

[Bug c++/58635] [c++11] ICE with __transaction_atomic and noexcept(false)

2013-10-09 Thread mpolacek at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58635 --- Comment #3 from Marek Polacek mpolacek at gcc dot gnu.org --- Author: mpolacek Date: Wed Oct 9 14:51:28 2013 New Revision: 203323 URL: http://gcc.gnu.org/viewcvs?rev=203323root=gccview=rev Log: PR c++/58635 cp/ * semantics.c

[Bug c++/58635] [c++11] ICE with __transaction_atomic and noexcept(false)

2013-10-09 Thread mpolacek at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58635 Marek Polacek mpolacek at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[Bug tree-optimization/58654] [4.9 Regression] ICE: abort compiling libstdc++-v3/src/c ++98/sstream-inst.cc

2013-10-09 Thread danglin at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58654 John David Anglin danglin at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED

[Bug target/58668] New: [arm with hardfp ABI]: internal compiler error: in cond_exec_process_insns, at ifcvt.c:339

2013-10-09 Thread sebastien at debian dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58668 Bug ID: 58668 Summary: [arm with hardfp ABI]: internal compiler error: in cond_exec_process_insns, at ifcvt.c:339 Product: gcc Version: 4.8.1 Status: UNCONFIRMED

[Bug java/58669] New: does not detect all cpu cores/threads

2013-10-09 Thread folkert at vanheusden dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58669 Bug ID: 58669 Summary: does not detect all cpu cores/threads Product: gcc Version: 4.8.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: java

[Bug java/58669] does not detect all cpu cores/threads

2013-10-09 Thread gnu_andrew at member dot fsf.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58669 Andrew John Hughes gnu_andrew at member dot fsf.org changed: What|Removed |Added Status|UNCONFIRMED |NEW

[Bug java/58669] does not detect all cpu cores/threads

2013-10-09 Thread gnu_andrew at member dot fsf.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58669 --- Comment #2 from Andrew John Hughes gnu_andrew at member dot fsf.org --- This is easily fixed with sysconf(_SC_NPROCESSORS_ONLN);

[Bug java/58669] does not detect all cpu cores/threads

2013-10-09 Thread folkert at vanheusden dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58669 --- Comment #3 from Folkert van Heusden folkert at vanheusden dot com --- Did some googling and with appropriate #ifdefs it should be at least on linux possible to retrieve this value: sysconf(_SC_NPROCESSORS_ONLN); If that function can't figure

[Bug target/58668] [arm with hardfp ABI]: internal compiler error: in cond_exec_process_insns, at ifcvt.c:339

2013-10-09 Thread ktkachov at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58668 ktkachov at gcc dot gnu.org changed: What|Removed |Added CC||ktkachov at gcc dot gnu.org

[Bug middle-end/58670] New: asm goto miscompilation

2013-10-09 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58670 Bug ID: 58670 Summary: asm goto miscompilation Product: gcc Version: 4.8.1 Status: UNCONFIRMED Keywords: wrong-code Severity: normal Priority: P3

[Bug java/58669] does not detect all cpu cores/threads

2013-10-09 Thread gnu_andrew at member dot fsf.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58669 --- Comment #4 from Andrew John Hughes gnu_andrew at member dot fsf.org --- Yes, I just said that above. I'll propose a patch when I get chance.

[Bug java/58669] does not detect all cpu cores/threads

2013-10-09 Thread gnu_andrew at member dot fsf.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58669 --- Comment #5 from Andrew John Hughes gnu_andrew at member dot fsf.org --- Thanks for reporting this. I'll let you know when a fix is committed.

[Bug middle-end/21718] real.c rounding not perfect

2013-10-09 Thread exploringbinary at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21718 --- Comment #19 from Rick Regan exploringbinary at gmail dot com --- I've looked into this and found that real.c/real.h use a precision of SIGNIFICAND_BITS, which is dependent on an architecture-dependent value called HOST_BITS_PER_LONG. In

[Bug middle-end/58670] asm goto miscompilation

2013-10-09 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58670 --- Comment #1 from Jakub Jelinek jakub at gcc dot gnu.org --- I see multiple issues: 1) commit_one_edge_insertion doesn't seem to cope with asm goto, I think asm goto with only labels pointing to the fallthru bb's labels can happen both for

[Bug fortran/48923] Type with Allocatable Length Character Component

2013-10-09 Thread burnus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48923 Tobias Burnus burnus at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED

[Bug c++/58207] [4.7/4.8/4.9 Regression] ICE in sort_constexpr_mem_initializers due to out of bounds vector access

2013-10-09 Thread reichelt at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58207 Volker Reichelt reichelt at gcc dot gnu.org changed: What|Removed |Added Keywords|

[Bug c++/58671] New: ICE with thread_local and self-referential variable initialization

2013-10-09 Thread reichelt at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58671 Bug ID: 58671 Summary: ICE with thread_local and self-referential variable initialization Product: gcc Version: 4.9.0 Status: UNCONFIRMED Severity: normal

[Bug c++/58672] New: ICE with thread_local and variable of broken class

2013-10-09 Thread reichelt at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58672 Bug ID: 58672 Summary: ICE with thread_local and variable of broken class Product: gcc Version: 4.9.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug target/58673] New: ICE in final_scan_insn for movti_ppc64 with base+offset address

2013-10-09 Thread pthaugen at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58673 Bug ID: 58673 Summary: ICE in final_scan_insn for movti_ppc64 with base+offset address Product: gcc Version: 4.9.0 Status: UNCONFIRMED Severity: normal

[Bug target/58673] ICE in final_scan_insn for movti_ppc64 with base+offset address

2013-10-09 Thread pthaugen at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58673 --- Comment #1 from Pat Haugen pthaugen at gcc dot gnu.org --- Created attachment 30972 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=30972action=edit testcase Another similar example, but this one is on a store to memory instead of a load.

[Bug c++/58674] New: [4.8/4.9 Regression] [c++11] ICE with template using declaration

2013-10-09 Thread reichelt at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58674 Bug ID: 58674 Summary: [4.8/4.9 Regression] [c++11] ICE with template using declaration Product: gcc Version: 4.9.0 Status: UNCONFIRMED Severity: normal

[Bug target/58675] New: ICE in rs6000_secondary_reload_inner:15460, type = store

2013-10-09 Thread pthaugen at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58675 Bug ID: 58675 Summary: ICE in rs6000_secondary_reload_inner:15460, type = store Product: gcc Version: 4.9.0 Status: UNCONFIRMED Severity: normal

[Bug c++/58333] performance regression when using -std=c++0x

2013-10-09 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58333 Paolo Carlini paolo.carlini at oracle dot com changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED

[Bug c++/50961] Fails to decay template function properly(?)

2013-10-09 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50961 Paolo Carlini paolo.carlini at oracle dot com changed: What|Removed |Added Status|UNCONFIRMED |NEW

[Bug fortran/58676] New: Intrinsic functions not considered pure actual arguments

2013-10-09 Thread ian_harvey at bigpond dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58676 Bug ID: 58676 Summary: Intrinsic functions not considered pure actual arguments Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug c++/21802] Two-stage name lookup fails for operators

2013-10-09 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21802 --- Comment #2 from Paolo Carlini paolo.carlini at oracle dot com --- This bug likely needs an update: the testcase is still rejected, but likewise happens with ICC and clang.

[Bug middle-end/21718] real.c rounding not perfect

2013-10-09 Thread vincent-gcc at vinc17 dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21718 --- Comment #20 from Vincent Lefèvre vincent-gcc at vinc17 dot net --- I suppose that for any 54-bit[*] odd integer multiplied by a power of two with a large exponent (in absolute value), some decimal numbers close to this value will be affected.

[Bug c++/56926] Crash (without ICE) while compiling Boost.Math

2013-10-09 Thread asmwarrior at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56926 asmwarrior asmwarrior at gmail dot com changed: What|Removed |Added CC||asmwarrior at

[Bug middle-end/58677] New: wrong code at -O1 on x86_64-linux-gnu

2013-10-09 Thread su at cs dot ucdavis.edu
++,fortran,lto --disable-werror --enable-checking=release --with-gmp=/usr/local/gcc-trunk --with-mpfr=/usr/local/gcc-trunk --with-mpc=/usr/local/gcc-trunk --with-cloog=/usr/local/gcc-trunk --prefix=/usr/local/gcc-trunk Thread model: posix gcc version 4.9.0 20131009 (experimental) [trunk revision 203302

[Bug c++/58671] [c++11] ICE with thread_local and self-referential variable initialization

2013-10-09 Thread mpolacek at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58671 Marek Polacek mpolacek at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Last

Re: Add a param to decide stack slot sharing at -O0

2013-10-09 Thread Eric Botcazou
Seems like a odd thing for a param. If the compile time increase is very small ( 1%?) I would just make the new threshold default. I don't understand the 'odd' here... params are exactly for this purpose, i.e. to avoid hardcoding magic numbers in the compiler, so please elaborate. -- Eric

[Committed] S/390: Use FPRs as GPR save slots

2013-10-09 Thread Andreas Krebbel
Hi, with the attached patch we use call-clobbered floating point registers as save slots for general purpose registers in leaf functions. Bootstrapped and regtested with various options and -march levels. Committed to mainline. Bye, -Andreas- 2013-10-09 Andreas Krebbel

[Committed] S/390: Cleanup of s390_frame_info

2013-10-09 Thread Andreas Krebbel
Just a cleanup of the s390_frame_info function. Committed to mainline after regression test was fine. Bye, -Andreas- 2013-10-09 Andreas Krebbel andreas.kreb...@de.ibm.com * config/s390/s390.c (s390_frame_info): Restructure function. --- gcc/config/s390/s390.c | 112

[Committed] S/390: Use fix stack slots for FPRs saved due to stdarg

2013-10-09 Thread Andreas Krebbel
Hi, for stdarg the floating point argument registers in the register save area must reside at an ABI-defined offset relative to the start of the save area. So far were not able to optimize away save instructions with the packed stack layout since this changed the offsets. With the attached

Re: Cleanup patches

2013-10-09 Thread Thomas Schwinge
Hi! On Tue, 8 Oct 2013 22:04:23 +0200, Jakub Jelinek ja...@redhat.com wrote: On Tue, Oct 08, 2013 at 09:17:35AM +0200, Thomas Schwinge wrote: Here are a few cleanup patches, mostly in the realm of OpenMP, so Jakub gets a CC. OK to commit? They look ok to me, but I'd prefer if they could

Re: Cleanup patches

2013-10-09 Thread Jakub Jelinek
On Wed, Oct 09, 2013 at 10:56:25AM +0200, Thomas Schwinge wrote: On Tue, 8 Oct 2013 22:04:23 +0200, Jakub Jelinek ja...@redhat.com wrote: On Tue, Oct 08, 2013 at 09:17:35AM +0200, Thomas Schwinge wrote: Here are a few cleanup patches, mostly in the realm of OpenMP, so Jakub gets a CC. OK

Re: Cleanup patches

2013-10-09 Thread Tobias Burnus
Thomas Schwinge wrote: Meanwhile, here's another series that I assumed had gotten lost, but now recovered thanks to Âgit fsckÂ. Also OK to commit? _OPENMP pre-processor checks, openmp_version Fortran instrinsic checks. Two remarks: * When Jakub's patch gets it, one needs to update the C/C++

[4.8] Backported fix for PR tree-optimization/58539

2013-10-09 Thread Jakub Jelinek
Hi! I've backported the following patch to 4.8 branch, bootstrapped/regtested on x86_64-linux and i686-linux, committed. 2013-10-09 Jakub Jelinek ja...@redhat.com Backport from mainline 2013-09-26 Richard Biener rguent...@suse.de PR tree-optimization/58539 *

[4.8] Fix OMP_THREAD_LIMIT libgomp handling

2013-10-09 Thread Jakub Jelinek
Hi! This is the minimal fix for the issue mentioned in http://gcc.gnu.org/ml/gcc-patches/2013-10/msg00333.html that is being fixed as part of gomp-4_0-branch merge to trunk, but for 4.8 I've applied this fix instead. The testcase also includes the follow-up fix from

Re: Cleanup patches

2013-10-09 Thread Thomas Schwinge
Hi! On Wed, 9 Oct 2013 11:04:29 +0200, Jakub Jelinek ja...@redhat.com wrote: The testing _OPENMP value against 201107 won't work after merge, it will be 201307 instead. The Fortran openmp_version will be still 201107 for now, as Fortran OpenMP 4.0 support isn't there yet. And: On Wed, 9 Oct

RE: Fix scheduler ix86_issue_rate and ix86_adjust_cost for modern x86 chips

2013-10-09 Thread Gopalasubramanian, Ganesh
Hi Honza, Yep, I think we need to merge only those autmatas tha are same for both: (define_automaton bdver3,bdver3_ieu,bdver3_load,bdver3_fp,bdver3_agu) probably can become (define_automaton bdver3,bdver3_fp) with the corresponding reservations using bdver3_ieu,bdver3_load,bdver3_agu

Re: [patch] Add tree-ssa-loop.h and friends.

2013-10-09 Thread Richard Biener
On Tue, Oct 8, 2013 at 4:15 PM, Andrew MacLeod amacl...@redhat.com wrote: On 10/08/2013 09:18 AM, Richard Biener wrote: On Tue, Oct 8, 2013 at 2:58 PM, Andrew MacLeod amacl...@redhat.com wrote: I just took a quick stab at it... I think its pretty involved and someone with better loop

Re: [PATCH i386 3/8] [AVX512] [2/n] Add AVX-512 patterns: Fix missing `v' constraint.

2013-10-09 Thread Kirill Yukhin
Hello, This patch is still far too large. I think you should split it up based on every single mode iterator that you need to add or change. Here's 2nd subpatch. It fixes missing `v' constraints. Is it Ok? Testing: 1. Bootstrap pass. 2. make check shows no regressions. 3. Spec 2000

Re: [PATCH i386 3/8] [AVX512] [3/n] Add AVX-512 patterns: VF1 and VI iterators.

2013-10-09 Thread Kirill Yukhin
Hello, This patch is still far too large. I think you should split it up based on every single mode iterator that you need to add or change. Here's 3rd subpatch. It extends VF1 and VI iterators. Is it Ok? Testing: 1. Bootstrap pass. 2. make check shows no regressions. 3. Spec 2000

Re: [PATCH i386 3/8] [AVX512] [4/n] Add AVX-512 patterns: V iterator.

2013-10-09 Thread Kirill Yukhin
Hello, This patch is still far too large. I think you should split it up based on every single mode iterator that you need to add or change. Here's 4th subpatch. It extends V iterator. Is it Ok? Testing: 1. Bootstrap pass. 2. make check shows no regressions. 3. Spec 2000 2006 build

Re: [PATCH i386 3/8] [AVX512] [6/n] Add AVX-512 patterns: VI2 and VI124 iterators.

2013-10-09 Thread Kirill Yukhin
Hello, This patch is still far too large. I think you should split it up based on every single mode iterator that you need to add or change. Here's 6th subpatch. It extends VI2 and VI124 iterators. Is it Ok? Testing: 1. Bootstrap pass. 2. make check shows no regressions. 3. Spec 2000

Re: [PATCH i386 3/8] [AVX512] [5/n] Add AVX-512 patterns: Introduce `multdiv' code iterator.

2013-10-09 Thread Kirill Yukhin
Hello, This patch is still far too large. I think you should split it up based on every single mode iterator that you need to add or change. Here's 5th subpatch. It introduces `multdiv' code iterator. Is it Ok? Testing: 1. Bootstrap pass. 2. make check shows no regressions. 3. Spec

Re: [PATCH i386 3/8] [AVX512] [7/n] Add AVX-512 patterns: VI4 and VI8 iterators.

2013-10-09 Thread Kirill Yukhin
Hello, This patch is still far too large. I think you should split it up based on every single mode iterator that you need to add or change. Here's 7th subpatch. It extends VI4 and VI8 iterators. Is it Ok? Testing: 1. Bootstrap pass. 2. make check shows no regressions. 3. Spec 2000

Re: [PATCH i386 3/8] [AVX512] [8/n] Add AVX-512 patterns: VI48 and VI48_AVX2 iterators.

2013-10-09 Thread Kirill Yukhin
Hello, This patch is still far too large. I think you should split it up based on every single mode iterator that you need to add or change. Here's 8th subpatch. It extends VI48 and VI48_AVX2 iterators. Is it Ok? Testing: 1. Bootstrap pass. 2. make check shows no regressions. 3. Spec

Re: [PATCH i386 3/8] [AVX512] [10/n] Add AVX-512 patterns: VI248_AVX2_8_AVX512F and VI124_256_48_AVX512F iterators.

2013-10-09 Thread Kirill Yukhin
Hello, This patch is still far too large. I think you should split it up based on every single mode iterator that you need to add or change. Here's 10th subpatch. It introduces VI248_AVX2_8_AVX512F and VI124_256_48_512 iterators. Is it Ok? Testing: 1. Bootstrap pass. 2. make check

Re: [PATCH i386 3/8] [AVX512] [9/n] Add AVX-512 patterns: VI124_AVX2, VI8F iterators.

2013-10-09 Thread Kirill Yukhin
Hello, This patch is still far too large. I think you should split it up based on every single mode iterator that you need to add or change. Here's 9th subpatch. It extends VI124_AVX2_48 and VI8F iterators. Is it Ok? Testing: 1. Bootstrap pass. 2. make check shows no regressions. 3.

Re: [PATCH i386 3/8] [AVX512] [11/n] Add AVX-512 patterns: FMA.

2013-10-09 Thread Kirill Yukhin
Hello, This patch is still far too large. I think you should split it up based on every single mode iterator that you need to add or change. Here's 11th subpatch. It introduces AVX-512 FMA instructions. Is it Ok? Testing: 1. Bootstrap pass. 2. make check shows no regressions. 3. Spec

Re: [PATCH i386 3/8] [AVX512] [13/n] Add AVX-512 patterns: VI4_AVX iterator.

2013-10-09 Thread Kirill Yukhin
Hello, This patch is still far too large. I think you should split it up based on every single mode iterator that you need to add or change. Here's 13th subpatch. It introduces VI4_AVX iterator. Is it Ok? Testing: 1. Bootstrap pass. 2. make check shows no regressions. 3. Spec 2000

Re: [PATCH i386 3/8] [AVX512] [12/n] Add AVX-512 patterns: V_512 and VI_512 iterators.

2013-10-09 Thread Kirill Yukhin
Hello, This patch is still far too large. I think you should split it up based on every single mode iterator that you need to add or change. Here's 12th subpatch. It introduces VF_512 and VI_512 iterators. Is it Ok? Testing: 1. Bootstrap pass. 2. make check shows no regressions. 3.

Re: [PATCH i386 3/8] [AVX512] [15/n] Add AVX-512 patterns: VI48F_512 iterator.

2013-10-09 Thread Kirill Yukhin
Hello, This patch is still far too large. I think you should split it up based on every single mode iterator that you need to add or change. Here's 15th subpatch. It introduces VI48F_512 iterator. Is it Ok? Testing: 1. Bootstrap pass. 2. make check shows no regressions. 3. Spec 2000

Re: [PATCH i386 3/8] [AVX512] [14/n] Add AVX-512 patterns: VI48F_256_512 iterator.

2013-10-09 Thread Kirill Yukhin
Hello, This patch is still far too large. I think you should split it up based on every single mode iterator that you need to add or change. Here's 14th subpatch. It introduces VI48F_256_512 iterator. Is it Ok? Testing: 1. Bootstrap pass. 2. make check shows no regressions. 3. Spec

Re: [PATCH i386 3/8] [AVX512] [17/n] Add AVX-512 patterns: V8FI and V16FI iterators.

2013-10-09 Thread Kirill Yukhin
Hello, This patch is still far too large. I think you should split it up based on every single mode iterator that you need to add or change. Here's 17th subpatch. It introduces V8FI and V16FI iterators. Is it Ok? Testing: 1. Bootstrap pass. 2. make check shows no regressions. 3. Spec

Re: [PATCH i386 3/8] [AVX512] [18/n] Add AVX-512 patterns: various RCPs and SQRTs.

2013-10-09 Thread Kirill Yukhin
Hello, This patch is still far too large. I think you should split it up based on every single mode iterator that you need to add or change. Here's 18th subpatch. It introduces various new insns. Is it Ok? Testing: 1. Bootstrap pass. 2. make check shows no regressions. 3. Spec 2000

Re: [PATCH i386 3/8] [AVX512] [20/n] Add AVX-512 patterns: Misc.

2013-10-09 Thread Kirill Yukhin
Hello, This patch is still far too large. I think you should split it up based on every single mode iterator that you need to add or change. Here's 20th subpatch. It introduces last insns of AVX-512F. Is it Ok? Testing: 1. Bootstrap pass. 2. make check shows no regressions. 3. Spec

Re: [PATCH i386 3/8] [AVX512] [19/n] Add AVX-512 patterns: Extracts and converts.

2013-10-09 Thread Kirill Yukhin
Hello, This patch is still far too large. I think you should split it up based on every single mode iterator that you need to add or change. Here's 19th subpatch. It extends extract and convert insn patterns. Is it Ok? Testing: 1. Bootstrap pass. 2. make check shows no regressions.

Re: [PATCH i386 3/8] [AVX512] [16/n] Add AVX-512 patterns: VI48_512 and VI4F_128 iterators.

2013-10-09 Thread Kirill Yukhin
Hello, This patch is still far too large. I think you should split it up based on every single mode iterator that you need to add or change. Here's 1st subpatch. It extends VI4F_128 and introduces VI48_512 iterator. Is it Ok? Testing: 1. Bootstrap pass. 2. make check shows no

Re: [PATCH][ARM]Replace gen_rtx_PLUS with plus_constant

2013-10-09 Thread Kyrill Tkachov
On 01/10/13 11:15, Marcus Shawcroft wrote: On 30 September 2013 14:23, Renlin Li renlin...@arm.com wrote: OK for trunk? Kind regards, Renlin Li gcc/ChangeLog: 2013-09-30 Renlin Li renlin...@arm.com * config/arm/arm.c (arm_output_mi_thunk): Use plus_constant. OK /Marcus Hi Renlin,

Re: [patch] Fix PR middle-end/58570

2013-10-09 Thread Richard Biener
On Tue, Oct 8, 2013 at 7:52 PM, Eric Botcazou ebotca...@adacore.com wrote: Probably because the actual accesses may overlap if we choose to perform a bigger access. Nope, simply because they share a byte. The same can happen if we for struct { char c1; char c2; } perform an HImode access in

Re: [PATCH][AArch64] Vneg NEON intrinsics modified

2013-10-09 Thread Marcus Shawcroft
On 8 October 2013 17:10, Alex Velenko alex.vele...@arm.com wrote: gcc/testsuite/ 2013-10-08 Alex Velenko alex.vele...@arm.com * gcc.target/aarch64/vneg_f.c: New testcase. * gcc.target/aarch64/vneg_s.c: New testcase. gcc/ 2013-10-08 Alex Velenko alex.vele...@arm.com

Re: [patch] The remainder of tree-flow.h refactored.

2013-10-09 Thread Richard Biener
On Wed, Oct 9, 2013 at 1:31 AM, Andrew MacLeod amacl...@redhat.com wrote: On 10/08/2013 07:44 AM, Andrew MacLeod wrote: On 10/08/2013 06:22 AM, Richard Biener wrote: graphite.h should be unnecessary with moving the pass struct like you did for other loop opts. Likewise tree-parloops.h

Re: Add a param to decide stack slot sharing at -O0

2013-10-09 Thread Richard Biener
On Tue, Oct 8, 2013 at 11:04 PM, Easwaran Raman era...@google.com wrote: In cfgexpand.c, variables in non-overlapping lexical scopes are assigned same stack locations at -O1 and above. At -O0, this is attempted only if the size of the stack objects is above a threshold (32). The rationale is

[C++ Patch] PR 58633 (Take 2)

2013-10-09 Thread Paolo Carlini
Hi, this is a completely different approach at fixing the bug, which overall I like better. In this case most of the patch touches cp_parser_decltype_expr: instead of using cp_parser_postfix_expression only for member access expressions, we accept all its valid return values (still

Re: [patch] Fix PR middle-end/58570

2013-10-09 Thread Eric Botcazou
In my opinion the MEM_EXPR is wrong, as it is supposed to be the tree equivalent of the memory access. At gimple level we handle accesses at bit-granularity so bit-accesses are fine. Not so at RTL level it seems. [this also shows we probably should lower bit-granular accesses at the

Re: [gomp4] Adjust some gcc.dg/autopar/ tests

2013-10-09 Thread Thomas Schwinge
Hi! On Tue, 8 Oct 2013 17:24:14 +0200, Jakub Jelinek ja...@redhat.com wrote: These tests were expecting 5 loopfn matches, 3 on the fn definition, one as GOMP_parallel_start argument and one called in between GOMP_parallel_start and GOMP_parallel_end. But the new API is to call GOMP_parallel

Re: [PATCH][AARCH64] Vdiv NEON intrinsic

2013-10-09 Thread Marcus Shawcroft
On 8 October 2013 17:25, Alex Velenko alex.vele...@arm.com wrote: gcc/testsuite/ 2013-09-10 Alex Velenko alex.vele...@arm.com * gcc.target/aarch64/vdiv_f.c: New testcase. gcc/ 2013-09-10 Alex Velenko alex.vele...@arm.com * config/aarch64/arm_neon.h

Re: [PATCH][AArch64] NEON vadd_f64 and vsub_f64 intrinsics modified

2013-10-09 Thread Marcus Shawcroft
On 8 October 2013 17:35, Alex Velenko alex.vele...@arm.com wrote: 2013-10-08 Alex Velenko alex.vele...@arm.com * gcc.target/aarch64/vadd_f64.c: New testcase. * gcc.target/aarch64/vsub_f64.c: New testcase. gcc/ 2013-10-08 Alex Velenko alex.vele...@arm.com *

Re: [patch] Fix PR middle-end/58570

2013-10-09 Thread Richard Biener
On Wed, Oct 9, 2013 at 1:36 PM, Eric Botcazou ebotca...@adacore.com wrote: In my opinion the MEM_EXPR is wrong, as it is supposed to be the tree equivalent of the memory access. At gimple level we handle accesses at bit-granularity so bit-accesses are fine. Not so at RTL level it seems.

  1   2   >