RE: Comparison of GCC-4.9 and LLVM-3.4 performance on SPECInt2000 for x86-64 and ARM

2014-06-25 Thread Bingfeng Mei
Thanks for nice benchmarks. Vladimir. Why is GCC code size so much bigger than LLVM? Does -Ofast have more unrolling on GCC? It doesn't seem increasing code size help performance (164.gzip 197.parser) Is there comparisons for O2? I guess that is more useful for typical mobile/embedded

Re: Comparison of GCC-4.9 and LLVM-3.4 performance on SPECInt2000 for x86-64 and ARM

2014-06-25 Thread Renato Golin
On 25 June 2014 10:26, Bingfeng Mei b...@broadcom.com wrote: Why is GCC code size so much bigger than LLVM? Does -Ofast have more unrolling on GCC? It doesn't seem increasing code size help performance (164.gzip 197.parser) Is there comparisons for O2? I guess that is more useful for typical

Re: Comparison of GCC-4.9 and LLVM-3.4 performance on SPECInt2000 for x86-64 and ARM

2014-06-25 Thread Bin.Cheng
On Wed, Jun 25, 2014 at 5:26 PM, Bingfeng Mei b...@broadcom.com wrote: Thanks for nice benchmarks. Vladimir. Why is GCC code size so much bigger than LLVM? Does -Ofast have more unrolling On the contrary, I don't think rtl unrolling is enabled by default on GCC with level O3/Ofast. There is no

Re: Comparison of GCC-4.9 and LLVM-3.4 performance on SPECInt2000 for x86-64 and ARM

2014-06-25 Thread Bin.Cheng
On Wed, Jun 25, 2014 at 5:47 PM, Bin.Cheng amker.ch...@gmail.com wrote: On Wed, Jun 25, 2014 at 5:26 PM, Bingfeng Mei b...@broadcom.com wrote: Thanks for nice benchmarks. Vladimir. Why is GCC code size so much bigger than LLVM? Does -Ofast have more unrolling On the contrary, I don't think

Re: Comparison of GCC-4.9 and LLVM-3.4 performance on SPECInt2000 for x86-64 and ARM

2014-06-25 Thread Richard Biener
On Wed, Jun 25, 2014 at 11:53 AM, Bin.Cheng amker.ch...@gmail.com wrote: On Wed, Jun 25, 2014 at 5:47 PM, Bin.Cheng amker.ch...@gmail.com wrote: On Wed, Jun 25, 2014 at 5:26 PM, Bingfeng Mei b...@broadcom.com wrote: Thanks for nice benchmarks. Vladimir. Why is GCC code size so much bigger

stdatomic.h and atomic_load_explicit()

2014-06-25 Thread Sebastian Huber
Hello, GCC provides its own version of stdatomic.h since GCC 4.9. Here we have: #define atomic_load_explicit(PTR, MO) \ __extension__ \ ({

Re: stdatomic.h and atomic_load_explicit()

2014-06-25 Thread Joseph S. Myers
On Wed, 25 Jun 2014, Sebastian Huber wrote: I think the inheritance of the volatile qualifier via __typeof__ (*__atomic_load_ptr) is an implementation flaw. See the comment in c_parser_typeof_specifier: /* For use in macros such as those in stdatomic.h, remove _Atomic and const

Re: Comparison of GCC-4.9 and LLVM-3.4 performance on SPECInt2000 for x86-64 and ARM

2014-06-25 Thread Vladimir Makarov
On 2014-06-25, 5:32 AM, Renato Golin wrote: On 25 June 2014 10:26, Bingfeng Mei b...@broadcom.com wrote: Why is GCC code size so much bigger than LLVM? Does -Ofast have more unrolling on GCC? It doesn't seem increasing code size help performance (164.gzip 197.parser) Is there comparisons for

Re: Comparison of GCC-4.9 and LLVM-3.4 performance on SPECInt2000 for x86-64 and ARM

2014-06-25 Thread Vladimir Makarov
On 2014-06-24, 10:57 AM, Ramana Radhakrishnan wrote: The ball-park number you have probably won't change much. I don't think Neon can improve score for SPECInt2000 significantly but may be I am wrong. It won't probably improve the overall score by a large amount but some individual

Re: Comparison of GCC-4.9 and LLVM-3.4 performance on SPECInt2000 for x86-64 and ARM

2014-06-25 Thread Richard Biener
On Wed, Jun 25, 2014 at 4:00 PM, Vladimir Makarov vmaka...@redhat.com wrote: On 2014-06-25, 5:32 AM, Renato Golin wrote: On 25 June 2014 10:26, Bingfeng Mei b...@broadcom.com wrote: Why is GCC code size so much bigger than LLVM? Does -Ofast have more unrolling on GCC? It doesn't seem

Re: Comparison of GCC-4.9 and LLVM-3.4 performance on SPECInt2000 for x86-64 and ARM

2014-06-25 Thread Jakub Jelinek
On Wed, Jun 25, 2014 at 04:02:49PM +0200, Richard Biener wrote: That might be a consequence of difference in aliasing I wrote about. I looked at the code generated by LLVM and GCC of an interpreter and saw bigger code generated by GCC too. A sequence of bytecodes execution and each

[GSoC] Question about unit tests

2014-06-25 Thread Roman Gareev
Dear gcc contributors, could you please answer a few questions about unit tests? Is it possible to use them in gcc? Or maybe there is some analogue? I would be very grateful for your comments. -- Cheers, Roman Gareev

Re: Comparison of GCC-4.9 and LLVM-3.4 performance on SPECInt2000 for x86-64 and ARM

2014-06-25 Thread Vladimir Makarov
On 2014-06-25, 10:02 AM, Richard Biener wrote: On Wed, Jun 25, 2014 at 4:00 PM, Vladimir Makarov vmaka...@redhat.com wrote: On 2014-06-25, 5:32 AM, Renato Golin wrote: On 25 June 2014 10:26, Bingfeng Mei b...@broadcom.com wrote: Why is GCC code size so much bigger than LLVM? Does -Ofast

Re: Comparison of GCC-4.9 and LLVM-3.4 performance on SPECInt2000 for x86-64 and ARM

2014-06-25 Thread Marc Glisse
On Wed, 25 Jun 2014, Vladimir Makarov wrote: Maybe. But in this case LLVM did a right thing. The variable addressing was through a restrict pointer. Ah, gcc implements (on purpose?) a weak version of restrict, where it only considers that 2 restrict pointers don't alias, whereas all other

Re: Comparison of GCC-4.9 and LLVM-3.4 performance on SPECInt2000 for x86-64 and ARM

2014-06-25 Thread Vladimir Makarov
On 2014-06-25, 10:37 AM, Marc Glisse wrote: On Wed, 25 Jun 2014, Vladimir Makarov wrote: Maybe. But in this case LLVM did a right thing. The variable addressing was through a restrict pointer. Ah, gcc implements (on purpose?) a weak version of restrict, where it only considers that 2

Re: Comparison of GCC-4.9 and LLVM-3.4 performance on SPECInt2000 for x86-64 and ARM

2014-06-25 Thread Vladimir Makarov
On 2014-06-25, 10:01 AM, Vladimir Makarov wrote: On 2014-06-24, 10:57 AM, Ramana Radhakrishnan wrote: I've tried this options too. As I guessed it resulted in GCC improvement of eon only by 6% which improved overall score by less 0.5%. No change for LLVM though. Eon is more fp benchmark

Re: stdatomic.h and atomic_load_explicit()

2014-06-25 Thread Sebastian Huber
On 2014-06-25 15:25, Joseph S. Myers wrote: On Wed, 25 Jun 2014, Sebastian Huber wrote: I think the inheritance of the volatile qualifier via __typeof__ (*__atomic_load_ptr) is an implementation flaw. See the comment in c_parser_typeof_specifier: /* For use in macros such as those in

Re: stdatomic.h and atomic_load_explicit()

2014-06-25 Thread Joseph S. Myers
On Wed, 25 Jun 2014, Sebastian Huber wrote: In case __auto_type discards const and volatile qualifiers, then shouldn't this generate a warning (-Wconst-qual) __auto_type __atomic_load_ptr = (PTR); ? No. The discarding is for qualifiers on the type itself (remembering that qualifiers on

gcc-4.9-20140625 is now available

2014-06-25 Thread gccadmin
Snapshot gcc-4.9-20140625 is now available on ftp://gcc.gnu.org/pub/gcc/snapshots/4.9-20140625/ 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

[Bug rtl-optimization/61559] FAIL: gcc.dg/builtin-bswap-8.c on i686 with -mmovbe

2014-06-25 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61559 Eric Botcazou ebotcazou at gcc dot gnu.org changed: What|Removed |Added CC|ebotcazou at gcc dot gnu.org | ---

[Bug tree-optimization/57742] memset(malloc(n),0,n) - calloc(n,1)

2014-06-25 Thread Joost.VandeVondele at mat dot ethz.ch
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57742 --- Comment #17 from Joost VandeVondele Joost.VandeVondele at mat dot ethz.ch --- (In reply to Marc Glisse from comment #16) Done. Joost, feel free to add your testcase from comment #3 if you want to (I can't write a hello world in fortran so

[Bug c++/61597] Unexpected behavior at runtime

2014-06-25 Thread adrien.hamelin+gcc at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61597 --- Comment #6 from Adrien Hamelin adrien.hamelin+gcc at gmail dot com --- I also wanted to say, my code may be not optimal or may be done in an easier way or else (and if you have comments on it i'm ok with that), but what i think what is the

[Bug c++/61597] Unexpected behavior at runtime

2014-06-25 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61597 --- Comment #7 from Markus Trippelsdorf trippels at gcc dot gnu.org --- Well, the default assumption, when someone posts a 77000 line preprocessed program with strange runtime behavior, is that the program is buggy. You have to convince us that

[Bug tree-optimization/57742] memset(malloc(n),0,n) - calloc(n,1)

2014-06-25 Thread Joost.VandeVondele at mat dot ethz.ch
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57742 Joost VandeVondele Joost.VandeVondele at mat dot ethz.ch changed: What|Removed |Added Status|RESOLVED

[Bug tree-optimization/57742] memset(malloc(n),0,n) - calloc(n,1)

2014-06-25 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57742 --- Comment #19 from Marc Glisse glisse at gcc dot gnu.org --- (In reply to Joost VandeVondele from comment #17) Thanks Marc, I don't have write access, but I can try to dg-ify the testcase from comment #3.. however, first test, it still seems

[Bug tree-optimization/57742] memset(malloc(n),0,n) - calloc(n,1)

2014-06-25 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57742 --- Comment #20 from Marc Glisse glisse at gcc dot gnu.org --- (In reply to Joost VandeVondele from comment #18) The following now fails, so'll reopen this PR. It is at least related to zeroing pvec twice in a row, and doesn seem to happen if I

[Bug rtl-optimization/60947] [4.9/4.10 Regression] Unable to handle kernel paging request (linux kernel 2.6.28.9) with gcc 4.9 release

2014-06-25 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60947 --- Comment #13 from amker at gcc dot gnu.org --- OK, I compared generated assembly before/after revision 206552. BEFORE) @ frame_needed = 1, uses_anonymous_args = 0 movip, sp stmfdsp!, {r4, r5, r6, r7, r8, r9, r10, fp, ip,

[Bug tree-optimization/57742] memset(malloc(n),0,n) - calloc(n,1)

2014-06-25 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57742 --- Comment #21 from Marc Glisse glisse at gcc dot gnu.org --- I am testing the following: --- tree-ssa-strlen.c(revision 211967) +++ tree-ssa-strlen.c(working copy) @@ -1646,20 +1646,22 @@ handle_builtin_memset (gimple_stmt_itera

[Bug rtl-optimization/60947] [4.9/4.10 Regression] Unable to handle kernel paging request (linux kernel 2.6.28.9) with gcc 4.9 release

2014-06-25 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60947 --- Comment #14 from amker at gcc dot gnu.org --- Created attachment 33001 -- https://gcc.gnu.org/bugzilla/attachment.cgi?id=33001action=edit Dump of cunroll/ivopt/ira/reload passes after revision 206552 for the preprocessed file.

[Bug c++/61597] Unexpected behavior at runtime

2014-06-25 Thread adrien.hamelin+gcc at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61597 Adrien Hamelin adrien.hamelin+gcc at gmail dot com changed: What|Removed |Added Attachment #33000|0 |1

[Bug ipa/61602] [4.10 Regression] ICE in lto1 on x86_64-linux-gnu in ipa_single_use, at ipa.c:1257

2014-06-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61602 Richard Biener rguenth at gcc dot gnu.org changed: What|Removed |Added Keywords||lto

[Bug bootstrap/61598] [4.10 regression] fold-const.c:14755:37: error: no matching function for call to 'hash_tablepointer_hashtree_node ::find_slot

2014-06-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61598 Richard Biener rguenth at gcc dot gnu.org changed: What|Removed |Added Target Milestone|--- |4.10.0

[Bug debug/61595] Inconsistent DWARF information for arrays of vector types

2014-06-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61595 --- Comment #2 from Richard Biener rguenth at gcc dot gnu.org --- Hmm, does it work if you do typedef int vint __attribute__((vector_size(16))); and use vint in as the type for vr?

[Bug c++/61597] Unexpected behavior at runtime

2014-06-25 Thread adrien.hamelin+gcc at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61597 Adrien Hamelin adrien.hamelin+gcc at gmail dot com changed: What|Removed |Added Attachment #33002|0 |1

[Bug testsuite/61560] [4.10 Regression] FAIL: gcc.dg/tree-ssa/ssa-fre-32.c on arm

2014-06-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61560 --- Comment #4 from Richard Biener rguenth at gcc dot gnu.org --- Author: rguenth Date: Wed Jun 25 08:37:37 2014 New Revision: 211970 URL: https://gcc.gnu.org/viewcvs?rev=211970root=gccview=rev Log: 2014-06-25 Richard Biener rguent...@suse.de

[Bug testsuite/61560] [4.10 Regression] FAIL: gcc.dg/tree-ssa/ssa-fre-32.c on arm

2014-06-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61560 Richard Biener rguenth at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[Bug c/61588] Optimization defaults are not what documentation say they should be

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

[Bug libstdc++/58876] No non-virtual-dtor warning in std::unique_ptr

2014-06-25 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58876 Bug 58876 depends on bug 61600, which changed state. Bug 61600 Summary: #pragma GCC diagnostic pop leaves warnings enabled https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61600 What|Removed |Added

[Bug c/59304] #pragma diagnostic pop after warning fails for options unspecified in the command-line and disabled by default

2014-06-25 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59304 Jonathan Wakely redi at gcc dot gnu.org changed: What|Removed |Added CC||redi at gcc dot

[Bug c++/61600] #pragma GCC diagnostic pop leaves warnings enabled

2014-06-25 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61600 Jonathan Wakely redi at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED

[Bug c++/61601] C++11 regex resource exhaustion

2014-06-25 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61601 Jonathan Wakely redi at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Last

[Bug libstdc++/61582] C++11 regex memory corruption

2014-06-25 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61582 Jonathan Wakely redi at gcc dot gnu.org changed: What|Removed |Added Status|RESOLVED|NEW Last

[Bug c++/61597] Unexpected behavior at runtime

2014-06-25 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61597 --- Comment #10 from Jonathan Wakely redi at gcc dot gnu.org --- Thank you - that test case is much more useful

[Bug debug/61595] Inconsistent DWARF information for arrays of vector types

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

[Bug c++/61597] Unexpected behavior at runtime

2014-06-25 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61597 Jonathan Wakely redi at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED

[Bug c++/61597] Unexpected behavior at runtime

2014-06-25 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61597 --- Comment #12 from Jonathan Wakely redi at gcc dot gnu.org --- (In reply to Jonathan Wakely from comment #11) decltype(iter += i) is Iter so you return a reference to a temporary which goes out of scope Sorry, temporary is the wrong word - a

[Bug c++/61603] New: ICE in gcc/gcc/toplev.c:337

2014-06-25 Thread larsbj at gullik dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61603 Bug ID: 61603 Summary: ICE in gcc/gcc/toplev.c:337 Product: gcc Version: 4.10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug middle-end/61558] [4.10 Regression] ICE: Segmentation fault

2014-06-25 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61558 Markus Trippelsdorf trippels at gcc dot gnu.org changed: What|Removed |Added CC||larsbj

[Bug c++/61603] ICE in gcc/gcc/toplev.c:337

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

[Bug bootstrap/61164] GCC 4.9.0 fails to build libitm when fortification enabled

2014-06-25 Thread iliyapalachev at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61164 Ilya Palachev iliyapalachev at gmail dot com changed: What|Removed |Added CC|

[Bug target/61231] [4.9/4.10 Regression] bootstrap comparision failure on powerpc64le-linux-gnu

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

[Bug fortran/61420] [4.8/4.9/4.10 Regression] type bound procedure with pass attribute, that returns a procedure pointer, fails to compile

2014-06-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61420 Richard Biener rguenth at gcc dot gnu.org changed: What|Removed |Added Target Milestone|--- |4.8.4

[Bug fortran/61459] [4.8/4.9/4.10 Regression] segfault when assigning to allocatable function result from matmul result

2014-06-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61459 Richard Biener rguenth at gcc dot gnu.org changed: What|Removed |Added Target Milestone|--- |4.8.4

[Bug fortran/60718] [4.8/4.9/4.10 regression] Test case gfortran.dg/select_type_4.f90 fails on ARM

2014-06-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60718 Richard Biener rguenth at gcc dot gnu.org changed: What|Removed |Added Target Milestone|--- |4.8.4

[Bug c++/61500] [4.8/4.9 Regression][C++11] Can't take pointer to member referenced via member pointer template parameter.

2014-06-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61500 Richard Biener rguenth at gcc dot gnu.org changed: What|Removed |Added Target Milestone|--- |4.9.1

[Bug c++/61488] [4.9/4.10 regression] Regression in template argument substitution in 4.9+

2014-06-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61488 Richard Biener rguenth at gcc dot gnu.org changed: What|Removed |Added Target Milestone|--- |4.9.1

[Bug libfortran/61499] [4.9/410 Regression] Internal read of negative integer broken

2014-06-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61499 Richard Biener rguenth at gcc dot gnu.org changed: What|Removed |Added Target Milestone|--- |4.9.1

[Bug c++/61500] [4.8/4.9 Regression][C++11] Can't take pointer to member referenced via member pointer template parameter.

2014-06-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61500 Richard Biener rguenth at gcc dot gnu.org changed: What|Removed |Added Target Milestone|4.9.1 |4.8.4

[Bug c++/61445] [4.10 Regression][C++11] ice in instantiate_decl

2014-06-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61445 Richard Biener rguenth at gcc dot gnu.org changed: What|Removed |Added Version|unknown |4.10.0

[Bug testsuite/61453] [4.10 Regression]: gfortran.dg/bind_c_array_params_2.f90 for targets where a call insn isn't call

2014-06-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61453 Richard Biener rguenth at gcc dot gnu.org changed: What|Removed |Added Target Milestone|--- |4.10.0

[Bug sanitizer/61604] New: missing line numbers in a sanitizer backtrace from an OMP region

2014-06-25 Thread Joost.VandeVondele at mat dot ethz.ch
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61604 Bug ID: 61604 Summary: missing line numbers in a sanitizer backtrace from an OMP region Product: gcc Version: 4.10.0 Status: UNCONFIRMED Severity: normal

[Bug c/59193] Unused postfix operator temporaries

2014-06-25 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59193 Marek Polacek mpolacek at gcc dot gnu.org changed: What|Removed |Added Status|REOPENED|RESOLVED

[Bug c++/61597] Unexpected behavior at runtime

2014-06-25 Thread adrien.hamelin+gcc at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61597 --- Comment #13 from Adrien Hamelin adrien.hamelin+gcc at gmail dot com --- I'm sorry that i made you lose your time :-( I thought that kind of code would trigger a warning though.

[Bug middle-end/61294] [4.9 Regression] erroneous memset used with constant zero length parameter warning

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

[Bug target/61231] [4.9/4.10 Regression] bootstrap comparision failure on powerpc64le-linux-gnu

2014-06-25 Thread doko at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61231 Matthias Klose doko at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[Bug debug/61595] Inconsistent DWARF information for arrays of vector types

2014-06-25 Thread gcc-bugzilla at mailhell dot seb7.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61595 --- Comment #4 from Sebastian Meyer gcc-bugzilla at mailhell dot seb7.de --- Richard: The typdef gets optimized away very quickly, so I needed to trick around a bit. But the array won't use the typedef anyway, the produced DWARF is equal to what

[Bug rtl-optimization/61605] New: Potential optimization: Keep unclobbered argument registers live across function calls

2014-06-25 Thread patrick at parcs dot ath.cx
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61605 Bug ID: 61605 Summary: Potential optimization: Keep unclobbered argument registers live across function calls Product: gcc Version: 4.10.0 Status: UNCONFIRMED

[Bug testsuite/61606] New: About GCC install, testing step (mostly check...)

2014-06-25 Thread fernando at info dot unlp.edu.ar
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61606 Bug ID: 61606 Summary: About GCC install, testing step (mostly check...) Product: gcc Version: unknown Status: UNCONFIRMED Severity: enhancement Priority: P3

[Bug tree-optimization/61607] New: DOM missed jump threading and destroyed loops

2014-06-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61607 Bug ID: 61607 Summary: DOM missed jump threading and destroyed loops Product: gcc Version: 4.10.0 Status: UNCONFIRMED Keywords: missed-optimization, wrong-code Severity:

[Bug debug/61595] Inconsistent DWARF information for arrays of vector types

2014-06-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61595 Jakub Jelinek jakub at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED

[Bug target/61542] [4.8/4.9 Regression] vect-nop-move.c fails on powerpc64le-unknown-linux-gnu

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

[Bug tree-optimization/61607] DOM missed jump threading and destroyed loops

2014-06-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61607 --- Comment #1 from Richard Biener rguenth at gcc dot gnu.org --- Optimizing block #5 1 COND 1 = i_1 ge_expr R_6(D) 1 COND 0 = i_1 lt_expr R_6(D) LKUP STMT inter0p_13 = PHI inter0p_2 inter0p_13 = PHI inter0p_2(4) 2 STMT inter0p_13 =

[Bug c++/61566] [4.9/4.10 Regression] ICE in write_unscoped_name

2014-06-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61566 Jakub Jelinek jakub at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Last

[Bug tree-optimization/61607] DOM missed jump threading and destroyed loops

2014-06-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61607 --- Comment #2 from Richard Biener rguenth at gcc dot gnu.org --- With the propagation limitation removed we get Registering jump thread: (2, 4) incoming edge; (4, 5) joiner; (5, 7) normal; Cancelling jump thread: (2, 4) incoming edge;

[Bug c++/61575] [4.9 Regression] Bogus invalid initialization of reference of type 'const D' from expression of type 'brace-enclosed initializer list'

2014-06-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61575 Jakub Jelinek jakub at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Last

[Bug c++/61597] Unexpected behavior at runtime

2014-06-25 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61597 --- Comment #14 from Jonathan Wakely redi at gcc dot gnu.org --- Yes, I can't convince gcc or clang to give a warning. Even address sanitizer and undefined-behaviour sanitizer don't catch the problem.

[Bug tree-optimization/57742] memset(malloc(n),0,n) - calloc(n,1)

2014-06-25 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57742 --- Comment #22 from Marc Glisse glisse at gcc dot gnu.org --- Author: glisse Date: Wed Jun 25 12:27:13 2014 New Revision: 211977 URL: https://gcc.gnu.org/viewcvs?rev=211977root=gccview=rev Log: 2014-06-25 Marc Glisse marc.gli...@inria.fr

[Bug tree-optimization/57742] memset(malloc(n),0,n) - calloc(n,1)

2014-06-25 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57742 Marc Glisse glisse at gcc dot gnu.org changed: What|Removed |Added Status|REOPENED|RESOLVED

[Bug target/61542] [4.8/4.9/trunk] vect-nop-move.c fails on powerpc64le-unknown-linux-gnu

2014-06-25 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61542 Bill Schmidt wschmidt at gcc dot gnu.org changed: What|Removed |Added Summary|[4.8/4.9 Regression]

[Bug tree-optimization/61607] DOM missed jump threading and destroyed loops

2014-06-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61607 --- Comment #3 from Richard Biener rguenth at gcc dot gnu.org --- Like with Index: gcc/tree-ssa-threadupdate.c === --- gcc/tree-ssa-threadupdate.c (revision 211969) +++

[Bug c/61162] possibly bad error location with -Wc++-compat

2014-06-25 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61162 --- Comment #12 from Marek Polacek mpolacek at gcc dot gnu.org --- Author: mpolacek Date: Wed Jun 25 12:43:05 2014 New Revision: 211978 URL: https://gcc.gnu.org/viewcvs?rev=211978root=gccview=rev Log: PR c/61162 * c-parser.c

[Bug c/61162] possibly bad error location with -Wc++-compat

2014-06-25 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61162 Marek Polacek mpolacek at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[Bug rtl-optimization/61608] New: [4.10 regression] FAIL: gcc.target/arm/epilog-1.c scan-assembler tests

2014-06-25 Thread jgreenhalgh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61608 Bug ID: 61608 Summary: [4.10 regression] FAIL: gcc.target/arm/epilog-1.c scan-assembler tests Product: gcc Version: 4.10.0 Status: UNCONFIRMED Severity: normal

[Bug c++/61433] [4.9/4.10 Regression] ICE: SIGSEGV in friend_accessible_p (search.c:778) with -std=gnu++11 -O -fcompare-debug -fno-inline -fno-ipa-pure-const -fipa-sra

2014-06-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61433 Jakub Jelinek jakub at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Last

[Bug c++/61597] Unexpected behavior at runtime

2014-06-25 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61597 --- Comment #15 from Marc Glisse glisse at gcc dot gnu.org --- If you can reduce the testcase to a manageable size, I'll see why https://gcc.gnu.org/ml/gcc-patches/2014-06/msg01692.html is not enough (it should be, with -fkeep-inline-functions,

[Bug rtl-optimization/61608] [4.10 regression] FAIL: gcc.target/arm/epilog-1.c scan-assembler tests

2014-06-25 Thread jgreenhalgh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61608 jgreenhalgh at gcc dot gnu.org changed: What|Removed |Added Target||arm*-none-*

[Bug rtl-optimization/61608] [4.10 regression] FAIL: gcc.target/arm/epilog-1.c scan-assembler tests

2014-06-25 Thread ktietz at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61608 --- Comment #1 from Kai Tietz ktietz at gcc dot gnu.org --- Does this issue get fixed by adding the peephole2 also at old place too?

[Bug c++/61597] Unexpected behavior at runtime

2014-06-25 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61597 --- Comment #16 from Jonathan Wakely redi at gcc dot gnu.org --- Marc: struct Iter { Iter operator+=(int) { return *this; } int operator*() { return i; } int i; }; Iter func(Iter iter, int n) { return iter += n; } int main() {

[Bug debug/61595] Inconsistent DWARF information for arrays of vector types

2014-06-25 Thread gcc-bugzilla at mailhell dot seb7.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61595 --- Comment #6 from Sebastian Meyer gcc-bugzilla at mailhell dot seb7.de --- Ah, okay, thank you for the clarification, Jakub. So this is indeed RESOLVED INVALID, sorry. I am still sure I saw the example I gave, but can't seem to find it now.

[Bug bootstrap/61320] [4.10 regression] ICE in jcf-parse.c:1622 (parse_class_file

2014-06-25 Thread ro at CeBiTec dot Uni-Bielefeld.DE
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61320 --- Comment #44 from ro at CeBiTec dot Uni-Bielefeld.DE ro at CeBiTec dot Uni-Bielefeld.DE --- --- Comment #43 from thopre01 at gcc dot gnu.org --- Thanks. In the stage before the one that fails, could you add -fdump-tree-all-details

[Bug rtl-optimization/61608] [4.10 regression] FAIL: gcc.target/arm/epilog-1.c scan-assembler tests

2014-06-25 Thread jgreenhalgh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61608 --- Comment #2 from jgreenhalgh at gcc dot gnu.org --- Yes, it does.

[Bug c++/61609] New: running libraries compiled with different gcc versions

2014-06-25 Thread gnu.org at hovland dot cx
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61609 Bug ID: 61609 Summary: running libraries compiled with different gcc versions Product: gcc Version: 4.9.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug c++/61597] Unexpected behavior at runtime

2014-06-25 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61597 --- Comment #17 from Marc Glisse glisse at gcc dot gnu.org --- (In reply to Jonathan Wakely from comment #16) Marc: struct Iter { Iter operator+=(int) { return *this; } int operator*() { return i; } int i; }; Iter func(Iter

[Bug middle-end/61409] [4.9/4.10 regression] -Wmaybe-uninitialized false-positive with -O2

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

[Bug rtl-optimization/61608] [4.10 regression] FAIL: gcc.target/arm/epilog-1.c scan-assembler tests

2014-06-25 Thread ktietz at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61608 --- Comment #3 from Kai Tietz ktietz at gcc dot gnu.org --- Thanks for testing. I will sent a patch for it. It seems after all that we need to run peephole2 pass twice.

[Bug middle-end/61409] [4.9/4.10 regression] -Wmaybe-uninitialized false-positive with -O2

2014-06-25 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61409 --- Comment #7 from Jakub Jelinek jakub at gcc dot gnu.org --- I think what is important that if the other conditions besides mini_p != 0 are not met, then control flow goes to basic blocks from which there is no path to the bb with the use (in

[Bug c++/61609] running libraries compiled with different gcc versions

2014-06-25 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61609 Jonathan Wakely redi at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED

[Bug rtl-optimization/61608] [4.10 regression] FAIL: gcc.target/arm/epilog-1.c scan-assembler tests

2014-06-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61608 --- Comment #4 from Richard Biener rguenth at gcc dot gnu.org --- (In reply to Kai Tietz from comment #3) Thanks for testing. I will sent a patch for it. It seems after all that we need to run peephole2 pass twice. Bad for compile-time.

[Bug rtl-optimization/61608] [4.10 regression] FAIL: gcc.target/arm/epilog-1.c scan-assembler tests

2014-06-25 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61608 Richard Biener rguenth at gcc dot gnu.org changed: What|Removed |Added Target Milestone|--- |4.10.0

[Bug c++/49132] [DR 178] Aggregate-initialization rejected for class with const data member

2014-06-25 Thread paolo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49132 --- Comment #8 from paolo at gcc dot gnu.org paolo at gcc dot gnu.org --- Author: paolo Date: Wed Jun 25 14:27:35 2014 New Revision: 211981 URL: https://gcc.gnu.org/viewcvs?rev=211981root=gccview=rev Log: /cp 2014-06-25 Paolo Carlini

  1   2   3   >