[Bug middle-end/70457] ICE (segfault) in gimple_expand_builtin_pow on powerpc64le-linux-gnu

2016-04-01 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70457 --- Comment #4 from Bill Schmidt --- (I should say, presumably unreachable. This source code looks pretty dicey in the first place, but nonetheless we should probably tolerate it at this stage of optimization.)

[Bug target/70404] pr70174.c fails on s390x

2016-04-01 Thread krebbel at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70404 --- Comment #5 from Andreas Krebbel --- Author: krebbel Date: Fri Apr 1 15:35:54 2016 New Revision: 234678 URL: https://gcc.gnu.org/viewcvs?rev=234678=gcc=rev Log: PR70404 S/390: Fix insv expansion. While the expander accepts general_operand

[Bug target/70465] [4.9/5/6/7 Regression] Poor code for x87 asm

2016-04-01 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70465 Jakub Jelinek changed: What|Removed |Added CC||b7.10110111 at gmail dot com ---

[Bug target/70504] FLD, FLD, FXCH emitted instead of FLD, FLD in the needed order

2016-04-01 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70504 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug libstdc++/70503] extern "C" functions in src/c++11/thread.cc are global in libstdc++.a

2016-04-01 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70503 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug middle-end/70457] ICE (segfault) in gimple_expand_builtin_pow on powerpc64le-linux-gnu

2016-04-01 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70457 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #6

[Bug middle-end/70457] ICE (segfault) in gimple_expand_builtin_pow on powerpc64le-linux-gnu

2016-04-01 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70457 --- Comment #7 from Jakub Jelinek --- Ah, but gimple_call_combined_fn already performs this. So perhaps all you need is the tree-inline.c part?

[Bug middle-end/70457] ICE (segfault) in gimple_expand_builtin_pow on powerpc64le-linux-gnu

2016-04-01 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70457 Bill Schmidt changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |wschmidt at gcc dot gnu.org

[Bug c++/70403] A null pointer check removed with -O2 even with -fno-delete-null-pointer-checks

2016-04-01 Thread thadula at ciena dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70403 --- Comment #12 from Hadula, Tomasz --- > The reduced testcase doesn't have the pattern you describe in > the description. Well, of course, I couldn't verify that for sure, because the reduced testcase was so severely mutilated that I couldn't

[Bug c++/70501] New: internal compiler error: in verify_ctor_sanity, at cp/constexpr.c:2249

2016-04-01 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70501 Bug ID: 70501 Summary: internal compiler error: in verify_ctor_sanity, at cp/constexpr.c:2249 Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal

[Bug middle-end/70457] ICE (segfault) in gimple_expand_builtin_pow on powerpc64le-linux-gnu

2016-04-01 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70457 --- Comment #5 from Bill Schmidt --- Created attachment 38156 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38156=edit Patch that permits this to compile The attached patch allows the compilation to succeed in spite of the incorrect

[Bug target/69890] FAIL: gcc.target/i386/chkp-* on x86_64-apple-darwin15

2016-04-01 Thread ienkovich at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69890 --- Comment #10 from Ilya Enkovich --- Author: ienkovich Date: Fri Apr 1 15:31:43 2016 New Revision: 234677 URL: https://gcc.gnu.org/viewcvs?rev=234677=gcc=rev Log: gcc/testsuite/ Backport from mainline r234666. 2016-04-01

[Bug c++/70501] [6 Regression] internal compiler error: in verify_ctor_sanity, at cp/constexpr.c:2249

2016-04-01 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70501 Nathan Sidwell changed: What|Removed |Added Status|NEW |ASSIGNED CC|

[Bug c++/70500] New: Template deduction should fail on narrowing conversion

2016-04-01 Thread akrzemi1 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70500 Bug ID: 70500 Summary: Template deduction should fail on narrowing conversion Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug c++/70501] [6 Regression] internal compiler error: in verify_ctor_sanity, at cp/constexpr.c:2249

2016-04-01 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70501 Marek Polacek changed: What|Removed |Added Target Milestone|--- |6.0 Summary|internal

[Bug middle-end/70457] ICE (segfault) in gimple_expand_builtin_pow on powerpc64le-linux-gnu

2016-04-01 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70457 --- Comment #3 from Bill Schmidt --- So we have an unreachable call to pow with the wrong number of arguments. I suppose the expansion logic for builtin_pow should tolerate this situation and just do nothing with it.

[Bug c++/70476] C++11: Function name declared in unnamed namespace extern "C" gets exernal linkage

2016-04-01 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70476 --- Comment #2 from Jonathan Wakely --- And this means the functions I thought were local to src/c++11/thread.cc are not ... drat.

[Bug c++/70449] [6 Regression] ICE with -Wall on valid code on x86_64-linux-gnu in pp_string, at pretty-print.c:928

2016-04-01 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70449 --- Comment #9 from Jakub Jelinek --- Created attachment 38157 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38157=edit gcc6-pr70449.patch Untested fix that attempts not to handle the case of fun being instantiation of the

[Bug target/69890] FAIL: gcc.target/i386/chkp-* on x86_64-apple-darwin15

2016-04-01 Thread ienkovich at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69890 Ilya Enkovich changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug target/65248] Copy relocation against protected symbol doesn't work

2016-04-01 Thread jb999 at gmx dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65248 jb999 at gmx dot de changed: What|Removed |Added CC||jb999 at gmx dot de --- Comment #8

[Bug rtl-optimization/70504] New: FLD, FLD, FXCH emitted instead of FLD, FLD in the needed order

2016-04-01 Thread b7.10110111 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70504 Bug ID: 70504 Summary: FLD, FLD, FXCH emitted instead of FLD, FLD in the needed order Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal

[Bug c++/70488] [6 Regression] ICE in tree.c:7345 triggered by warning of placement new too small on VLA

2016-04-01 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70488 --- Comment #7 from Jakub Jelinek --- Author: jakub Date: Fri Apr 1 15:27:11 2016 New Revision: 234676 URL: https://gcc.gnu.org/viewcvs?rev=234676=gcc=rev Log: PR c++/70488 * init.c (warn_placement_new_too_small): Test whether

[Bug lto/68881] [6 Regression] UNRESOLVED/FAIL: gcc.dg/lto/attr-weakref-1 -O2 -flto

2016-04-01 Thread hubicka at ucw dot cz
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68881 --- Comment #16 from Jan Hubicka --- Hi, I am testing the attached patch and would apprechiate testing on any additional targets. It implements the optimization of weakref to non-weakref in the case the target is defined in same TU.

[Bug c++/70501] internal compiler error: in verify_ctor_sanity, at cp/constexpr.c:2249

2016-04-01 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70501 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/70452] [5/6 Regression] Regression in C++ parsing performance between 4.9.3 and 5.3.1

2016-04-01 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70452 --- Comment #8 from Patrick Palka --- So with the patch instead of making ~200k total copies of the same fn (one for each recursive call) we only make ~15 total copies (the maximum recursion depth of the function).

[Bug target/70496] [6 regression] inadvertent change to ASM_APP_OFF for .arm / .thumb directives.

2016-04-01 Thread ramana at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70496 Ramana Radhakrishnan changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug libstdc++/70503] New: extern "C" functions in src/c++11/thread.cc are global in libstdc++.a

2016-04-01 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70503 Bug ID: 70503 Summary: extern "C" functions in src/c++11/thread.cc are global in libstdc++.a Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal

[Bug c/70250] Compilation hangs without optimization.

2016-04-01 Thread brijesh.s.singh at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70250 --- Comment #3 from brijesh singh --- Here is output of gcc -v aaa.c: Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.9/lto-wrapper Target: x86_64-linux-gnu Configured with: ../src/configure -v

[Bug target/53440] [arm] generic thunk code fails for method which uses '...'

2016-04-01 Thread ramana at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53440 --- Comment #7 from Ramana Radhakrishnan --- A patch to fix this for TARGET_32BIT is here. https://gcc.gnu.org/ml/gcc-patches/2016-04/msg00060.html

[Bug target/70404] pr70174.c fails on s390x

2016-04-01 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70404 Jakub Jelinek changed: What|Removed |Added Status|ASSIGNED|RESOLVED CC|

[Bug c++/70488] [6 Regression] ICE in tree.c:7345 triggered by warning of placement new too small on VLA

2016-04-01 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70488 Jakub Jelinek changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c/70502] New: inconsistent behavior of -Werror=

2016-04-01 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70502 Bug ID: 70502 Summary: inconsistent behavior of -Werror= Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug target/70496] [6 regression] inadvertent change to ASM_APP_OFF for .arm / .thumb directives.

2016-04-01 Thread ramana at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70496 --- Comment #3 from Ramana Radhakrishnan --- Author: ramana Date: Fri Apr 1 14:58:53 2016 New Revision: 234675 URL: https://gcc.gnu.org/viewcvs?rev=234675=gcc=rev Log: Fix PR target/70496 While doing the unified asm rewrite - I inadvertently

[Bug c++/64977] constexpr variable initialization by reference in lambda rejected

2016-04-01 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64977 Martin Sebor changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/55004] [meta-bug] constexpr issues

2016-04-01 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55004 Bug 55004 depends on bug 64977, which changed state. Bug 64977 Summary: constexpr variable initialization by reference in lambda rejected https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64977 What|Removed |Added

[Bug target/70504] FLD, FLD, FXCH emitted instead of FLD, FLD in the needed order

2016-04-01 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70504 Andrew Pinski changed: What|Removed |Added Keywords||missed-optimization Target|

[Bug c++/70501] [6 Regression] internal compiler error: in verify_ctor_sanity, at cp/constexpr.c:2249

2016-04-01 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70501 --- Comment #2 from Marek Polacek --- Note that a patch for PR70307 I've just posted contains a more exhaustive testcase: .

[Bug c++/70452] [5/6 Regression] Regression in C++ parsing performance between 4.9.3 and 5.3.1

2016-04-01 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70452 --- Comment #7 from Patrick Palka --- Created attachment 38155 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38155=edit patch that reuses the function copies I attached a small patch (not commented yet) that reduces the runtime (of a

[Bug c++/70489] ICE in cxx_eval_increment_expression initializing a VLA in a constexpr function

2016-04-01 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70489 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug libstdc++/70503] [4.9/5/6 Regression] extern "C" functions in src/c++11/thread.cc are global in libstdc++.a

2016-04-01 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70503 Jonathan Wakely changed: What|Removed |Added Known to work||4.3.6 Summary|extern "C"

[Bug target/70465] [4.9/5/6/7 Regression] Poor code for x87 asm

2016-04-01 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70465 --- Comment #8 from Jeffrey A. Law --- I understand the issues around heuristics. Presumably this is the code which identifies cases where we have a single use register with an associated REG_EQUIV note and we move the insn that sets the

[Bug target/70482] Opimization opportunity to vectorize basic block for -mavx target.

2016-04-01 Thread ysrumyan at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70482 --- Comment #2 from Yuri Rumyantsev --- Richard, The problem is in pattern matching: /* Pattern detected. */ if (dump_enabled_p ()) dump_printf_loc (MSG_NOTE, vect_location, "vect_recog_widen_mult_pattern:

[Bug middle-end/70506] New: [CilkPlus] error: location references block not in block tree

2016-04-01 Thread iverbin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70506 Bug ID: 70506 Summary: [CilkPlus] error: location references block not in block tree Product: gcc Version: 6.0 Status: UNCONFIRMED Keywords: ice-checking

[Bug middle-end/70457] ICE (segfault) in gimple_expand_builtin_pow on powerpc64le-linux-gnu

2016-04-01 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70457 --- Comment #8 from Bill Schmidt --- The tree-inline part only shows up after fixing the part in tree-ssa-math-opts.c, where the initial failure occurs. The DECL is already encoded as a BUILT_IN_POW by the time we get that far.

[Bug sanitizer/70474] [4.9 Regression] Several hundred asan failures with 4.9.4 on x86_64-apple-darwin15

2016-04-01 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70474 --- Comment #3 from Dominique d'Humieres --- > > Does this patch fix the problem? > > From preliminary tests, yes. Thanks for the prompt answer. Confirmed after a clean bootstrap, results with the patch posted at

[Bug rtl-optimization/70467] Useless "and [esp],-1" emitted on AND with uint64_t variable

2016-04-01 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70467 --- Comment #9 from Jakub Jelinek --- Author: jakub Date: Fri Apr 1 16:08:21 2016 New Revision: 234679 URL: https://gcc.gnu.org/viewcvs?rev=234679=gcc=rev Log: PR rtl-optimization/70467 * config/i386/i386.md (*add3_doubleword,

[Bug middle-end/70457] ICE (segfault) in gimple_expand_builtin_pow on powerpc64le-linux-gnu

2016-04-01 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70457 --- Comment #10 from Bill Schmidt --- Ok, sounds good. I have vacation this afternoon, but will revisit this over the weekend or Monday.

[Bug rtl-optimization/68236] [6 Regression] selective scheduling with --param=sched-autopref-queue-depth=10 ICEs a lot @ aarch64

2016-04-01 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68236 --- Comment #5 from Christophe Lyon --- Author: clyon Date: Fri Apr 1 17:35:12 2016 New Revision: 234680 URL: https://gcc.gnu.org/viewcvs?rev=234680=gcc=rev Log: Backport from mainline r230088 2015-11-10 Kyrylo Tkachov

[Bug c++/70505] New: Constexpr failure when template type specified

2016-04-01 Thread vince.rev at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70505 Bug ID: 70505 Summary: Constexpr failure when template type specified Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug target/70465] [4.9/5/6/7 Regression] Poor code for x87 asm

2016-04-01 Thread vmakarov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70465 --- Comment #9 from Vladimir Makarov --- (In reply to Jeffrey A. Law from comment #8) > I understand the issues around heuristics. > > Presumably this is the code which identifies cases where we have a single > use register with an associated

[Bug middle-end/70457] ICE (segfault) in gimple_expand_builtin_pow on powerpc64le-linux-gnu

2016-04-01 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70457 --- Comment #9 from Jakub Jelinek --- I've missed the pass_optimize_widening_mul::execute in your patch, that is also another spot where you'd want to call it. But the sincos hunks should be safe as is.

[Bug bootstrap/66521] xgcc: cc1plus segfaults when compiling libstdc++-v3/src/c++11/ostream-inst.cc

2016-04-01 Thread egall at gwmail dot gwu.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66521 Eric Gallager changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug c/68120] can't easily deal with integer overflow at compile time

2016-04-01 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68120 --- Comment #3 from Martin Sebor --- I raised c++/70507 to make a record of another problem caused by the built-ins not being treated as constant expressions.

[Bug target/64971] [5/6 Regression] gcc.c-torture/compile/pr37433.c ICEs with -mabi=ilp32

2016-04-01 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64971 --- Comment #9 from Jeffrey A. Law --- Seems rather hackish to start accepting non-Pmode for the address. Though looking at the docs, I guess it's not strictly incorrect. The @code{symbol_ref} contains a mode, which is usually @code{Pmode}.

[Bug c++/70507] New: integer overflow builtins not constant expressions

2016-04-01 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70507 Bug ID: 70507 Summary: integer overflow builtins not constant expressions Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug bootstrap/25470] [4.9/5/6 Regression] fixincludes/ subdirectory not cleaned by "make distclean"

2016-04-01 Thread egall at gwmail dot gwu.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=25470 --- Comment #23 from Eric Gallager --- (In reply to Eric Gallager from comment #22) > This seems to be fixed; the only subdir that fails to distclean properly for > me currently is libcc1... ...which is Bug 70173

[Bug tree-optimization/70509] wrong code with extract from a casted vector(64)

2016-04-01 Thread zsojka at seznam dot cz
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70509 --- Comment #1 from Zdenek Sojka --- Created attachment 38161 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38161=edit reduced testcase, without casts Output: $ sde64 -- ./a.out 0009 Aborted

[Bug other/70508] New: libstdc++.*-gdb.py': No such file or directory

2016-04-01 Thread fedor_qd at mail dot ru
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70508 Bug ID: 70508 Summary: libstdc++.*-gdb.py': No such file or directory Product: gcc Version: 5.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug target/70510] New: ICE: output_operand: invalid %-code with -mavx512bw -masm=intel when emitting vpbroatcast

2016-04-01 Thread zsojka at seznam dot cz
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70510 Bug ID: 70510 Summary: ICE: output_operand: invalid %-code with -mavx512bw -masm=intel when emitting vpbroatcast Product: gcc Version: 6.0 Status: UNCONFIRMED

[Bug tree-optimization/70509] New: wrong code with extract from a casted vector(64)

2016-04-01 Thread zsojka at seznam dot cz
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70509 Bug ID: 70509 Summary: wrong code with extract from a casted vector(64) Product: gcc Version: 6.0 Status: UNCONFIRMED Keywords: wrong-code Severity: normal

[Bug libstdc++/54075] [4.7.1] unordered_map insert still slower than 4.6.2

2016-04-01 Thread fdumont at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54075 --- Comment #50 from François Dumont --- This performance issue is a result of fixing: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=41975 It resulted in many more modulo operations and so expensive float divisions. I plan to commit an

[Bug bootstrap/60244] GCC-trunk rev.207809, Segmentation fault when executing ".../xgcc -dumpspecs"

2016-04-01 Thread vcunat at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60244 --- Comment #9 from Vladimír Čunát --- More information about my case: it's x86_64, Linux, gcc-5.3.0 from tarball being built by gcc-4.8.3. I re-tried with --enable-debug and ran the segfaulting command in gdb (I filtered seemingly uninteresting

[Bug target/70490] __atomic_load_n(const __int128 *, ...) generates CMPXCHG16B with no warning

2016-04-01 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70490 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #3

[Bug rtl-optimization/59393] [4.9/5/6 regression] mips16 code size

2016-04-01 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59393 --- Comment #8 from rguenther at suse dot de --- On Thu, 31 Mar 2016, law at redhat dot com wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59393 > > Jeffrey A. Law changed: > >What|Removed |Added >

[Bug c++/69564] [5/6 Regression] lto and/or C++ make scimark2 LU slower

2016-04-01 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69564 --- Comment #27 from Richard Biener --- So, dealII slowdown is confirmed. 447.dealII 11440252 45.4 S 11440255 44.8 S 447.dealII 11440254 45.1 S 11440256 44.6 S 447.dealII

[Bug c++/70488] [6 Regression] ICE in tree.c:7345 triggered by warning of placement new too small on VLA

2016-04-01 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70488 Richard Biener changed: What|Removed |Added Priority|P3 |P1 Status|UNCONFIRMED

[Bug libstdc++/70493] New: std::setlocale("") throws exception

2016-04-01 Thread michi at triodia dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70493 Bug ID: 70493 Summary: std::setlocale("") throws exception Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++

[Bug c++/70494] New: Capturing an array of vectors in a lambda

2016-04-01 Thread email.anukul at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70494 Bug ID: 70494 Summary: Capturing an array of vectors in a lambda Product: gcc Version: 5.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug target/70490] __atomic_load_n(const __int128 *, ...) generates CMPXCHG16B with no warning

2016-04-01 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70490 --- Comment #4 from Uroš Bizjak --- (In reply to Jakub Jelinek from comment #3) > The question is if e.g. XMM aligned loads are atomic or not. If they are, > we'd have to use some pattern that would ensure RA etc. doesn't optimize > that into a

[Bug c/70485] Duplicate typedef results in missing debug info

2016-04-01 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70485 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Known to work|

[Bug rtl-optimization/70484] [4.9/5/6 Regression] Wrong optimization with aliasing and access via char

2016-04-01 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70484 Richard Biener changed: What|Removed |Added Known to work||4.3.4 Summary|Wrong

[Bug rtl-optimization/70484] Wrong optimization with aliasing and access via char

2016-04-01 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70484 Richard Biener changed: What|Removed |Added Keywords||alias, wrong-code

[Bug c++/70403] A null pointer check removed with -O2 even with -fno-delete-null-pointer-checks

2016-04-01 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70403 --- Comment #11 from Jonathan Wakely --- (In reply to Richard Biener from comment #10) > McCpId* pCpId = static_cast(); > > and it's further use. You can't use an object of McId via a pointer to > McCpId but you call > >

[Bug c++/70494] Capturing an array of vectors in a lambda

2016-04-01 Thread paolo.monteverde at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70494 Paolo Monteverde changed: What|Removed |Added CC||paolo.monteverde at gmail dot com

[Bug libstdc++/66145] [5/6 Regression] std::ios_base::failure objects thrown from libstdc++.so use old ABI

2016-04-01 Thread malcolm.parsons at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66145 Malcolm Parsons changed: What|Removed |Added CC||malcolm.parsons at gmail dot com ---

[Bug libstdc++/66145] [5/6 Regression] std::ios_base::failure objects thrown from libstdc++.so use old ABI

2016-04-01 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66145 --- Comment #11 from Jonathan Wakely --- (In reply to Malcolm Parsons from comment #10) > Why doesn't this apply to the std::ios_base exceptions? Because the C++11 standard mandated an ABI change for std::ios_base::failure, by giving it a

[Bug rtl-optimization/70484] Wrong optimization with aliasing and access via char

2016-04-01 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70484 --- Comment #2 from Richard Biener --- It's DSE1 that does this. trying to replace QImode load in insn 9 from SImode store in insn 7 deferring rescan insn with uid = 9. deferring rescan insn with uid = 17. -- replaced the loaded MEM with (reg

[Bug rtl-optimization/70484] [4.9/5/6 Regression] Wrong optimization with aliasing and access via char

2016-04-01 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70484 Richard Biener changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug rtl-optimization/70484] [4.9/5/6 Regression] Wrong optimization with aliasing and access via char

2016-04-01 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70484 Richard Biener changed: What|Removed |Added Priority|P3 |P2 Target Milestone|---

[Bug rtl-optimization/70478] [LRA] S/390: Performance regression - superfluous stack frame

2016-04-01 Thread krebbel at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70478 --- Comment #3 from Andreas Krebbel --- (In reply to Vladimir Makarov from comment #2) Thanks for having a look. I'll experiment a bit with adding a '?' constraint modifier to see what impact it has on benchmarks. In fact it would match the

[Bug target/70453] gcc generates invalid instruction vextractu64x4 (should be: vextracti64x4)

2016-04-01 Thread kyukhin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70453 Kirill Yukhin changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/70403] A null pointer check removed with -O2 even with -fno-delete-null-pointer-checks

2016-04-01 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70403 Richard Biener changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug target/70482] Opimization opportunity to vectorize basic block for -mavx target.

2016-04-01 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70482 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/70494] Capturing an array of vectors in a lambda

2016-04-01 Thread jgreenhalgh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70494 James Greenhalgh changed: What|Removed |Added Target||*-*-* Status|UNCONFIRMED

[Bug target/67896] Inconsistent behaviour between C and C++ for types poly8x8_t and poly16x8_t

2016-04-01 Thread jgreenhalgh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67896 --- Comment #6 from James Greenhalgh --- Author: jgreenhalgh Date: Fri Apr 1 09:45:44 2016 New Revision: 234665 URL: https://gcc.gnu.org/viewcvs?rev=234665=gcc=rev Log: Backport: [PATCH] Do not set structural equality on polynomial types

[Bug middle-end/26461] liveness of thread local references across function calls

2016-04-01 Thread andy at miniciv dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26461 Andy Robbins changed: What|Removed |Added CC||andy at miniciv dot com --- Comment #12

[Bug target/70496] [6 regression] inadvertent change to ASM_APP_OFF for .arm / .thumb directives.

2016-04-01 Thread ramana at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70496 Ramana Radhakrishnan changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug c++/70498] New: Libiberty Demangler segfaults (3)

2016-04-01 Thread boehme.marcel at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70498 Bug ID: 70498 Summary: Libiberty Demangler segfaults (3) Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug libstdc++/70493] std::setlocale("") throws exception

2016-04-01 Thread michi at triodia dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70493 --- Comment #1 from Michi Henning --- Ah, on reading http://pubs.opengroup.org/onlinepubs/9699919799/ section 8.2, it appears that it's OK to throw in this case. It would be nice to have a better diagnostic in the exception though. It could

[Bug rtl-optimization/68749] FAIL: gcc.dg/ifcvt-4.c scan-rtl-dump ce1 "2 true changes made"

2016-04-01 Thread ro at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68749 Rainer Orth changed: What|Removed |Added URL||https://gcc.gnu.org/ml/gcc-

[Bug target/67896] Inconsistent behaviour between C and C++ for types poly8x8_t and poly16x8_t

2016-04-01 Thread jgreenhalgh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67896 James Greenhalgh changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug target/70496] New: [6 regression] inadvertent change to ASM_APP_OFF for .arm / .thumb directives.

2016-04-01 Thread ramana at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70496 Bug ID: 70496 Summary: [6 regression] inadvertent change to ASM_APP_OFF for .arm / .thumb directives. Product: gcc Version: 6.0 Status: UNCONFIRMED Severity:

[Bug tree-optimization/70497] New: Missed CSE of subregs on GIMPLE

2016-04-01 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70497 Bug ID: 70497 Summary: Missed CSE of subregs on GIMPLE Product: gcc Version: 6.0 Status: UNCONFIRMED Keywords: missed-optimization Severity: normal Priority:

[Bug tree-optimization/70497] Missed CSE of subregs on GIMPLE

2016-04-01 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70497 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug libstdc++/70483] string_view::compare and coparision operators are not constexpr

2016-04-01 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70483 Jonathan Wakely changed: What|Removed |Added Keywords||rejects-valid

[Bug target/69890] FAIL: gcc.target/i386/chkp-* on x86_64-apple-darwin15

2016-04-01 Thread ienkovich at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69890 --- Comment #9 from Ilya Enkovich --- Author: ienkovich Date: Fri Apr 1 10:40:51 2016 New Revision: 234666 URL: https://gcc.gnu.org/viewcvs?rev=234666=gcc=rev Log: gcc/testsuite/ PR target/69890 * gcc.dg/strlenopt.h (memmove):

[Bug c++/70495] New: false warning: comparison between signed and unsigned integer expressions

2016-04-01 Thread andras.szilard at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70495 Bug ID: 70495 Summary: false warning: comparison between signed and unsigned integer expressions Product: gcc Version: 5.3.0 Status: UNCONFIRMED Severity:

[Bug bootstrap/60244] GCC-trunk rev.207809, Segmentation fault when executing ".../xgcc -dumpspecs"

2016-04-01 Thread vcunat at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60244 --- Comment #10 from Vladimír Čunát --- Now I see the segfault does not happen if I use binutils-2.23 instead of 2.26. Perhaps the cause is in there then.

[Bug c++/70495] false warning: comparison between signed and unsigned integer expressions

2016-04-01 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70495 --- Comment #1 from Jonathan Wakely --- b+b has type int

[Bug c++/70495] false warning: comparison between signed and unsigned integer expressions

2016-04-01 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70495 Richard Biener changed: What|Removed |Added Keywords||diagnostic

  1   2   >