[Bug tree-optimization/72785] [7 Regression] kernel build error since r236831

2017-03-02 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72785 --- Comment #30 from Markus Trippelsdorf --- For references, Linus himself fixed the issue: https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=474c90156c8dcc2fa815e6716cc9394d7930cb9c

[Bug c++/79822] [5/7 Regression] ICE with void statement expression

2017-03-02 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79822 Martin Sebor changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/43313] ICE with non-POD and covariant return thunks

2017-03-02 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43313 Segher Boessenkool changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug c++/79823] Address Sanitize compile,got undefined reference to '__asan' errors

2017-03-02 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79823 --- Comment #2 from Andrew Pinski --- Also I think asan support was only added in GCC 5 for aarch64 (but I could be wrong).

[Bug c++/79823] Address Sanitize compile,got undefined reference to '__asan' errors

2017-03-02 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79823 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/79823] New: Address Sanitize compile,got undefined reference to '__asan' errors

2017-03-02 Thread zhoujun48 at huawei dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79823 Bug ID: 79823 Summary: Address Sanitize compile,got undefined reference to '__asan' errors Product: gcc Version: 4.9.0 Status: UNCONFIRMED Severity: normal

[Bug c++/79822] New: [7 Regression] ICE with void statement expression

2017-03-02 Thread reichelt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79822 Bug ID: 79822 Summary: [7 Regression] ICE with void statement expression Product: gcc Version: unknown Status: UNCONFIRMED Keywords: ice-on-invalid-code Severity: normal

[Bug c++/79821] [7 regression] SEGV in cc1plus compiling 64-bit stdc++.h.gch/O2g.gch

2017-03-02 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79821 --- Comment #1 from Jonathan Wakely --- Weird, that commit only changes the names of some variables. A similar patch has been committed to the gcc-5 and gcc-6 branches, so we should be sure a similar ICE doesn't happen on the branches.

[Bug preprocessor/61891] line-map.c: file "" left but not entered during `cabal install -p haskell-src-exts`

2017-03-02 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61891 Martin Sebor changed: What|Removed |Added Status|WAITING |RESOLVED CC|

[Bug c++/79821] New: [7 regression] SEGV in cc1plus compiling 64-bit stdc++.h.gch/O2g.gch

2017-03-02 Thread ro at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79821 Bug ID: 79821 Summary: [7 regression] SEGV in cc1plus compiling 64-bit stdc++.h.gch/O2g.gch Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal

[Bug c++/79821] [7 regression] SEGV in cc1plus compiling 64-bit stdc++.h.gch/O2g.gch

2017-03-02 Thread ro at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79821 Rainer Orth changed: What|Removed |Added Target Milestone|--- |7.0

[Bug target/79514] [5/6/7 Regression] ICE in curr_insn_transform, at lra-constraints.c:3773

2017-03-02 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79514 Uroš Bizjak changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/79514] [5/6/7 Regression] ICE in curr_insn_transform, at lra-constraints.c:3773

2017-03-02 Thread uros at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79514 --- Comment #17 from uros at gcc dot gnu.org --- Author: uros Date: Thu Mar 2 21:35:38 2017 New Revision: 245854 URL: https://gcc.gnu.org/viewcvs?rev=245854=gcc=rev Log: PR target/79514 * config/i386/i386.md (*pushxf_rounded):

[Bug c++/79782] [7 Regression] ICE: tree check: expected tree_list, have void_type in emit_mem_initializers, at cp/init.c:1225

2017-03-02 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79782 --- Comment #3 from Jakub Jelinek --- Author: jakub Date: Thu Mar 2 21:31:40 2017 New Revision: 245853 URL: https://gcc.gnu.org/viewcvs?rev=245853=gcc=rev Log: PR c++/79782 * init.c (mark_exp_read_r): New function.

[Bug target/79514] [5/6/7 Regression] ICE in curr_insn_transform, at lra-constraints.c:3773

2017-03-02 Thread uros at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79514 --- Comment #16 from uros at gcc dot gnu.org --- Author: uros Date: Thu Mar 2 20:42:33 2017 New Revision: 245851 URL: https://gcc.gnu.org/viewcvs?rev=245851=gcc=rev Log: PR target/79514 * config/i386/i386.md (*pushxf_rounded):

[Bug target/71749] Define _REENTRANT on ARC when -pthread is passed

2017-03-02 Thread thomas.petazz...@free-electrons.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71749 --- Comment #5 from Thomas Petazzoni --- Sure, feel free to submit it. If that's easier for the gcc submission process, feel free to submit it under your own name: for such a small contribution, I really

[Bug libstdc++/79820] std::ifstream sets errno to zero

2017-03-02 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79820 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/79819] collect2 undefined reference when -O0. Regression (or bugfix?) since gcc5

2017-03-02 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79819 --- Comment #3 from Jonathan Wakely --- You can create additional attachments one at a time. Yes, I believe your code has undefined behaviour, so the linker error is not a gcc bug.

[Bug c++/79819] collect2 undefined reference when -O0. Regression (or bugfix?) since gcc5

2017-03-02 Thread nheart at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79819 --- Comment #2 from Nikolay Bogoychev --- > This attachment is a pain, is there really a need for each loader_file.ii to > be in its own tar file? No, there isn't really. I didn't realize I could only attach one file so I merged everything. >

[Bug libstdc++/79820] New: std::ifstream sets errno to zero

2017-03-02 Thread m-ou...@m-ou.se
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79820 Bug ID: 79820 Summary: std::ifstream sets errno to zero Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++

[Bug libstdc++/79789] [6 Regression] non-reserved names in headers

2017-03-02 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79789 Jonathan Wakely changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug libstdc++/79789] [6 Regression] non-reserved names in headers

2017-03-02 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79789 --- Comment #6 from Jonathan Wakely --- Author: redi Date: Thu Mar 2 18:59:06 2017 New Revision: 245847 URL: https://gcc.gnu.org/viewcvs?rev=245847=gcc=rev Log: PR libstdc++/79789 fix non-reserved names in headers PR libstdc++/79789

[Bug libstdc++/79789] [6 Regression] non-reserved names in headers

2017-03-02 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79789 --- Comment #5 from Jonathan Wakely --- Author: redi Date: Thu Mar 2 18:58:07 2017 New Revision: 245846 URL: https://gcc.gnu.org/viewcvs?rev=245846=gcc=rev Log: PR libstdc++/79789 fix non-reserved names in headers PR libstdc++/79789

[Bug c++/79819] collect2 undefined reference when -O0. Regression (or bugfix?) since gcc5

2017-03-02 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79819 --- Comment #1 from Jonathan Wakely --- (In reply to Nikolay Bogoychev from comment #0) > Created attachment 40874 [details] > console output from failed compilation and *.ii files This attachment is a pain, is there really a need for each

[Bug target/79514] [5/6/7 Regression] ICE in curr_insn_transform, at lra-constraints.c:3773

2017-03-02 Thread uros at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79514 --- Comment #15 from uros at gcc dot gnu.org --- Author: uros Date: Thu Mar 2 18:47:03 2017 New Revision: 245844 URL: https://gcc.gnu.org/viewcvs?rev=245844=gcc=rev Log: PR target/79514 * config/i386/i386.md (*pushxf_rounded):

[Bug rtl-optimization/79779] [5/6/7 Regression] ICE on an invalid code with -fsanitize=undefined

2017-03-02 Thread vmakarov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79779 Vladimir Makarov changed: What|Removed |Added CC||vmakarov at gcc dot gnu.org ---

[Bug c++/78999] problem with gcc on cygwin??? cygwin 2.6.1 with gcc 5.4.0

2017-03-02 Thread bplummer at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78999 --- Comment #1 from Brian Plummer --- I still have this problem. I just updated my cygwin because I thought I saw some updates to the gcc toolchain, but it had no effect. I also see this issue when I am trying to run configure on my gcc-6.2.0.

[Bug target/69804] [5/6] ICE with -fsanitize=undefined -fcheck-pointer-bounds -mmpx

2017-03-02 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69804 Martin Liška changed: What|Removed |Added CC||marxin at gcc dot gnu.org

[Bug target/65705] ICE: SIGSEGV in contains_struct_check with -fsanitize=null -fcheck-pointer-bounds

2017-03-02 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65705 Martin Liška changed: What|Removed |Added CC||marxin at gcc dot gnu.org

[Bug target/71749] Define _REENTRANT on ARC when -pthread is passed

2017-03-02 Thread claziss at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71749 --- Comment #4 from Claudiu Zissulescu --- If it is ok with you, I will do it in ur name as well. But first, let me see how the nightly goes.

[Bug target/79631] [CHKP] ICE tree check: expected integer_cst, have negate_expr in decompose, at tree.h:5255

2017-03-02 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79631 Martin Liška changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |marxin at gcc dot gnu.org ---

[Bug ipa/79761] [CHKP] ICE in chkp_find_bounds_1, at tree-chkp.c:3452

2017-03-02 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79761 Martin Liška changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |marxin at gcc dot gnu.org ---

[Bug target/79807] [5/6/7 Regression] ICE in extract_insn, at recog.c:2311 (error: unrecognizable insn)

2017-03-02 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79807 --- Comment #2 from Jakub Jelinek --- Created attachment 40875 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40875=edit gcc7-pr79807.patch Here is the untested patch.

[Bug c++/79819] New: collect2 undefined reference when -O0. Regression (or bugfix?) since gcc5

2017-03-02 Thread nheart at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79819 Bug ID: 79819 Summary: collect2 undefined reference when -O0. Regression (or bugfix?) since gcc5 Product: gcc Version: 6.3.1 Status: UNCONFIRMED Severity:

[Bug target/79807] [5/6/7 Regression] ICE in extract_insn, at recog.c:2311 (error: unrecognizable insn)

2017-03-02 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79807 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug ipa/79763] [CHKP] ICE in chkp_find_bounds: Unexpected tree code real_cst in tree-chkp.c:3681

2017-03-02 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79763 Martin Liška changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |marxin at gcc dot gnu.org ---

[Bug c/79770] [CHKP] ICE in chkp_find_bounds_1 (chkp_find_bounds: Unexpected tree code vector_cst)

2017-03-02 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79770 Martin Liška changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |marxin at gcc dot gnu.org ---

[Bug ipa/79769] [CHKP] ICE in chkp_find_bounds_1 (Unexpected tree code complex_cst)

2017-03-02 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79769 Martin Liška changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |marxin at gcc dot gnu.org ---

[Bug c++/66297] [C++14] [DR 1684] constexpr non-static member functions of non-literal types

2017-03-02 Thread freddie_chopin at op dot pl
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66297 Freddie Chopin changed: What|Removed |Added CC||freddie_chopin at op dot pl ---

[Bug ipa/79764] [7 Regression][CHKP] ICE in chkp_make_addressed_object_bounds: Unexpected tree code bit_field_ref in tree-chkp.c:3528

2017-03-02 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79764 --- Comment #6 from Martin Liška --- Ok, I've got hopefully patch for that. I'm planning to test it on a hardware tomorrow.

[Bug rtl-optimization/79780] [7 Regression] ICE in rtl_verify_bb_insns, at cfgrtl.c:2661 (error: flow control insn inside a basic block)

2017-03-02 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79780 --- Comment #4 from Jakub Jelinek --- Author: jakub Date: Thu Mar 2 16:02:37 2017 New Revision: 245843 URL: https://gcc.gnu.org/viewcvs?rev=245843=gcc=rev Log: PR rtl-optimization/79780 * cprop.c (one_cprop_pass): When second

[Bug c++/79791] -Werror=write-strings ignored with -Wpedantic

2017-03-02 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79791 Marek Polacek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug middle-end/79805] [7 Regression] ICE (verify_flow_info failed) with -fnon-call-exceptions -O

2017-03-02 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79805 --- Comment #2 from Jakub Jelinek --- Created attachment 40873 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40873=edit gcc7-pr79805.patch Untested fix.

[Bug lto/69866] lto1: internal compiler error: in add_symbol_to_partition_1, at lto/lto-partition.c:158

2017-03-02 Thread thopre01 at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69866 --- Comment #10 from Thomas Preud'homme --- Patch has been submitted for review: https://gcc.gnu.org/ml/gcc-patches/2017-03/msg00110.html

[Bug libfortran/78379] Processor-specific versions for matmul

2017-03-02 Thread dje at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78379 David Edelsohn changed: What|Removed |Added CC||dje at gcc dot gnu.org --- Comment #26

[Bug c++/79791] -Werror=write-strings ignored with -Wpedantic

2017-03-02 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79791 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug bootstrap/79814] pass-instances.def:36:14: error: ‘*.gcc::pass_manager::pass_warn_unused_result_1’ is used uninitialized in this function

2017-03-02 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79814 --- Comment #1 from Richard Biener --- Created attachment 40872 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40872=edit incremental warning patch Incremental patch ontop of r245840 to trigger the issue.

[Bug tree-optimization/79345] [6 Regression] passing yet-uninitialized member as argument to base class constructor should warn (-Wunitialized)

2017-03-02 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79345 Richard Biener changed: What|Removed |Added Status|ASSIGNED|NEW Known to work|

[Bug tree-optimization/79345] [6/7 Regression] passing yet-uninitialized member as argument to base class constructor should warn (-Wunitialized)

2017-03-02 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79345 --- Comment #16 from Richard Biener --- Author: rguenth Date: Thu Mar 2 13:42:05 2017 New Revision: 245840 URL: https://gcc.gnu.org/viewcvs?rev=245840=gcc=rev Log: 2017-03-02 Richard Biener PR

[Bug c++/42000] missing -Wuninitialized warning on a user-defined class ctor

2017-03-02 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=42000 --- Comment #5 from Richard Biener --- Author: rguenth Date: Thu Mar 2 13:42:05 2017 New Revision: 245840 URL: https://gcc.gnu.org/viewcvs?rev=245840=gcc=rev Log: 2017-03-02 Richard Biener PR

[Bug middle-end/79818] [7 Regression] wrong code with -fwrapv and -Os/-O1/-O2/-O3

2017-03-02 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79818 --- Comment #5 from Marc Glisse --- (In reply to Richard Biener from comment #2) > - (if (TREE_OVERFLOW (res)) > + (if (TREE_OVERFLOW (res) > + && TYPE_OVERFLOW_UNDEFINED (TREE_TYPE (@0))) I don't remember why I wrote it that

[Bug libstdc++/78747] Duplicate _S_empty_rep_storage causes crash when STV_HIDDEN

2017-03-02 Thread jengelh at inai dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78747 --- Comment #3 from Jan Engelhardt --- The workaround is global { extern "C++" { *::_Rep::_S_empty_rep_storage; }} but of course that was not the question embedded in this "bug" report.

[Bug middle-end/19430] taking address of a var causes missing uninitialized warning

2017-03-02 Thread vincent-gcc at vinc17 dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=19430 --- Comment #31 from Vincent Lefèvre --- There's something I don't understand: Whether -Wuninitialized or -Wmaybe-uninitialized is used, I don't see any difference in the behavior of GCC between [...] if (bar (i)) { baz (); } [...] and

[Bug middle-end/79818] [7 Regression] wrong code with -fwrapv and -Os/-O1/-O2/-O3

2017-03-02 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79818 --- Comment #4 from Marc Glisse --- (In reply to Marc Glisse from comment #3) > We have ++c on signed char, which gcc turns into c=c+1, still on signed > char, where overflow is undefined behavior. The problem is long before the > transformation

[Bug middle-end/79818] [7 Regression] wrong code with -fwrapv and -Os/-O1/-O2/-O3

2017-03-02 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79818 --- Comment #3 from Marc Glisse --- We have ++c on signed char, which gcc turns into c=c+1, still on signed char, where overflow is undefined behavior. The problem is long before the transformation of the comparison. If ++c means c=(signed

[Bug middle-end/79818] [7 Regression] wrong code with -fwrapv and -Os/-O1/-O2/-O3

2017-03-02 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79818 Richard Biener changed: What|Removed |Added Priority|P3 |P1 Status|NEW

[Bug c/79818] [7 Regression] wrong code with -fwrapv and -Os/-O1/-O2/-O3

2017-03-02 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79818 Martin Liška changed: What|Removed |Added Keywords||wrong-code

[Bug c/79818] New: [7 Regression] wrong code with -fwrapv and -Os/-O1/-O2/-O3

2017-03-02 Thread mednafen at sent dot com
gcc --version gcc (GCC) 7.0.1 20170302 (experimental) $ /usr/local/gcc-0f7b961/bin/gcc -fwrapv -O1 -o test test.c ; ./test Aborted $ /usr/local/gcc-0f7b961/bin/gcc -fwrapv -O2 -o test test.c ; ./test Aborted

[Bug libstdc++/78747] Duplicate _S_empty_rep_storage causes crash when STV_HIDDEN

2017-03-02 Thread priyanka.sabharwal at clearswift dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78747 --- Comment #2 from Priyanka Sabharwal --- (In reply to Jan Engelhardt from comment #0) > The following testcase produces a crashing program. > The gist seems to be that main.o and lib1.o each get a copy of the >

[Bug target/71749] Define _REENTRANT on ARC when -pthread is passed

2017-03-02 Thread thomas.petazz...@free-electrons.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71749 --- Comment #3 from Thomas Petazzoni --- Will you submit the patch to gcc mainline yourself?

[Bug target/71749] Define _REENTRANT on ARC when -pthread is passed

2017-03-02 Thread claziss at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71749 --- Comment #2 from Claudiu Zissulescu --- Proposed patch for mainline: diff --git a/gcc/config/arc/arc.h b/gcc/config/arc/arc.h index 5cc9dc1..d270390 100644 --- a/gcc/config/arc/arc.h +++ b/gcc/config/arc/arc.h @@ -62,7 +62,8 @@ along with

[Bug c++/19808] miss a warning about uninitialized member usage in member initializer list in constructor

2017-03-02 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=19808 --- Comment #34 from Manuel López-Ibáñez --- (In reply to Richard Biener from comment #33) > I have a fix for PR2972 and it also correctly handles this case so why is it > "conceptually different"? Because to detect uninitialized member usage

[Bug tree-optimization/42145] bogus "may be used uninitialized" (a || b converted to a|b)

2017-03-02 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=42145 --- Comment #14 from Richard Biener --- (In reply to Manuel López-Ibáñez from comment #13) > (In reply to Richard Biener from comment #12) > > This is already fold-const.c transforming TRUTH_ANDIF into TRUTH_AND. > > I cannot find the

[Bug c++/19808] miss a warning about uninitialized member usage in member initializer list in constructor

2017-03-02 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=19808 --- Comment #33 from Richard Biener --- (In reply to Manuel López-Ibáñez from comment #32) > (In reply to Richard Biener from comment #31) > > This is really a dup of PR2972. > > > > *** This bug has been marked as a duplicate of bug 2972 *** >

[Bug middle-end/79756] [5/6 Regression] ICE in execute_todo, at passes.c:2011

2017-03-02 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79756 --- Comment #8 from Richard Biener --- Author: rguenth Date: Thu Mar 2 11:44:16 2017 New Revision: 245838 URL: https://gcc.gnu.org/viewcvs?rev=245838=gcc=rev Log: 2017-03-02 Richard Biener PR c/79756 *

[Bug middle-end/79756] [5/6 Regression] ICE in execute_todo, at passes.c:2011

2017-03-02 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79756 Richard Biener changed: What|Removed |Added Known to work||7.0.1 Summary|[5/6/7

[Bug tree-optimization/42145] bogus "may be used uninitialized" (a || b converted to a|b)

2017-03-02 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=42145 --- Comment #13 from Manuel López-Ibáñez --- (In reply to Richard Biener from comment #12) > This is already fold-const.c transforming TRUTH_ANDIF into TRUTH_AND. I cannot find the discussion now, but I think it was discussed in one of the many

[Bug middle-end/79805] [7 Regression] ICE (verify_flow_info failed) with -fnon-call-exceptions -O

2017-03-02 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79805 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug c++/34307] when data member name is same as parameter name, possible to omit parameter name in constructor without warning

2017-03-02 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=34307 Bug 34307 depends on bug 19808, which changed state. Bug 19808 Summary: miss a warning about uninitialized member usage in member initializer list in constructor https://gcc.gnu.org/bugzilla/show_bug.cgi?id=19808 What|Removed

[Bug c++/2972] -Wuninitialized could warn about uninitialized member variable usage in constructors

2017-03-02 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=2972 Bug 2972 depends on bug 19808, which changed state. Bug 19808 Summary: miss a warning about uninitialized member usage in member initializer list in constructor https://gcc.gnu.org/bugzilla/show_bug.cgi?id=19808 What|Removed

[Bug middle-end/24639] [meta-bug] bug to track all Wuninitialized issues

2017-03-02 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24639 Bug 24639 depends on bug 19808, which changed state. Bug 19808 Summary: miss a warning about uninitialized member usage in member initializer list in constructor https://gcc.gnu.org/bugzilla/show_bug.cgi?id=19808 What|Removed

[Bug middle-end/79805] [7 Regression] ICE (verify_flow_info failed) with -fnon-call-exceptions -O

2017-03-02 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79805 Richard Biener changed: What|Removed |Added Priority|P3 |P1 Target Milestone|---

[Bug c++/19808] miss a warning about uninitialized member usage in member initializer list in constructor

2017-03-02 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=19808 Manuel López-Ibáñez changed: What|Removed |Added Status|RESOLVED|NEW Resolution|DUPLICATE

[Bug rtl-optimization/79806] [5/6/7 Regression] ICE error: unable to find a register to spill (in assign_by_spills, at lra-assigns.c:1457)

2017-03-02 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79806 Richard Biener changed: What|Removed |Added Priority|P3 |P2 Target Milestone|---

[Bug middle-end/19430] taking address of a var causes missing uninitialized warning

2017-03-02 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=19430 --- Comment #30 from Manuel López-Ibáñez --- (In reply to Richard Biener from comment #29) > What remains seems to be complaining that > > int i; > foo (); > > doesn't warn. And we have another bug that > > int i; > foo (); > ... =

[Bug c++/79774] gcc -fsanitize=address with error

2017-03-02 Thread zhoujun48 at huawei dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79774 --- Comment #5 from xuliqun --- Sorry, my gcc is 4.9(\aarch64\aarch64-linux-android-4.9-kasan), not 4.8.4, Is there any idea,thanku

[Bug rtl-optimization/79812] [7 Regression] ICE in simplify_binary_operation_1, at simplify-rtx.c:3586

2017-03-02 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79812 Richard Biener changed: What|Removed |Added Target||x86_64-*-*, i?86-*-*

[Bug c/79813] Hitting seg fault in cc1

2017-03-02 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79813 Richard Biener changed: What|Removed |Added Target||xtensa-lx106

[Bug target/79514] [5/6/7 Regression] ICE in curr_insn_transform, at lra-constraints.c:3773

2017-03-02 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79514 --- Comment #14 from Jakub Jelinek --- Comment on attachment 40870 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40870 Proposed patch LGTM.

[Bug target/79514] [5/6/7 Regression] ICE in curr_insn_transform, at lra-constraints.c:3773

2017-03-02 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79514 --- Comment #13 from Uroš Bizjak --- Created attachment 40870 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40870=edit Proposed patch Patch that implements *pushxf_rounded pattern.

[Bug middle-end/79809] ICE in alloca_call_type, at gimple-ssa-warn-alloca.c:282

2017-03-02 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79809 Marek Polacek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug target/79514] [5/6/7 Regression] ICE in curr_insn_transform, at lra-constraints.c:3773

2017-03-02 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79514 Uroš Bizjak changed: What|Removed |Added Status|NEW |ASSIGNED Component|middle-end

[Bug tree-optimization/66768] address space gets lost on literal pointer

2017-03-02 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66768 --- Comment #12 from amker at gcc dot gnu.org --- Author: amker Date: Thu Mar 2 11:25:11 2017 New Revision: 245837 URL: https://gcc.gnu.org/viewcvs?rev=245837=gcc=rev Log: PR tree-optimization/66768 * tree-ssa-loop-ivopts.c

[Bug tree-optimization/42145] bogus "may be used uninitialized" (a || b converted to a|b)

2017-03-02 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=42145 Richard Biener changed: What|Removed |Added Keywords||wrong-code --- Comment #12 from

[Bug libfortran/78379] Processor-specific versions for matmul

2017-03-02 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78379 --- Comment #25 from Thomas Koenig --- Author: tkoenig Date: Thu Mar 2 11:04:01 2017 New Revision: 245836 URL: https://gcc.gnu.org/viewcvs?rev=245836=gcc=rev Log: 2017-03-02 Thomas Koenig PR fortran/78379

[Bug libstdc++/79743] std::experimental::optional constructor broken in gcc 6.2

2017-03-02 Thread krisk0.2017.02.27 at protonmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79743 --- Comment #2 from Денис Крыськов --- ok, will provided standalone .cpp next time. Jonathan, thank you.

[Bug middle-end/24639] [meta-bug] bug to track all Wuninitialized issues

2017-03-02 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24639 Bug 24639 depends on bug 42000, which changed state. Bug 42000 Summary: missing -Wuninitialized warning on a user-defined class ctor https://gcc.gnu.org/bugzilla/show_bug.cgi?id=42000 What|Removed |Added

[Bug c++/42000] missing -Wuninitialized warning on a user-defined class ctor

2017-03-02 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=42000 Richard Biener changed: What|Removed |Added Status|NEW |RESOLVED Known to work|

[Bug middle-end/41742] Unnecessary zero-extension at -O2 but not -O1

2017-03-02 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=41742 --- Comment #2 from Segher Boessenkool --- With current trunk the loop code is better (uses stbu), but the unnecessary extend still is there: memset: cmpwi 0,5,0 beqlr 0 rlwinm 4,4,0,0xff mtctr 5 addi

[Bug c++/79817] New: GCC does not recognize [[deprecated]] attribute for namespace

2017-03-02 Thread boostcpp at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79817 Bug ID: 79817 Summary: GCC does not recognize [[deprecated]] attribute for namespace Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal

[Bug middle-end/41953] missing uninitialized warning (SRA,VOP)

2017-03-02 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=41953 Richard Biener changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug c/79816] New: -Wformat-security should warn about missing or excess precision/width in %s specifiers

2017-03-02 Thread felix.von.s at posteo dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79816 Bug ID: 79816 Summary: -Wformat-security should warn about missing or excess precision/width in %s specifiers Product: gcc Version: 6.3.1 Status: UNCONFIRMED

[Bug other/16996] [meta-bug] code size improvements

2017-03-02 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=16996 Bug 16996 depends on bug 40375, which changed state. Bug 40375 Summary: redundant register move with scheduler before RA turned off https://gcc.gnu.org/bugzilla/show_bug.cgi?id=40375 What|Removed |Added

[Bug middle-end/40375] redundant register move with scheduler before RA turned off

2017-03-02 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=40375 Segher Boessenkool changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug c++/79815] New: gcc does not implement C++ standard 7.1.7.4.1 p5 correctly.

2017-03-02 Thread boostcpp at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79815 Bug ID: 79815 Summary: gcc does not implement C++ standard 7.1.7.4.1 p5 correctly. Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal

[Bug bootstrap/79814] New: pass-instances.def:36:14: error: ‘*.gcc::pass_manager::pass_warn_unused_result_1’ is used uninitialized in this function

2017-03-02 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79814 Bug ID: 79814 Summary: pass-instances.def:36:14: error: ‘*.gcc::pass_manager::pass_warn_unused_result _1’ is used uninitialized in this function Product: gcc

[Bug tree-optimization/40635] bogus name and location in 'may be used uninitialized' warning

2017-03-02 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=40635 Richard Biener changed: What|Removed |Added Last reconfirmed|2009-07-06 13:19:06 |2017-3-2 Known to fail|

[Bug c/79809] ICE in alloca_call_type, at gimple-ssa-warn-alloca.c:282

2017-03-02 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79809 --- Comment #8 from Marek Polacek --- I suppose the fix is then to --- a/gcc/gimple-ssa-warn-alloca.c +++ b/gcc/gimple-ssa-warn-alloca.c @@ -78,7 +78,8 @@ pass_walloca::gate (function *fun ATTRIBUTE_UNUSED) if (first_time_p) return

[Bug c/79809] ICE in alloca_call_type, at gimple-ssa-warn-alloca.c:282

2017-03-02 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79809 --- Comment #7 from Martin Liška --- Yep, -1 is used to identify a value not provided via an argument. If we can get rid of these minus ones (there are just couple of them), we can swtich to uint?

[Bug tree-optimization/40073] Vector short/char shifts generate sub-optimal code

2017-03-02 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=40073 Segher Boessenkool changed: What|Removed |Added CC||segher at gcc dot gnu.org ---

  1   2   >