[Bug target/65373] New: [SH] Implement bit counting built-in functions

2015-03-10 Thread olegendo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65373 Bug ID: 65373 Summary: [SH] Implement bit counting built-in functions Product: gcc Version: 5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug c++/65370] [5 Regression] r213519 causes: error: redeclaration of 'template... may not have default arguments [-fpermissive]

2015-03-10 Thread paolo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65370 --- Comment #6 from paolo at gcc dot gnu.org paolo at gcc dot gnu.org --- Author: paolo Date: Tue Mar 10 22:20:41 2015 New Revision: 221337 URL: https://gcc.gnu.org/viewcvs?rev=221337root=gccview=rev Log: /cp 2015-03-10 Paolo Carlini

[Bug fortran/65024] [4.9/5 Regression] [OOP] ICE concerning unlimited polymorphic pointer

2015-03-10 Thread pault at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65024 --- Comment #12 from Paul Thomas pault at gcc dot gnu.org --- Author: pault Date: Tue Mar 10 22:24:01 2015 New Revision: 221338 URL: https://gcc.gnu.org/viewcvs?rev=221338root=gccview=rev Log: 2015-03-10 Paul Thomas pa...@gcc.gnu.org PR

[Bug rtl-optimization/63491] Ice in LRA with simple vector test case on power

2015-03-10 Thread bergner at gcc dot gnu.org
--enable-decimal-float --disable-bootstrap --disable-alsa --prefix=/home/bergner/gcc/install/gcc-fsf-mainline-vlad-lra-r221324 Thread model: posix gcc version 5.0.0 20150310 (experimental) [trunk revision 221324] (GCC) [bergner@makalu-lp1 LRA]$ /home/bergner/gcc/build/gcc-fsf-mainline-vlad-lra

[Bug go/64999] s390x libgo test failure in TestMemoryProfiler

2015-03-10 Thread boger at us dot ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64999 --- Comment #50 from boger at us dot ibm.com --- (In reply to Ian Lance Taylor from comment #49) libbacktrace returns the line number that you actually care about: the line number of the call instruction. There is no question that that is

[Bug target/65369] [5 Regression] nettle test failure on powerpc64le-linux-gnu when built with -O3

2015-03-10 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65369 --- Comment #4 from Martin Sebor msebor at gcc dot gnu.org --- I've downloaded nettle-3.0 from http://ftp.gnu.org/gnu/nettle, built it with the default options (-O2) with last week's trunk (5.0.0 20150303) and the system GCC 4.8.3 on a ppc64le

[Bug tree-optimization/65177] [5 Regression]: extend jump thread for finite state automata causes miscompilation

2015-03-10 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65177 --- Comment #8 from Jeffrey A. Law law at redhat dot com --- There's not enough information in those comments to definitively say the SEME copier isn't updating the SSA graph properly. If I were looking at this, I'd want the dump as we enter VRP

[Bug libstdc++/64441] A match_results returns an incorrect sub_match if the sub_match::matched is false

2015-03-10 Thread timshen at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64441 Tim Shen timshen at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED

[Bug c++/65370] [5 Regression] r213519 causes: error: redeclaration of 'template... may not have default arguments [-fpermissive]

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

[Bug tree-optimization/65177] [5 Regression]: extend jump thread for finite state automata causes miscompilation

2015-03-10 Thread spop at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65177 --- Comment #9 from Sebastian Pop spop at gcc dot gnu.org --- I added a pass of update_ssa after each invocation of the SEME copier, and that produced 26 extra fails (on top of the failing test) in the hmmer make check. The problem with adding an

[Bug tree-optimization/65177] [5 Regression]: extend jump thread for finite state automata causes miscompilation

2015-03-10 Thread spop at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65177 --- Comment #10 from Sebastian Pop spop at gcc dot gnu.org --- Created attachment 35005 -- https://gcc.gnu.org/bugzilla/attachment.cgi?id=35005action=edit add update_ssa to seme copier

[Bug tree-optimization/65177] [5 Regression]: extend jump thread for finite state automata causes miscompilation

2015-03-10 Thread spop at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65177 --- Comment #12 from Sebastian Pop spop at gcc dot gnu.org --- (In reply to Jeffrey A. Law from comment #11) That is unless the SEME copier tries to update SSA internally, but that's painful. I have also tried to update the SSA only in the

[Bug tree-optimization/65177] [5 Regression]: extend jump thread for finite state automata causes miscompilation

2015-03-10 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65177 --- Comment #13 from Jeffrey A. Law law at redhat dot com --- But you can need updates that extend beyond the scope of the SEME I would think. That was my recollection from looking at ways to minimize the number of blocks the renamer had to

[Bug c++/65382] pointer-to-noexcept-function typealias allowed via using

2015-03-10 Thread vgheorgh at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65382 --- Comment #1 from Vlad Gheorghiu vgheorgh at gmail dot com --- I compiled with gcc5 and also with gcc4.9.2, using `-Wall -Wextra -pedantic`

[Bug c++/65382] pointer-to-noexcept-function typealias allowed via using

2015-03-10 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65382 Jonathan Wakely redi at gcc dot gnu.org changed: What|Removed |Added Keywords||accepts-invalid

[Bug tree-optimization/65177] [5 Regression]: extend jump thread for finite state automata causes miscompilation

2015-03-10 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65177 --- Comment #11 from Jeffrey A. Law law at redhat dot com --- From a sequencing standpoint, you do your block copying wire up the new blocks. Then you have to remove unreachable blocks, rebuild dominators then update hte SSA graph. That is

[Bug bootstrap/25672] [4.8/4.9/5 Regression] cross build's libgcc picks up CFLAGS

2015-03-10 Thread olegendo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=25672 --- Comment #41 from Oleg Endo olegendo at gcc dot gnu.org --- That's nice! While you're at it, could you maybe also have a look at PR 53579? It sounds like a similar issue...

[Bug target/65375] poor codegen for ld[234]/st[234]

2015-03-10 Thread kugan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65375 --- Comment #1 from kugan at gcc dot gnu.org --- arm-none-linux-gnueabi-gcc -O2 -ffast-math -unsafe-math-optimisations -mfpu=neon produces just: hello_vst2: @ args = 0, pretend = 0, frame = 0 @ frame_needed = 0, uses_anonymous_args =

[Bug target/65375] poor codegen for ld[234]/st[234]

2015-03-10 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65375 --- Comment #4 from Andrew Pinski pinskia at gcc dot gnu.org --- ;; _6 = __builtin_aarch64_get_qregoiv4sf (__o_5, 0); (insn 8 7 0 (set (reg:V4SF 74 [ D.16774 ]) (subreg:V4SF (reg/v:OI 73 [ __o ]) 0))

[Bug tree-optimization/44563] GCC uses a lot of RAM when compiling a large numbers of functions

2015-03-10 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44563 --- Comment #21 from rguenther at suse dot de rguenther at suse dot de --- On Tue, 10 Mar 2015, hubicka at ucw dot cz wrote: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44563 --- Comment #19 from Jan Hubicka hubicka at ucw dot cz --- Hmm,

[Bug target/65342] [5 Regression] FAIL: gfortran.dg/intrinsic_(un)?pack_1.f90 -O1 execution test on powerpc-apple-darwin9 after r210201

2015-03-10 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65342 --- Comment #5 from Iain Sandoe iains at gcc dot gnu.org --- (In reply to Alan Modra from comment #4) Here's another failing powerpc-darwin testcase due to movdi_low (movdf_low_di and their store counterparts have the same problem of course).

[Bug target/65374] New: [SH] Tail call optimization not done for libcalls

2015-03-10 Thread olegendo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65374 Bug ID: 65374 Summary: [SH] Tail call optimization not done for libcalls Product: gcc Version: 5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug target/53988] [SH] tst Rm,Rn not used for QI/HImode

2015-03-10 Thread olegendo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53988 --- Comment #7 from Oleg Endo olegendo at gcc dot gnu.org --- Author: olegendo Date: Tue Mar 10 08:09:56 2015 New Revision: 221305 URL: https://gcc.gnu.org/viewcvs?rev=221305root=gccview=rev Log: gcc/ PR target/53988 * config/sh/sh.md

[Bug target/65375] New: poor codegen for ld[234]/st[234]

2015-03-10 Thread kugan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65375 Bug ID: 65375 Summary: poor codegen for ld[234]/st[234] Product: gcc Version: 5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target

[Bug target/65375] poor codegen for ld[234]/st[234]

2015-03-10 Thread kugan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65375 --- Comment #2 from kugan at gcc dot gnu.org --- aarch64-none-linux-gnu-gcc -O2 -ffast-math -unsafe-math-optimisations -fno-split-wide-types produces : ld2{v2.4s - v3.4s}, [x1] orrv0.16b, v2.16b, v2.16b orrv1.16b, v3.16b,

[Bug target/53988] [SH] tst Rm,Rn not used for QI/HImode

2015-03-10 Thread olegendo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53988 --- Comment #8 from Oleg Endo olegendo at gcc dot gnu.org --- Author: olegendo Date: Tue Mar 10 08:17:31 2015 New Revision: 221307 URL: https://gcc.gnu.org/viewcvs?rev=221307root=gccview=rev Log: gcc/ PR target/53988 * config/sh/sh.md

[Bug target/53988] [SH] tst Rm,Rn not used for QI/HImode

2015-03-10 Thread olegendo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53988 Oleg Endo olegendo at gcc dot gnu.org changed: What|Removed |Added Status|REOPENED|RESOLVED

[Bug target/65375] poor codegen for ld[234]/st[234]

2015-03-10 Thread kugan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65375 kugan at gcc dot gnu.org changed: What|Removed |Added Target||aarch64

[Bug target/65342] [5 Regression] FAIL: gfortran.dg/intrinsic_(un)?pack_1.f90 -O1 execution test on powerpc-apple-darwin9 after r210201

2015-03-10 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65342 Alan Modra amodra at gmail dot com changed: What|Removed |Added CC|amodra at gcc dot gnu.org | --- Comment

[Bug tree-optimization/44563] GCC uses a lot of RAM when compiling a large numbers of functions

2015-03-10 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44563 --- Comment #20 from Richard Biener rguenth at gcc dot gnu.org --- Author: rguenth Date: Tue Mar 10 08:25:31 2015 New Revision: 221308 URL: https://gcc.gnu.org/viewcvs?rev=221308root=gccview=rev Log: 2015-03-10 Richard Biener rguent...@suse.de

[Bug target/65368] [4.8/4.9/5 Regression]_bzhi_u32 intrinsic generates incorrect code when -O1 or above is specified and index is an immediate

2015-03-10 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65368 Jakub Jelinek jakub at gcc dot gnu.org changed: What|Removed |Added Keywords||wrong-code

[Bug lto/65376] New: LTO prevents use of fmadd

2015-03-10 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65376 Bug ID: 65376 Summary: LTO prevents use of fmadd Product: gcc Version: 5.0 Status: UNCONFIRMED Keywords: missed-optimization Severity: normal Priority: P3

[Bug sanitizer/65367] [5 Regression] indefinite loop occurs with sanitize enabled and certain optimization options

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

[Bug target/65368] [4.8/4.9/5 Regression]_bzhi_u32 intrinsic generates incorrect code when -O1 or above is specified and index is an immediate

2015-03-10 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65368 Jakub Jelinek jakub at gcc dot gnu.org changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug tree-optimization/65310] vectorizer uses wrong alignment

2015-03-10 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65310 --- Comment #5 from rguenther at suse dot de rguenther at suse dot de --- On Mon, 9 Mar 2015, pthaugen at gcc dot gnu.org wrote: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65310 Pat Haugen pthaugen at gcc dot gnu.org changed:

[Bug c++/65370] [5 Regression] rejects valid code on powerpc64le-linux-gnu

2015-03-10 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65370 Richard Biener rguenth at gcc dot gnu.org changed: What|Removed |Added Keywords||rejects-valid

[Bug target/65369] [5 Regression] nettle test failure on powerpc64le-linux-gnu when built with -O3

2015-03-10 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65369 Richard Biener rguenth at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |WAITING

[Bug sanitizer/65367] [5 Regression] indefinite loop occurs with sanitize enabled and certain optimization options

2015-03-10 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65367 Richard Biener rguenth at gcc dot gnu.org changed: What|Removed |Added Priority|P3 |P1

[Bug sanitizer/65365] false positive signed negation

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

[Bug driver/64998] -shared -static-libasan does not actually link libasan

2015-03-10 Thread y.gribov at samsung dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64998 Yury Gribov y.gribov at samsung dot com changed: What|Removed |Added CC||y.gribov at

[Bug target/65368] [4.8/4.9/5 Regression]_bzhi_u32 intrinsic generates incorrect code when -O1 or above is specified and index is an immediate

2015-03-10 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65368 --- Comment #2 from Uroš Bizjak ubizjak at gmail dot com --- (In reply to Jakub Jelinek from comment #1) Wonder how many other bmi/bmi2 instructions have similar problems. Looking through i386.md file, it looks others are OK, although it is

[Bug sanitizer/64996] UBsan check optimized out by -O

2015-03-10 Thread y.gribov at samsung dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64996 Yury Gribov y.gribov at samsung dot com changed: What|Removed |Added CC||y.gribov at

[Bug tree-optimization/65363] trivial redundant code reordering makes code less optimal

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

[Bug tree-optimization/65363] trivial redundant code reordering makes code less optimal

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

[Bug target/65368] [4.8/4.9/5 Regression]_bzhi_u32 intrinsic generates incorrect code when -O1 or above is specified and index is an immediate

2015-03-10 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65368 --- Comment #3 from Jakub Jelinek jakub at gcc dot gnu.org --- For zero_extract RTL we require that the POS and LEN arguments are in the right ranges, while bextr allows any values, and either uses 0 for bits outside of the original operand and

[Bug driver/64998] -shared -static-libasan does not actually link libasan

2015-03-10 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64998 Jakub Jelinek jakub at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED

[Bug lto/65376] LTO prevents use of fmadd

2015-03-10 Thread mkuvyrkov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65376 Maxim Kuvyrkov mkuvyrkov at gcc dot gnu.org changed: What|Removed |Added CC||mkuvyrkov

[Bug target/65368] [4.8/4.9/5 Regression]_bzhi_u32 intrinsic generates incorrect code when -O1 or above is specified and index is an immediate

2015-03-10 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65368 --- Comment #4 from Uroš Bizjak ubizjak at gmail dot com --- (In reply to Jakub Jelinek from comment #1) Created attachment 35000 [details] gcc5-pr65368.patch The problem is that the RTL pattern for bzhi doesn't really match what the

[Bug rtl-optimization/65371] arm loop with volatile variable

2015-03-10 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65371 Richard Biener rguenth at gcc dot gnu.org changed: What|Removed |Added Component|target

[Bug rtl-optimization/65383] New: wrong code at -O2 and -O3 on x86_64-linux

2015-03-10 Thread su at cs dot ucdavis.edu
gcc version 5.0.0 20150310 (experimental) [trunk revision 221299] (GCC) $ $ gcc-trunk -Os small.c; ./a.out 0 $ gcc-4.6.4 -O2 small.c; ./a.out 0 $ $ gcc-trunk -O2 small.c $ ./a.out Segmentation fault (core dumped) $ - int printf (const char *, ...); int a, b, c

[Bug rtl-optimization/61047] [4.9/5 Regression] wrong code at -O1 on x86_64-linux

2015-03-10 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61047 --- Comment #19 from Jakub Jelinek jakub at gcc dot gnu.org --- *** Bug 65383 has been marked as a duplicate of this bug. ***

[Bug rtl-optimization/65383] wrong code at -O2 and -O3 on x86_64-linux

2015-03-10 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65383 Jakub Jelinek jakub at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED

<    1   2