[Bug target/84710] [8 Regression] ICE: RTL check: expected code 'reg', have 'subreg' in rhs_regno, at rtl.h:1896 with -O -fno-forward-propagate

2018-03-06 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84710 Jakub Jelinek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a

[Bug c++/84281] Heap grows indefinitely

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

[Bug target/84719] gcc's __builtin_memcpy performance with certain number of bytes is terrible compared to clang's

2018-03-06 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84719 Richard Biener changed: What|Removed |Added CC||rguenth at gcc dot gnu.org --- Comment

[Bug c/84721] [8 Regression] ICE in c_push_function_context, at c-decl.c:9667

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

[Bug c++/84720] [7/8 Regression] internal compiler error: tree check: expected tree that contains 'decl minimal' structure, have 'error_mark' in decl_anon_ns_mem_p, at cp/tree.c:3472

2018-03-06 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84720 Richard Biener changed: What|Removed |Added Keywords||ice-on-valid-code Priority|P3

[Bug middle-end/84722] [8 Regression] ICE in create_dispatcher_calls, at multiple_target.c:147

2018-03-06 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84722 Richard Biener changed: What|Removed |Added Target||x86_64-*-* i?86-*-* Priority|

[Bug middle-end/84723] [8 Regression] ICE in create_target_clone, at multiple_target.c:275

2018-03-06 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84723 Richard Biener changed: What|Removed |Added Priority|P3 |P1 Component|c

[Bug c++/84724] [7/8 Regression] internal compiler error: in single_succ_edge, at basic-block.h:339 with a declaration of __builtin_trap

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

[Bug c++/84727] [8 regression] Constant class initialization not detected as such

2018-03-06 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84727 Richard Biener changed: What|Removed |Added Keywords||rejects-valid Target Milestone|---

[Bug c++/84727] [8 regression] Constant class initialization not detected as such

2018-03-06 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84727 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug middle-end/84722] [8 Regression] ICE in create_dispatcher_calls, at multiple_target.c:147

2018-03-06 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84722 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug c++/84729] internal compiler error: verify_gimple failed

2018-03-06 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84729 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug target/84719] gcc's __builtin_memcpy performance with certain number of bytes is terrible compared to clang's

2018-03-06 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84719 --- Comment #10 from Marc Glisse --- (In reply to Richard Biener from comment #9) > So with 2 bytes we get Try 3 bytes (the worst case). > Are you sure performance isn't dominated by the > first init loop (both GCC and clang vectorize it). Rep

[Bug c++/84729] [6/7/8 Regression] internal compiler error: verify_gimple failed

2018-03-06 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84729 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org Target Mil

[Bug c++/84729] internal compiler error: verify_gimple failed

2018-03-06 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84729 --- Comment #2 from Marek Polacek --- Probably started with r175674.

[Bug c++/84720] [7/8 Regression] internal compiler error: tree check: expected tree that contains 'decl minimal' structure, have 'error_mark' in decl_anon_ns_mem_p, at cp/tree.c:3472

2018-03-06 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84720 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/84728] internal compiler error: Segmentation fault (is_gimple_variable())

2018-03-06 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84728 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug tree-optimization/83325] Compile time hog w/ -Os -fwrapv

2018-03-06 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83325 Richard Biener changed: What|Removed |Added Target|powerpc-linux |x86_64-*-* Last reconfirmed|2017-12-0

[Bug inline-asm/84683] [6/7/8 Regression] internal compiler error: in move_for_stack_reg, at reg-stack.c:1173

2018-03-06 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84683 --- Comment #3 from Jakub Jelinek --- Author: jakub Date: Tue Mar 6 09:23:36 2018 New Revision: 258273 URL: https://gcc.gnu.org/viewcvs?rev=258273&root=gcc&view=rev Log: PR inline-asm/84683 * reg-stack.c (move_for_stack_reg): If

[Bug target/84710] [8 Regression] ICE: RTL check: expected code 'reg', have 'subreg' in rhs_regno, at rtl.h:1896 with -O -fno-forward-propagate

2018-03-06 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84710 --- Comment #3 from Segher Boessenkool --- Well, yuck, I missed that part of rtl.texi (or somehow I thought this RTL would be refused earlier). Please use reg_or_subregno in the patch though?

[Bug target/84710] [8 Regression] ICE: RTL check: expected code 'reg', have 'subreg' in rhs_regno, at rtl.h:1896 with -O -fno-forward-propagate

2018-03-06 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84710 --- Comment #4 from Segher Boessenkool --- The testcase does not crash for me; does it need more non-default options? The testcase has UB of course (d is undefined).

[Bug target/84710] [8 Regression] ICE: RTL check: expected code 'reg', have 'subreg' in rhs_regno, at rtl.h:1896 with -O -fno-forward-propagate

2018-03-06 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84710 --- Comment #5 from Jakub Jelinek --- (In reply to Segher Boessenkool from comment #4) > The testcase does not crash for me; does it need more non-default options? > > The testcase has UB of course (d is undefined). The compiler needs to be con

[Bug c/84607] [6/7 Regression] Side effects discarded in address computation inside 'if'

2018-03-06 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84607 --- Comment #5 from Richard Biener --- Author: rguenth Date: Tue Mar 6 10:01:52 2018 New Revision: 258274 URL: https://gcc.gnu.org/viewcvs?rev=258274&root=gcc&view=rev Log: 2018-03-06 Richard Biener Backport from mainline 20

[Bug tree-optimization/84486] [7 Regression] code hoisting removes alignment assumption

2018-03-06 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84486 --- Comment #6 from Richard Biener --- Author: rguenth Date: Tue Mar 6 10:01:52 2018 New Revision: 258274 URL: https://gcc.gnu.org/viewcvs?rev=258274&root=gcc&view=rev Log: 2018-03-06 Richard Biener Backport from mainline 20

[Bug c/84721] [8 Regression] ICE in c_push_function_context, at c-decl.c:9667

2018-03-06 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84721 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #2

[Bug target/84710] [8 Regression] ICE: RTL check: expected code 'reg', have 'subreg' in rhs_regno, at rtl.h:1896 with -O -fno-forward-propagate

2018-03-06 Thread zsojka at seznam dot cz
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84710 --- Comment #6 from Zdenek Sojka --- (In reply to Segher Boessenkool from comment #4) > The testcase has UB of course (d is undefined). The original testcase had defined behavior. The uninitialized use is the result of delta/creduce reduction. T

[Bug target/84710] [8 Regression] ICE: RTL check: expected code 'reg', have 'subreg' in rhs_regno, at rtl.h:1896 with -O -fno-forward-propagate

2018-03-06 Thread zsojka at seznam dot cz
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84710 --- Comment #7 from Zdenek Sojka --- Created attachment 43573 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43573&action=edit original testcase Unreduced testcase; needs additional -fkeep-inline-functions: $ aarch64-unknown-linux-gnu-gcc

[Bug c/84721] [8 Regression] ICE in c_push_function_context, at c-decl.c:9667

2018-03-06 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84721 Jakub Jelinek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a

[Bug tree-optimization/84486] [7 Regression] code hoisting removes alignment assumption

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

[Bug target/84710] [8 Regression] ICE: RTL check: expected code 'reg', have 'subreg' in rhs_regno, at rtl.h:1896 with -O -fno-forward-propagate

2018-03-06 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84710 --- Comment #8 from Segher Boessenkool --- Ah right, I had checking disabled. Need more coffee I guess. The insns I see are different: Trying 19, 20 -> 21: 19: r106:SI#0=0 20: r108:SI=zero_extend(r106:SI#0) 21: r109:SI=r108:SI 0>>0x8

[Bug target/84710] [8 Regression] ICE: RTL check: expected code 'reg', have 'subreg' in rhs_regno, at rtl.h:1896 with -O -fno-forward-propagate

2018-03-06 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84710 --- Comment #9 from Jakub Jelinek --- (In reply to Segher Boessenkool from comment #8) > Ah right, I had checking disabled. Need more coffee I guess. You don't really need to build the checking compiler for this though, it is enough to put a br

[Bug middle-end/84723] [8 Regression] ICE in create_target_clone, at multiple_target.c:275

2018-03-06 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84723 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #2

[Bug tree-optimization/83325] Compile time hog w/ -Os -fwrapv

2018-03-06 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83325 --- Comment #4 from Richard Biener --- Got distracted by analysis... we don't do anything "wrong" but hit the latent issue that we're allowing x_1 -> y_3 lattice transitions. Those are unfortunately required by the redundant IV removal testcases

[Bug c++/84730] New: internal compiler error: Segmentation fault (build_class_member_access_expr)

2018-03-06 Thread vegard.nossum at gmail dot com
fier_1 /home/vegard/git/gcc/gcc/cp/parser.c:22715 0xf231cb cp_parser_class_specifier /home/vegard/git/gcc/gcc/cp/parser.c:22768 $ xgcc --version xgcc (GCC) 8.0.1 20180306 (experimental) Built from git 11a93d7a09b871b3b9a2eb108eb91ad83d94e070 (r258271). 7.3.0 gives: :5:9: error: r

[Bug c++/84730] internal compiler error: Segmentation fault (build_class_member_access_expr)

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

[Bug inline-asm/71572] ICE with VLA and "+g" inline-asm in force_constant_size, at gimplify.c:671

2018-03-06 Thread vegard.nossum at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71572 Vegard Nossum changed: What|Removed |Added CC||vegard.nossum at gmail dot com --- Comme

[Bug driver/84731] New: -Bsymbolic switch ignored

2018-03-06 Thread stsp at users dot sourceforge.net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84731 Bug ID: 84731 Summary: -Bsymbolic switch ignored Product: gcc Version: 7.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: driver Assign

[Bug middle-end/84723] [8 Regression] ICE in create_target_clone, at multiple_target.c:275

2018-03-06 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84723 Jakub Jelinek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a

[Bug driver/84731] -Bsymbolic switch ignored

2018-03-06 Thread sch...@linux-m68k.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84731 Andreas Schwab changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug inline-asm/84683] [6/7 Regression] internal compiler error: in move_for_stack_reg, at reg-stack.c:1173

2018-03-06 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84683 Jakub Jelinek changed: What|Removed |Added Summary|[6/7/8 Regression] internal |[6/7 Regression] internal

[Bug c++/71832] [7/8 Regression] ICE on invalid C++11 code with incorrect decltype use for non-type template parameter: Segmentation fault

2018-03-06 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71832 --- Comment #7 from Paolo Carlini --- Skipping completely the body works for this testcase, isn't that difficult to do, but goes too far, the template completely disappears and we end up with bad error recovery for anything referring to it afterw

[Bug target/84719] gcc's __builtin_memcpy performance with certain number of bytes is terrible compared to clang's

2018-03-06 Thread gpnuma at centaurean dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84719 --- Comment #11 from gpnuma at centaurean dot com --- Yes it's not the init loop the problem. Just to make sure, with the following code : #include #include #include #include #include #include #include int main(int argc, char *argv[]) {

[Bug target/84521] [8 Regression] aarch64: Frame-pointer corruption with __builtin_setjmp/__builtin_longjmp and -fomit-frame-pointer

2018-03-06 Thread sudi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84521 sudi at gcc dot gnu.org changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug c++/84724] [7/8 Regression] internal compiler error: in single_succ_edge, at basic-block.h:339 with a declaration of __builtin_trap

2018-03-06 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84724 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org,

[Bug sanitizer/84732] New: false-positive -Wstringop-truncation warning with -fsanitize-coverage=trace-pc

2018-03-06 Thread arnd at linaro dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84732 Bug ID: 84732 Summary: false-positive -Wstringop-truncation warning with -fsanitize-coverage=trace-pc Product: gcc Version: 8.0.1 Status: UNCONFIRMED Severity:

[Bug sanitizer/84732] false-positive -Wstringop-truncation warning with -fsanitize-coverage=trace-pc

2018-03-06 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84732 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug c++/84720] [7/8 Regression] internal compiler error: tree check: expected tree that contains 'decl minimal' structure, have 'error_mark' in decl_anon_ns_mem_p, at cp/tree.c:3472

2018-03-06 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84720 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #2

[Bug c++/71832] [7/8 Regression] ICE on invalid C++11 code with incorrect decltype use for non-type template parameter: Segmentation fault

2018-03-06 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71832 --- Comment #8 from Paolo Carlini --- Another idea - which appears to work great! - is skipping the bodies of the member function definitions. If everything goes well I'll send soon a draft patch.

[Bug rtl-optimization/84659] [8 Regression] ICE: Segmentation fault (stack overflow in bb_note) w/ selective scheduling

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

[Bug rtl-optimization/84659] [6/7/8 Regression] ICE: Segmentation fault (stack overflow in bb_note) w/ selective scheduling

2018-03-06 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84659 Jakub Jelinek changed: What|Removed |Added Priority|P3 |P2 Summary|[8 Regression] ICE

[Bug tree-optimization/84114] global reassociation pass prevents fma usage, generates slower code

2018-03-06 Thread wilco at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84114 --- Comment #8 from Wilco --- (In reply to Steve Ellcey from comment #6) > (In reply to Wilco from comment #5) > > (In reply to Steve Ellcey from comment #4) > > > While teaching the reassociation pass about fma's seems like the right > > > answe

[Bug c++/53281] poor error message for calling a non-const method from a const object

2018-03-06 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53281 --- Comment #3 from Jonathan Wakely --- Current trunk gives: cv.cc: In member function ‘void Foo::bar2(const Foo&)’: cv.cc:4:26: error: passing ‘const Foo’ as ‘this’ argument discards qualifiers [-fpermissive] foo.bar1();

[Bug c++/84733] New: internal compiler error: Segmentation fault (check_local_shadow())

2018-03-06 Thread vegard.nossum at gmail dot com
/parser.c:21778 0xf9283b cp_parser_ctor_initializer_opt_and_function_body /home/vegard/git/gcc/gcc/cp/parser.c:21813 $ xgcc --version xgcc (GCC) 8.0.1 20180306 (experimental) Built from git 11a93d7a09b871b3b9a2eb108eb91ad83d94e070 (r258271). 5.5.0 says: : In function 'void f()': :12

[Bug tree-optimization/68523] CFG Expansion Computes Incorrect Block Frequencies for Nested Loops

2018-03-06 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68523 Segher Boessenkool changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/53281] poor error message for calling a non-const method from a const object

2018-03-06 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53281 --- Comment #4 from Jonathan Wakely --- FWIW Clang says: cv.cc:4:17: error: member function 'bar1' not viable: 'this' argument has type 'const Foo', but function is not marked const foo.bar1(); ^~~ cv.cc:2:14: not

[Bug fortran/84734] New: [8 Regression] Compiling gfortran.dg/size_kind_(2|3).f90 with -fdefault-integer-8 gives an ICE

2018-03-06 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84734 Bug ID: 84734 Summary: [8 Regression] Compiling gfortran.dg/size_kind_(2|3).f90 with -fdefault-integer-8 gives an ICE Product: gcc Version: 8.0.1 Stat

[Bug fortran/84734] [8 Regression] Compiling gfortran.dg/size_kind_(2|3).f90 with -fdefault-integer-8 gives an ICE

2018-03-06 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84734 Dominique d'Humieres changed: What|Removed |Added Priority|P3 |P4 Status|UNCONFIRMED

[Bug fortran/84734] [8 Regression] Compiling gfortran.dg/size_kind_(2|3).f90 with -fdefault-integer-8 gives an ICE

2018-03-06 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84734 --- Comment #1 from Dominique d'Humieres --- The following variant integer(4) :: B(huge(1_4)+3_8,2_8) integer(8) :: var1(2), var2, var3 print *, kind(B), size(B) var1 = shape(B) ! { dg-error "SHAPE overflows its kind" } print *, var1 var2 = siz

[Bug c++/53281] poor error message for calling a non-const method from a const object

2018-03-06 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53281 --- Comment #5 from Jonathan Wakely --- A further improvement might be to stop talking about "passing '...' as 'this' argument" since that's a leaky abstraction: although member functions are implemented with a hidden 'this' parameter, that's not

[Bug gcov-profile/84735] New: [8 Regression] Describe recent gcov data file format changes in gcov-io.h

2018-03-06 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84735 Bug ID: 84735 Summary: [8 Regression] Describe recent gcov data file format changes in gcov-io.h Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal

[Bug sanitizer/84732] false-positive -Wstringop-truncation warning with -fsanitize-coverage=trace-pc

2018-03-06 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84732 --- Comment #2 from Martin Liška --- Reduced test-case: $ cat ~/Programming/testcases/ice.i char *arg; struct buffer{ char a[16]; }; struct buffer a, b; void e(void) { if (__builtin_strlen(arg) > 1) __builtin_strncpy(a.a, arg, sizeof(

[Bug gcov-profile/84735] [8 Regression] Describe recent gcov data file format changes in gcov-io.h

2018-03-06 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84735 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug c++/79937] [6/7/8 Regression] ICE in replace_placeholders_r

2018-03-06 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79937 --- Comment #12 from Jakub Jelinek --- Created attachment 43577 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43577&action=edit gcc8-pr79937.patch My #c8 patch doesn't work at all, but this one at least fixes the two testcases (but indeed

[Bug tree-optimization/28364] poor optimization choices when iterating over a std::string (probably not c++-specific)

2018-03-06 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=28364 amker at gcc dot gnu.org changed: What|Removed |Added CC||amker at gcc dot gnu.org --- C

[Bug c++/79937] [6/7/8 Regression] ICE in replace_placeholders_r

2018-03-06 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79937 --- Comment #13 from Jakub Jelinek --- That said, I've tried: --- gcc/cp/semantics.c.jj 2018-03-06 08:01:37.851883447 +0100 +++ gcc/cp/semantics.c 2018-03-06 15:19:27.685013764 +0100 @@ -2814,6 +2814,11 @@ finish_compound_literal (tree typ

[Bug debug/63572] [6/7/8 Regression] ICF breaks user debugging experience

2018-03-06 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63572 Richard Biener changed: What|Removed |Added Target Milestone|--- |6.5

[Bug c++/79937] [6/7/8 Regression] ICE in replace_placeholders_r

2018-03-06 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79937 --- Comment #14 from Jakub Jelinek --- The CONSTRUCTORS in TARGET_EXPR in the pr79937-{1,2,3}.C testcases have all CONSTRUCTOR_IS_DIRECT_INIT and TREE_HAS_CONSTRUCTOR set, while nsdmi13.C doesn't. Does any of those matter? In the nsdmi13.C case,

[Bug c++/80598] [7/8 regression] -Wunused triggers for functions used in uninstantiated templates

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

[Bug c++/81764] [6/7/8 Regression] Visibility attributes for explicitly instantiated template class get warned if it has been implicitly instantiated

2018-03-06 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81764 Richard Biener changed: What|Removed |Added Target Milestone|--- |6.5

[Bug c++/83268] [7 Regression] internal compiler error: in lambda_expr_this_capture, at cp/lambda.c:785

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

[Bug c++/83911] [6/7/8 Regression] ICE with target attribute on constructor in gimplify_expr at gimplify.c:11321

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

[Bug middle-end/84034] [6/7 Regression] incomplete warning message with dos line endings

2018-03-06 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84034 Richard Biener changed: What|Removed |Added Priority|P3 |P2 Known to work|

[Bug tree-optimization/84178] [7/8 Regression] ICE in release_bb_predicate

2018-03-06 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84178 Richard Biener changed: What|Removed |Added Priority|P3 |P2 CC|

[Bug target/84280] [6/7/8 Regression] Performance regression in g++-7 with Eigen for non-AVX2 CPUs

2018-03-06 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84280 Richard Biener changed: What|Removed |Added Target Milestone|--- |6.5

[Bug fortran/84394] [7/8 Regression] compiler error when using modules with derived types in block data subprograms

2018-03-06 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84394 Richard Biener changed: What|Removed |Added Target Milestone|--- |7.4

[Bug c++/84611] [6/7/8 Regression] ICE in operator[], at vec.h:826 (local_class_index())

2018-03-06 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84611 Richard Biener changed: What|Removed |Added Priority|P3 |P4 Target Milestone|---

[Bug c++/84588] [8 Regression] internal compiler error: Segmentation fault (contains_struct_check())

2018-03-06 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84588 Richard Biener changed: What|Removed |Added Priority|P3 |P4 Target Milestone|---

[Bug c++/84221] [6/7/8 Regression] spurious -Wunused warning on a variable of a template type declared unused

2018-03-06 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84221 Richard Biener changed: What|Removed |Added Priority|P3 |P2

[Bug c++/84222] [6/7/8 Regression] [[deprecated]] class complains about internal class usage

2018-03-06 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84222 Richard Biener changed: What|Removed |Added Priority|P3 |P2

[Bug lto/84241] [8 regression] test case g++.dg/torture/pr67600.C fails starting with r257412

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

[Bug target/84719] gcc's __builtin_memcpy performance with certain number of bytes is terrible compared to clang's

2018-03-06 Thread manuel.lauss at googlemail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84719 Manuel Lauss changed: What|Removed |Added CC||manuel.lauss at googlemail dot com --- C

[Bug target/84251] [8 Regression] Performance regression in gcc 8 when comparing floating point numbers

2018-03-06 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84251 Richard Biener changed: What|Removed |Added Priority|P3 |P2 --- Comment #6 from Richard Biener

[Bug target/84301] [6/7/8 Regression] ICE in create_pre_exit, at mode-switching.c:451

2018-03-06 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84301 Richard Biener changed: What|Removed |Added Priority|P3 |P2

[Bug rtl-optimization/84345] [8 Regression] ICE: qsort checking failed (error: qsort comparator non-negative on sorted output: 1)

2018-03-06 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84345 Richard Biener changed: What|Removed |Added Priority|P3 |P2

[Bug testsuite/84456] [8 regression] gcc.dg/guality/pr49888.c fail

2018-03-06 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84456 Richard Biener changed: What|Removed |Added Component|debug |testsuite --- Comment #3 from Richard B

[Bug tree-optimization/84468] [8 Regression] bogus -Wstringop-truncation despite assignment after conditional strncpy

2018-03-06 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84468 Richard Biener changed: What|Removed |Added Priority|P3 |P1 --- Comment #16 from Richard Biener

[Bug debug/84550] [8 Regression] stepping through gcc does not work with gdb 8.0.1

2018-03-06 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84550 Richard Biener changed: What|Removed |Added Priority|P3 |P1 --- Comment #8 from Richard Biener

[Bug tree-optimization/84552] [8 Regression] Compile time hog w/ -O2 -floop-nest-optimize -fno-tree-copy-prop -fno-tree-fre -fno-tree-loop-ivcanon

2018-03-06 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84552 Richard Biener changed: What|Removed |Added Priority|P3 |P4

[Bug target/84565] [8 Regression] ICE in extract_insn, at recog.c:2304 on aarch64

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

[Bug c++/84610] [6/7/8 Regression] ICE in synthesize_implicit_template_parm, at cp/parser.c:38843

2018-03-06 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84610 Richard Biener changed: What|Removed |Added Priority|P3 |P2

[Bug tree-optimization/84650] [8 Regression] [graphite] ICE: Segmentation fault (in create_new_iv)

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

[Bug c++/84729] [6/7/8 Regression] internal compiler error: verify_gimple failed

2018-03-06 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84729 Richard Biener changed: What|Removed |Added Priority|P3 |P2

[Bug tree-optimization/80511] [8 Regression] gcc.dg/Wstrict-overflow-18.c gcc.dg/Wstrict-overflow-7.c gcc.dg/pragma-diag-3.c

2018-03-06 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80511 Richard Biener changed: What|Removed |Added Priority|P3 |P4

[Bug c++/79937] [6/7/8 Regression] ICE in replace_placeholders_r

2018-03-06 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79937 --- Comment #15 from Jakub Jelinek --- Created attachment 43578 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43578&action=edit gcc8-pr79937.patch Actually, seems TREE_HAS_CONSTRUCTOR is set on a CONSTRUCTOR only by finish_compound_litera

[Bug rtl-optimization/80791] [8 regression] test case gcc.dg/sms-1.c fail2 starting with r247885

2018-03-06 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80791 Richard Biener changed: What|Removed |Added Priority|P3 |P2

[Bug target/81572] [7 Regression] gcc-7 regression: unnecessary vector regmove on compare

2018-03-06 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81572 --- Comment #7 from Peter Bergner --- Author: bergner Date: Tue Mar 6 15:54:30 2018 New Revision: 258280 URL: https://gcc.gnu.org/viewcvs?rev=258280&root=gcc&view=rev Log: gcc/ Backport from mainline 2018-02-22 Vladimir Makarov

[Bug c++/81764] [6/7/8 Regression] Visibility attributes for explicitly instantiated template class get warned if it has been implicitly instantiated

2018-03-06 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81764 Richard Biener changed: What|Removed |Added Priority|P3 |P2

[Bug target/81572] [7 Regression] gcc-7 regression: unnecessary vector regmove on compare

2018-03-06 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81572 Peter Bergner changed: What|Removed |Added Status|RESOLVED|CLOSED URL|

[Bug debug/84550] [8 Regression] stepping through gcc does not work with gdb 8.0.1

2018-03-06 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84550 --- Comment #9 from Jakub Jelinek --- My limited understanding is this is a GDB bug and that it basically never worked properly with -freorder-blocks-and-partition. So not really sure how we could work around it in GCC. Pedro, do you agree?

[Bug c++/84736] New: When compiling with -g -O2 internal compiler error: in force_type_die, at dwarf2out.c:25111

2018-03-06 Thread kuba.skowron at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84736 Bug ID: 84736 Summary: When compiling with -g -O2 internal compiler error: in force_type_die, at dwarf2out.c:25111 Product: gcc Version: 7.2.0 Status: UNCONFIRMED

  1   2   >