[Bug c/66826] New: Unused dlsym return results in segfault

2015-07-09 Thread quae at daurnimator dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66826 Bug ID: 66826 Summary: Unused dlsym return results in segfault Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug c++/64848] G++ internal compiler error with templated lambdas capturing variable

2015-07-09 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64848 Paolo Carlini changed: What|Removed |Added Status|NEW |RESOLVED Blocks|

[Bug c++/54367] [meta-bug] lambda expressions

2015-07-09 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54367 Bug 54367 depends on bug 64848, which changed state. Bug 64848 Summary: G++ internal compiler error with templated lambdas capturing variable https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64848 What|Removed |Add

[Bug c++/64848] G++ internal compiler error with templated lambdas capturing variable

2015-07-09 Thread paolo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64848 --- Comment #3 from paolo at gcc dot gnu.org --- Author: paolo Date: Fri Jul 10 02:44:39 2015 New Revision: 225648 URL: https://gcc.gnu.org/viewcvs?rev=225648&root=gcc&view=rev Log: 2015-07-09 Paolo Carlini PR c++/64848 * g++

[Bug c++/66169] [c++-concepts] constraints on constructor are jammed with inherited copy/move constructors

2015-07-09 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66169 Jason Merrill changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug c++/64848] G++ internal compiler error with templated lambdas capturing variable

2015-07-09 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64848 --- Comment #2 from Paolo Carlini --- This is fixed for 5.2. I'm adding a testcase and closing the bug.

[Bug c++/66092] [c++-concepts] Concept can't check variadic template arguments

2015-07-09 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66092 Jason Merrill changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug target/66822] Turn -mtune=iamcu for size

2015-07-09 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66822 --- Comment #6 from H.J. Lu --- (In reply to H.J. Lu from comment #5) > X86_TUNE_USE_BT also reduces code size: > > [hjl@gnu-tools-1 pr66822]$ cat y.i > void bar (void); > > void > foo (int x) > { > if (x != 2 && x != 3 && x != 10 && x != 11

[Bug target/66822] Turn -mtune=iamcu for size

2015-07-09 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66822 --- Comment #5 from H.J. Lu --- X86_TUNE_USE_BT also reduces code size: [hjl@gnu-tools-1 pr66822]$ cat y.i void bar (void); void foo (int x) { if (x != 2 && x != 3 && x != 10 && x != 11 && x != 17 && x != 18 && x != 23) bar (); } [hjl@gnu

[Bug target/66822] Turn -mtune=iamcu for size

2015-07-09 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66822 H.J. Lu changed: What|Removed |Added Summary|Turn off|Turn -mtune=iamcu for size |

[Bug target/66563] [4.9/5 Regression] ICE (segmentation fault) on sh4-linux-gnu

2015-07-09 Thread kkojima at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66563 --- Comment #52 from Kazumoto Kojima --- (In reply to Kazumoto Kojima from comment #51) BTW, I've already committed the patch in c#37 for gcc-5 for this PR. The backport patch for PR/66780 is still in test for gcc-5.

[Bug target/66563] [4.9/5 Regression] ICE (segmentation fault) on sh4-linux-gnu

2015-07-09 Thread kkojima at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66563 --- Comment #51 from Kazumoto Kojima --- (In reply to Matthias Klose from comment #49) > Kaz, please could you propose these patches for 5.2 too, even if the branch > is currently frozen? It's too late, I think.

[Bug c++/65636] [c++-concepts] ICE (Segmentation fault) when a type requirement names a typedef or type alias

2015-07-09 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65636 Jason Merrill changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug c++/65634] [c++-concepts] ICE in check_noexcept_r() for a noexcept constraint on a static member function call requirement

2015-07-09 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65634 Jason Merrill changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug jit/66812] jit code-generation example that unexpectedly required -fno-strict-aliasing to work

2015-07-09 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66812 --- Comment #10 from David Malcolm --- Candidate patch posted as: https://gcc.gnu.org/ml/jit/2015-q3/msg00060.html

[Bug target/66563] [4.9/5 Regression] ICE (segmentation fault) on sh4-linux-gnu

2015-07-09 Thread glaubitz at physik dot fu-berlin.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66563 --- Comment #50 from John Paul Adrian Glaubitz --- (In reply to Matthias Klose from comment #49) > Kaz, please could you propose these patches for 5.2 too, even if the branch > is currently frozen? Btw, the main reason for most of these segfault

[Bug middle-end/66633] [5/6 regression] ICE on valid "verify_gimple failed" with OpenMP

2015-07-09 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66633 --- Comment #16 from Jakub Jelinek --- Author: jakub Date: Thu Jul 9 21:14:11 2015 New Revision: 225638 URL: https://gcc.gnu.org/viewcvs?rev=225638&root=gcc&view=rev Log: PR middle-end/66633 * tree-nested.c (get_static_chain): O

[Bug tree-optimization/66718] Non-invariant ADDR_EXPR not vectorized

2015-07-09 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66718 --- Comment #7 from Jakub Jelinek --- Author: jakub Date: Thu Jul 9 21:11:28 2015 New Revision: 225637 URL: https://gcc.gnu.org/viewcvs?rev=225637&root=gcc&view=rev Log: PR tree-optimization/66718 * tree-vect-stmts.c (struct sim

[Bug target/66563] [4.9/5 Regression] ICE (segmentation fault) on sh4-linux-gnu

2015-07-09 Thread doko at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66563 --- Comment #49 from Matthias Klose --- Kaz, please could you propose these patches for 5.2 too, even if the branch is currently frozen?

[Bug jit/66812] jit code-generation example that unexpectedly required -fno-strict-aliasing to work

2015-07-09 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66812 --- Comment #9 from David Malcolm --- Notes to self: For the given stmt, fre1's call to: val = vn_reference_lookup (gimple_assign_lhs (stmt), gimple_vuse (stmt), VN_WALK, NULL); is returning NULL for

[Bug c/66825] New: RFE: Add attributes for symbol versioning.

2015-07-09 Thread carlos at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66825 Bug ID: 66825 Summary: RFE: Add attributes for symbol versioning. Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: enhancement Priority: P3 Component: c

[Bug jit/66812] jit code-generation example that unexpectedly required -fno-strict-aliasing to work

2015-07-09 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66812 --- Comment #8 from David Malcolm --- Root cause found: it's because of the langhook: LANG_HOOKS_GET_ALIAS_SET which it looks like I need to implement for libgccjit.

[Bug jit/66783] No error-checking for creating structs containing opaque structs

2015-07-09 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66783 --- Comment #4 from David Malcolm --- (In reply to David Malcolm from comment #3) > Root cause found: it's because of the langhook: > LANG_HOOKS_GET_ALIAS_SET > which it looks like I need to implement for libgccjit. Ooops, wrong bug; ignore th

[Bug jit/66812] jit code-generation example that unexpectedly required -fno-strict-aliasing to work

2015-07-09 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66812 David Malcolm changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug jit/66783] No error-checking for creating structs containing opaque structs

2015-07-09 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66783 --- Comment #3 from David Malcolm --- Root cause found: it's because of the langhook: LANG_HOOKS_GET_ALIAS_SET which it looks like I need to implement for libgccjit.

[Bug jit/66812] jit code-generation example that unexpectedly required -fno-strict-aliasing to work

2015-07-09 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66812 Andrew Pinski changed: What|Removed |Added Keywords||alias, wrong-code --- Comment #6 from An

[Bug target/66821] reassoc-37.c fails on -march=iamcu

2015-07-09 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66821 H.J. Lu changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug target/66821] reassoc-37.c fails on -march=iamcu

2015-07-09 Thread hjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66821 --- Comment #10 from hjl at gcc dot gnu.org --- Author: hjl Date: Thu Jul 9 20:35:56 2015 New Revision: 225635 URL: https://gcc.gnu.org/viewcvs?rev=225635&root=gcc&view=rev Log: Adjust variable shift costs for IA MCU We reduce code size for IA

[Bug target/66822] Turn off X86_TUNE_ZERO_EXTEND_WITH_AND for -miamcu

2015-07-09 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66822 --- Comment #3 from Uroš Bizjak --- Please hold a bit with this change, I have a patch that improves generation of zero_extend substantially.

[Bug target/66523] the new clang-based assembler in Xcode 7 on 10.11 fails on libobjc/NXConstStr.m

2015-07-09 Thread howarth.at.gcc at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66523 --- Comment #21 from Jack Howarth --- (In reply to m...@gcc.gnu.org from comment #15) > Jack, can you spin a gcc-4.9 test? Regression test results for current gcc-4_9-branch with patch applied posted at https://gcc.gnu.org/ml/gcc-testresults/201

[Bug jit/66812] jit code-generation example that unexpectedly required -fno-strict-aliasing to work

2015-07-09 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66812 --- Comment #5 from David Malcolm --- (In reply to David Malcolm from comment #4) > Created attachment 35946 [details] > Equivalent C code > > (generated using gcc_jit_context_dump_to_file and lightly editing until > valid C) Compiling this wit

[Bug jit/66812] jit code-generation example that unexpectedly required -fno-strict-aliasing to work

2015-07-09 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66812 --- Comment #4 from David Malcolm --- Created attachment 35946 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35946&action=edit Equivalent C code (generated using gcc_jit_context_dump_to_file and lightly editing until valid C)

[Bug target/66824] -miamcu doesn't load FP constant into register directly

2015-07-09 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66824 --- Comment #2 from H.J. Lu --- A patch is posted at https://gcc.gnu.org/ml/gcc-patches/2015-07/msg00809.html

[Bug jit/66812] jit code-generation example that unexpectedly required -fno-strict-aliasing to work

2015-07-09 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66812 --- Comment #3 from David Malcolm --- (In reply to David Malcolm from comment #2) > Output from fre1 dump (at e.g. optlevel 3) (with TDF_DETAILS enabled) is: (snip) > Removing dead stmt MEM[(struct value *)arr_2(D) + 16B].union_field.i_field =

[Bug jit/66812] jit code-generation example that unexpectedly required -fno-strict-aliasing to work

2015-07-09 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66812 --- Comment #2 from David Malcolm --- Output from fre1 dump (at e.g. optlevel 3) (with TDF_DETAILS enabled) is: ;; Function test_pr66812 (test_pr66812, funcdef_no=0, decl_uid=56, cgraph_uid=0, symbol_order=0) Setting value number of .MEM_4(D) t

[Bug jit/66812] jit code-generation example that unexpectedly required -fno-strict-aliasing to work

2015-07-09 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66812 --- Comment #1 from David Malcolm --- Created attachment 35945 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35945&action=edit Minimal reproducer

[Bug pch/14940] PCH largefile test fails on various platforms

2015-07-09 Thread xricht17 at stud dot fit.vutbr.cz
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=14940 --- Comment #50 from Martin Richter --- The following patch fixes segfault when gt_pch_use_address fails (returns -1). fatal_error now correctly shows an error message and terminates the program. I have basicly only reordered reads, and placed th

[Bug target/66822] Turn off X86_TUNE_ZERO_EXTEND_WITH_AND for -miamcu

2015-07-09 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66822 --- Comment #2 from H.J. Lu --- (In reply to Yulia Koval from comment #1) > I think it's a good idea. If we do that, we may also adjust iamcu_cost: COSTS_N_INSNS (3),/* cost of movsx */ COSTS_N_INSNS (2),

[Bug target/66821] reassoc-37.c fails on -march=iamcu

2015-07-09 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66821 H.J. Lu changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug target/66523] the new clang-based assembler in Xcode 7 on 10.11 fails on libobjc/NXConstStr.m

2015-07-09 Thread mrs at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66523 mrs at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED Known to work|

[Bug target/66523] the new clang-based assembler in Xcode 7 on 10.11 fails on libobjc/NXConstStr.m

2015-07-09 Thread mrs at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66523 --- Comment #19 from mrs at gcc dot gnu.org --- Author: mrs Date: Thu Jul 9 17:56:23 2015 New Revision: 225624 URL: https://gcc.gnu.org/viewcvs?rev=225624&root=gcc&view=rev Log: 2015-07-09 Iain Sandoe PR target/66523 * confi

[Bug target/66523] the new clang-based assembler in Xcode 7 on 10.11 fails on libobjc/NXConstStr.m

2015-07-09 Thread mrs at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66523 --- Comment #18 from mrs at gcc dot gnu.org --- Author: mrs Date: Thu Jul 9 17:50:58 2015 New Revision: 225623 URL: https://gcc.gnu.org/viewcvs?rev=225623&root=gcc&view=rev Log: 2015-07-09 Iain Sandoe PR target/66523 * confi

[Bug middle-end/66633] [5/6 regression] ICE on valid "verify_gimple failed" with OpenMP

2015-07-09 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66633 Jakub Jelinek changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org --- Comm

[Bug target/66523] the new clang-based assembler in Xcode 7 on 10.11 fails on libobjc/NXConstStr.m

2015-07-09 Thread howarth.at.gcc at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66523 --- Comment #17 from Jack Howarth --- Any response on the request for RM approval for adding this to 5.2.0?

[Bug rtl-optimization/66782] [5/6 Regression] Unable to run 64-bit wine after MS->SYSV register changes

2015-07-09 Thread vmakarov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66782 --- Comment #13 from Vladimir Makarov --- Author: vmakarov Date: Thu Jul 9 15:39:53 2015 New Revision: 225618 URL: https://gcc.gnu.org/viewcvs?rev=225618&root=gcc&view=rev Log: 2015-07-09 Vladimir Makarov PR rtl-optimization/66782

[Bug target/66814] ICE: gcc.target/i386/avx512f-klogic-2.c

2015-07-09 Thread uros at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66814 --- Comment #3 from uros at gcc dot gnu.org --- Author: uros Date: Thu Jul 9 15:18:44 2015 New Revision: 225616 URL: https://gcc.gnu.org/viewcvs?rev=225616&root=gcc&view=rev Log: PR target/66814 * config/i386/predicates.md (nonim

[Bug middle-end/66820] [5/6 Regression] internal compiler error: in get_expr_operands, at tree-ssa-operands.c:910

2015-07-09 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66820 --- Comment #7 from Jakub Jelinek --- Note, this is unrelated to PR66633, that one even after the fix is a bug somewhere in tree-nested.c.

[Bug c++/61491] An explicit specialization of a member enumeration of a class template is rejected

2015-07-09 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61491 Paolo Carlini changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a

[Bug middle-end/66820] [5/6 Regression] internal compiler error: in get_expr_operands, at tree-ssa-operands.c:910

2015-07-09 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66820 --- Comment #6 from Jakub Jelinek --- So, the problem is that the fold_stmt folding added in that revision creates new decls that it doesn't put into the current gimplification context vars, but instead creates whole function temporaries. So we

[Bug c++/65790] compilation error : receive std::index_sequence

2015-07-09 Thread faithandbrave at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65790 --- Comment #5 from Akira Takahashi --- Thanks Paolo!!

[Bug target/66821] reassoc-37.c fails on -march=pentium

2015-07-09 Thread julia.koval at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66821 --- Comment #8 from Yulia Koval --- (In reply to H.J. Lu from comment #7) > (In reply to Yulia Koval from comment #6) > > msticlxl58$ size miam > >textdata bss dec hex filename > > 72 0 0 72 48 miam

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

2015-07-09 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66313 --- Comment #4 from Marek Polacek --- Ok, then I'll try to fix it up there. A testcase: /* PR middle-end/66313 */ /* { dg-do run } */ /* { dg-options "-fsanitize=undefined -fsanitize-undefined-trap-on-error" } */ int __attribute__ ((__noinline_

[Bug target/66821] reassoc-37.c fails on -march=pentium

2015-07-09 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66821 --- Comment #7 from H.J. Lu --- (In reply to Yulia Koval from comment #6) > msticlxl58$ size miam >textdata bss dec hex filename > 72 0 0 72 48 miam > msticlxl58$ size march >textdata bss

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

2015-07-09 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66313 --- Comment #3 from Richard Biener --- I'm actually testing a patch that moves all of this to match.pd (without fixing this, that said)

[Bug target/66821] reassoc-37.c fails on -march=pentium

2015-07-09 Thread julia.koval at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66821 --- Comment #6 from Yulia Koval --- msticlxl58$ size miam textdata bss dec hex filename 72 0 0 72 48 miam msticlxl58$ size march textdata bss dec hex filename 81 0

[Bug target/66821] reassoc-37.c fails on -march=pentium

2015-07-09 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66821 --- Comment #5 from H.J. Lu --- (In reply to Yulia Koval from comment #4) > The issue remains for -march=iamcu but not for -miamcu. Let's fix -march=iamcu.

[Bug target/66821] reassoc-37.c fails on -march=pentium

2015-07-09 Thread julia.koval at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66821 --- Comment #4 from Yulia Koval --- The issue remains for -march=iamcu but not for -miamcu.

[Bug middle-end/65534] tailcall not optimized away

2015-07-09 Thread aldot at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65534 --- Comment #2 from Bernhard Reutner-Fischer --- (In reply to Jan Hubicka from comment #1) > > #ifndef OPTIMIZE_MANUALLY > > void setutent(void) { > > ((void)0); > > __setutent_unlocked(); > > ((void)0); > > } > > #else > > extern __t

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

2015-07-09 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66313 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org --- Comment

[Bug target/66813] gcc.target/i386/asm-flag-5.c failed with -march=pentium

2015-07-09 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66813 H.J. Lu changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug tree-optimization/66823] -ftree-loop-if-convert-stores miscompiles gfortran.dg/elemental_optional_args_3.f90

2015-07-09 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66823 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug target/66824] -miamcu doesn't load FP constant into register directly

2015-07-09 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66824 H.J. Lu changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug target/66824] New: -miamcu doesn't load FP constant into register directly

2015-07-09 Thread hjl.tools at gmail dot com
",@progbits,4 .align 4 .LC0: .long 1077936128 .ident "GCC: (GNU) 6.0.0 20150709 (experimental)" .section.note.GNU-stack,"",@progbits [hjl@gnu-6 gcc]$ We should generate "mov $1077936128 %eax".

[Bug bootstrap/66801] [6 Regression] gcc miscompiled during PGO/LTO bootstrap

2015-07-09 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66801 --- Comment #17 from Markus Trippelsdorf --- Nothing helps; neither -fno-ipa-cp-alignment, nor -fno-tree-vectorize, nor disabling the pattern above.

[Bug target/66821] reassoc-37.c fails on -march=pentium

2015-07-09 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66821 --- Comment #3 from H.J. Lu --- (In reply to Yulia Koval from comment #2) > Well, second one looks better, but first one generates 9b smaller code. > Can we disable this test for this target if it is not an issue? This is a tuning issue. We wan

[Bug tree-optimization/66823] -ftree-loop-if-convert-stores miscompiles gfortran.dg/elemental_optional_args_3.f90

2015-07-09 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66823 --- Comment #2 from Richard Biener --- Created attachment 35943 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35943&action=edit patch triggering fails without -ftree-loop-if-convert-stores Discovered while testing attached patch to improv

[Bug target/66822] Turn off X86_TUNE_ZERO_EXTEND_WITH_AND for -miamcu

2015-07-09 Thread julia.koval at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66822 Yulia Koval changed: What|Removed |Added CC||izamyatin at gmail dot com --- Comment #1

[Bug tree-optimization/66823] -ftree-loop-if-convert-stores miscompiles gfortran.dg/elemental_optional_args_3.f90

2015-07-09 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66823 --- Comment #1 from Richard Biener --- And with -m64/-ftree-loop-if-convert-stores FAIL: gcc.c-torture/execute/pr51933.c -O1 execution test FAIL: gcc.c-torture/execute/pr51933.c -O2 execution test FAIL: gcc.c-torture/execute/pr51933.c -O

[Bug tree-optimization/66823] New: -ftree-loop-if-convert-stores miscompiles gfortran.dg/elemental_optional_args_3.f90

2015-07-09 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66823 Bug ID: 66823 Summary: -ftree-loop-if-convert-stores miscompiles gfortran.dg/elemental_optional_args_3.f90 Product: gcc Version: 6.0 Status: UNCONFIRMED Keyword

[Bug target/66821] reassoc-37.c fails on -march=pentium

2015-07-09 Thread julia.koval at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66821 --- Comment #2 from Yulia Koval --- Well, second one looks better, but first one generates 9b smaller code. Can we disable this test for this target if it is not an issue?

[Bug tree-optimization/66522] handle casts in nr of iterations in try_transform_to_exit_first_loop_alt

2015-07-09 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66522 --- Comment #4 from vries at gcc dot gnu.org --- (In reply to vries from comment #3) > New patch: https://gcc.gnu.org/ml/gcc-patches/2015-06/msg02085.html Pinged: https://gcc.gnu.org/ml/gcc-patches/2015-07/msg00729.html

[Bug target/66822] New: Turn off X86_TUNE_ZERO_EXTEND_WITH_AND for IAMCU

2015-07-09 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66822 Bug ID: 66822 Summary: Turn off X86_TUNE_ZERO_EXTEND_WITH_AND for IAMCU Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: ta

[Bug middle-end/66741] loops not fused nor vectorized

2015-07-09 Thread aldot at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66741 --- Comment #7 from Bernhard Reutner-Fischer --- folding tolower (and toupper while at it) gives: for i in 0 1 2;do gcc -o tolower_strcpy-$i tolower_strcpy-$i.c -Ofast -W -Wall -Wextra -pedantic -DMAIN -msse4.2 done /tmp/inp is 200MB random bin

[Bug target/59767] __atomic_load_n with __ATOMIC_SEQ_CST should result in a memory barrier

2015-07-09 Thread amacleod at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59767 Andrew Macleod changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug middle-end/66741] loops not fused nor vectorized

2015-07-09 Thread aldot at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66741 --- Comment #6 from Bernhard Reutner-Fischer --- Created attachment 35942 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35942&action=edit Variant demonstrating strcpy+tolower fused loop, vectorized, SSE4.x Code like this should be emitted

[Bug middle-end/66741] loops not fused nor vectorized

2015-07-09 Thread aldot at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66741 --- Comment #5 from Bernhard Reutner-Fischer --- Created attachment 35941 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35941&action=edit Variant perusing builtins This is (essentially) the motivating real-world example

[Bug middle-end/66741] loops not fused nor vectorized

2015-07-09 Thread aldot at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66741 --- Comment #4 from Bernhard Reutner-Fischer --- Created attachment 35940 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35940&action=edit Manually expanded variant expanding builtins early should arrive at that

[Bug target/65951] [AArch64] Will not vectorize 64bit integer multiplication

2015-07-09 Thread vekumar at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65951 vekumar at gcc dot gnu.org changed: What|Removed |Added CC||vekumar at gcc dot gnu.org -

[Bug target/66821] reassoc-37.c fails on -march=pentium

2015-07-09 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66821 --- Comment #1 from H.J. Lu --- Which code is better?

[Bug tree-optimization/66642] transform_to_exit_first_loop_alt doesn't use result of low iteration count loop

2015-07-09 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66642 vries at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|--

[Bug bootstrap/66801] [6 Regression] gcc miscompiled during PGO/LTO bootstrap

2015-07-09 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66801 --- Comment #16 from Richard Biener --- So, if it is related to vectorization (if I ever get to reproduce it I'll try -fno-tree-vectorize) then it might be the /* If arg0 is derived from the address of an object or function, we may be able to

[Bug libgomp/66714] ICE in loc_list_from_tree with -g

2015-07-09 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66714 --- Comment #19 from vries at gcc dot gnu.org --- This ( https://gcc.gnu.org/ml/gcc-patches/2015-07/msg00711.html ) patch fixes the ICE (perhaps without fixing the root cause).

[Bug fortran/66578] [F2008] Invalid free on allocate(...,source=a(:)) in block

2015-07-09 Thread vehre at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66578 vehre at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|--

[Bug fortran/58586] ICE with derived type with allocatable component passed by value

2015-07-09 Thread vehre at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58586 vehre at gcc dot gnu.org changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|--

[Bug fortran/66775] Allocatable function result type(t) produces segfault when uninitialized

2015-07-09 Thread vehre at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66775 --- Comment #2 from vehre at gcc dot gnu.org --- This bug is somehow related with pr55603.

[Bug fortran/66775] Allocatable function result type(t) produces segfault when uninitialized

2015-07-09 Thread vehre at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66775 --- Comment #1 from vehre at gcc dot gnu.org --- This bug is somehow related with 55603.

[Bug bootstrap/66801] [6 Regression] gcc miscompiled during PGO/LTO bootstrap

2015-07-09 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66801 --- Comment #15 from Markus Trippelsdorf --- For x86_64 additional --with-arch=native (sandybridge) is needed during configuration.

[Bug middle-end/66820] [5/6 Regression] internal compiler error: in get_expr_operands, at tree-ssa-operands.c:910

2015-07-09 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66820 --- Comment #5 from Marek Polacek --- I guess related to PR66633.

[Bug rtl-optimization/62265] [4.8/4.9/5 regression] FAIL: gcc.dg/20111227-2.c scan-rtl-dump ree "Elimination opportunities = 3 realized = 3"

2015-07-09 Thread julia.koval at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62265 Yulia Koval changed: What|Removed |Added CC||julia.koval at intel dot com --- Comment #

[Bug middle-end/66820] internal compiler error: in get_expr_operands, at tree-ssa-operands.c:910

2015-07-09 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66820 Jakub Jelinek changed: What|Removed |Added Keywords||openmp Last reconfirmed|2015-07-09 00:

[Bug libgomp/66820] [5/6 Regression] internal compiler error: in get_expr_operands, at tree-ssa-operands.c:910

2015-07-09 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66820 --- Comment #3 from Marek Polacek --- Started with r213753.

[Bug libgomp/66820] [5/6 Regression] internal compiler error: in get_expr_operands, at tree-ssa-operands.c:910

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

[Bug c++/65790] compilation error : receive std::index_sequence

2015-07-09 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65790 Paolo Carlini changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug target/66821] New: reassoc-37.c fails on -march=pentium

2015-07-09 Thread julia.koval at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66821 Bug ID: 66821 Summary: reassoc-37.c fails on -march=pentium Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target

[Bug c++/65790] compilation error : receive std::index_sequence

2015-07-09 Thread paolo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65790 --- Comment #3 from paolo at gcc dot gnu.org --- Author: paolo Date: Thu Jul 9 09:51:09 2015 New Revision: 225607 URL: https://gcc.gnu.org/viewcvs?rev=225607&root=gcc&view=rev Log: 2015-07-09 Paolo Carlini PR c++/65790 * g++

[Bug libgomp/66820] internal compiler error: in get_expr_operands, at tree-ssa-operands.c:910

2015-07-09 Thread simon at sconseil dot fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66820 --- Comment #1 from Simon Conseil --- Created attachment 35939 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35939&action=edit Preprocessed source from -freport-bug

[Bug libgomp/66820] New: internal compiler error: in get_expr_operands, at tree-ssa-operands.c:910

2015-07-09 Thread simon at sconseil dot fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66820 Bug ID: 66820 Summary: internal compiler error: in get_expr_operands, at tree-ssa-operands.c:910 Product: gcc Version: 5.1.0 Status: UNCONFIRMED Severity: norma

[Bug c++/65790] compilation error : receive std::index_sequence

2015-07-09 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65790 --- Comment #2 from Paolo Carlini --- This is fixed for 5.2. Let's add the testcase and close the bug.

[Bug middle-end/66817] ICE in hard_function_value, at explow.c:1844 with -miamcu

2015-07-09 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66817 H.J. Lu changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug target/66818] Wrong alignment value for attribute ((aligned)) with -miamcu

2015-07-09 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66818 H.J. Lu changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

  1   2   >