Vectorization: Loop peeling with misaligned support.

2013-11-15 Thread Bingfeng Mei
Hi, In loop vectorization, I found that vectorizer insists on loop peeling even our target supports misaligned memory access. This results in much bigger code size for a very simple loop. I defined TARGET_VECTORIZE_SUPPORT_VECTOR_MISALGINMENT and also TARGET_VECTORIZE_BUILTIN_VECTORIZATION_COST

Re: suspect code in fold-const.c

2013-11-15 Thread Kenneth Zadeck
On 11/15/2013 04:07 AM, Eric Botcazou wrote: this code from fold-const.c starts on line 13811. else if (TREE_INT_CST_HIGH (arg1) == signed_max_hi TREE_INT_CST_LOW (arg1) == signed_max_lo TYPE_UNSIGNED (arg1_type) /* We will flip the

Re: Vectorization: Loop peeling with misaligned support.

2013-11-15 Thread Richard Biener
On Fri, Nov 15, 2013 at 2:16 PM, Bingfeng Mei b...@broadcom.com wrote: Hi, In loop vectorization, I found that vectorizer insists on loop peeling even our target supports misaligned memory access. This results in much bigger code size for a very simple loop. I defined

RE: Vectorization: Loop peeling with misaligned support.

2013-11-15 Thread Bingfeng Mei
Hi, Richard, Speed difference is 154 cycles (with workaround) vs. 198 cycles. So loop peeling is also slower for our processors. By vectorization_cost, do you mean TARGET_VECTORIZE_BUILTIN_VECTORIZATION_COST hook? In our case, it is easy to make decision. But generally, if peeling loop is

Re: [RFC] Target compilation for offloading

2013-11-15 Thread Andrey Turetskiy
Let's suppose, we are going to run target gcc driver from lto-wrapper. How could a list of offload targets be passed there from option parser? In my opinion, the simpliest way to do it is to use environment variable. Would you agree with such approach? On Fri, Nov 8, 2013 at 6:34 PM, Jakub

Re: Vectorization: Loop peeling with misaligned support.

2013-11-15 Thread Hendrik Greving
Also keep in mind that usually costs go up significantly if misalignment causes cache line splits (processor will fetch 2 lines). There are non-linear costs of filling up the store queue in modern out-of-order processors (x86). Bottom line is that it's much better to peel e.g. for AVX2/AVX3 if the

Re: Vectorization: Loop peeling with misaligned support.

2013-11-15 Thread Xinliang David Li
The right longer term fix is suggested by Richard. For now you can probably override the peel parameter for your target (in the target option_override function). maybe_set_param_value (PARAM_VECT_MAX_PEELING_FOR_ALIGNMENT, 0, opts-x_param_values, opts_set-x_param_values); David

Frame pointer, bug or feature? (x86)

2013-11-15 Thread Hendrik Greving
In the below test case, CASE_A actually uses a frame pointer, while !CASE_A doesn't. I can't imagine this is a feature, this is a bug, isn't it? Is there any reason the compiler couldn't know that loop_blocks never needs a dynamic stack size? #include stdio.h #include stdlib.h #define MY_DEFINE

RE: Vectorization: Loop peeling with misaligned support.

2013-11-15 Thread Bingfeng Mei
Thanks for the suggestion. It seems that parameter is only available in HEAD, not in 4.8. I will backport to 4.8. However, implementing a good cost model seems quite tricky to me. There are conflicting requirements for different processors. For us or many embedded processors, 4-time size

Re: Frame pointer, bug or feature? (x86)

2013-11-15 Thread Andrew Pinski
On Fri, Nov 15, 2013 at 9:31 AM, Hendrik Greving hendrik.greving.in...@gmail.com wrote: In the below test case, CASE_A actually uses a frame pointer, while !CASE_A doesn't. I can't imagine this is a feature, this is a bug, isn't it? Is there any reason the compiler couldn't know that

Re: Vectorization: Loop peeling with misaligned support.

2013-11-15 Thread Xinliang David Li
I agree it is hard to tune cost model to make it precise. Trunk compiler now supports better command line control for cost model selection. It seems to me that you can backport that change (as well as changes to control loop and slp vectorizer with different options) to your branch. With those,

RFC: FLT_ROUNDS and fesetround

2013-11-15 Thread H.J. Lu
Hi, float.h has /* Addition rounds to 0: zero, 1: nearest, 2: +inf, 3: -inf, -1: unknown. */ /* ??? This is supposed to change with calls to fesetround in fenv.h. */ #undef FLT_ROUNDS #define FLT_ROUNDS 1 Clang introduces __builtin_flt_rounds and #define FLT_ROUNDS (__builtin_flt_rounds())

Re: RFC: FLT_ROUNDS and fesetround

2013-11-15 Thread Joseph S. Myers
On Fri, 15 Nov 2013, H.J. Lu wrote: Hi, float.h has /* Addition rounds to 0: zero, 1: nearest, 2: +inf, 3: -inf, -1: unknown. */ /* ??? This is supposed to change with calls to fesetround in fenv.h. */ #undef FLT_ROUNDS #define FLT_ROUNDS 1 Clang introduces __builtin_flt_rounds and

Re: Vectorization: Loop peeling with misaligned support.

2013-11-15 Thread Ondřej Bílka
On Fri, Nov 15, 2013 at 09:17:14AM -0800, Hendrik Greving wrote: Also keep in mind that usually costs go up significantly if misalignment causes cache line splits (processor will fetch 2 lines). There are non-linear costs of filling up the store queue in modern out-of-order processors (x86).

Re: Vectorization: Loop peeling with misaligned support.

2013-11-15 Thread Ondřej Bílka
On Fri, Nov 15, 2013 at 11:26:06PM +0100, Ondřej Bílka wrote: Minor correction, a mutt read replaced a set1.s file by one that I later used for avx2 variant. A correct file is following .file set1.c .text .p2align 4,,15 .globl set .type set, @function

Re: proposal to make SIZE_TYPE more flexible

2013-11-15 Thread DJ Delorie
Everything handling __int128 would be updated to work with a target-determined set of types instead. Preferably, the number of such keywords would be arbitrary (so I suppose there would be a single RID_INTN for them) - that seems cleaner than the system for address space keywords with a

Re: suspect code in fold-const.c

2013-11-15 Thread Kenneth Zadeck
This patch fixes a number of places where the mode bitsize had been used but the mode precision should have been used. The tree level is somewhat sloppy about this - some places use the mode precision and some use the mode bitsize. It seems that the mode precision is the proper choice

Thank you!

2013-11-15 Thread Mark Mitchell
Folks -- It's been a long time since I've posted to the GCC mailing list because (as is rather obvious) I haven't been directly involved in GCC development for quite some time. As of today, I'm no longer at Mentor Graphics (the company that acquired CodeSourcery), so I no longer even have a

Re: Vectorization: Loop peeling with misaligned support.

2013-11-15 Thread Tim Prince
On 11/15/2013 2:26 PM, Ondřej Bílka wrote: On Fri, Nov 15, 2013 at 09:17:14AM -0800, Hendrik Greving wrote: Also keep in mind that usually costs go up significantly if misalignment causes cache line splits (processor will fetch 2 lines). There are non-linear costs of filling up the store queue

Re: Thank you!

2013-11-15 Thread Jeff Law
On 11/15/13 18:33, Mark Mitchell wrote: I'd very much like to thank all who are, have been, or will be developers and maintainers of GCC. Of course, I'm particularly grateful to those who reviewed my patches, fixed the bugs I introduced, endured my nit-picking reviews of their patches, and so

[Bug sanitizer/59063] [4.9 Regression] ASAN: segfault in __interceptor_clock_gettime

2013-11-15 Thread y.gribov at samsung dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59063 --- Comment #18 from Yury Gribov y.gribov at samsung dot com --- (In reply to Evgeniy Stepanov from comment #17) Sorry, I forgot to mention this. Should be done in r194372. Thanks! A pity this isn't going to help in gcc case that much because of

[Bug sanitizer/58543] Invalid unpoisoning of stack redzones on ARM

2013-11-15 Thread y.gribov at samsung dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58543 Yury Gribov y.gribov at samsung dot com changed: What|Removed |Added Status|NEW |RESOLVED

[Bug sanitizer/58937] Preloaded libasan segfaults on unsanitized executables

2013-11-15 Thread eugeni.stepanov at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58937 --- Comment #13 from Evgeniy Stepanov eugeni.stepanov at gmail dot com --- (In reply to Yury Gribov from comment #12) (In reply to Evgeniy Stepanov from comment #8) ... one of the ASan interceptors that does ENSURE_ASAN_INITED(). Arguably,

[Bug target/57756] Function target attribute is retaining state of previously seen function

2013-11-15 Thread ubizjak at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57756 --- Comment #8 from Uroš Bizjak ubizjak at gmail dot com --- (In reply to Yuri Rumyantsev from comment #7) Created attachment 31217 [details] Additioanl patch for r203634. -- gcc-patches@...

[Bug tree-optimization/59139] [4.7/4.8/4.9 Regression] internal compiler error: in get_val_for, at tree-ssa-loop-niter.c:2267

2013-11-15 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59139 Richard Biener rguenth at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Last

[Bug c/59138] [4.8/4.9 Regression] possible packed struct miscompile

2013-11-15 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59138 Richard Biener rguenth at gcc dot gnu.org changed: What|Removed |Added Keywords||wrong-code

[Bug sanitizer/59136] [4.9 Regression] llvm-symbolizer shouldn't be started always

2013-11-15 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59136 Richard Biener rguenth at gcc dot gnu.org changed: What|Removed |Added Priority|P3 |P1 Target

[Bug tree-optimization/59121] [4.8/4.9 Regression] endless loop with -O2 -floop-parallelize-all

2013-11-15 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59121 Richard Biener rguenth at gcc dot gnu.org changed: What|Removed |Added Priority|P3 |P2 Target

[Bug c++/59140] [C++11] Bogus error: use of deleted function ...

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

[Bug c++/58533] [c++1y] ICE with auto in function pointer

2013-11-15 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58533 --- Comment #4 from Paolo Carlini paolo.carlini at oracle dot com --- Seems fixed.

[Bug c++/59144] weird behavior when dealing with too complicated templates and class hierarchy

2013-11-15 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59144 --- Comment #1 from Jonathan Wakely redi at gcc dot gnu.org --- (In reply to tmmikolajczyk from comment #0) The compilation passes (on gcc and clang). It's quite weird that the virtualism of the X::bar method has such an impact. But that

[Bug sanitizer/58994] asan.exp regressions on x86_64 darwin at -m64 but not -m32 at r204372

2013-11-15 Thread kcc at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58994 --- Comment #21 from Kostya Serebryany kcc at gcc dot gnu.org --- Author: kcc Date: Fri Nov 15 10:31:14 2013 New Revision: 204838 URL: http://gcc.gnu.org/viewcvs?rev=204838root=gccview=rev Log: fix PR sanitizer/58994 Modified:

[Bug c++/58930] [C++11] Bogus error: converting to ... from initializer list would use explicit constructor

2013-11-15 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58930 Jonathan Wakely redi at gcc dot gnu.org changed: What|Removed |Added Keywords||rejects-valid

[Bug middle-end/50262] PTA doesn't disambiguate locally allocated heap objects from pointed to by arguments

2013-11-15 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50262 --- Comment #3 from Richard Biener rguenth at gcc dot gnu.org --- I finally have a patch ...

[Bug libgcc/59145] New: apache compilation in AIX 7.1 - erro while starting the apache server

2013-11-15 Thread balamuruganpalani at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59145 Bug ID: 59145 Summary: apache compilation in AIX 7.1 - erro while starting the apache server Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug libgcc/59145] apache compilation in AIX 7.1 - erro while starting the apache server

2013-11-15 Thread balamuruganpalani at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59145 balamuruganpalani at gmail dot com changed: What|Removed |Added Severity|normal |major

[Bug libgcc/59145] apache compilation in AIX 7.1 - erro while starting the apache server

2013-11-15 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59145 Jonathan Wakely redi at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED

[Bug ada/54040] [x32] Incorrect timeval and timespec

2013-11-15 Thread hjl at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54040 --- Comment #3 from hjl at gcc dot gnu.org hjl at gcc dot gnu.org --- Author: hjl Date: Fri Nov 15 12:06:25 2013 New Revision: 204840 URL: http://gcc.gnu.org/viewcvs?rev=204840root=gccview=rev Log: Add and use System.Linux.time_t for time_t

[Bug sanitizer/59136] [4.9 Regression] llvm-symbolizer shouldn't be started always

2013-11-15 Thread samsonov at google dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59136 --- Comment #6 from Alexey Samsonov samsonov at google dot com --- (In reply to Richard Biener from comment #5) No processes should be launched at all. Blocks the release - please make it at least configurable to be able to turn it off.

[Bug sanitizer/59106] Failure to link against static libasan

2013-11-15 Thread kcc at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59106 --- Comment #11 from Kostya Serebryany kcc at gcc dot gnu.org --- Trying to build chrome with gcc's asan... The build barks as in this bug -- we do need to build libsanitizer (at least asan) with -fno-rtti

[Bug sanitizer/59106] Failure to link against static libasan

2013-11-15 Thread y.gribov at samsung dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59106 --- Comment #12 from Yury Gribov y.gribov at samsung dot com --- (In reply to Kostya Serebryany from comment #11) The build barks as in this bug Did it work with the patch?

[Bug c++/59131] Compiler segfaults while generating code to save local variables in transactional section

2013-11-15 Thread machens at tuhh dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59131 --- Comment #2 from Holger Machens machens at tuhh dot de --- Created attachment 31224 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=31224action=edit Test case to reproduce the bug

[Bug sanitizer/59063] [4.9 Regression] ASAN: segfault in __interceptor_clock_gettime

2013-11-15 Thread Joost.VandeVondele at mat dot ethz.ch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59063 Joost VandeVondele Joost.VandeVondele at mat dot ethz.ch changed: What|Removed |Added URL|

[Bug fortran/59146] New: Segfault when ommiting '' in 'bind (C) ' procedure call

2013-11-15 Thread jean.charles.pa...@o-mail.fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59146 Bug ID: 59146 Summary: Segfault when ommiting '' in 'bind (C) ' procedure call Product: gcc Version: 4.8.1 Status: UNCONFIRMED Severity: minor

[Bug sanitizer/59106] Failure to link against static libasan

2013-11-15 Thread kcc at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59106 --- Comment #13 from Kostya Serebryany kcc at gcc dot gnu.org --- Did it work with the patch? Yes!

[Bug middle-end/59125] [4.8/4.9 Regression] gcc triggers wrong strncpy_chk

2013-11-15 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59125 Richard Biener rguenth at gcc dot gnu.org changed: What|Removed |Added CC||jakub at gcc

[Bug middle-end/59125] [4.8/4.9 Regression] gcc triggers wrong strncpy_chk

2013-11-15 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59125 --- Comment #5 from Richard Biener rguenth at gcc dot gnu.org --- Related bug is PR54570.

[Bug fortran/59146] Segfault when ommiting '' in 'bind (C) ' procedure call

2013-11-15 Thread dominiq at lps dot ens.fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59146 Dominique d'Humieres dominiq at lps dot ens.fr changed: What|Removed |Added CC|

[Bug fortran/59147] New: 128-bit division error

2013-11-15 Thread rglindley at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59147 Bug ID: 59147 Summary: 128-bit division error Product: gcc Version: 4.6.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran

[Bug bootstrap/56703] problems with strsignal and maybe strstr due to varying const on return type

2013-11-15 Thread yves.can...@ens-lyon.fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56703 Yves Caniou yves.can...@ens-lyon.fr changed: What|Removed |Added CC|

[Bug fortran/59147] 128-bit division error

2013-11-15 Thread rglindley at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59147 --- Comment #1 from rglindley at gmail dot com --- Created attachment 31227 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=31227action=edit compiler information Output from following: gfortran -v -save-temps -Wall -Wextra division_test.f90

[Bug target/57756] Function target attribute is retaining state of previously seen function

2013-11-15 Thread ysrumyan at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57756 --- Comment #9 from Yuri Rumyantsev ysrumyan at gmail dot com --- Hi Uros, I decided that the bug owner should fix it and send my patch (or modified one) for review to GCC community, i.e. I was not planning to fix it. But if I should do it pls

[Bug fortran/59147] 128-bit division error

2013-11-15 Thread dominiq at lps dot ens.fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59147 --- Comment #2 from Dominique d'Humieres dominiq at lps dot ens.fr --- It works for me on powerpc-apple-darwin9 (with -m64), x86_64-apple-darwin10, and x86_64-apple-darwin13. It looks like a bug in the 128-bit library of x86_64-w64-mingw32.

[Bug middle-end/50262] PTA doesn't disambiguate locally allocated heap objects from pointed to by arguments

2013-11-15 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50262 --- Comment #4 from Richard Biener rguenth at gcc dot gnu.org --- Author: rguenth Date: Fri Nov 15 14:48:22 2013 New Revision: 204845 URL: http://gcc.gnu.org/viewcvs?rev=204845root=gccview=rev Log: 2013-11-15 Richard Biener rguent...@suse.de

[Bug middle-end/50262] PTA doesn't disambiguate locally allocated heap objects from pointed to by arguments

2013-11-15 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50262 Richard Biener rguenth at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[Bug c++/59131] Compiler segfaults while generating code to save local variables in transactional section

2013-11-15 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59131 Paolo Carlini paolo.carlini at oracle dot com changed: What|Removed |Added Status|WAITING

[Bug c++/58533] [c++1y] ICE with auto in function pointer

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

[Bug libstdc++/28811] --with-pic vs static libraries and libstdc++

2013-11-15 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28811 Paolo Carlini paolo.carlini at oracle dot com changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[Bug libfortran/59108] ACTION='READ' is using O_CREAT

2013-11-15 Thread jvdelisle at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59108 Jerry DeLisle jvdelisle at gcc dot gnu.org changed: What|Removed |Added CC||jvdelisle at

[Bug target/59147] 128-bit division error

2013-11-15 Thread kargl at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59147 kargl at gcc dot gnu.org changed: What|Removed |Added Target||x86_64-w64-mingw32

[Bug sanitizer/59061] Port leaksanitizer

2013-11-15 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59061 --- Comment #24 from Jakub Jelinek jakub at gcc dot gnu.org --- Just tried to bootstrap/regtest that patch, unfortunately it doesn't build at all on i686. Is it meant to work on x86_64 only (or only for SANITIZER_WORDSIZE == 64)?

[Bug sanitizer/58994] asan.exp regressions on x86_64 darwin at -m64 but not -m32 at r204372

2013-11-15 Thread howarth at nitro dot med.uc.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58994 Jack Howarth howarth at nitro dot med.uc.edu changed: What|Removed |Added Status|NEW |RESOLVED

[Bug sanitizer/59122] [4.9 Regression] libsanitizer merge from upstream r191666 causes duplicate symbol errors

2013-11-15 Thread bergner at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59122 Peter Bergner bergner at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED

[Bug rtl-optimization/59099] [4.9 Regression] Erroneous register allocation on 32-bit x86 using regparm

2013-11-15 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59099 Martin Jambor jamborm at gcc dot gnu.org changed: What|Removed |Added URL|

[Bug sanitizer/59148] New: FAIL: c-c++-common/asan/strncpy-overflow-1.c -O0 execution test on darwin13

2013-11-15 Thread howarth at nitro dot med.uc.edu
=== # of expected passes648 # of unexpected failures2 # of unsupported tests202 /sw/src/fink.build/gcc49-4.9.0-1000/darwin_objdir/gcc/xgcc version 4.9.0 20131115 (experimental) (GCC) Compiler version: 4.9.0 20131115 (experimental) (GCC) Platform: x86_64-apple-darwin13.0.0

[Bug sanitizer/59061] Port leaksanitizer

2013-11-15 Thread kcc at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59061 --- Comment #25 from Kostya Serebryany kcc at gcc dot gnu.org --- (In reply to Jakub Jelinek from comment #24) Just tried to bootstrap/regtest that patch, unfortunately it doesn't build at all on i686. Is it meant to work on x86_64 only (or

[Bug c++/26205] pointer to member template parameter can't be null

2013-11-15 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26205 Paolo Carlini paolo.carlini at oracle dot com changed: What|Removed |Added Status|NEW |RESOLVED

[Bug c++/10541] [DR 354] Is NULL a valid pointer-type template argument?

2013-11-15 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10541 Paolo Carlini paolo.carlini at oracle dot com changed: What|Removed |Added CC||jeffp at

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

2013-11-15 Thread tromey at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58666 Tom Tromey tromey at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED

[Bug bootstrap/58572] [4.9 regression] make bootstrap-lean leads to installation failure (doing extra rebuilds and invoking system compiler)

2013-11-15 Thread tromey at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58572 Tom Tromey tromey at gcc dot gnu.org changed: What|Removed |Added CC||krebbel at gcc dot

[Bug bootstrap/58572] [4.9 regression] make bootstrap-lean leads to installation failure (doing extra rebuilds and invoking system compiler)

2013-11-15 Thread tromey at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58572 Tom Tromey tromey at gcc dot gnu.org changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |tromey at

[Bug rtl-optimization/59133] [4.9 regression] ICE after r204219 on SPEC2006 435.gromacs.

2013-11-15 Thread vmakarov at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59133 --- Comment #3 from Vladimir Makarov vmakarov at gcc dot gnu.org --- I've started to work on it. The problem is in that LRA has not enough code to deal with creation of pseudos out of its scope. I guess the fix will be ready next week on

[Bug sanitizer/59148] FAIL: c-c++-common/asan/strncpy-overflow-1.c -O0 execution test on darwin13

2013-11-15 Thread dominiq at lps dot ens.fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59148 Dominique d'Humieres dominiq at lps dot ens.fr changed: What|Removed |Added Status|UNCONFIRMED |NEW

[Bug tree-optimization/59149] New: diagnose_tm_1 calls flags_from_decl_or_type on an ADDR_EXPR

2013-11-15 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59149 Bug ID: 59149 Summary: diagnose_tm_1 calls flags_from_decl_or_type on an ADDR_EXPR Product: gcc Version: 4.9.0 Status: UNCONFIRMED Severity: normal

[Bug c++/58599] [c++11] Trouble with non-static data member initializers in templates

2013-11-15 Thread reichelt at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58599 Volker Reichelt reichelt at gcc dot gnu.org changed: What|Removed |Added CC|

[Bug c++/58599] [c++11] Trouble with non-static data member initializers in templates

2013-11-15 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58599 --- Comment #5 from Paolo Carlini paolo.carlini at oracle dot com --- Oh, nice. Yes will do.

[Bug fortran/59143] [OOP] Bogus warning with array-valued type-bound procedure

2013-11-15 Thread janus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59143 janus at gcc dot gnu.org changed: What|Removed |Added Keywords||diagnostic

[Bug sanitizer/59148] FAIL: c-c++-common/asan/strncpy-overflow-1.c -O0 execution test on darwin13

2013-11-15 Thread howarth at nitro dot med.uc.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59148 --- Comment #2 from Jack Howarth howarth at nitro dot med.uc.edu --- Also confirmed that if you compile the failing test case using current llvm/clang svn with... /sw/opt/llvm-3.4/bin/clang -fsanitize=address -g -fdiagnostics-color=never -O0

[Bug fortran/59143] [OOP] Bogus warning with array-valued type-bound procedure

2013-11-15 Thread janus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59143 janus at gcc dot gnu.org changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug libfortran/59108] ACTION='READ' is using O_CREAT

2013-11-15 Thread jb at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59108 --- Comment #2 from Janne Blomqvist jb at gcc dot gnu.org --- Author: jb Date: Fri Nov 15 22:00:36 2013 New Revision: 204864 URL: http://gcc.gnu.org/viewcvs?rev=204864root=gccview=rev Log: When file status is unknown, don't set O_CREAT when

[Bug sanitizer/59061] Port leaksanitizer

2013-11-15 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59061 --- Comment #26 from Jakub Jelinek jakub at gcc dot gnu.org --- libbacktrace doesn't use malloc (unless mmap isn't supported), handles inline frames just fine and Ian has posted today a patch to support also data symbol lookups. I think I'll post

[Bug rtl-optimization/59019] [4.9 regression] ICE in advance_target_bb, at sched-rgn.c:3561

2013-11-15 Thread law at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59019 --- Comment #8 from Jeffrey A. Law law at redhat dot com --- This has gone latent. Regardless it's relatively easy to fix things up in combine -- which does similar kinds of things when it's able to collapse a conditional jump to an unconditional

[Bug libfortran/59108] ACTION='READ' is using O_CREAT

2013-11-15 Thread jb at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59108 Janne Blomqvist jb at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED

[Bug c++/58599] [c++11] Trouble with non-static data member initializers in templates

2013-11-15 Thread paolo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58599 --- Comment #6 from paolo at gcc dot gnu.org paolo at gcc dot gnu.org --- Author: paolo Date: Fri Nov 15 23:17:23 2013 New Revision: 204866 URL: http://gcc.gnu.org/viewcvs?rev=204866root=gccview=rev Log: 2013-11-15 Paolo Carlini

[Bug c++/58599] [c++11] Trouble with non-static data member initializers in templates

2013-11-15 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58599 Paolo Carlini paolo.carlini at oracle dot com changed: What|Removed |Added Status|NEW |RESOLVED

[Bug c++/58616] [meta-bug] nsdmi

2013-11-15 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58616 Bug 58616 depends on bug 58599, which changed state. Bug 58599 Summary: [c++11] Trouble with non-static data member initializers in templates http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58599 What|Removed

[Bug c++/58829] non-static member initializer in nested template class produces incorrect compile error

2013-11-15 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58829 --- Comment #1 from Paolo Carlini paolo.carlini at oracle dot com --- This is also fixed in mainline. I'm adding the testcase and closing the bug.

[Bug c++/58725] segfault with non-static member initializer in a nested struct

2013-11-15 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58725 --- Comment #3 from Paolo Carlini paolo.carlini at oracle dot com --- Fixed in mainline. I'm adding the testcase and closing the bug.

[Bug c++/58188] ICE in gimple_add_tmp_var, at gimplify.c:738

2013-11-15 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58188 --- Comment #3 from Paolo Carlini paolo.carlini at oracle dot com --- This is also fixed in mainline. I'm adding the testcase and closing the bug.

[Bug target/57949] [powerpc64] Structure parameter alignment issue with vector extensions

2013-11-15 Thread uweigand at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57949 --- Comment #9 from Ulrich Weigand uweigand at gcc dot gnu.org --- Author: uweigand Date: Fri Nov 15 23:39:50 2013 New Revision: 204870 URL: http://gcc.gnu.org/viewcvs?rev=204870root=gccview=rev Log: gcc: 2013-11-15 Ulrich Weigand

[Bug middle-end/59150] New: [4.9 Regression] ICE: in expand_one_var, at cfgexpand.c:1242 with -fopenmp

2013-11-15 Thread zsojka at seznam dot cz
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59150 Bug ID: 59150 Summary: [4.9 Regression] ICE: in expand_one_var, at cfgexpand.c:1242 with -fopenmp Product: gcc Version: 4.9.0 Status: UNCONFIRMED Severity:

[Bug c++/58188] ICE in gimple_add_tmp_var, at gimplify.c:738

2013-11-15 Thread paolo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58188 --- Comment #4 from paolo at gcc dot gnu.org paolo at gcc dot gnu.org --- Author: paolo Date: Fri Nov 15 23:51:23 2013 New Revision: 204881 URL: http://gcc.gnu.org/viewcvs?rev=204881root=gccview=rev Log: 2013-11-15 Paolo Carlini

[Bug c++/58725] segfault with non-static member initializer in a nested struct

2013-11-15 Thread paolo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58725 --- Comment #4 from paolo at gcc dot gnu.org paolo at gcc dot gnu.org --- Author: paolo Date: Fri Nov 15 23:51:23 2013 New Revision: 204881 URL: http://gcc.gnu.org/viewcvs?rev=204881root=gccview=rev Log: 2013-11-15 Paolo Carlini

[Bug c++/58829] non-static member initializer in nested template class produces incorrect compile error

2013-11-15 Thread paolo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58829 --- Comment #2 from paolo at gcc dot gnu.org paolo at gcc dot gnu.org --- Author: paolo Date: Fri Nov 15 23:51:23 2013 New Revision: 204881 URL: http://gcc.gnu.org/viewcvs?rev=204881root=gccview=rev Log: 2013-11-15 Paolo Carlini

[Bug c++/58829] non-static member initializer in nested template class produces incorrect compile error

2013-11-15 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58829 Paolo Carlini paolo.carlini at oracle dot com changed: What|Removed |Added Status|NEW |RESOLVED

[Bug c++/58188] ICE in gimple_add_tmp_var, at gimplify.c:738

2013-11-15 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58188 Paolo Carlini paolo.carlini at oracle dot com changed: What|Removed |Added Status|NEW |RESOLVED

[Bug c++/58616] [meta-bug] nsdmi

2013-11-15 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58616 Bug 58616 depends on bug 58829, which changed state. Bug 58829 Summary: non-static member initializer in nested template class produces incorrect compile error http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58829 What|Removed

[Bug c++/58616] [meta-bug] nsdmi

2013-11-15 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58616 Bug 58616 depends on bug 58188, which changed state. Bug 58188 Summary: ICE in gimple_add_tmp_var, at gimplify.c:738 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58188 What|Removed |Added

[Bug c++/58616] [meta-bug] nsdmi

2013-11-15 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58616 Bug 58616 depends on bug 58725, which changed state. Bug 58725 Summary: segfault with non-static member initializer in a nested struct http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58725 What|Removed |Added

[Bug c++/58725] segfault with non-static member initializer in a nested struct

2013-11-15 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58725 Paolo Carlini paolo.carlini at oracle dot com changed: What|Removed |Added Status|NEW |RESOLVED

  1   2   3   >