Re: libgomp nvptx plugin: rework initialisation and support the proposed load/unload hooks (was: Merge current set of OpenACC changes from gomp-4_0-branch)

2015-02-25 Thread Julian Brown
On Wed, 25 Feb 2015 10:36:08 +0100 Thomas Schwinge tho...@codesourcery.com wrote: Hi! On Tue, 24 Feb 2015 11:29:51 +, Julian Brown jul...@codesourcery.com wrote: Test results look OK, barring a suspected harness issue (lib-83 failing with a timeout for nvptx However, I'm seeing a

Re: [PATCH PR65161]

2015-02-25 Thread Alexander Monakov
On Wed, 25 Feb 2015, Yuri Rumyantsev wrote: Here is updated patch accordingly to Alexander comments. BTW another function using HID interface is do_reorder_for_imul and it is called from ix86_sched_reorder. do_reorder_for_imul uses dependency list iteration macros, which use HDID, not

[Bug tree-optimization/65206] New: Vectorized version of loop is removed.

2015-02-25 Thread ysrumyan at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65206 Bug ID: 65206 Summary: Vectorized version of loop is removed. Product: gcc Version: 5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug middle-end/63608] [4.8/4.9 Regression] error: type mismatch in binary expression

2015-02-25 Thread ktietz at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63608 Kai Tietz ktietz at gcc dot gnu.org changed: What|Removed |Added CC||ktietz at gcc dot

Re: ipa-icf::merge TLC

2015-02-25 Thread Markus Trippelsdorf
On 2015.02.25 at 09:38 +0100, Jan Hubicka wrote: this patch reorganize sem_function::merge and sem_variable::merge. I read the code in detail and found several issues that are fixed in the following patch. I gave your patch a quick spin. It breaks Chromium. Its protocol buffer compiler gets

[Bug tree-optimization/61917] [4.9 Regression] ICE on valid code at -O3 on x86_64-linux-gnu in vectorizable_reduction, at tree-vect-loop.c:4913

2015-02-25 Thread ktietz at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61917 Kai Tietz ktietz at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED

Re: [patch]: [Bug tree-optimization/61917] [4.9/5 Regression] ICE on valid code at -O3 on x86_64-linux-gnu in vectorizable_reduction, at tree-vect-loop.c:4913

2015-02-25 Thread Kai Tietz
2015-02-25 12:35 GMT+01:00 Richard Biener richard.guent...@gmail.com: On Wed, Feb 25, 2015 at 12:05 PM, Kai Tietz ktiet...@googlemail.com wrote: 2015-02-25 11:57 GMT+01:00 Richard Biener richard.guent...@gmail.com: On Wed, Feb 25, 2015 at 11:06 AM, Kai Tietz ktiet...@googlemail.com wrote:

[Bug testsuite/65205] New: Wrong dh-shouldfail usage in OpenACC libgomp tests

2015-02-25 Thread tschwinge at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65205 Bug ID: 65205 Summary: Wrong dh-shouldfail usage in OpenACC libgomp tests Product: gcc Version: 5.0 Status: UNCONFIRMED Keywords: openacc Severity: major

[Bug target/65196] avr_adjust_insn_length uses recog_memoized on invalid insn

2015-02-25 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65196 --- Comment #3 from Georg-Johann Lay gjl at gcc dot gnu.org --- Author: gjl Date: Wed Feb 25 12:34:21 2015 New Revision: 220965 URL: https://gcc.gnu.org/viewcvs?rev=220965root=gccview=rev Log: PR target/65196 * config/avr/avr.c

[Bug tree-optimization/61917] [4.9/5 Regression] ICE on valid code at -O3 on x86_64-linux-gnu in vectorizable_reduction, at tree-vect-loop.c:4913

2015-02-25 Thread ktietz at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61917 --- Comment #6 from Kai Tietz ktietz at gcc dot gnu.org --- Author: ktietz Date: Wed Feb 25 13:36:00 2015 New Revision: 220966 URL: https://gcc.gnu.org/viewcvs?rev=220966root=gccview=rev Log: 2015-02-25 Richard Biener rguent...@suse.de Kai

[Bug tree-optimization/51017] [4.8/4.9/5 Regression] GCC performance regression (vs. 4.4/4.5), PRE increases register pressure too much

2015-02-25 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51017 Jeffrey A. Law law at redhat dot com changed: What|Removed |Added Priority|P3 |P2

Re: [PATCH] gcc/reload.c: Initialize several arrays before use them in find_reloads()

2015-02-25 Thread Jeff Law
On 02/24/15 22:47, augustine.sterl...@gmail.com wrote: On Tue, Feb 24, 2015 at 4:45 PM, Max Filippov jcmvb...@gmail.com wrote: Sterling, I was referring Jeff's patch, do you say that his patch is not the proper fix? No, I was thinking of Chen's patch. Jeff's patch is the right one. Jeff,

Re: [PATCH, 2/2][ARM]: New CPU support for Marvell Whitney

2015-02-25 Thread Xingxing Pan
Hi, This patch expanding the following RTL types. And it has been merged to the latest code base. (neon_logic): Expand to neon_logic_reg and neon_logic_imm. (neon_logic_q): Expand to neon_logic_reg_q and neon_logic_imm_q. (neon_from_gp): Expand to neon_from_gp and

[Bug tree-optimization/61917] [4.9/5 Regression] ICE on valid code at -O3 on x86_64-linux-gnu in vectorizable_reduction, at tree-vect-loop.c:4913

2015-02-25 Thread ktietz at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61917 --- Comment #7 from Kai Tietz ktietz at gcc dot gnu.org --- Author: ktietz Date: Wed Feb 25 13:42:12 2015 New Revision: 220967 URL: https://gcc.gnu.org/viewcvs?rev=220967root=gccview=rev Log: PR tree-optimization/61917 *

Re: [PATCH, 2/2][ARM]: New CPU support for Marvell Whitney

2015-02-25 Thread Xingxing Pan
On 02/25/2015 09:42 PM, Xingxing Pan wrote: Hi, This patch expanding the following RTL types. And it has been merged to the latest code base. (neon_logic): Expand to neon_logic_reg and neon_logic_imm. (neon_logic_q): Expand to neon_logic_reg_q and neon_logic_imm_q.

Re: [PATCH PR65161]

2015-02-25 Thread Alexander Monakov
On Wed, 25 Feb 2015, Yuri Rumyantsev wrote: I modified patch accordingly to Alexander comments. Is it OK for trunk? If possible, please add a short comment explaining why a shortcut is necessary, for example HID is not populated during selective scheduling. OK for trunk from selective

[PATCH, CHKP, i386, PR target/65184] Fix pass_by_reference for MS ABI for bounds

2015-02-25 Thread Ilya Enkovich
Hi, Currenly ix86_pass_by_reference may return 1 for bounds if MS ABI is used. This patch explicitly says bounds are never passed by reference. Bootstrapped and tested on x86_64-unknown-linux-gnu. OK for trunk? Thanks, Ilya -- gcc/ 2015-02-25 Ilya Enkovich ilya.enkov...@intel.com

Re: [Ada] convert GNAT doc to sphinx

2015-02-25 Thread Richard Biener
On Sun, Feb 22, 2015 at 8:15 PM, Arnaud Charlet char...@adacore.com wrote: Your patch removes these arguments to dircategory: ... $ git show bf5dffd3a47fe12ace71fe48e87cfb1b9ada1344 | grep dircategory +@dircategory -@dircategory GNU Ada tools -@dircategory GNU Ada tools +@dircategory ...

[Bug target/65196] avr_adjust_insn_length uses recog_memoized on invalid insn

2015-02-25 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65196 Georg-Johann Lay gjl at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[PATCH] Fix PR65204

2015-02-25 Thread Richard Biener
This fixes missed tracking of alignment of non-invariant addresses in CCP. Bootstrapped and tested on x86_64-unknown-linux-gnu, queued for GCC 6. Richard. 2015-02-25 Richard Biener rguent...@suse.de PR tree-optimization/65204 * tree-ssa-ccp.c (evaluate_stmt): Always evaluate

[PATCH, CHKP, i386, PR target/65167] Avoid motion of bounds args during scheduling

2015-02-25 Thread Ilya Enkovich
Hi, This patch adds support for bounds registers into args recognition mechanism used by scheduler. Bootstrapped and tested on x86_64-unknown-linux-gnu. OK for trunk? Thanks, Ilya -- gcc/ 2015-02-25 Ilya Enkovich ilya.enkov...@intel.com PR target/65167 *

[Bug tree-optimization/61917] [4.9 Regression] ICE on valid code at -O3 on x86_64-linux-gnu in vectorizable_reduction, at tree-vect-loop.c:4913

2015-02-25 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61917 Jeffrey A. Law law at redhat dot com changed: What|Removed |Added CC||law at redhat dot

[Ping v2] [PATCH PR64820] Fix ASan UAR detection fails on 32-bit targets if SSP is enabled.

2015-02-25 Thread Maxim Ostapenko
On 02/16/2015 10:58 AM, Maxim Ostapenko wrote: Hi, when testing I noticed, that if compile with both -fsanitize=address and -fstack-protector for 32-bit architectures and run with ASAN_OPTIONS=detect_stack_use_after_return=1, libsanitizer fails with: ==7299==AddressSanitizer CHECK failed:

Re: libgomp nvptx plugin: rework initialisation and support the proposed load/unload hooks (was: Merge current set of OpenACC changes from gomp-4_0-branch)

2015-02-25 Thread Ilya Verbin
On Wed, Feb 25, 2015 at 10:36:08 +0100, Thomas Schwinge wrote: Julian Brown jul...@codesourcery.com wrote: OK for gomp4 branch? I could commit Ilya's patch there too if so. I'll leave the decision to Jakub, but, what about trunk? As Ilya indicated in

[Bug c++/65199] Linker failure with -flto

2015-02-25 Thread goswin-v-b at web dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65199 --- Comment #2 from Goswin von Brederlow goswin-v-b at web dot de --- That fixes it. Isn't it a gcc bug though not to detect that itself?

[Bug target/65196] avr_adjust_insn_length uses recog_memoized on invalid insn

2015-02-25 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65196 --- Comment #1 from Georg-Johann Lay gjl at gcc dot gnu.org --- Author: gjl Date: Wed Feb 25 12:18:51 2015 New Revision: 220963 URL: https://gcc.gnu.org/viewcvs?rev=220963root=gccview=rev Log: PR target/65196 * config/avr/avr.c

[Bug tree-optimization/65206] Vectorized version of loop is removed.

2015-02-25 Thread ysrumyan at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65206 --- Comment #1 from Yuri Rumyantsev ysrumyan at gmail dot com --- Created attachment 34867 -- https://gcc.gnu.org/bugzilla/attachment.cgi?id=34867action=edit test-case to reproduce Test needs to be compiled with -Ofast -m64 -mcore-avx2

Re: [PATCH, 2/2][ARM]: New CPU support for Marvell Whitney

2015-02-25 Thread James Greenhalgh
On Wed, Feb 25, 2015 at 01:42:39PM +, Xingxing Pan wrote: Hi, This patch expanding the following RTL types. And it has been merged to the latest code base. (neon_logic): Expand to neon_logic_reg and neon_logic_imm. (neon_logic_q): Expand to neon_logic_reg_q and

[patch, avr, committed]: Fix PR65196 (ice-checking)

2015-02-25 Thread Georg-Johann Lay
http://gcc.gnu.org/r220963 http://gcc.gnu.org/r220964 http://gcc.gnu.org/r220965 Applied this obvious fix for ICE with checking enabled (recog_memoized used with invalid rtx, e.g. jump_table_data). Johann PR target/65196 * config/avr/avr.c (avr_adjust_insn_length): Call

[Bug target/65196] avr_adjust_insn_length uses recog_memoized on invalid insn

2015-02-25 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65196 --- Comment #2 from Georg-Johann Lay gjl at gcc dot gnu.org --- Author: gjl Date: Wed Feb 25 12:26:41 2015 New Revision: 220964 URL: https://gcc.gnu.org/viewcvs?rev=220964root=gccview=rev Log: PR target/65196 * config/avr/avr.c

Re: Option overriding in the offloading code path

2015-02-25 Thread Bernd Schmidt
On 02/25/2015 11:28 AM, Thomas Schwinge wrote: Am I on the right track with my assumption that it is correct that nvptx.c:nvptx_option_override is not invoked in the offloading code path, so we'd need a new target hook (?) to consolidate/override the options in this scenario? I'm surprised by

Re: [patch]: [Bug tree-optimization/61917] [4.9/5 Regression] ICE on valid code at -O3 on x86_64-linux-gnu in vectorizable_reduction, at tree-vect-loop.c:4913

2015-02-25 Thread Richard Biener
On Wed, Feb 25, 2015 at 2:10 PM, Kai Tietz ktiet...@googlemail.com wrote: Hello, So, I did full regression-test for following patch: ChangeLog 2015-02-25 Richard Biener rguent...@suse.de Kai Tietz kti...@redhat.com PR tree-optimization/61917 * tree-vect-loop.c

[wwwdocs] List IPA-CP of alignments in changes.html

2015-02-25 Thread Martin Jambor
Hi, I'd like to commit the following to gcc-5/changes.html so that IPA-CP alignment propagation is listed among other new features. OK? Thanks, Martin Index: changes.html === RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-5/changes.html,v

Re: [PATCH PR65161]

2015-02-25 Thread Yuri Rumyantsev
Here is updated patch accordingly to Alexander comments. BTW another function using HID interface is do_reorder_for_imul and it is called from ix86_sched_reorder. Is it OK for trunk? 2015-02-25 13:26 GMT+03:00 Alexander Monakov amona...@ispras.ru: On Wed, 25 Feb 2015, Yuri Rumyantsev wrote:

Re: [patch]: [Bug tree-optimization/61917] [4.9/5 Regression] ICE on valid code at -O3 on x86_64-linux-gnu in vectorizable_reduction, at tree-vect-loop.c:4913

2015-02-25 Thread Kai Tietz
Hello, So, I did full regression-test for following patch: ChangeLog 2015-02-25 Richard Biener rguent...@suse.de Kai Tietz kti...@redhat.com PR tree-optimization/61917 * tree-vect-loop.c (vectorizable_reduction): Allow vect_internal_def without reduction to exit graceful.

Re: [patch 1/2][ARM]: New CPU support for Marvell Whitney

2015-02-25 Thread Xingxing Pan
Hi, This patch merges pipeline description for marvell-whitney to latest code base. Is it OK for trunk? -- Regards, Xingxing commit 83974dde8d9f773df1004aa1d5e3b05d8a33f5e0 Author: Xingxing Pan xxing...@marvell.com Date: Wed Feb 25 10:24:40 2015 +0800 2015-02-25 Xingxing Pan

Re: [PATCH PR65161]

2015-02-25 Thread Yuri Rumyantsev
I modified patch accordingly to Alexander comments. Is it OK for trunk? 2015-02-25 15:38 GMT+03:00 Alexander Monakov amona...@ispras.ru: On Wed, 25 Feb 2015, Yuri Rumyantsev wrote: Here is updated patch accordingly to Alexander comments. BTW another function using HID interface is

[Bug testsuite/64145] [5 Regression] gcc.dg/graphite/isl-codegen-loop-dumping.c UNRESOLVED after r217315.

2015-02-25 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64145 Jeffrey A. Law law at redhat dot com changed: What|Removed |Added Status|NEW |RESOLVED

[Bug tree-optimization/61917] [4.9 Regression] ICE on valid code at -O3 on x86_64-linux-gnu in vectorizable_reduction, at tree-vect-loop.c:4913

2015-02-25 Thread ktietz at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61917 --- Comment #9 from Kai Tietz ktietz at gcc dot gnu.org --- Author: ktietz Date: Wed Feb 25 14:12:46 2015 New Revision: 220968 URL: https://gcc.gnu.org/viewcvs?rev=220968root=gccview=rev Log: 2015-02-25 Richard Biener rguent...@suse.de

[Bug target/64997] [AArch64] Illegal EON on SIMD registers

2015-02-25 Thread alalaw01 at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64997 --- Comment #2 from alalaw01 at gcc dot gnu.org --- Author: alalaw01 Date: Wed Feb 25 14:20:13 2015 New Revision: 220969 URL: https://gcc.gnu.org/viewcvs?rev=220969root=gccview=rev Log: [AArch64] Fix illegal assembly 'eon v1, v2, v3' PR

[Bug debug/53927] wrong value for DW_AT_static_link

2015-02-25 Thread derodat at adacore dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53927 --- Comment #14 from Pierre-Marie de Rodat derodat at adacore dot com --- Created attachment 34868 -- https://gcc.gnu.org/bugzilla/attachment.cgi?id=34868action=edit patch to generate DWARF-compliant DW_AT_static_link attributes gcc/ *

[Bug debug/53927] wrong value for DW_AT_static_link

2015-02-25 Thread derodat at adacore dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53927 Pierre-Marie de Rodat derodat at adacore dot com changed: What|Removed |Added CC|

Re: [PATCH PR65161]

2015-02-25 Thread Yuri Rumyantsev
Hi All, Here is updated patch to fix ICE. Is it OK for trunk? 2015-02-25 Yuri Rumyantsev ysrum...@gmail.com PR target/65161 * config/i386/i386.c (ix86_sched_reorder): Skip instruction reordering for selective scheduling. gcc/testsuite/ChangeLog * gcc.target/i386/pr65161.c: New test.

Re: [wwwdocs] List IPA-CP of alignments in changes.html

2015-02-25 Thread Gerald Pfeifer
On Wed, 25 Feb 2015, Martin Jambor wrote: I'd like to commit the following to gcc-5/changes.html so that IPA-CP alignment propagation is listed among other new features. OK? Looks good, thank you! (Just watch out for overly long lines.) Gerald

[Bug tree-optimization/65206] Vectorized version of loop is removed.

2015-02-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65206 --- Comment #2 from Richard Biener rguenth at gcc dot gnu.org --- We apply versioning for aliasing but compute it as always aliasing in some way, thus the runtime check gets immediately folded and thus the vectorized loop removed: t.c:7:3: note:

[Bug tree-optimization/65206] Vectorized version of loop is removed.

2015-02-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65206 Richard Biener rguenth at gcc dot gnu.org changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug tree-optimization/65207] [5 regression] performance: tree level loop optimization does not peel SpecCPU href loop

2015-02-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65207 Richard Biener rguenth at gcc dot gnu.org changed: What|Removed |Added Keywords|

[Bug debug/58315] [4.8/4.9/5 Regression] Excessive memory use with -g

2015-02-25 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58315 --- Comment #28 from Jason Merrill jason at gcc dot gnu.org --- Author: jason Date: Wed Feb 25 15:49:34 2015 New Revision: 220974 URL: https://gcc.gnu.org/viewcvs?rev=220974root=gccview=rev Log: PR debug/58315 * decl.c

Re: [Ada] convert GNAT doc to sphinx

2015-02-25 Thread Joseph Myers
On Wed, 25 Feb 2015, Arnaud Charlet wrote: So you need to update the find command therein not to remove anything that's part of the sources for this documentation, and possibly update -I options for building manuals as well. I've added a -I gcc/gcc/ada/doc/gnat_ugn there, that's as far

[Bug c++/65211] Type alignment lost inside templated function

2015-02-25 Thread linux at carewolf dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65211 --- Comment #2 from Allan Jensen linux at carewolf dot com --- Created attachment 34873 -- https://gcc.gnu.org/bugzilla/attachment.cgi?id=34873action=edit Intermediate

Re: [PATCH, CHKP, i386, PR target/65167] Avoid motion of bounds args during scheduling

2015-02-25 Thread Uros Bizjak
On Wed, Feb 25, 2015 at 3:47 PM, Uros Bizjak ubiz...@gmail.com wrote: Hello! 2015-02-25 Ilya Enkovich ilya.enkov...@intel.com PR target/65167 * gcc/config/i386/i386.c (ix86_function_arg_regno_p): Support bounds registers. (avoid_func_arg_motion): Add dependencies for BNDSTX insns.

[Bug target/64212] [4.9/5 Regression] ICE [in noninterposable_alias, at symtab.c:1706]

2015-02-25 Thread ktietz at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64212 --- Comment #7 from Kai Tietz ktietz at gcc dot gnu.org --- Tested patch posted at https://gcc.gnu.org/ml/gcc-patches/2015-02/msg01502.html

C++ PATCH for useless NOTE_INSN_DELETED_DEBUG_LABELs

2015-02-25 Thread Jason Merrill
This isn't the main problem in debug/58315, but when looking at it I saw a bunch of useless # DEBUG L0 = NULL lines, which turned out to be deleted debug labels notes for the cdtor_label created in start_preparsed_function. Since this is an internal, unnamed label, we shouldn't have debug

[patch, avr-tiny]: Fix handling of constant addresses.

2015-02-25 Thread Georg-Johann Lay
The current avr-gcc ICEs in avr.c::tiny_valid_direct_memory_access_range because XEXP (op, 0) is used on op which are not MEM_P (e.g. REG or SUBREG). If op is MEM_P then INTVAL might be used for on RTXes which are not CONST_INT, e.g. CONST. Anyway, using such functions in insn conditions is

[Bug c++/65211] Type alignment lost inside templated function

2015-02-25 Thread linux at carewolf dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65211 Allan Jensen linux at carewolf dot com changed: What|Removed |Added Attachment #34873|0 |1 is

Re: [PR58315] reset inlined debug vars at return-to point

2015-02-25 Thread Jakub Jelinek
On Wed, Feb 25, 2015 at 11:54:16AM +0100, Richard Biener wrote: Regstrapped on x86_64-linux-gnu and i686-linux-gnu. Ok to install? But code-motion could still move stmts from the inlined functions across these resets? That said - shouldn't this simply performed by proper var-tracking

[Bug tree-optimization/65206] Vectorized version of loop is removed.

2015-02-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65206 Richard Biener rguenth at gcc dot gnu.org changed: What|Removed |Added Keywords|

[Bug sanitizer/64337] ThreadSanitizer: std::thread + lambda false positive

2015-02-25 Thread guillaume.sabouret at starqube dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64337 guillaume.sabouret at starqube dot com changed: What|Removed |Added CC|

[Bug target/65210] New: [avr] ICE: when using attributs 'address' and 'io_low'

2015-02-25 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65210 Bug ID: 65210 Summary: [avr] ICE: when using attributs 'address' and 'io_low' Product: gcc Version: 5.0 Status: UNCONFIRMED Keywords: ice-on-invalid-code Severity:

[Bug c++/65198] [5 Regression] User-defined literal template inside generic lambda segfaults GCC 5.0

2015-02-25 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65198 Marek Polacek mpolacek at gcc dot gnu.org changed: What|Removed |Added CC||mpolacek at

[Bug c++/65211] Type alignment lost inside templated function

2015-02-25 Thread linux at carewolf dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65211 --- Comment #1 from Allan Jensen linux at carewolf dot com --- Created attachment 34872 -- https://gcc.gnu.org/bugzilla/attachment.cgi?id=34872action=edit Assembler intermediate It is the movdqa(%rdx), %xmm1 instruction on line 19 that is

[Bug tree-optimization/65206] Vectorized version of loop is removed.

2015-02-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65206 --- Comment #4 from Richard Biener rguenth at gcc dot gnu.org --- I'm talking about (compute_affine_dependence stmt_a: _5 = a1[i_16]; stmt_b: MASK_STORE (_34, 0B, _ifc__32, _9); ) - dependence analysis failed somehow it works for

Re: [patch] Fix ICE on unaligned record field

2015-02-25 Thread Martin Jambor
Hi Eric and Richard, On Tue, Jan 06, 2015 at 06:07:12PM +0100, Eric Botcazou wrote: Martin, I suppose that could be done by something like the following, which I have tested only very mildly so far, in particular I have not double checked that get_inner_reference is cfun-agnostic. The

[hsa] Do not ICE when regallocating function with zero pseudoregisters

2015-02-25 Thread Martin Jambor
Hi, the new HSA register allocator ICEs when it tries to resize a vector to zero length, which is something that our vectors do not take well, when it processes a simple function which just returns a constant and does not actually use any registers. Fixed thusly, committed to the hsa branch

Re: [Ada] convert GNAT doc to sphinx

2015-02-25 Thread Joseph Myers
On Wed, 25 Feb 2015, Arnaud Charlet wrote: See the existing code to handle Sphinx documentation for the JIT. That's a good reference. We'll need a more recent version of sphinx than 1.0 though (at least 1.2.2, or even better, 1.3b2 which is the version we use at AdaCore). 1.0 is

Re: need help with Pointer Bounds Checking documentation

2015-02-25 Thread Sandra Loosemore
On 02/25/2015 12:56 AM, Ilya Enkovich wrote: 2015-02-24 19:47 GMT+03:00 Sandra Loosemore san...@codesourcery.com: Poking around, I see that the -fcheck-pointer-bounds and various -fchkp-* options are listed in c-family/c.opt, but they are not listed in the GCC manual. The section on

[Bug target/64212] [4.9/5 Regression] ICE [in noninterposable_alias, at symtab.c:1706]

2015-02-25 Thread ktietz at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64212 --- Comment #6 from Kai Tietz ktietz at gcc dot gnu.org --- (In reply to Jan Hubicka from comment #5) Well, can someone overwrite dllimport symbol by different definition? If not, it is a bug of decl_binds_to_current_def_p to return false here.

[Bug c++/65209] New: [5.0 regression] Broken code with global static variables, invalid pointer when freeing global variables

2015-02-25 Thread manisandro at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65209 Bug ID: 65209 Summary: [5.0 regression] Broken code with global static variables, invalid pointer when freeing global variables Product: gcc Version: 5.0

Re: [PATCH] gcc/reload.c: Initialize several arrays before use them in find_reloads()

2015-02-25 Thread augustine.sterl...@gmail.com
On Wed, Feb 25, 2015 at 6:39 AM, Jeff Law l...@redhat.com wrote: Done. jeff Thanks!

[Bug c++/65209] [5 Regression] Broken code with global static variables, invalid pointer when freeing global variables

2015-02-25 Thread manisandro at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65209 --- Comment #2 from Sandro Mani manisandro at gmail dot com --- Created attachment 34874 -- https://gcc.gnu.org/bugzilla/attachment.cgi?id=34874action=edit Slightly reduced test case ==30483== Invalid free() / delete / delete[] / realloc()

Re: [PATCH, CHKP, i386, PR target/65167] Avoid motion of bounds args during scheduling

2015-02-25 Thread Uros Bizjak
Hello! 2015-02-25 Ilya Enkovich ilya.enkov...@intel.com PR target/65167 * gcc/config/i386/i386.c (ix86_function_arg_regno_p): Support bounds registers. (avoid_func_arg_motion): Add dependencies for BNDSTX insns. gcc/testsuite/ 2015-02-25 Ilya Enkovich ilya.enkov...@intel.com PR

[patch]: Fix PR target/64212

2015-02-25 Thread Kai Tietz
Hi, The issue here is a pe-coff target specific thing that dllimported-symbols have an noninterposable, and an interposable part. The dllimport address itself is not interposable, but its stubbing function/var is. So the hook binds_to_local has to return false for dllimport, nevertheless for

[Bug c/65208] New: Floats sometimes rounded up instead of being truncated on mips

2015-02-25 Thread wgh at beyondunreal dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65208 Bug ID: 65208 Summary: Floats sometimes rounded up instead of being truncated on mips Product: gcc Version: unknown Status: UNCONFIRMED Severity: major

[Bug sanitizer/65148] ICE: in get_biv_step, at loop-iv.c:823

2015-02-25 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65148 Marek Polacek mpolacek at gcc dot gnu.org changed: What|Removed |Added CC||mpolacek at

[Bug sanitizer/65148] ICE: in get_biv_step, at loop-iv.c:823

2015-02-25 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65148 Markus Trippelsdorf trippels at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW

[Bug target/65210] [avr] ICE: when using attributs 'address' and 'io_low'

2015-02-25 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65210 Georg-Johann Lay gjl at gcc dot gnu.org changed: What|Removed |Added Priority|P3 |P4

Re: [Ada] convert GNAT doc to sphinx

2015-02-25 Thread Arnaud Charlet
I've added a -I gcc/gcc/ada/doc/gnat_ugn there, that's as far as my knowledge goes for this script so I hope this is enough. Well, since by default the find command deletes all files except those known to be documentation sources, you need at least to change it not to delete those

[Bug tree-optimization/65207] New: [5 regression] performance: tree level loop optimization does not peel SpecCPU href loop

2015-02-25 Thread krebbel at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65207 Bug ID: 65207 Summary: [5 regression] performance: tree level loop optimization does not peel SpecCPU href loop Product: gcc Version: 5.0 Status: UNCONFIRMED

[Bug target/65167] ICE: in assign_by_spills, at lra-assigns.c:1383 (unable to find a register to spill) with -O -fschedule-insns -fcheck-pointer-bounds -mmpx

2015-02-25 Thread ienkovich at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65167 --- Comment #7 from ienkovich at gcc dot gnu.org --- Author: ienkovich Date: Wed Feb 25 15:05:48 2015 New Revision: 220970 URL: https://gcc.gnu.org/viewcvs?rev=220970root=gccview=rev Log: gcc/ PR target/65167 * gcc/config/i386/i386.c

[Bug c++/65209] [5 Regression] Broken code with global static variables, invalid pointer when freeing global variables

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

PING Re: [patch] PR debug/46102 Disable -feliminate-dwarf2-dups when reading a PCH

2015-02-25 Thread Aldy Hernandez
On 02/19/2015 10:41 AM, Jakub Jelinek wrote: On Thu, Feb 19, 2015 at 10:33:20AM -0800, Aldy Hernandez wrote: Well, any PCH file we generate will have some sort of early DIE in it (at the very least the compilation unit DIE) and we will read these in at PCH read-in time, obliterating whatever

[Bug c++/65211] New: Type alignment lost inside templated function

2015-02-25 Thread linux at carewolf dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65211 Bug ID: 65211 Summary: Type alignment lost inside templated function Product: gcc Version: 4.9.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

Re: [patch] PR debug/46102 Disable -feliminate-dwarf2-dups when reading a PCH

2015-02-25 Thread Jason Merrill
On 02/19/2015 11:50 AM, Jakub Jelinek wrote: Wouldn't it be better to disable PCH reading if -feliminate-dwarf2-dups is used? In the abstract, perhaps, but given https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53118 I'd prefer to disable the useless thing. :) We might actually disable

Re: [PATCH] Use DO_PRAGMA in libgomp.oacc-c-c++-common/reduction-1.c

2015-02-25 Thread Tom de Vries
On 25-02-15 12:40, Thomas Schwinge wrote: Hi! On Mon, 23 Feb 2015 18:14:35 +0100, Tom de Vries tom_devr...@mentor.com wrote: On 23-02-15 17:08, Jakub Jelinek wrote: On Mon, Feb 23, 2015 at 04:52:56PM +0100, Tom de Vries wrote: The only thing I'm not sure about is the two-level pragma

Re: [PATCH] Fix for PR ipa/64693

2015-02-25 Thread Martin Liška
On 02/20/2015 07:39 PM, Jan Hubicka wrote: Hello. There's updated version that reflects how should we handle congruence classes that have any address reference. Patch can bootstrap x86_64-linux-pc and no new regression is introduced? Ready for trunk? Thanks, Martin From

[Bug target/64212] [4.9/5 Regression] ICE [in noninterposable_alias, at symtab.c:1706]

2015-02-25 Thread ktietz at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64212 Kai Tietz ktietz at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED

Re: [patch]: [Bug tree-optimization/61917] [4.9/5 Regression] ICE on valid code at -O3 on x86_64-linux-gnu in vectorizable_reduction, at tree-vect-loop.c:4913

2015-02-25 Thread H.J. Lu
On Wed, Feb 25, 2015 at 5:10 AM, Kai Tietz ktiet...@googlemail.com wrote: Hello, So, I did full regression-test for following patch: ChangeLog 2015-02-25 Richard Biener rguent...@suse.de Kai Tietz kti...@redhat.com PR tree-optimization/61917 * tree-vect-loop.c

[Bug c++/65209] [5 Regression] Broken code with global static variables, invalid pointer when freeing global variables

2015-02-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65209 Jakub Jelinek jakub at gcc dot gnu.org changed: What|Removed |Added Priority|P3 |P1 --- Comment

Re: ipa-icf::merge TLC

2015-02-25 Thread Jan Hubicka
On 2015.02.25 at 09:38 +0100, Jan Hubicka wrote: this patch reorganize sem_function::merge and sem_variable::merge. I read the code in detail and found several issues that are fixed in the following patch. I gave your patch a quick spin. It breaks Chromium. Its protocol buffer compiler

[Bug tree-optimization/65204] Aligned address optimization not detected

2015-02-25 Thread ktietz at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65204 --- Comment #2 from Kai Tietz ktietz at gcc dot gnu.org --- Author: ktietz Date: Wed Feb 25 16:28:28 2015 New Revision: 220981 URL: https://gcc.gnu.org/viewcvs?rev=220981root=gccview=rev Log: Precommit code-change of patch by Richard Biener for

[Bug c++/65209] [5 Regression] Broken code with global static variables, invalid pointer when freeing global variables

2015-02-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65209 Jakub Jelinek jakub at gcc dot gnu.org changed: What|Removed |Added CC||jakub at gcc dot

Re: need help with Pointer Bounds Checking documentation

2015-02-25 Thread Ilya Enkovich
2015-02-25 19:16 GMT+03:00 Sandra Loosemore san...@codesourcery.com: On 02/25/2015 12:56 AM, Ilya Enkovich wrote: 2015-02-24 19:47 GMT+03:00 Sandra Loosemore san...@codesourcery.com: Poking around, I see that the -fcheck-pointer-bounds and various -fchkp-* options are listed in

Re: [patch] PR debug/46102 Disable -feliminate-dwarf2-dups when reading a PCH

2015-02-25 Thread Aldy Hernandez
On 02/25/2015 07:59 AM, Jason Merrill wrote: On 02/19/2015 11:50 AM, Jakub Jelinek wrote: Wouldn't it be better to disable PCH reading if -feliminate-dwarf2-dups is used? In the abstract, perhaps, but given https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53118 I'd prefer to disable the useless

Re: Option overriding in the offloading code path (was: [nvptx] -freorder-blocks-and-partition, -freorder-functions)

2015-02-25 Thread Jakub Jelinek
On Wed, Feb 25, 2015 at 11:28:12AM +0100, Thomas Schwinge wrote: Am I on the right track with my assumption that it is correct that nvptx.c:nvptx_option_override is not invoked in the offloading code path, so we'd need a new target hook (?) to consolidate/override the options in this scenario?

[Bug tree-optimization/61917] [4.9 Regression] ICE on valid code at -O3 on x86_64-linux-gnu in vectorizable_reduction, at tree-vect-loop.c:4913

2015-02-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61917 --- Comment #16 from Jakub Jelinek jakub at gcc dot gnu.org --- I certainly can reproduce it, the problem is that reduc_def_stmt is NULL. dt is vect_constant_def.

[Bug c++/65211] Type alignment lost inside templated function

2015-02-25 Thread linux at carewolf dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65211 --- Comment #4 from Allan Jensen linux at carewolf dot com --- Note either removing the template argument or moving the typedef out of the function both solve the issue, and makes gcc use an unaligned load.

[Bug target/64212] [4.9/5 Regression] ICE [in noninterposable_alias, at symtab.c:1706]

2015-02-25 Thread ktietz at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64212 --- Comment #8 from Kai Tietz ktietz at gcc dot gnu.org --- Author: ktietz Date: Wed Feb 25 16:44:26 2015 New Revision: 220982 URL: https://gcc.gnu.org/viewcvs?rev=220982root=gccview=rev Log: PR target/64212 * symtab.c

[Bug target/65212] New: --with-arch=nocona and -msse3

2015-02-25 Thread dilyan.palauzov at aegee dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65212 Bug ID: 65212 Summary: --with-arch=nocona and -msse3 Product: gcc Version: 4.9.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target

[Bug tree-optimization/61917] [4.9 Regression] ICE on valid code at -O3 on x86_64-linux-gnu in vectorizable_reduction, at tree-vect-loop.c:4913

2015-02-25 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61917 H.J. Lu hjl.tools at gmail dot com changed: What|Removed |Added Status|RESOLVED|REOPENED

[4.8 branch] PATCH: PR middle-end/53623: [4.7/4.8 Regression] sign extension is effectively split into two x86-64 instructions

2015-02-25 Thread H.J. Lu
On Tue, Feb 17, 2015 at 4:47 AM, H.J. Lu hjl.to...@gmail.com wrote: On Mon, Feb 16, 2015 at 5:24 AM, H.J. Lu hjl.to...@gmail.com wrote: On Mon, Feb 16, 2015 at 5:18 AM, Jakub Jelinek ja...@redhat.com wrote: On Mon, Feb 16, 2015 at 05:15:02AM -0800, H.J. Lu wrote: On Mon, Feb 16, 2015 at 4:30

  1   2   3   >