Re: Fix PR debug/66728

2015-08-22 Thread Uros Bizjak
Hello! This is yet another bug caused by rtx having modeless scalar integer constants. We need to use context to find the actual mode of a CONST_INT or CONST_WIDE_INT. +++ b/gcc/testsuite/gcc.dg/debug/dwarf2/pr66728.c @@ -0,0 +1,14 @@ +/* { dg-do compile { target { x86_64-*-* lp64 } } } */

Re: Fix PR debug/66728

2015-08-22 Thread Uros Bizjak
On Sat, Aug 22, 2015 at 10:02 AM, Uros Bizjak ubiz...@gmail.com wrote: Hello! This is yet another bug caused by rtx having modeless scalar integer constants. We need to use context to find the actual mode of a CONST_INT or CONST_WIDE_INT. +++ b/gcc/testsuite/gcc.dg/debug/dwarf2/pr66728.c

[Bug lto/67157] Compiling gcc6 with liblto_plugin, v5.2.0

2015-08-22 Thread guido.hatzsis at yandex dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67157 Guido Haztsis guido.hatzsis at yandex dot com changed: What|Removed |Added CC|

[Bug c++/67318] New: [6 regression] Parsing error when using abbreviated integral type names in template parameter pack declaration

2015-08-22 Thread adrian.wielgosik at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67318 Bug ID: 67318 Summary: [6 regression] Parsing error when using abbreviated integral type names in template parameter pack declaration Product: gcc Version: 6.0

Re: [PATCHv2/AARCH64] Remove index from AARCH64_EXTRA_TUNING_OPTION

2015-08-22 Thread Andrew Pinski
On Thu, Aug 20, 2015 at 12:08 AM, James Greenhalgh james.greenha...@arm.com wrote: On Wed, Aug 19, 2015 at 05:00:14PM +0100, Andrew Pinski wrote: Just like the patch for AARCH64_FUSION_PAIR, this is a patch for AARCH64_EXTRA_TUNING_OPTION. Note I tested this patch on top of the patch for

[Bug c++/67315] Strange 'this' pointer behavior when calling virtual function with different optimization attributes.

2015-08-22 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67315 Jonathan Wakely redi at gcc dot gnu.org changed: What|Removed |Added Severity|critical|normal

[Bug c++/67315] [4.9 Regression] Strange 'this' pointer behavior when calling virtual function with different optimization attributes.

2015-08-22 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67315 Jonathan Wakely redi at gcc dot gnu.org changed: What|Removed |Added Keywords||wrong-code

Fix PR libgomp/66761 and PR libgomp/67303 (tsan warnings)

2015-08-22 Thread VandeVondele Joost
The following fixes two warnings reported by tsan when running OMP'ed code. As suggested by Andrew Pinski in PR67303 for gomp_iter_guided_next, by employing a relaxed atomic load. The same pattern occurred a couple of more times, so fixed as well. I used the same approach for the warning in

[Bug libgomp/67303] libgomp: ThreadSanitizer: data race in libgomp

2015-08-22 Thread Joost.VandeVondele at mat dot ethz.ch
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67303 Joost VandeVondele Joost.VandeVondele at mat dot ethz.ch changed: What|Removed |Added URL|

[Bug libgomp/66761] libgomp: ThreadSanitizer: data race in libgomp

2015-08-22 Thread Joost.VandeVondele at mat dot ethz.ch
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66761 Joost VandeVondele Joost.VandeVondele at mat dot ethz.ch changed: What|Removed |Added URL|

Re: [PATCH][www] svnwrite.html: recommend giving checkin messages a title (was Re: Moving to git)

2015-08-22 Thread Segher Boessenkool
On Fri, Aug 21, 2015 at 07:54:11PM -0400, David Malcolm wrote: In the git world, the first line of the commit message has special meaning, being treated as the title of the commit. It would be nice if we could use a real commit message, not just a short title line; for example,

[gomp4] Calling partitoned routines

2015-08-22 Thread Nathan Sidwell
I've committed this to gomp4. It gets partitioned routines working by surrounding the call by fork join instructions such that the right number of active threads get to the call. nathan 2015-08-22 Nathan Sidwell nat...@codesourcery.com gcc/ * omp-low.c (build_oacc_routine_dims): Size

[Bug inline-asm/67317] [x86] Silly code generation for _addcarry_u32/_addcarry_u64

2015-08-22 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67317 --- Comment #1 from Andrew Pinski pinskia at gcc dot gnu.org --- Can you provide the full preprocessed source?

[patch,doc] Remove dead/inactive links for GCC binaries

2015-08-22 Thread FX
Attached patch cleans up the list of links we provide for GCC binaries: - pware.hvcc.edu is dead, no mirror or newer alternative found - h8300-hms.sourceforge.net is inactive since 2003, carries only gcc 3.2 and 3.3 - sunsite.informatik.rwth-aachen.de only has gcc 3.0.1 - SCO website has gcc

[Bug target/67310] [PATCH] gcc 4.8.4 fails to compile with -march=native on VIA nano CPU

2015-08-22 Thread jol_indien at yahoo dot fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67310 jol_indien at yahoo dot fr changed: What|Removed |Added Attachment #36234|0 |1 is obsolete|

[Bug target/67310] [PATCH] gcc 4.8.4 fails to compile with -march=native on VIA nano CPU

2015-08-22 Thread jol_indien at yahoo dot fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67310 --- Comment #2 from jol_indien at yahoo dot fr --- This new version of the patch is: * an optimisation, avoiding modifying code that does not need to be * a bugfix, fixing nocona architecture detection Please consider applying in recent gcc

Re: Elimitate duplication of get_catalogs in different abi

2015-08-22 Thread Daniel Krügler
2015-08-21 23:11 GMT+02:00 François Dumont frs.dum...@gmail.com: I think I found a better way to handle this problem. It is c++locale.cc that needs to be built with --fimplicit-templates. I even think that the *_cow.cc file do not need this option but as I don't know what is the drawback of

[Bug c/67316] Address local variable returned as 0x0

2015-08-22 Thread llandwerlin at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67316 --- Comment #3 from Lionel Landwerlin llandwerlin at gmail dot com --- Thanks for the explanation. I did notice the warning, I was just surprised that hboehm's GC suddenly stop working. I guess that's the price a major version bump :)

[obvious c-family] Fix column location in c_lex_with_flags errors

2015-08-22 Thread Manuel López-Ibáñez
input_location is not always up-to-date in the preprocessor. Using the actual token's location is always best. Bootstrapped regtested on x86-64-linux-gnu committed as obvious https://gcc.gnu.org/r227096 Cheers, Manuel. Fix column location in c_lex_with_flags errors gcc/testsuite/ChangeLog:

Re: [obvious c-family] Fix column location in c_lex_with_flags errors

2015-08-22 Thread Jason Merrill
OK. Jason

[Bug target/67290] powerpc: suboptimal add of u64 with u32

2015-08-22 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67290 Segher Boessenkool segher at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED

[Bug c/67316] Address local variable returned as 0x0

2015-08-22 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67316 Manuel López-Ibáñez manu at gcc dot gnu.org changed: What|Removed |Added CC||manu at gcc

[Bug regression/67288] [4.9 regression] non optimal simple function (useless additional shift/remove/shift/add)

2015-08-22 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67288 Segher Boessenkool segher at gcc dot gnu.org changed: What|Removed |Added CC||segher at

[Bug sanitizer/67308] FATAL: ThreadSanitizer: unexpected memory mapping

2015-08-22 Thread jeromerobert at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67308 Jerome Robert jeromerobert at gmx dot com changed: What|Removed |Added CC||jeromerobert

Re: [C++ Patch] PR 63693

2015-08-22 Thread Jason Merrill
OK. Jason

Re: [PATCH][www] svnwrite.html: recommend giving checkin messages a title (was Re: Moving to git)

2015-08-22 Thread David Malcolm
On Sat, 2015-08-22 at 05:55 -0500, Segher Boessenkool wrote: On Fri, Aug 21, 2015 at 07:54:11PM -0400, David Malcolm wrote: In the git world, the first line of the commit message has special meaning, being treated as the title of the commit. It would be nice if we could use a real

[Bug other/57195] Mode attributes with specific mode iterator can not be used as mode iterators in *.md files

2015-08-22 Thread michael.collison at linaro dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57195 Michael Collison michael.collison at linaro dot org changed: What|Removed |Added CC|

[Bug target/67322] New: [Aarch64] Exploit Wide Add operations when appropriate

2015-08-22 Thread michael.collison at linaro dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67322 Bug ID: 67322 Summary: [Aarch64] Exploit Wide Add operations when appropriate Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug c++/65152] Several friend function definitions break lookup

2015-08-22 Thread rogero at howzatt dot demon.co.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65152 --- Comment #3 from Roger Orr rogero at howzatt dot demon.co.uk --- Note that this has been fixed in gcc-trunk (tested 22-Aug-2015)

[Bug c++/65152] Several friend function definitions break lookup

2015-08-22 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65152 --- Comment #4 from Jonathan Wakely redi at gcc dot gnu.org --- Yes, fixed by r227044

[Bug tree-optimization/67323] New: Use non-unit stride loads by preference when applicable

2015-08-22 Thread michael.collison at linaro dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67323 Bug ID: 67323 Summary: Use non-unit stride loads by preference when applicable Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal

Re: [ARM] Use vector wide add for mixed-mode adds

2015-08-22 Thread Michael Collison
This is a modified version of the previous patch that addresses issue raised by Ramana. The patch now uses vect_select instead of unspec. I had to fix an unrelated issue to the read_name function in read-md.c. The fix corrects broken support for mode iterators inside ''. Without this fix

[Bug c++/67318] [6 regression] Parsing error when using abbreviated integral type names in template parameter pack declaration

2015-08-22 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67318 Jonathan Wakely redi at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Last

[Bug middle-end/64327] ../../gcc/gcc/rtlanal.c:4881:48: runtime error: shift exponent 4294967295 is too large for 64-bit type 'long unsigned int'

2015-08-22 Thread zeccav at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64327 --- Comment #6 from Vittorio Zecca zeccav at gmail dot com --- I fixed this one by substituting rtlanal.c:4907 if (bitwidth HOST_BITS_PER_WIDE_INT ) with if (bitwidth HOST_BITS_PER_WIDE_INT || !bitwidth)

[Bug target/67321] [ARM] Exploit Wide Add operations when appropriate

2015-08-22 Thread michael.collison at linaro dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67321 --- Comment #1 from Michael Collison michael.collison at linaro dot org --- Created attachment 36242 -- https://gcc.gnu.org/bugzilla/attachment.cgi?id=36242action=edit Patch to generate arm vaddw

[Bug c++/67324] New: Failures in Assignable concept's requires-expression

2015-08-22 Thread webrown.cpp at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67324 Bug ID: 67324 Summary: Failures in Assignable concept's requires-expression Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: major Priority: P3

[Bug other/63426] [meta-bug] Issues found with -fsanitize=undefined

2015-08-22 Thread zeccav at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63426 Bug 63426 depends on bug 61943, which changed state. Bug 61943 Summary: tree-ssa-loop-ivopts.c:4148 signed integer overflow https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61943 What|Removed |Added

[Bug middle-end/67320] New: Incorrect standard names for wide addition

2015-08-22 Thread michael.collison at linaro dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67320 Bug ID: 67320 Summary: Incorrect standard names for wide addition Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

Re: [PATCH][www] svnwrite.html: recommend giving checkin messages a title (was Re: Moving to git)

2015-08-22 Thread Florian Weimer
* David Malcolm: +pThe log message for a checkin should be a single line giving a +descriptive title for the checkin, followed by a blank line, followed by +the complete ChangeLog entry for the change. This is the git convention; +giving titles to checkins makes life easier for developers

Re: [C/C++ PATCH] Fix -Wshift-overflow with sign bit

2015-08-22 Thread Jason Merrill
OK. Jason

[Bug middle-end/67320] Incorrect standard names for wide addition

2015-08-22 Thread michael.collison at linaro dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67320 --- Comment #1 from Michael Collison michael.collison at linaro dot org --- Created attachment 36241 -- https://gcc.gnu.org/bugzilla/attachment.cgi?id=36241action=edit Patch for widening addition doc Proposed patch to fix wide addition

[Bug target/67321] New: [ARM] Exploit Wide Add operations when appropriate

2015-08-22 Thread michael.collison at linaro dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67321 Bug ID: 67321 Summary: [ARM] Exploit Wide Add operations when appropriate Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug tree-optimization/61943] tree-ssa-loop-ivopts.c:4148 signed integer overflow

2015-08-22 Thread zeccav at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61943 Vittorio Zecca zeccav at gmail dot com changed: What|Removed |Added Status|NEW |RESOLVED

Re: [PATCH] config: fix AM_ICONV for in-tree libiconv

2015-08-22 Thread Pedro Alves
On 05/29/2015 10:25 PM, Yaakov Selkowitz wrote: This is the second in a series of patches to make a build with an in-tree GNU libiconv work as designed. Currently GDB is the only toolchain component which actually uses an in-tree libiconv. This patch modifies the common AM_ICONV to use an

[Bug target/67037] [4.9 Regression] Wrong code at -O1 and above on ARM

2015-08-22 Thread mikpelinux at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67037 --- Comment #3 from Mikael Pettersson mikpelinux at gmail dot com --- Started with r206023, an LRA patch.

[Bug c++/63693] ICE in resolve_typename_type

2015-08-22 Thread paolo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63693 --- Comment #4 from paolo at gcc dot gnu.org paolo at gcc dot gnu.org --- Author: paolo Date: Sat Aug 22 17:44:46 2015 New Revision: 227098 URL: https://gcc.gnu.org/viewcvs?rev=227098root=gccview=rev Log: /cp 2015-08-22 Paolo Carlini

[Bug c++/67319] New: Short-hand concepts for variadic member functions broken

2015-08-22 Thread rbock at eudoxos dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67319 Bug ID: 67319 Summary: Short-hand concepts for variadic member functions broken Product: gcc Version: 5.0 Status: UNCONFIRMED Severity: normal

[Bug c++/63693] ICE in resolve_typename_type

2015-08-22 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63693 Paolo Carlini paolo.carlini at oracle dot com changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[nvptx] markup alloca tests

2015-08-22 Thread Nathan Sidwell
nvptx cannot support alloca, this marks up the tests that use alloca directly or indirectly (mainly via VLAs). I checked x86_64-linux test results are unaffected. committed to trunk. nathan 2015-08-22 Nathan Sidwell nat...@acm.org * c-c++-common/Wsizeof-pointer-memaccess1.c: Require

[Bug c++/66957] [4.9/5/6 Regression] incorrect is protected within this context error

2015-08-22 Thread Casey at Carter dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66957 Casey Carter Casey at Carter dot net changed: What|Removed |Added CC||Casey at Carter

Re: [PATCH][www] svnwrite.html: recommend giving checkin messages a title (was Re: Moving to git)

2015-08-22 Thread Segher Boessenkool
On Sat, Aug 22, 2015 at 10:59:31AM -0400, David Malcolm wrote: +pThe log message for a checkin should be a single line giving a +descriptive title for the checkin, followed by a blank line, followed by +the complete ChangeLog entry for the change. This is the git convention; +giving

Re: [PATCH], PR target/67211, Fix PowerPC 'insn does not satisfy its constraints' error on GCC 5

2015-08-22 Thread David Edelsohn
On Thu, Aug 20, 2015 at 5:15 PM, Michael Meissner meiss...@linux.vnet.ibm.com wrote: PR 67211 is an error that shows up on the GCC 5.x branch when the test case is compiled with -mcpu=power7 -mtune=power8 -O3. In looking at the code, I noticed that the code optimized adjancent 64-bit