Precompiled headers - still useful feature?

2015-05-27 Thread Martin Liška
Hello. I would like to ask folks what is their opinion about support of precompiled headers for future releases of GCC. From my point of view, the feature brings some speed-up, but question is if it's worth for? Last time I hit precompiled headers was when I was rewriting memory allocation

Re: Precompiled headers - still useful feature?

2015-05-27 Thread Markus Trippelsdorf
On 2015.05.27 at 10:14 +0200, Martin Liška wrote: I would like to ask folks what is their opinion about support of precompiled headers for future releases of GCC. From my point of view, the feature brings some speed-up, but question is if it's worth for? Last time I hit precompiled headers

Re: Precompiled headers - still useful feature?

2015-05-27 Thread Jonathan Wakely
On 27 May 2015 at 10:01, Markus Trippelsdorf wrote: And until C++ modules are implemented (unfortunately nobody is working on this AFAIK) pch is still the only option left. So deprecating them now seem premature. I doubt anyone's going to implement them until they're specified, the proposals

Re: [i386] Scalar DImode instructions on XMM registers

2015-05-27 Thread Ilya Enkovich
2015-05-27 6:31 GMT+03:00 Jeff Law l...@redhat.com: On 05/25/2015 09:27 AM, Ilya Enkovich wrote: 2015-05-22 15:01 GMT+03:00 Ilya Enkovich enkovich@gmail.com: 2015-05-22 11:53 GMT+03:00 Ilya Enkovich enkovich@gmail.com: 2015-05-21 22:08 GMT+03:00 Vladimir Makarov vmaka...@redhat.com:

Relocations to use when eliding plts

2015-05-27 Thread Richard Henderson
There's one problem with the couple of patches that I've seen go by wrt eliding PLTs with -z now, and relaxing inlined PLTs (aka -fno-plt): They're currently using the same relocations used by data, and thus the linker and dynamic linker must ensure that pointer equality is maintained. Which

Re: Relocations to use when eliding plts

2015-05-27 Thread H.J. Lu
On Wed, May 27, 2015 at 1:03 PM, Richard Henderson r...@redhat.com wrote: There's one problem with the couple of patches that I've seen go by wrt eliding PLTs with -z now, and relaxing inlined PLTs (aka -fno-plt): They're currently using the same relocations used by data, and thus the linker

Re: Relocations to use when eliding plts

2015-05-27 Thread H.J. Lu
On Wed, May 27, 2015 at 1:03 PM, Richard Henderson r...@redhat.com wrote: There's one problem with the couple of patches that I've seen go by wrt eliding PLTs with -z now, and relaxing inlined PLTs (aka -fno-plt): They're currently using the same relocations used by data, and thus the linker

gcc-4.9-20150527 is now available

2015-05-27 Thread gccadmin
Snapshot gcc-4.9-20150527 is now available on ftp://gcc.gnu.org/pub/gcc/snapshots/4.9-20150527/ and on various mirrors, see http://gcc.gnu.org/mirrors.html for details. This snapshot has been generated from the GCC 4.9 SVN branch with the following options: svn://gcc.gnu.org/svn/gcc/branches

Re: Do not compute alias sets for types that don't need them

2015-05-27 Thread Richard Biener
On Tue, 26 May 2015, Jan Hubicka wrote: Hi, On Fri, 22 May 2015, Jan Hubicka wrote: Index: tree-streamer-out.c === --- tree-streamer-out.c (revision 223508) +++ tree-streamer-out.c (working copy) @@

Re: [patch] Move generic tree functions from expr.h to tree.h

2015-05-27 Thread Richard Biener
On Wed, May 27, 2015 at 12:00 PM, Eric Botcazou ebotca...@adacore.com wrote: Hi, a few functions manipulating generic trees from expr.c are useful for FEs too and some of them (array_ref_{low,up}_bound, get_inner_reference) are already declared in tree.h instead of expr.h. This patch moves 3

[PATCH] Fix last SLP analysis refactoring

2015-05-27 Thread Richard Biener
This fixes the last SLP analysis refactoring to _really_ pass the SLP node to the analysis functions. It also moves the premature out in the loop analysis code (it fails to consider pattern stmts for one). Finally this properly implements the slp_perm check for strided loads in vectorizable_load

Re: [PATCH][ARM] Restrict MAX_CONDITIONAL_EXECUTE when -mrestrict-it is in place

2015-05-27 Thread Kyrill Tkachov
Ping. Here is the rebased (and retested) patch after Christian's series. Thanks, Kyrill On 18/05/15 11:26, Kyrill Tkachov wrote: Hi all, When using the short Thumb2 IT blocks we want to also restrict ifcvt so that it will not end up generating a number of back-to-back cond_execs that will

[Bug go/66303] New: runtime.Caller() returns infinitely deep stack frames on s390x

2015-05-27 Thread e29253 at jp dot ibm.com
The function runtime.Caller() returns infinitely deep stack frames on s390x when we increase the argument 'skip'. Attached sample program does not terminate when we ran with GCCGO on s390x: [inagaki@inagaki caller]$ go version go version go1.4.2 gccgo (GCC) 5.1.1 20150527 linux/s390x [inagaki

[Bug target/65979] [5/6 Regression] [SH] Wrong code is generated with stage1 compiler

2015-05-27 Thread glaubitz at physik dot fu-berlin.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65979 --- Comment #33 from John Paul Adrian Glaubitz glaubitz at physik dot fu-berlin.de --- (In reply to Kazumoto Kojima from comment #32) (In reply to John Paul Adrian Glaubitz from comment #28) I should have been more clear about these comparison

[Bug tree-optimization/46032] openmp inhibits loop vectorization

2015-05-27 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46032 --- Comment #17 from Richard Biener rguenth at gcc dot gnu.org --- (In reply to vries from comment #16) (In reply to Richard Biener from comment #12) (In reply to vries from comment #11) The ipa-pta solution no longer works. In 4.6, we had:

Re: Add few cases to operand_equal_p

2015-05-27 Thread Richard Biener
On Tue, 26 May 2015, Jan Hubicka wrote: Will do if we agree on having this. I know you would like ipa-icf to keep original bodies and use them for inlining declaring alias sets to be function local. This is wrong plan. Consder: void t(int *ptr) { *ptr=1; }

[Bug other/66300] GCC_ENABLE_PLUGINS references undefined variables, breaking configure

2015-05-27 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66300 Andrew Pinski pinskia at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Last

[patch] Move generic tree functions from expr.h to tree.h

2015-05-27 Thread Eric Botcazou
Hi, a few functions manipulating generic trees from expr.c are useful for FEs too and some of them (array_ref_{low,up}_bound, get_inner_reference) are already declared in tree.h instead of expr.h. This patch moves 3 similar functions (array_ref_element_size, array_at_struct_end_p,

[Bug c++/66304] New: Can't bootstrap on x86_64-linux-gnu with gcc 4.3.4

2015-05-27 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66304 Bug ID: 66304 Summary: Can't bootstrap on x86_64-linux-gnu with gcc 4.3.4 Product: gcc Version: 5.1.0 Status: UNCONFIRMED Severity: normal Priority: P3

Re: [PATCH][ARM] Add debug dumping of cost table fields

2015-05-27 Thread Bin.Cheng
On Wed, May 27, 2015 at 4:39 PM, Andrew Pinski pins...@gmail.com wrote: On Wed, May 27, 2015 at 4:38 PM, Kyrill Tkachov kyrylo.tkac...@arm.com wrote: Ping. https://gcc.gnu.org/ml/gcc-patches/2015-05/msg00054.html This and the one in AARCH64 is too noisy. Can we have an option to turn this

[Bug libstdc++/66302] New: Wrong output sequence of double precision uniform C++ RNG distribution

2015-05-27 Thread andrey.kolesov at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66302 Bug ID: 66302 Summary: Wrong output sequence of double precision uniform C++ RNG distribution Product: gcc Version: 5.1.1 Status: UNCONFIRMED Severity: normal

[Bug middle-end/66276] [5/6 Regression] internal compiler error: in get_loop_body, at cfgloop.c:856

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

[Bug tree-optimization/66101] [5 Regression] internal compiler error: in verify_loop_structure, at cfgloop.c:1662

2015-05-27 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66101 Richard Biener rguenth at gcc dot gnu.org changed: What|Removed |Added CC|

[Bug tree-optimization/46032] openmp inhibits loop vectorization

2015-05-27 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46032 --- Comment #19 from rguenther at suse dot de rguenther at suse dot de --- On Wed, 27 May 2015, jakub at gcc dot gnu.org wrote: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46032 --- Comment #18 from Jakub Jelinek jakub at gcc dot gnu.org

Re: [PATCH][ARM] Add debug dumping of cost table fields

2015-05-27 Thread Kyrill Tkachov
On 27/05/15 09:47, Bin.Cheng wrote: On Wed, May 27, 2015 at 4:39 PM, Andrew Pinski pins...@gmail.com wrote: On Wed, May 27, 2015 at 4:38 PM, Kyrill Tkachov kyrylo.tkac...@arm.com wrote: Ping. https://gcc.gnu.org/ml/gcc-patches/2015-05/msg00054.html This and the one in AARCH64 is too noisy.

[Bug tree-optimization/66299] more optimize oppotunity

2015-05-27 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66299 Marek Polacek mpolacek at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Last

Re: [PATCH][ARM] Add debug dumping of cost table fields

2015-05-27 Thread Andrew Pinski
On Wed, May 27, 2015 at 4:38 PM, Kyrill Tkachov kyrylo.tkac...@arm.com wrote: Ping. https://gcc.gnu.org/ml/gcc-patches/2015-05/msg00054.html This and the one in AARCH64 is too noisy. Can we have an option to turn this on and default to turning them off. Thanks, Andrew Thanks, Kyrill On

Re: Do not compute alias sets for types that don't need them

2015-05-27 Thread Richard Biener
On Wed, 27 May 2015, Jan Hubicka wrote: I am not sure if TYPE_MAIN_VARIANT is really needed here. What I know is that complete types may have incomplete variants. How can that be? TYPE_FIELDS is shared across variants and all variants should be layed out. Because

[Bug tree-optimization/65419] incorrect sibcalls to libgomp functions

2015-05-27 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65419 vries at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug debug/66301] internal compiler error when using -fopt-info

2015-05-27 Thread t at sharklasers dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66301 --- Comment #1 from JD t at sharklasers dot com --- german@prometheus ~/test $ gcc -v Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=local/gcc5.1/lib/gcc/x86_64-unknown-linux-gnu/5.1.0/lto-wrapper Target: x86_64-unknown-linux-gnu

Re: ping**3 [PATCH, ARM] Cortex-A9 MPCore volatile load workaround

2015-05-27 Thread Kyrill Tkachov
Hi Sandra, Chung-Lin, A couple of comments from me, On 26/05/15 20:10, Sandra Loosemore wrote: Chung-Lin posted this patch last year but it seems never to have been reviewed: https://gcc.gnu.org/ml/gcc-patches/2014-06/msg00714.html I've just re-applied and re-tested it and it still seems to

[Bug tree-optimization/46032] openmp inhibits loop vectorization

2015-05-27 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46032 --- Comment #18 from Jakub Jelinek jakub at gcc dot gnu.org --- The *.omp_fn.* functions indeed, while they necessarily have to be addressable, because that is how they are passed to the libgomp entrypoints, are never called by anything but the

Re: [PATCH][ARM] Add debug dumping of cost table fields

2015-05-27 Thread Kyrill Tkachov
Ping. https://gcc.gnu.org/ml/gcc-patches/2015-05/msg00054.html Thanks, Kyrill On 01/05/15 15:31, Kyrill Tkachov wrote: Hi all, This patch adds a macro to wrap cost field accesses into a helpful debug dump, saying which field is being accessed at what line and with what values. This helped me

Re: [RFC] operand_equal_p with valueization

2015-05-27 Thread Richard Biener
On Tue, 26 May 2015, Jan Hubicka wrote: On Fri, 22 May 2015, Jan Hubicka wrote: And no, I'm hesitant to change operand_equal_p too much. It's very much deep-rooted into GENERIC. OK, as another option, i can bring relevant logic from operand_equal_p to ipa-icf and

[Bug c/66296] Gcc generated wrong code with uint16_t add/sub even with no optimization

2015-05-27 Thread wanght at tsinghua dot org.cn
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66296 Haitao Wang wanght at tsinghua dot org.cn changed: What|Removed |Added Status|RESOLVED|CLOSED ---

[Bug middle-end/66276] [5/6 Regression] internal compiler error: in get_loop_body, at cfgloop.c:856

2015-05-27 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66276 --- Comment #4 from Richard Biener rguenth at gcc dot gnu.org --- Can't reproduce on (only slightly modified) trunk, might be latent there now. Investigating on the branch instead.

[Bug lto/66305] New: -ffat-lto-objects create unreproducible objects

2015-05-27 Thread lunar at debian dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66305 Bug ID: 66305 Summary: -ffat-lto-objects create unreproducible objects Product: gcc Version: 5.1.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug libstdc++/66017] Undefined behaviour in std::setlong long

2015-05-27 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66017 --- Comment #4 from Jonathan Wakely redi at gcc dot gnu.org --- Author: redi Date: Wed May 27 11:18:37 2015 New Revision: 223745 URL: https://gcc.gnu.org/viewcvs?rev=223745root=gccview=rev Log: PR libstdc++/66017 *

Re: [patch] libstdc++/66017 Avoid bad casts and fix alignment of _Rb_tree_nodelong long::_M_storage

2015-05-27 Thread Jonathan Wakely
On 26/05/15 15:46 +0100, Jonathan Wakely wrote: On 22/05/15 18:48 +0100, Jonathan Wakely wrote: On 22/05/15 16:21 +0100, Jonathan Wakely wrote: On 22/05/15 17:13 +0200, Jakub Jelinek wrote: On Fri, May 22, 2015 at 03:59:47PM +0100, Jonathan Wakely wrote: + alignas(alignof(_Tp2))

Re: Teach gimple_canonical_types_compatible_p about incomplete types

2015-05-27 Thread Richard Biener
On Tue, 26 May 2015, Jan Hubicka wrote: Now the change does not really translate to great increase of disambiguations for Firefox (it seems more in noise). The reason is the pointer_type globbing in alias.c. Yeah, we only get the improvement because of some hack in the tree

[Bug plugins/66300] New: GCC_ENABLE_PLUGINS references undefined variables, breaking configure

2015-05-27 Thread ossman at cendio dot se
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66300 Bug ID: 66300 Summary: GCC_ENABLE_PLUGINS references undefined variables, breaking configure Product: gcc Version: 5.1.0 Status: UNCONFIRMED Severity: normal

[Bug c++/66301] New: internal compiler error when using -fopt-info

2015-05-27 Thread t at sharklasers dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66301 Bug ID: 66301 Summary: internal compiler error when using -fopt-info Product: gcc Version: 5.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

Re: [Patch, fortran, pr65548, addendum] [5/6 Regression] gfc_conv_procedure_call

2015-05-27 Thread Andre Vehreschild
Hi Thomas, thanks for the review. Commited as r223738 with the changes (new testcase, double space in dg-do). Regards, Andre On Wed, 27 May 2015 08:38:07 +0200 Thomas Koenig tkoe...@netcologne.de wrote: Hi Andre, Because this patch is obvious I plan to commit it tomorrow if no one

Re: PATCH to run autoconf tests with C++ compiler

2015-05-27 Thread Andreas Schwab
This breaks all checks for supported compiler options: configure:6382: checking whether gcc supports -Wnarrowing configure:6399: gcc -c -Wnarrowing conftest.c 5 cc1: error: unrecognized command line option -Wnarrowing configure:6399: $? = 1 configure:6485: checking whether gcc supports

Re: Do less generous pointer globbing in alias.c

2015-05-27 Thread Richard Biener
On Wed, 27 May 2015, Jan Hubicka wrote: Hi, this patch makes it possible for non-LTO alias oracle to TBAA disambiguate pointer types. It makes void * conflicting with all of them and does not put it to alias set 0. It also preserves the property that qualifiers of pointer-to type should

[Bug libstdc++/54351] ~unique_ptr() should not set stored pointer to null

2015-05-27 Thread rs2740 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54351 --- Comment #14 from TC rs2740 at gmail dot com --- Well, I would have argued that if the specification doesn't say that a function does X, then it doesn't do X. NullablePointer/CopyAssignable only means that the assignment operation must be

[Bug libstdc++/66302] Wrong output sequence of double precision uniform C++ RNG distribution

2015-05-27 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66302 --- Comment #1 from Jonathan Wakely redi at gcc dot gnu.org --- (In reply to Andrey Kolesov from comment #0) Double precision uniform distribution of C++ random number generators from libstdc++ produces sequence which is significantly different

Re: conditional lim

2015-05-27 Thread Richard Biener
On Tue, May 26, 2015 at 3:10 PM, Evgeniya Maenkova evgeniya.maenk...@gmail.com wrote: Hi, Richard Thanks for review starting. Do you see any major issues with this patch (i.e. algorithms and ideas that should be completely replaced, effectively causing the re-write of most code)? To

Re: [patch] Move generic tree functions from expr.h to tree.h

2015-05-27 Thread Eric Botcazou
No. Prototypes of functions defined in A.c should be in A.h, not in some other header. We've been (slowly) moving to that. You should have moved them all to expr.h instead, or move the implementations to tree.c. The former is simply not possible since expr.h is poisoned for FEs... I can

[Bug tree-optimization/65419] incorrect sibcalls to libgomp functions

2015-05-27 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65419 --- Comment #4 from vries at gcc dot gnu.org --- When removing the fn spec from GOACC_data_start, we run into the problem that this example doesn't get parallelized anymore: ... #include stdlib.h #define N (1024 * 512) #define COUNTERTYPE

[Bug rtl-optimization/66306] New: ICE in reload

2015-05-27 Thread krebbel at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66306 Bug ID: 66306 Summary: ICE in reload Product: gcc Version: 4.8.5 Status: UNCONFIRMED Severity: major Priority: P3 Component: rtl-optimization

Re: PATCH to run autoconf tests with C++ compiler

2015-05-27 Thread Richard Biener
On Wed, May 27, 2015 at 10:49 AM, Andreas Schwab sch...@suse.de wrote: This breaks all checks for supported compiler options: configure:6382: checking whether gcc supports -Wnarrowing configure:6399: gcc -c -Wnarrowing conftest.c 5 cc1: error: unrecognized command line option -Wnarrowing

[PATCH 01/35] Introduce new type-based pool allocator.

2015-05-27 Thread mliska
Hello. Following patch set attempts to replace old-style pool allocator to a type-based one. Moreover, as we utilize classes and structs that are used just by a pool allocator, these types have overwritten ctors and dtors. Thus, using the allocator is much easier and we shouldn't cast types back

[PATCH 04/35] Change use to type-based pool allocator in lra.c.

2015-05-27 Thread mliska
gcc/ChangeLog: 2015-04-30 Martin Liska mli...@suse.cz * lra.c (init_insn_regs): Use new type-based pool allocator. (new_insn_reg) Likewise. (free_insn_reg) Likewise. (free_insn_regs) Likewise. (finish_insn_regs) Likewise. (init_insn_recog_data)

[PATCH 02/35] Change use to type-based pool allocator in et-forest.c.

2015-05-27 Thread mliska
gcc/ChangeLog: 2015-04-30 Martin Liska mli...@suse.cz * et-forest.c (et_new_occ): Use new type-based pool allocator. (et_new_tree): Likewise. (et_free_tree): Likewise. (et_free_tree_force): Likewise. (et_free_pools): Likewise. (et_split):

[Bug tree-optimization/66101] [5 Regression] internal compiler error: in verify_loop_structure, at cfgloop.c:1662

2015-05-27 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66101 --- Comment #7 from Richard Biener rguenth at gcc dot gnu.org --- Author: rguenth Date: Wed May 27 14:05:37 2015 New Revision: 223757 URL: https://gcc.gnu.org/viewcvs?rev=223757root=gccview=rev Log: 2015-05-27 Richard Biener rguent...@suse.de

[PATCH] New SLP reduction testcase

2015-05-27 Thread Richard Biener
To cover the case where we need two vectors. Tested on x86_64-unknown-linux-gnu, applied. Richard. 2015-05-27 Richard Biener rguent...@suse.de * gcc.dg/vect/slp-reduc-7.c: New testcase. Index: gcc/testsuite/gcc.dg/vect/slp-reduc-7.c

[Bug target/65979] [5/6 Regression] [SH] Wrong code is generated with stage1 compiler

2015-05-27 Thread olegendo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65979 --- Comment #34 from Oleg Endo olegendo at gcc dot gnu.org --- (In reply to John Paul Adrian Glaubitz from comment #33) It looks that the log for 4.8.4-2 includes gcc/d/ctfeexpr.dmd.o differs line just after its 'Bootstrap comparison

Re: [patch 10/10] debug-early merge: compiler proper

2015-05-27 Thread Richard Biener
On Fri, May 22, 2015 at 4:12 PM, Aldy Hernandez al...@redhat.com wrote: On 05/22/2015 07:23 AM, Richard Biener wrote: On Wed, May 20, 2015 at 5:50 PM, Aldy Hernandez al...@redhat.com wrote: On 05/18/2015 06:56 AM, Richard Biener wrote: diff --git a/gcc/tree-core.h b/gcc/tree-core.h index

Re: [PATCH 09/35] Change use to type-based pool allocator in c-format.c.

2015-05-27 Thread Jakub Jelinek
On Wed, May 27, 2015 at 03:56:47PM +0200, mliska wrote: gcc/c-family/ChangeLog: 2015-04-30 Martin Liska mli...@suse.cz * c-format.c (check_format_arg):Use new type-based pool allocator. (check_format_info_main) Likewise. Please watch your ChangeLog entries. Missing space

[Bug c++/66304] Can't bootstrap on x86_64-linux-gnu with gcc 4.3.4

2015-05-27 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66304 Richard Biener rguenth at gcc dot gnu.org changed: What|Removed |Added Version|5.1.0 |6.0 ---

Re: [PATCH 4/13] arm musl support

2015-05-27 Thread Kyrill Tkachov
Hi Szabolcs, On 20/04/15 19:53, Szabolcs Nagy wrote: Set up dynamic linker name for arm. gcc/Changelog: 2015-04-16 Gregor Richards gregor.richa...@uwaterloo.ca * config/arm/linux-eabi.h (MUSL_DYNAMIC_LINKER): Define. This is ok. The #if TARGET_BIG_ENDIAN_DEFAULT logic looks ok to

Re: [Patch]: libbacktrace - add support of PE/COFF

2015-05-27 Thread Jeff Law
On 05/21/2015 06:41 AM, Tristan Gingold wrote: Hello, this patch adds basic support to libbacktrace for PE32 and PE32+ (Windows and Windows64 object formats). Support is ‘basic’ because neither DLL nor PIE (if that exists) are handled. Furthermore, there is no windows versions of mmapio.c

Re: [Patch, fortran] PR66079 - [6 Regression] memory leak with source allocation in internal subprogram

2015-05-27 Thread Andre Vehreschild
Hi Paul, hi Mikael, about renaming the identifier emitted: I would like to keep it short. Remember, there is always a number attached to it, which makes it unique. Furthermore does alloc_source_tmp sound unnecessarily long to me. It tastes like we do not trust the unique identifier mechanism

[Bug tree-optimization/66101] [5 Regression] internal compiler error: in verify_loop_structure, at cfgloop.c:1662

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

Re: [patch] Move generic tree functions from expr.h to tree.h

2015-05-27 Thread Richard Biener
On Wed, May 27, 2015 at 12:50 PM, Eric Botcazou ebotca...@adacore.com wrote: No. Prototypes of functions defined in A.c should be in A.h, not in some other header. We've been (slowly) moving to that. You should have moved them all to expr.h instead, or move the implementations to tree.c.

[Bug go/66303] runtime.Caller() returns infinitely deep stack frames on s390x

2015-05-27 Thread ian at airs dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66303 --- Comment #1 from Ian Lance Taylor ian at airs dot com --- The one valid entry in the backtrace is in the function kickoff in proc.c. That function is supposed to stop the trace. Search for kickoff in libgo/runtime/go-callers.c. The question

[Bug bootstrap/66304] [6 Regression] Can't bootstrap on x86_64-linux-gnu with gcc 4.3.4

2015-05-27 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66304 Jason Merrill jason at gcc dot gnu.org changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug middle-end/65358] wrong parameter passing code with tail call optimization on arm

2015-05-27 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65358 --- Comment #25 from ktkachov at gcc dot gnu.org --- This should be fixed on trunk for GCC 6. I'll keep this open for a few days to make sure there are no glaring complaints about the patch as it gets through the auto-testers

[Bug lto/66305] -ffat-lto-objects create unreproducible objects

2015-05-27 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66305 Richard Biener rguenth at gcc dot gnu.org changed: What|Removed |Added Keywords||lto

[Bug c++/66304] Can't bootstrap on x86_64-linux-gnu with gcc 4.3.4

2015-05-27 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66304 --- Comment #2 from Martin Liška marxin at gcc dot gnu.org --- (In reply to Richard Biener from comment #1) I suppose you are reporting this against trunk. Yeah, sorry, it's really against trunk.

[Bug bootstrap/66304] [6 Regression] Can't bootstrap on x86_64-linux-gnu with gcc 4.3.4

2015-05-27 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66304 Richard Biener rguenth at gcc dot gnu.org changed: What|Removed |Added Keywords||build

[Ada] Remove propagation of atomicity from object to type

2015-05-27 Thread Arnaud Charlet
This change removes an old trick which was propagating the Atomic (and now Volatile_Full_Access) setting from an object to a locally-defined type, in order to coax gigi into accepting more atomic objects. This trick is now obsolete since gigi should be able to rewrite the type of the objects to

[PATCH 03/35] Change use to type-based pool allocator in lra-lives.c.

2015-05-27 Thread mliska
gcc/ChangeLog: 2015-04-30 Martin Liska mli...@suse.cz * lra-lives.c (free_live_range): Use new type-based pool allocator. (free_live_range_list) Likewise. (create_live_range) Likewise. (copy_live_range) Likewise. (lra_merge_live_ranges) Likewise.

Re: [C++/66270] another may_alias crash

2015-05-27 Thread Nathan Sidwell
On 05/26/15 15:00, Nathan Sidwell wrote: On 05/25/15 21:18, Jason Merrill wrote: Hmm, are you seeing a case where TYPE_CANONICAL (to_type) has the may_alias attribute? Yes. This occurs when the newly created TRCAA pointer is to a self-canonical type. The else if (TYPE_CANONICAL

Re: GIMPLE syntax highlighting for vim

2015-05-27 Thread Jeff Law
On 05/24/2015 01:48 PM, Mikhail Maltsev wrote: Hi all! The attached vim script can be used to highlight syntax in GIMPLE dumps making them somewhat easier to read. I would like to add this script to gcc/contrib directory. Is that OK? Sure, that's fine. jeff

Re: conditional lim

2015-05-27 Thread Evgeniya Maenkova
On Wed, May 27, 2015 at 2:11 PM, Richard Biener richard.guent...@gmail.com wrote: On Tue, May 26, 2015 at 3:10 PM, Evgeniya Maenkova evgeniya.maenk...@gmail.com wrote: Hi, Richard Thanks for review starting. Do you see any major issues with this patch (i.e. algorithms and ideas that should

[Bug middle-end/66307] New: Partial argument overlapping with itself should try to reuse infrastructure in calls.c

2015-05-27 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66307 Bug ID: 66307 Summary: Partial argument overlapping with itself should try to reuse infrastructure in calls.c Product: gcc Version: 6.0 Status: UNCONFIRMED

[PATCH 06/35] Change use to type-based pool allocator in ira-color.c.

2015-05-27 Thread mliska
gcc/ChangeLog: 2015-04-30 Martin Liska mli...@suse.cz * ira-color.c (init_update_cost_records):Use new type-based pool allocator. (get_update_cost_record) Likewise. (free_update_cost_record_list) Likewise. (finish_update_cost_records) Likewise.

[PATCH 12/35] Change use to type-based pool allocator in cselib.c.

2015-05-27 Thread mliska
gcc/ChangeLog: 2015-04-30 Martin Liska mli...@suse.cz * cselib.c (new_elt_list):Use new type-based pool allocator. (new_elt_loc_list) Likewise. (unchain_one_elt_list) Likewise. (unchain_one_elt_loc_list) Likewise. (unchain_one_value) Likewise.

[PATCH 10/35] Change use to type-based pool allocator in cfg.c.

2015-05-27 Thread mliska
gcc/ChangeLog: 2015-04-30 Martin Liska mli...@suse.cz * cfg.c (initialize_original_copy_tables):Use new type-based pool allocator. (free_original_copy_tables) Likewise. (copy_original_table_clear) Likewise. (copy_original_table_set) Likewise. --- gcc/cfg.c |

Re: [patch 10/10] debug-early merge: compiler proper

2015-05-27 Thread Jason Merrill
On 05/20/2015 11:50 AM, Aldy Hernandez wrote: + determine anscestry later. */ ancestry +static bool early_dwarf_dumping; Sorry for the late bikeshedding, but dumping suddently strikes me as odd, since there is no output as with other dumping in the compiler. Can we change that to

Re: [PATCH] Fix duplicated warning with __attribute__((format)) (PR c/64223)

2015-05-27 Thread Jeff Law
On 05/26/2015 05:06 AM, Marek Polacek wrote: Ping. On Tue, May 19, 2015 at 04:07:53PM +0200, Marek Polacek wrote: This PR points out that we output same -Wformat warning twice when using __attribute__ ((format)). The problem was that attribute_value_equal (called when processing

Re: [PATCH] LTO balanced map: add stats about insns and symbols.

2015-05-27 Thread Richard Biener
On Tue, May 26, 2015 at 4:13 PM, Martin Liška mli...@suse.cz wrote: Hello. Following patch enhanced dump output for LTO balanced map. Sample output: Partition sizes: partition 0 contains 2413 (13.33%) symbols and 56646 (3.62%) insns partition 1 contains 2006 (11.08%) symbols and 55901

[Bug middle-end/65358] wrong parameter passing code with tail call optimization on arm

2015-05-27 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65358 --- Comment #24 from ktkachov at gcc dot gnu.org --- Author: ktkachov Date: Wed May 27 13:25:01 2015 New Revision: 223753 URL: https://gcc.gnu.org/viewcvs?rev=223753root=gccview=rev Log: [expr.c] PR target/65358 Avoid clobbering partial argument

Re: [PATCH][expr.c] PR 65358 Avoid clobbering partial argument during sibcall

2015-05-27 Thread Kyrill Tkachov
Hi Jeff, On 12/05/15 23:04, Jeff Law wrote: On 05/11/2015 03:28 AM, Kyrill Tkachov wrote: The more I think about this, the more I think it's an ugly can of worms and maybe we should just disable sibcalls for partial arguments. I doubt it's a big performance issue in general. We already have

[Bug libstdc++/66302] Wrong output sequence of double precision uniform C++ RNG distribution

2015-05-27 Thread andrey.kolesov at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66302 --- Comment #2 from Andrey Kolesov andrey.kolesov at intel dot com --- (In reply to Jonathan Wakely from comment #1) (In reply to Andrey Kolesov from comment #0) Double precision uniform distribution of C++ random number generators from

[PATCH 05/35] Change use to type-based pool allocator in ira-color.c.

2015-05-27 Thread mliska
gcc/ChangeLog: 2015-04-30 Martin Liska mli...@suse.cz * ira-color.c (init_update_cost_records):Use new type-based pool allocator. (get_update_cost_record) Likewise. (free_update_cost_record_list) Likewise. (finish_update_cost_records) Likewise.

[PATCH 09/35] Change use to type-based pool allocator in c-format.c.

2015-05-27 Thread mliska
gcc/c-family/ChangeLog: 2015-04-30 Martin Liska mli...@suse.cz * c-format.c (check_format_arg):Use new type-based pool allocator. (check_format_info_main) Likewise. --- gcc/c-family/c-format.c | 14 ++ 1 file changed, 6 insertions(+), 8 deletions(-) diff --git

[PATCH 19/35] Change use to type-based pool allocator in sel-sched-ir.c.

2015-05-27 Thread mliska
gcc/ChangeLog: 2015-04-30 Martin Liska mli...@suse.cz * sel-sched-ir.c (alloc_sched_pools): Use new type-based pool allocator. (free_sched_pools): Likewise. * sel-sched-ir.h (_list_alloc): Likewise. (_list_remove): Likewise. --- gcc/sel-sched-ir.c | 7 ++-

[PATCH] Fix PR66272

2015-05-27 Thread Richard Biener
The following fixes PR66272. Bootstrapped and tested on x86_64-unknown-linux-gnu, applied to trunk sofar. Richard. 2015-05-27 Richard Biener rguent...@suse.de PR tree-optimization/66272 Revert parts of 2014-08-15 Richard Biener rguent...@suse.de PR

Re: [PATCH] hppa-linux: add missing cpp specs

2015-05-27 Thread Mike Frysinger
On 27 May 2015 13:05, John David Anglin wrote: On 2015-05-27 11:59 AM, Mike Frysinger wrote: Define CPP_SPEC for parisc linux targets so that -posix -pthread work like on all other linux targets. 2015-05-27 Mike Frysingervap...@gentoo.org * config/pa/pa-linux.h (CPP_SPEC):

Re: [PATCH 05/35] Change use to type-based pool allocator in ira-color.c.

2015-05-27 Thread Jeff Law
On 05/27/2015 07:56 AM, mliska wrote: gcc/ChangeLog: 2015-04-30 Martin Liska mli...@suse.cz * ira-color.c (init_update_cost_records):Use new type-based pool allocator. (get_update_cost_record) Likewise. (free_update_cost_record_list) Likewise.

[Bug middle-end/66276] [5/6 Regression] internal compiler error: in get_loop_body, at cfgloop.c:856

2015-05-27 Thread martin.sjolund at liu dot se
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66276 --- Comment #6 from Martin Sjölund martin.sjolund at liu dot se --- Thank you. I can confirm our compiler again bootstraps using gcc 5 branch using -O2. Sadly, -O2 gives different behaviour than -O1, so I will need to investigate and possibly

[Bug target/65979] [5/6 Regression] [SH] Wrong code is generated with stage1 compiler

2015-05-27 Thread glaubitz at physik dot fu-berlin.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65979 --- Comment #35 from John Paul Adrian Glaubitz glaubitz at physik dot fu-berlin.de --- (In reply to Oleg Endo from comment #34) If 4.8.something doesn't bootstrap, it would be a 4.8 Regression type of bug. I'd move it to a new PR. Already.

[Bug lto/66305] -ffat-lto-objects create unreproducible objects

2015-05-27 Thread lunar at debian dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66305 --- Comment #3 from lunar at debian dot org --- Richard Biener: I think they become deterministic with -frandom-seed=0 for example. They are not deterministic to support partial linking of LTO objects as far as I know. They are indeed

[Bug target/66312] New: [SH] Regression: Bootstrap failure gcc/d/ctfeexpr.dmd.o differs with gcc-4.8/4.9

2015-05-27 Thread glaubitz at physik dot fu-berlin.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66312 Bug ID: 66312 Summary: [SH] Regression: Bootstrap failure gcc/d/ctfeexpr.dmd.o differs with gcc-4.8/4.9 Product: gcc Version: 4.9.3 Status: UNCONFIRMED

[Bug middle-end/66313] New: Unsafe factorization of a*b+a*c

2015-05-27 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66313 Bug ID: 66313 Summary: Unsafe factorization of a*b+a*c Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end

[Bug target/66312] [SH] Regression: Bootstrap failure gcc/d/ctfeexpr.dmd.o differs with gcc-4.8/4.9

2015-05-27 Thread olegendo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66312 --- Comment #1 from Oleg Endo olegendo at gcc dot gnu.org --- As Kaz mentioned in PR 65979 #c8, first revert all the SH specific patches. The SVN revisions are r221686, r221305, r221166, r220957, r220917, r219258. Thus you can pull the

[Bug tree-optimization/65419] incorrect sibcalls to libgomp functions

2015-05-27 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65419 --- Comment #9 from vries at gcc dot gnu.org --- (In reply to Jakub Jelinek from comment #8) IMNSHO it is much better to accurately describe the builtins to the aliasing code etc. over adding ugly hacks like the tailcall one, or postponing

  1   2   3   4   >