Re: update acc routines in fortran

2015-11-20 Thread Jakub Jelinek
On Thu, Nov 19, 2015 at 08:26:45AM -0800, Cesar Philippidis wrote: > (gfc_oacc_routine_name): New struct; Full stop instead of semicolon. > diff --git a/gcc/tree-nested.c b/gcc/tree-nested.c > index 1f6311c..e321072 100644 > --- a/gcc/tree-nested.c > +++ b/gcc/tree-nested.c > @@ -1106,6

Re: basic asm and memory clobbers

2015-11-20 Thread Andrew Haley
On 20/11/15 01:23, David Wohlferd wrote: > I tried to picture the most basic case I can think of that uses > something clobber-able: > > for (int x=0; x < 1000; x++) >asm("#stuff"); > > This generates very simple and highly performant code: > > movl$1000, %eax > .L2: >

[Bug tree-optimization/68373] autopar fails on loop exit phi with argument defined outside loop

2015-11-20 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68373 --- Comment #4 from vries at gcc dot gnu.org --- Author: vries Date: Fri Nov 20 10:25:26 2015 New Revision: 230650 URL: https://gcc.gnu.org/viewcvs?rev=230650=gcc=rev Log: Do final value replacement in try_create_reduction_list 2015-11-20 Tom

Re: [PATCH] Add clang-format config to contrib folder

2015-11-20 Thread Pedro Alves
On 11/20/2015 11:33 AM, Martin Liška wrote: > Hi Pedro. Hi Martin. > Fully agree with you, there's suggested patch. > Hope I can install the patch for trunk? I'd call it obvious. :-) Thanks, Pedro Alves

[Bug c++/68409] Garbage added to a map instead of object

2015-11-20 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68409 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

Re: [PATCH, VECTOR ABI] Add __attribute__((__simd__)) to GCC.

2015-11-20 Thread Kyrill Tkachov
Hi Kirill, On 18/11/15 14:11, Kirill Yukhin wrote: Hello Andreas, Devid. On 18 Nov 10:45, Andreas Schwab wrote: Kirill Yukhin writes: diff --git a/gcc/testsuite/c-c++-common/attr-simd.c b/gcc/testsuite/c-c++-common/attr-simd.c new file mode 100644 index

[Bug middle-end/68339] g++.dg/vect/simd-clone-2.cc ICEs with aggressive GC settings and OpenMP

2015-11-20 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68339 --- Comment #1 from Jakub Jelinek --- Created attachment 36781 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36781=edit gcc6-pr68339.patch Untested fix.

Go patch committed: add receiver type to specific type function name

2015-11-20 Thread Ian Lance Taylor
This patch to the Go frontend fixes the case where two different methods on different types with the same method name both define a type internally with the same name where the type requires a specific type hash or equality function. Before this patch those functions would get the same, causing a

[Bug target/68456] UINT32_TYPE is long unsigned for 32bit targets

2015-11-20 Thread vaalfreja at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68456 --- Comment #3 from Yulia Koval --- I agree, that %u usage is not a bug, but it still looks strange.. For gcc --target=i586-elf macro has: #define __UINT32_TYPE__ long unsigned int For non-target gcc or gcc --target=i586-unknown-linux it has:

[Bug fortran/52846] [F2008] Support submodules

2015-11-20 Thread pault at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52846 Bug 52846 depends on bug 66762, which changed state. Bug 66762 Summary: ICE when compiling gfortran.dg/submodule_[16].f90 with -flto https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66762 What|Removed |Added

[Bug fortran/66762] ICE when compiling gfortran.dg/submodule_[16].f90 with -flto

2015-11-20 Thread pault at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66762 Paul Thomas changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

Re: [PATCH, 10/16] Add pass_oacc_kernels pass group in passes.def

2015-11-20 Thread Tom de Vries
On 20/11/15 11:37, Richard Biener wrote: I'd rather make loop_optimizer_init do nothing if requested flags are already set and no fixup is needed Thus sth like Index: gcc/loop-init.c === --- gcc/loop-init.c (revision

Re: [PATCH, VECTOR ABI] Add __attribute__((__simd__)) to GCC.

2015-11-20 Thread Kirill Yukhin
Hello Kyrill, On 20 Nov 12:15, Kyrill Tkachov wrote: > >gcc/tessuite/ > > * c-c++-common/attr-simd-3.c: Put xfail (PR68158) on dg-error. > > This test fails on bare-metal targets that don't support -fcilkplus or > -pthread. > Would you consider moving them to the cilkplus testing directory

Re: Remove noce_mem_write_may_trap_or_fault_p in ifcvt

2015-11-20 Thread Bernd Schmidt
On 11/19/2015 12:49 AM, Jeff Law wrote: On 11/18/2015 12:16 PM, Bernd Schmidt wrote: I don't think so, actually. One safe option would be to rip it out and just stop transforming this case, but let's start by looking at the code just a bit further down, calling noce_can_store_speculate. This

[Bug fortran/68237] ICE on invalid with submodules

2015-11-20 Thread pault at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68237 --- Comment #11 from Paul Thomas --- Author: pault Date: Fri Nov 20 14:50:35 2015 New Revision: 230661 URL: https://gcc.gnu.org/viewcvs?rev=230661=gcc=rev Log: 2015-11-20 Paul Thomas PR fortran/68237 *

Re: [PATCH][ARM] Do not expand movmisalign pattern if not in 32-bit mode

2015-11-20 Thread Ramana Radhakrishnan
On 11/11/15 16:10, Kyrill Tkachov wrote: > Hi all, > > The attached testcase ICEs when compiled with -march=armv6k -mthumb -Os or > any march > for which -mthumb gives Thumb1: > error: unrecognizable insn: > } > ^ > (insn 13 12 14 5 (set (reg:SI 116 [ x ]) > (unspec:SI [ >

Re: Broken Link

2015-11-20 Thread Jonathan Wakely
On 20 November 2015 at 13:12, wrote: > Hey, > > I wanted to reach out and let you know about this link which isn’t working - > http://developer.apple.com/documentation/Cocoa/Conceptual/ObjectiveC/, I > found it on this page - >

[Bug fortran/68458] internal compiler error: Segmentation fault

2015-11-20 Thread rgaveiga at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68458 rgaveiga at gmail dot com changed: What|Removed |Added CC||rgaveiga at gmail dot com

[Patch] sync top level configure with binutils-gdb

2015-11-20 Thread Tristan Gingold
This patch was pushed on binutils-gdb repo, so I also commit it on gcc. Tristan. 2015-11-20 Tristan Gingold Sync with binutils-gdb: 2015-11-20 Tristan Gingold * configure.ac: Add aarch64-*-darwin* and arm-*-darwin*.

[Bug target/68149] [6 Regression][ARM] ICE when splitting unaligned DImode load

2015-11-20 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68149 --- Comment #3 from ktkachov at gcc dot gnu.org --- Author: ktkachov Date: Fri Nov 20 15:15:31 2015 New Revision: 230663 URL: https://gcc.gnu.org/viewcvs?rev=230663=gcc=rev Log: [ARM] PR 68149 Fix ICE in unaligned_loaddi split PR

Re: [PATCH] PR tree-optimization/68413 : Only check for integer cond reduction on analysis stage

2015-11-20 Thread Richard Biener
On Fri, Nov 20, 2015 at 1:33 PM, Alan Hayward wrote: > > > On 20/11/2015 11:00, "Richard Biener" wrote: > >>On Fri, Nov 20, 2015 at 10:24 AM, Alan Hayward >>wrote: >>> When vectorising a integer induction condition

[Bug target/68459] New: ICE when compiling for alpha with -O3

2015-11-20 Thread dhowells at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68459 Bug ID: 68459 Summary: ICE when compiling for alpha with -O3 Product: gcc Version: 5.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target

[Bug tree-optimization/67055] [5 Regression] Segmentation fault in fold_builtin_alloca_with_align in tree-ssa-ccp.c

2015-11-20 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67055 Richard Biener changed: What|Removed |Added CC||dhowells at redhat dot com --- Comment

[Bug target/68459] ICE when compiling for alpha with -O3

2015-11-20 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68459 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

Re: [PATCH] PR tree-optimization/68413 : Only check for integer cond reduction on analysis stage

2015-11-20 Thread Alan Hayward
On 20/11/2015 13:47, "Richard Biener" wrote: >On Fri, Nov 20, 2015 at 1:33 PM, Alan Hayward >wrote: >> >> >>On 20/11/2015 11:00, "Richard Biener" wrote: >> >>>On Fri, Nov 20, 2015 at 10:24 AM, Alan Hayward

[Bug tree-optimization/68413] [6 Regression] internal compiler error: in vect_transform_stmt

2015-11-20 Thread alahay01 at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68413 --- Comment #9 from alahay01 at gcc dot gnu.org --- Author: alahay01 Date: Fri Nov 20 14:20:24 2015 New Revision: 230658 URL: https://gcc.gnu.org/viewcvs?rev=230658=gcc=rev Log: 2015-11-20 Alan Hayward PR

[Bug fortran/66762] ICE when compiling gfortran.dg/submodule_[16].f90 with -flto

2015-11-20 Thread pault at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66762 --- Comment #12 from Paul Thomas --- Author: pault Date: Fri Nov 20 14:50:35 2015 New Revision: 230661 URL: https://gcc.gnu.org/viewcvs?rev=230661=gcc=rev Log: 2015-11-20 Paul Thomas PR fortran/68237 *

[Patch, fortran] PRs 68237 & 66762 - submodule problems

2015-11-20 Thread Paul Richard Thomas
Dear All, I have committed as 'obvious' revision 230661 to fix 2/3 submodule problems. In the case of the third, PR68243, I believe gfortran is behaving correctly and I am awaiting confirmation from the reporter. Thanks to Dominique for regtesting the part of the patch that fixes PR66762. I

[Bug target/68456] UINT32_TYPE is long unsigned for 32bit targets

2015-11-20 Thread dmitry.polukhin at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68456 Dmitry Polukhin changed: What|Removed |Added CC||dmitry.polukhin at gmail dot com ---

[Bug c++/68312] [6 Regression] Memory leaks in cilkplus

2015-11-20 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68312 --- Comment #3 from Martin Liška --- Created attachment 36783 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36783=edit Suggested patch1

[Bug fortran/68243] QOI: no warning about unused entities in submodules

2015-11-20 Thread pault at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68243 Paul Thomas changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/68312] [6 Regression] Memory leaks in cilkplus

2015-11-20 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68312 --- Comment #4 from Martin Liška --- Created attachment 36784 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36784=edit Suggested patch2

Re: [PATCH, 10/16] Add pass_oacc_kernels pass group in passes.def

2015-11-20 Thread Richard Biener
On Fri, 20 Nov 2015, Tom de Vries wrote: > On 20/11/15 11:37, Richard Biener wrote: > >I'd rather make loop_optimizer_init do nothing > > if requested flags are already set and no fixup is needed > > > Thus sth like > > > > Index: gcc/loop-init.c > >

[Bug tree-optimization/68413] [6 Regression] internal compiler error: in vect_transform_stmt

2015-11-20 Thread alahay01 at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68413 alahay01 at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[Bug fortran/68458] New: internal compiler error: Segmentation fault

2015-11-20 Thread rgaveiga at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68458 Bug ID: 68458 Summary: internal compiler error: Segmentation fault Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug target/68459] ICE when compiling for alpha with -O3

2015-11-20 Thread dhowells at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68459 --- Comment #1 from dhowells at redhat dot com --- The backtrace was obtained from a compiler built from unpatched gcc sources produced from a gcc SVN branch with the following parameters: SVNREV 225895 DATE 20150716 gcc_version 5.2.1 The

Re: [PATCH, PR68337] Don't fold memcpy/memmove we want to instrument

2015-11-20 Thread Richard Biener
On Fri, Nov 20, 2015 at 2:08 PM, Ilya Enkovich wrote: > On 19 Nov 18:19, Richard Biener wrote: >> On November 19, 2015 6:12:30 PM GMT+01:00, Bernd Schmidt >> wrote: >> >On 11/19/2015 05:31 PM, Ilya Enkovich wrote: >> >> Currently we fold all

Re: basic asm and memory clobbers

2015-11-20 Thread Segher Boessenkool
On Fri, Nov 20, 2015 at 02:45:05AM -0800, David Wohlferd wrote: > On 11/19/2015 7:14 PM, Segher Boessenkool wrote: > >On Thu, Nov 19, 2015 at 05:23:55PM -0800, David Wohlferd wrote: > >>For that reason, I'd like to propose adding 2 new clobbers to extended > >>asm as part of this work: > >> >

[Bug fortran/68237] ICE on invalid with submodules

2015-11-20 Thread pault at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68237 Paul Thomas changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

Re: [PATCH][ARM] PR 68149 Fix ICE in unaligned_loaddi split

2015-11-20 Thread Ramana Radhakrishnan
On 10/11/15 17:32, Kyrill Tkachov wrote: > Hi all, > > This ICE in this PR occurs when we're trying to split unaligned_loaddi into > two SImode unaligned loads. > The problem is in the addressing mode. When reload was picking the > addressing mode we accepted an offset of > -256 because the

[Bug target/67822] OpenMP offloading to nvptx fails

2015-11-20 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67822 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #2

[Bug rtl-optimization/68128] A huge regression in Parboil v2.5 OpenMP CUTCP test (2.5 times lower performance)

2015-11-20 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68128 --- Comment #3 from Jakub Jelinek --- Can't reproduce, at least not on i7-5960X (thus OMP_NUM_THREADS=16). gcc -Ofast -fopenmp built cutcp is roughly the same performance in all of 4.6, 4.8, 5.1 and 6, the only thing that reliably helps (but

Re: [PATCH, PR68337] Don't fold memcpy/memmove we want to instrument

2015-11-20 Thread Ilya Enkovich
On 20 Nov 14:54, Richard Biener wrote: > On Fri, Nov 20, 2015 at 2:08 PM, Ilya Enkovich wrote: > > On 19 Nov 18:19, Richard Biener wrote: > >> On November 19, 2015 6:12:30 PM GMT+01:00, Bernd Schmidt > >> wrote: > >> >On 11/19/2015 05:31 PM, Ilya

[ptx] overrride anchor hook

2015-11-20 Thread Nathan Sidwell
Jim discovered that he needed to override the anchoring hook when using a PPC host-side compiler, but didn't figure out why this was needed. Digging into it, I discovered that flag_section_anchors is cleared in toplev.c by the command line option machinery, if there are no anchor target hooks.

Re: [PATCH 3a/4][AArch64] Add attribute for compatibility with ARM pipeline models

2015-11-20 Thread Kyrill Tkachov
On 20/11/15 12:27, James Greenhalgh wrote: On Thu, Nov 12, 2015 at 11:32:36AM -0600, Evandro Menezes wrote: On 11/12/2015 09:39 AM, Evandro Menezes wrote: 2015-11-12 Evandro Menezes [AArch64] Add attribute for compatibility with ARM pipeline models gcc/

Re: [Committed] S/390: Add bswaphi2 pattern

2015-11-20 Thread Andreas Krebbel
On 11/20/2015 01:23 PM, Richard Henderson wrote: > On 11/20/2015 12:52 PM, Andreas Krebbel wrote: >> +(define_insn "bswaphi2" >> + [(set (match_operand:HI 0 "register_operand" "=d") >> +(bswap:HI (match_operand:HI 1 "memory_operand" "RT")))] >> + "TARGET_CPU_ZARCH" >> +

Re: [PATCH, PR tree-optimization/68327] Compute vectype for live phi nodes when copmputing VF

2015-11-20 Thread Ilya Enkovich
On 20 Nov 14:31, Ilya Enkovich wrote: > 2015-11-20 14:28 GMT+03:00 Richard Biener : > > On Wed, Nov 18, 2015 at 2:53 PM, Ilya Enkovich > > wrote: > >> 2015-11-18 16:44 GMT+03:00 Richard Biener : > >>> On Wed, Nov 18,

[Bug tree-optimization/68455] [6 Regression] ICE: tree check: expected integer_cst, have plus_expr in decompose, at tree.h:5123

2015-11-20 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68455 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

Re: [PATCH] fix vectorizer performance problem on cygwin hosted cross compiler

2015-11-20 Thread Richard Biener
On Fri, Nov 20, 2015 at 8:21 AM, Jim Wilson wrote: > A cygwin hosted cross compiler to aarch64-linux, compiling a C version > of linpack with -Ofast, produces code that runs 17% slower than a > linux hosted compiler. The problem shows up in the vect dump, where > some

Re: Add uaddv4_optab, usubv4_optab

2015-11-20 Thread Eric Botcazou
> Eric has just submitted a documentation path that documented the > {add,sub,mul,umul}v4 and negv3 patterns, so this should be > applied on top of that. OK, I'm going to apply it, thanks. Note that the comment at the beginning of expand_addsub_overflow describing the overall strategy ought to

[Bug ipa/65701] [5 Regression] r221530 makes 187.facerec drop with -Ofast -flto on bdver2

2015-11-20 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65701 Richard Biener changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

Re: basic asm and memory clobbers

2015-11-20 Thread David Wohlferd
On 11/20/2015 3:14 AM, Andrew Haley wrote: On 20/11/15 10:37, David Wohlferd wrote: The intent for 24414 is to change basic asm such that it will become (quoting jeff) "an opaque blob that read/write/clobber any register or memory location." Such being the case, "memory" is not sufficient:

[committed, trivial] Fix typo and trailing whitespace in dump-file strings in parloops

2015-11-20 Thread Tom de Vries
[ was: Re: [PATCH, 10/16] Add pass_oacc_kernels pass group in passes.def ] On 18/11/15 17:22, Bernhard Reutner-Fischer wrote: Bonus points for fixing the dump_file to parse in: >Parloops will fail because: >... >phi is n_2 = PHI >arg of phi to exit: value n_4(D) used outside loop

GCC 5.3 Status Report (2015-11-20)

2015-11-20 Thread Richard Biener
Status == We plan to do a GCC 5.3 release candidate at the end of next week followed by the actual release a week after that. So now is the time to look at your regression bugs in bugzilla and do some backporting for things already fixed on trunk. Quality Data Priority

[Bug objc/68438] [6 Regression] Conditional jump or move depends on uninitialised value in location_adhoc_data_eq (line-map.c:89)

2015-11-20 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68438 Richard Biener changed: What|Removed |Added CC||dmalcolm at gcc dot gnu.org Target

Add uaddv4_optab, usubv4_optab

2015-11-20 Thread Richard Henderson
Toward fixing PR68385. I'm just starting a full round of testing, but extern void underflow(void) __attribute__((noreturn)); unsigned sub1(unsigned a, unsigned b) { unsigned r = a - b; if (r > a) underflow(); return r; } unsigned sub2(unsigned a, unsigned b) { unsigned r;

Re: [PATCH, 10/16] Add pass_oacc_kernels pass group in passes.def

2015-11-20 Thread Richard Biener
On Thu, 19 Nov 2015, Tom de Vries wrote: > On 17/11/15 15:53, Tom de Vries wrote: > > > And the above LIM example > > > is none for why you need two LIM passes... > > > > Indeed. I'm planning a separate reply to explain in more detail the need > > for the two pass_lims. > > I. > > I managed to

[Bug tree-optimization/68373] autopar fails on loop exit phi with argument defined outside loop

2015-11-20 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68373 vries at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED

Re: Add uaddv4_optab, usubv4_optab

2015-11-20 Thread Jakub Jelinek
On Fri, Nov 20, 2015 at 11:27:48AM +0100, Richard Henderson wrote: > Toward fixing PR68385. I'm just starting a full round of testing, but > > extern void underflow(void) __attribute__((noreturn)); > unsigned sub1(unsigned a, unsigned b) > { > unsigned r = a - b; > if (r > a)

[Bug rtl-optimization/68376] [4.9 Regression] wrong code at -O1 and above on x86_64-linux-gnu

2015-11-20 Thread zsojka at seznam dot cz
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68376 Zdenek Sojka changed: What|Removed |Added CC||zsojka at seznam dot cz --- Comment #8

Re: [PATCH, PR tree-optimization/68327] Compute vectype for live phi nodes when copmputing VF

2015-11-20 Thread Ilya Enkovich
2015-11-20 14:28 GMT+03:00 Richard Biener : > On Wed, Nov 18, 2015 at 2:53 PM, Ilya Enkovich wrote: >> 2015-11-18 16:44 GMT+03:00 Richard Biener : >>> On Wed, Nov 18, 2015 at 12:34 PM, Ilya Enkovich

Re: [PATCH 02/15] Add selftests to bitmap.c

2015-11-20 Thread Richard Biener
On Thu, Nov 19, 2015 at 6:04 PM, David Malcolm wrote: > Jeff pre-approved the plugin version of this (as a new > file unittests/test-bitmap.c): > https://gcc.gnu.org/ml/gcc-patches/2015-10/msg03284.html > with: >> OK if/when prereqs are approved. Minor twiddling if we end

Re: basic asm and memory clobbers

2015-11-20 Thread Andrew Haley
On 20/11/15 10:37, David Wohlferd wrote: > The intent for 24414 is to change basic asm such that it will become > (quoting jeff) "an opaque blob that read/write/clobber any register or > memory location." Such being the case, "memory" is not sufficient: > > #define CLOBBERALL "eax", "ebx",

Re: [PATCH 2/4][AArch64] Increase the loop peeling limit

2015-11-20 Thread James Greenhalgh
On Thu, Nov 19, 2015 at 04:04:41PM -0600, Evandro Menezes wrote: > On 11/05/2015 02:51 PM, Evandro Menezes wrote: > >2015-11-05 Evandro Menezes > > > > gcc/ > > > > * config/aarch64/aarch64.c (aarch64_override_options_internal): > > Increase loop peeling

[Bug c++/68409] Garbage added to a map instead of object

2015-11-20 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68409 --- Comment #4 from Jonathan Wakely --- (In reply to Adrian Wielgosik from comment #2) > Your operator< doesn't seem to satisfy strict weak ordering. Once I rewrote > it to a basic but safer version: > > bool operator< (const chave& lhs, const

[Bug target/65660] [5 Regression] 252.eon regression on bdver2 with -Ofast

2015-11-20 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65660 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug ipa/65908] [5 Regression] ICE: in expand_thunk, at cgraphunit.c:1700

2015-11-20 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65908 --- Comment #14 from Richard Biener --- Martin or Honza, can you work on a backport please?

Broken Link

2015-11-20 Thread melissa . holmes
Hey, I wanted to reach out and let you know about this link which isn’t working - http://developer.apple.com/documentation/Cocoa/Conceptual/ObjectiveC/, I found it on this page - http://gd.tuwien.ac.at/.vhost/www.gnu.org/software/gcc/readings.html. You’re link includes this text -

Re: GCC 5.3 Status Report (2015-11-20)

2015-11-20 Thread David Edelsohn
On Fri, Nov 20, 2015 at 7:53 AM, Richard Biener wrote: > > Status > == > > We plan to do a GCC 5.3 release candidate at the end of next week > followed by the actual release a week after that. > > So now is the time to look at your regression bugs in bugzilla and > do some

[Bug rtl-optimization/68435] [6 Regression] Missed if-conversion optimization

2015-11-20 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68435 --- Comment #9 from ktkachov at gcc dot gnu.org --- Since the provided testcase is affected by the path splitting patch, here's an alternative testcase that exhibits the ifcvt issue even with the latest trunk. I'll be working on this: typedef

[Bug tree-optimization/68445] ICE: internal compiler error: in operator[], at vec.h

2015-11-20 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68445 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug tree-optimization/68453] [6 Regression] graphite ICE: segfault

2015-11-20 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68453 Richard Biener changed: What|Removed |Added Component|middle-end |tree-optimization Target

Re: [PATCH, PR68373 ] Call scev_const_prop in pass_parallelize_loops::execute

2015-11-20 Thread Richard Biener
On Thu, 19 Nov 2015, Tom de Vries wrote: > On 17/11/15 23:20, Tom de Vries wrote: > > [ was: Re: [PATCH, 10/16] Add pass_oacc_kernels pass group in passes.def ] > > > > Hi, > > > > Consider test-case test.c, with a use of the final value of the > > iteration variable (return i): > > ... > >

[Bug tree-optimization/68455] [6 Regression] ICE: tree check: expected integer_cst, have plus_expr in decompose, at tree.h:5123

2015-11-20 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68455 Marek Polacek changed: What|Removed |Added CC||rsandifo at gcc dot gnu.org --- Comment

Re: [patch] Document new overflow arithmetics patterns

2015-11-20 Thread Jakub Jelinek
On Fri, Nov 20, 2015 at 11:12:06AM +0100, Eric Botcazou wrote: > Hi, > > this documents the new overflow arithmetics patterns added recently (addv4, > subv4, mulv4, umulv4, negv3) and only them, i.e. the old ones are still not. > This also fixes the description of the cbranch and jump patterns,

[Bug target/68456] New: UINT32_TYPE is long unsigned for 32bit targets

2015-11-20 Thread julia.koval at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68456 Bug ID: 68456 Summary: UINT32_TYPE is long unsigned for 32bit targets Product: gcc Version: 5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

Re: basic asm and memory clobbers

2015-11-20 Thread David Wohlferd
On 11/19/2015 7:14 PM, Segher Boessenkool wrote: On Thu, Nov 19, 2015 at 05:23:55PM -0800, David Wohlferd wrote: For that reason, I'd like to propose adding 2 new clobbers to extended asm as part of this work: "clobberall" - This gives extended the same semantics as whatever the new basic asm

Re: Add uaddv4_optab, usubv4_optab

2015-11-20 Thread Eric Botcazou
> Toward fixing PR68385. I'm just starting a full round of testing, but Do you mind if I install my doc patch? It's slightly more thorough. -- Eric Botcazou

Re: [PATCH 2/5] [AARCH64] Change IMP and PART over to integers from strings.

2015-11-20 Thread Kyrill Tkachov
Hi Andrew, On 17/11/15 22:10, Andrew Pinski wrote: Because the imp and parts are really integer rather than strings, this patch moves the comparisons to be integer. Also allows saving around integers are easier than doing string comparisons. This allows for the next change. The way I store

Re: [PATCH, PR tree-optimization/68327] Compute vectype for live phi nodes when copmputing VF

2015-11-20 Thread Richard Biener
On Wed, Nov 18, 2015 at 2:53 PM, Ilya Enkovich wrote: > 2015-11-18 16:44 GMT+03:00 Richard Biener : >> On Wed, Nov 18, 2015 at 12:34 PM, Ilya Enkovich >> wrote: >>> Hi, >>> >>> When we compute vectypes we skip

[Bug target/68456] UINT32_TYPE is long unsigned for 32bit targets

2015-11-20 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68456 --- Comment #1 from Jonathan Wakely --- (In reply to Yulia Koval from comment #0) > This problem causes strange warnings, for example in printf("%u...", if this > type is not overriden somewhere in the library: > ": format '%u' expects argument

[Bug c++/68290] g++.dg/concepts/auto1.C FAILs

2015-11-20 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68290 --- Comment #3 from Eric Botcazou --- This issue is host-dependent, it doesn't reproduce with a cross to 64-bit SPARC. The problematic types are: (gdb) p debug_tree(t1) > (gdb) p debug_tree(t2) > and they compare equal according to

[Bug middle-end/68339] g++.dg/vect/simd-clone-2.cc ICEs with aggressive GC settings and OpenMP

2015-11-20 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68339 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

Re: basic asm and memory clobbers

2015-11-20 Thread Richard Henderson
On 11/20/2015 01:38 PM, David Wohlferd wrote: On 11/20/2015 3:14 AM, Andrew Haley wrote: On 20/11/15 10:37, David Wohlferd wrote: The intent for 24414 is to change basic asm such that it will become (quoting jeff) "an opaque blob that read/write/clobber any register or memory location." Such

[Bug tree-optimization/68417] [6 Regression] Missed vectorization opportunity when setting struct field

2015-11-20 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68417 Richard Biener changed: What|Removed |Added Priority|P3 |P1 Status|UNCONFIRMED

[Bug rtl-optimization/68173] gcc takes a long time and a lot of memory with -O0 on source file with very large expression

2015-11-20 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68173 Richard Biener changed: What|Removed |Added CC||stevenb.gcc at gmail dot com ---

[patch] Document new overflow arithmetics patterns

2015-11-20 Thread Eric Botcazou
Hi, this documents the new overflow arithmetics patterns added recently (addv4, subv4, mulv4, umulv4, negv3) and only them, i.e. the old ones are still not. This also fixes the description of the cbranch and jump patterns, which were referring to a label_ref instead of a code_label. Tested

[Bug jit/68446] jit testsuite failures seen inside dwarf2out.c:gen_producer_string

2015-11-20 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68446 --- Comment #2 from Martin Liška --- Hi David. I've just verified that the invalid free is presented since introduction of driver::finalize in r227188. This is valgrind report coming from r230263 (one revision before the suspected): $

Re: OpenACC declare directive updates

2015-11-20 Thread Jakub Jelinek
On Thu, Nov 19, 2015 at 10:22:16AM -0600, James Norris wrote: > 2015-XX-XX James Norris > Cesar Philippidis > > gcc/fortran/ > * dump-parse-tree.c (show_namespace): Handle declares. > * gfortran.h (struct

Re: [PATCH] PR tree-optimization/68413 : Only check for integer cond reduction on analysis stage

2015-11-20 Thread Richard Biener
On Fri, Nov 20, 2015 at 10:24 AM, Alan Hayward wrote: > When vectorising a integer induction condition reduction, > is_nonwrapping_integer_induction ends up with different values for base > during the analysis and build phases. In the first it is an INTEGER_CST, > in the

[Bug testsuite/68457] New: make check RUNTESTFLAGS="--outdir=$OUT_PATH" does not work with -j

2015-11-20 Thread vaalfreja at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68457 Bug ID: 68457 Summary: make check RUNTESTFLAGS="--outdir=$OUT_PATH" does not work with -j Product: gcc Version: 5.0 Status: UNCONFIRMED Severity: normal

Re: [PATCH, PR68337] Don't fold memcpy/memmove we want to instrument

2015-11-20 Thread Ilya Enkovich
On 19 Nov 18:19, Richard Biener wrote: > On November 19, 2015 6:12:30 PM GMT+01:00, Bernd Schmidt > wrote: > >On 11/19/2015 05:31 PM, Ilya Enkovich wrote: > >> Currently we fold all memcpy/memmove calls with a known data size. > >> It causes two problems when used with

[Bug tree-optimization/68317] [6 regression] ice in set_value_range, at tree-vrp.c:380

2015-11-20 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68317 --- Comment #10 from Richard Biener --- (In reply to Jiong Wang from comment #9) > (In reply to Richard Biener from comment #7) > > (In reply to Jiong Wang from comment #6) > > > Created attachment 36741 [details] > > > prototype-fix > > > > >

[Bug middle-end/68436] [5 Regression] wrong code on x86_64-linux-gnu

2015-11-20 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68436 Richard Biener changed: What|Removed |Added CC||rguenth at gcc dot gnu.org Target

Re: [PATCH, 10/16] Add pass_oacc_kernels pass group in passes.def

2015-11-20 Thread Richard Biener
On Thu, 19 Nov 2015, Tom de Vries wrote: > On 16/11/15 13:45, Richard Biener wrote: > > > I've eliminated all the uses for pass_tree_loop_init/pass_tree_loop_done > > > in > > > >the pass group. Instead, I've added conditional loop optimizer setup in: > > > >- pass_lim and pass_scev_cprop (added

Re: basic asm and memory clobbers

2015-11-20 Thread David Wohlferd
On 11/20/2015 2:17 AM, Andrew Haley wrote: On 20/11/15 01:23, David Wohlferd wrote: I tried to picture the most basic case I can think of that uses something clobber-able: for (int x=0; x < 1000; x++) asm("#stuff"); This generates very simple and highly performant code:

Re: Add uaddv4_optab, usubv4_optab

2015-11-20 Thread Richard Henderson
On 11/20/2015 11:56 AM, Eric Botcazou wrote: Eric has just submitted a documentation path that documented the {add,sub,mul,umul}v4 and negv3 patterns, so this should be applied on top of that. OK, I'm going to apply it, thanks. Thanks. Note that the comment at the beginning of

Re: Add uaddv4_optab, usubv4_optab

2015-11-20 Thread Richard Henderson
On 11/20/2015 11:43 AM, Jakub Jelinek wrote: +(define_expand "uaddv4" + [(parallel [(set (reg:CCC FLAGS_REG) + (compare:CCC +(plus:SWI (match_dup 1) (match_dup 2)) +(match_dup 1))) + (set (match_dup 0) +

[Bug c++/68409] Garbage added to a map instead of object

2015-11-20 Thread adrian.wielgosik at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68409 Adrian Wielgosik changed: What|Removed |Added CC||adrian.wielgosik at gmail dot com

Re: [PATCH][GCC][ARM] Disable neon testing for armv7-m

2015-11-20 Thread Kyrill Tkachov
Hi Andre, On 18/11/15 09:44, Andre Vieira wrote: On 17/11/15 10:10, James Greenhalgh wrote: On Mon, Nov 16, 2015 at 01:15:32PM +, Andre Vieira wrote: On 16/11/15 12:07, James Greenhalgh wrote: On Mon, Nov 16, 2015 at 10:49:11AM +, Andre Vieira wrote: Hi, This patch changes the

  1   2   3   >