[Bug c++/83662] std::aligned_alloc() not available

2018-01-03 Thread nico at josuttis dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83662 --- Comment #1 from Nicolai Josuttis --- Jonathan commented: > Ah yes, we already have autoconf macros to detect the presence of > ::aligned_alloc() so adding the using-directive to namespace std should > be easy.

[Bug libstdc++/83662] std::aligned_alloc() not available

2018-01-03 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83662 --- Comment #2 from Andrew Pinski --- Just to make sure what options are you using to compile the program?

[Bug libstdc++/83662] std::aligned_alloc() not available

2018-01-03 Thread nico at josuttis dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83662 --- Comment #3 from Nicolai Josuttis --- See for example here: https://wandbox.org/permlink/aOV13KmAUMKzSmxz

[Bug tree-optimization/81611] [8 Regression] gcc un-learned loop / post-increment optimization

2018-01-03 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81611 --- Comment #14 from Jeffrey A. Law --- MEM_REF (as opposed to TARGET_MEM_REF) should be able to handle any simple SSA_NAME + CONSTANT_OFFSET which are all we're really concerned with here. THe target's addressing modes don't really enter the pi

[Bug c++/83659] [7/8 Regression] ICE on compilable C++ code: in tree_to_shwi, at tree.c:6821

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

[Bug c++/83659] [7/8 Regression] ICE on compilable C++ code: in tree_to_shwi, at tree.c:6821

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

[Bug c++/83659] [7/8 Regression] ICE on compilable C++ code: in tree_to_shwi, at tree.c:6821

2018-01-03 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83659 --- Comment #2 from Marek Polacek --- Looks like using unsigned HOST_WIDE_INT offset in /* ((foo*)&vectorfoo)[1] => BIT_FIELD_REF */ in cxx_fold_indirect_ref would help.

[Bug target/83387] PowerPC64: Infinite loops in do_reload() with -msoft-float

2018-01-03 Thread sebastian.hu...@embedded-brains.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83387 --- Comment #15 from Sebastian Huber --- (In reply to Sebastian Huber from comment #14) > (In reply to Peter Bergner from comment #13) > > (In reply to Sebastian Huber from comment #12) > > > (In reply to Peter Bergner from comment #9) > > > [...

[Bug gcov-profile/47618] Collecting multiple profiles and using all for PGO

2018-01-03 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47618 --- Comment #20 from Martin Liška --- (In reply to Petr Špaček from comment #19) > Sure, I would be happy with any version, thank you! > > For people who want to generate code coverage reports for parallel > executions, beware of https://github.

[Bug ipa/83594] [8 Regression] ICE: in function_and_variable_visibility, at ipa-visibility.c:640 with __attribute__((noipa))

2018-01-03 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83594 --- Comment #2 from Martin Liška --- Author: marxin Date: Wed Jan 3 09:24:40 2018 New Revision: 256167 URL: https://gcc.gnu.org/viewcvs?rev=256167&root=gcc&view=rev Log: Handle noipa attribute in IPA visibility (PR ipa/83594). 2018-01-03 Mart

[Bug target/83663] New: [8 regression] aarch64_be regressions after r255946

2018-01-03 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83663 Bug ID: 83663 Summary: [8 regression] aarch64_be regressions after r255946 Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug bootstrap/81926] [7 regression] go/parse.o differs between stage2 and stage3

2018-01-03 Thread ro at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81926 --- Comment #37 from Rainer Orth --- Created attachment 43011 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43011&action=edit alternative patch for comparison failure with /bin/as

[Bug c++/83639] Vector element address problem after push_back

2018-01-03 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83639 --- Comment #2 from Jonathan Wakely --- See http://en.cppreference.com/w/cpp/container/vector#Iterator_invalidation and http://en.cppreference.com/w/cpp/container/vector/push_back You also need to read https://stackoverflow.com/questions/228783

[Bug bootstrap/81926] [7 regression] go/parse.o differs between stage2 and stage3

2018-01-03 Thread ro at CeBiTec dot Uni-Bielefeld.DE
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81926 --- Comment #38 from ro at CeBiTec dot Uni-Bielefeld.DE --- > --- Comment #15 from Richard Biener --- > Note that dwarf2out.c causes the section to be emitted via > > static void > dwarf2out_assembly_start (void) > { > #ifndef DWARF2_LINENO_DEBU

[Bug target/83663] [8 regression] aarch64_be regressions after r255946

2018-01-03 Thread jgreenhalgh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83663 James Greenhalgh changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug ipa/83594] [8 Regression] ICE: in function_and_variable_visibility, at ipa-visibility.c:640 with __attribute__((noipa))

2018-01-03 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83594 Martin Liška changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/83387] PowerPC64: Infinite loops in do_reload() with -msoft-float

2018-01-03 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83387 --- Comment #16 from Segher Boessenkool --- > > > --- gcc/config/rs6000/rs6000.c(revision 255700) > > > +++ gcc/config/rs6000/rs6000.c(working copy) > > > @@ -11095,7 +11095,8 @@ rs6000_discover_homogeneous_aggregate (m > > > homoge

[Bug fortran/83664] New: Eoshift accepts missing boundary for non-default types

2018-01-03 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83664 Bug ID: 83664 Summary: Eoshift accepts missing boundary for non-default types Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Com

[Bug other/82352] [7/8 Regression] comdat-local function called by void h::i() outside its comdat

2018-01-03 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82352 --- Comment #2 from Martin Liška --- Created attachment 43012 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43012&action=edit Untested patch Can you please the patch for original test-case? Not the reduced one?

[Bug lto/81968] [8 regression] early lto debug objects make Solaris ld SEGV

2018-01-03 Thread ro at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81968 Rainer Orth changed: What|Removed |Added Attachment #42563|0 |1 is obsolete|

[Bug lto/81968] [8 regression] early lto debug objects make Solaris ld SEGV

2018-01-03 Thread ro at CeBiTec dot Uni-Bielefeld.DE
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81968 --- Comment #45 from ro at CeBiTec dot Uni-Bielefeld.DE --- > --- Comment #43 from rguenther at suse dot de --- > On Tue, 2 Jan 2018, ro at CeBiTec dot Uni-Bielefeld.DE wrote: > >> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81968 >> >> --- Co

[Bug middle-end/83665] New: [8 regression] Big code size regression and some code quality improvement at Jan 2 2018

2018-01-03 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83665 Bug ID: 83665 Summary: [8 regression] Big code size regression and some code quality improvement at Jan 2 2018 Product: gcc Version: unknown Status: UNCONFIRMED

[Bug middle-end/83665] [8 regression] Big code size regression and some code quality improvement at Jan 2 2018

2018-01-03 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83665 Markus Trippelsdorf changed: What|Removed |Added CC||trippels at gcc dot gnu.org --- Co

[Bug ipa/83619] [8 Regression] ICE in inliner: caller edge count does not match BB count

2018-01-03 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83619 Jan Hubicka changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug fortran/83664] Eoshift accepts missing boundary for non-default types

2018-01-03 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83664 Thomas Koenig changed: What|Removed |Added Keywords||accepts-invalid Status|UNCON

[Bug fortran/83664] Eoshift accepts missing boundary for non-default types

2018-01-03 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83664 --- Comment #1 from Thomas Koenig --- Author: tkoenig Date: Wed Jan 3 11:31:20 2018 New Revision: 256171 URL: https://gcc.gnu.org/viewcvs?rev=256171&root=gcc&view=rev Log: 2018-01-03 Thomas Koenig PR fortran/83664 * check.c

[Bug fortran/83664] Eoshift accepts missing boundary for non-default types

2018-01-03 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83664 Thomas Koenig changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug middle-end/83665] [8 regression] Big code size regression and some code quality improvement at Jan 2 2018

2018-01-03 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83665 --- Comment #2 from Jan Hubicka --- One potential candidate is the ipa-inline big_speedup_p fix by Richard. It does not seem to explain all the difference though. I have quickly checked that it does affect gzip LTO binary, but less than reported

[Bug libfortran/83649] Large reads fail

2018-01-03 Thread jb at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83649 --- Comment #6 from Janne Blomqvist --- Author: jb Date: Wed Jan 3 11:46:38 2018 New Revision: 256172 URL: https://gcc.gnu.org/viewcvs?rev=256172&root=gcc&view=rev Log: PR libgfortran/83649 Chunk large reads and writes Backport from trunk. It

[Bug rtl-optimization/83666] New: [8 Regression] ICE: SIGFPE with -O2 -g --param=sccvn-max-scc-size=10

2018-01-03 Thread zsojka at seznam dot cz
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83666 Bug ID: 83666 Summary: [8 Regression] ICE: SIGFPE with -O2 -g --param=sccvn-max-scc-size=10 Product: gcc Version: 8.0 Status: UNCONFIRMED Keywords: ice-on-valid

[Bug target/83632] pdt_26.f03:29:0: internal compiler error: in final_scan_insn, at final.c:3063

2018-01-03 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83632 Christophe Lyon changed: What|Removed |Added CC||clyon at gcc dot gnu.org,

[Bug libfortran/83649] Large reads fail

2018-01-03 Thread jb at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83649 --- Comment #7 from Janne Blomqvist --- Author: jb Date: Wed Jan 3 12:08:05 2018 New Revision: 256173 URL: https://gcc.gnu.org/viewcvs?rev=256173&root=gcc&view=rev Log: PR libgfortran/83649 Chunk large reads and writes Backport from trunk. It

[Bug libfortran/83649] Large reads fail

2018-01-03 Thread jb at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83649 Janne Blomqvist changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/83634] [8 Regression] ICE in useless_type_conversion_p, at gimple-expr.c:86

2018-01-03 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83634 --- Comment #5 from Jakub Jelinek --- Author: jakub Date: Wed Jan 3 12:16:13 2018 New Revision: 256174 URL: https://gcc.gnu.org/viewcvs?rev=256174&root=gcc&view=rev Log: PR c++/83634 * cp-gimplify.c (cp_fold) : If the operand fo

[Bug preprocessor/83602] [8 Regression] ICE in cpp_macro_definition_location(cpp_hashnode*) on invalid code

2018-01-03 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83602 --- Comment #4 from Jakub Jelinek --- Author: jakub Date: Wed Jan 3 12:17:05 2018 New Revision: 256175 URL: https://gcc.gnu.org/viewcvs?rev=256175&root=gcc&view=rev Log: PR preprocessor/83602 * name-lookup.c (lookup_name_fuzzy):

[Bug c++/83667] New: ICE in dump_function_decl on a thunk with variadic arguments

2018-01-03 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83667 Bug ID: 83667 Summary: ICE in dump_function_decl on a thunk with variadic arguments Product: gcc Version: unknown Status: UNCONFIRMED Keywords: ice-on-valid-cod

[Bug ipa/83549] [7/8 Regression] error: generic thunk code fails for method ... which uses '...'

2018-01-03 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83549 --- Comment #2 from Martin Liška --- Btw. how did you Jakub get the error?

[Bug c++/83667] ICE in dump_function_decl on a thunk with variadic arguments

2018-01-03 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83667 Nathan Sidwell changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug tree-optimization/83668] New: [8 Regression] wrong code with -O -fno-tree-dominator-opts -fgraphite-identity

2018-01-03 Thread zsojka at seznam dot cz
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83668 Bug ID: 83668 Summary: [8 Regression] wrong code with -O -fno-tree-dominator-opts -fgraphite-identity Product: gcc Version: 8.0 Status: UNCONFIRMED Keywords: wr

[Bug ipa/83549] [7/8 Regression] error: generic thunk code fails for method ... which uses '...'

2018-01-03 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83549 --- Comment #3 from Jakub Jelinek --- With current trunk: $ ./cc1plus -quiet pr83549.C $ ./cc1plus -quiet pr83549.C -O1 pr83549.C:4:4: error: generic thunk code fails for method ‘virtual void C::_ZThn8_N1C3fooEz(...)’ which uses ‘...’ C c;

[Bug ipa/83549] [7/8 Regression] error: generic thunk code fails for method ... which uses '...'

2018-01-03 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83549 --- Comment #4 from Martin Liška --- (In reply to Jakub Jelinek from comment #3) > With current trunk: > > $ ./cc1plus -quiet pr83549.C > $ ./cc1plus -quiet pr83549.C -O1 > pr83549.C:4:4: error: generic thunk code fails for method ‘virtual void

[Bug ipa/83549] [7/8 Regression] error: generic thunk code fails for method ... which uses '...'

2018-01-03 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83549 --- Comment #5 from Jakub Jelinek --- It was reported to us in https://bugzilla.redhat.com/1511021 that way.

[Bug target/83496] MIPS BE: wrong code generates under "-Os -mbranch-cost=1"

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

[Bug other/82352] [7/8 Regression] comdat-local function called by void h::i() outside its comdat

2018-01-03 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82352 --- Comment #3 from Martin Liška --- > Can you please the patch for original test-case? Not the reduced one? Can you please test the patch for original test-case? Not the reduced one?

[Bug ipa/83549] [7/8 Regression] error: generic thunk code fails for method ... which uses '...'

2018-01-03 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83549 --- Comment #6 from Martin Liška --- (In reply to Jakub Jelinek from comment #5) > It was reported to us in https://bugzilla.redhat.com/1511021 that way. Thanks.

[Bug gcov-profile/83509] [8 Regression] gcov-dump-8 unable to dump any gcda files

2018-01-03 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83509 Martin Liška changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug gcov-profile/83669] New: Add version info to intermediate gcov file

2018-01-03 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83669 Bug ID: 83669 Summary: Add version info to intermediate gcov file Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: gcov

[Bug gcov-profile/83669] Add version info to intermediate gcov file

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

[Bug c++/83592] [8 Regression] Annoying -Wparentheses warnings

2018-01-03 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83592 --- Comment #5 from Marek Polacek --- Author: mpolacek Date: Wed Jan 3 13:30:00 2018 New Revision: 256176 URL: https://gcc.gnu.org/viewcvs?rev=256176&root=gcc&view=rev Log: PR c++/83592 * decl.c (grokdeclarator): Don't warn abou

[Bug c++/83592] [8 Regression] Annoying -Wparentheses warnings

2018-01-03 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83592 Marek Polacek changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug target/83632] pdt_26.f03:29:0: internal compiler error: in final_scan_insn, at final.c:3063

2018-01-03 Thread sch...@linux-m68k.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83632 --- Comment #2 from Andreas Schwab --- Nope, the bug is older, that was just when the test was added.

[Bug lto/83375] partitioner partitions static arrays with label references

2018-01-03 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83375 --- Comment #3 from Martin Liška --- > I thought there was already a bug for this, but can't find it right now. > You maybe confused that with the issue abould global asm statements that go to a random partition and cause issues with LTO? In t

[Bug target/82439] Missing (x | y) == x simplifications

2018-01-03 Thread sudi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82439 --- Comment #5 from sudi at gcc dot gnu.org --- Patch submitted https://gcc.gnu.org/ml/gcc-patches/2018-01/msg00139.html

[Bug target/83090] ICE on lm32-rtems building newlib libm (in require, at machmode.h:282)

2018-01-03 Thread sebastian.hu...@embedded-brains.de
, ||sebastian.huber@embedded-br ||ains.de --- Comment #1 from Sebastian Huber --- ICE still exists with GCC 659f92d1990e0b84a6e30f6ecd76319552faf7b7 (20180103).

[Bug gcov-profile/83355] autofdo g++.dg/bprob/g++-bprob-1.C FAILS with ICE

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

[Bug ipa/83549] [7/8 Regression] error: generic thunk code fails for method ... which uses '...'

2018-01-03 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83549 Martin Liška changed: What|Removed |Added Known to work||8.0 Known to fail|

[Bug ipa/83549] [7/8 Regression] error: generic thunk code fails for method ... which uses '...'

2018-01-03 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83549 --- Comment #7 from Martin Liška --- Author: marxin Date: Wed Jan 3 14:15:58 2018 New Revision: 256177 URL: https://gcc.gnu.org/viewcvs?rev=256177&root=gcc&view=rev Log: Do not inline variadic thunks (PR ipa/83549). 2018-01-03 Martin Liska

[Bug target/83670] New: m32c ICE in leaf_function_p, at final.c:4368

2018-01-03 Thread sebastian.hu...@embedded-brains.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83670 Bug ID: 83670 Summary: m32c ICE in leaf_function_p, at final.c:4368 Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target

[Bug rtl-optimization/83621] [8 Regression] ICE: in simplify_subreg, at simplify-rtx.c:6293 with -O -g

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

[Bug rtl-optimization/83666] [8 Regression] ICE: SIGFPE with -O2 -g --param=sccvn-max-scc-size=10

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

[Bug target/83660] ICE with vec_extract inside expression statement

2018-01-03 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83660 Bill Schmidt changed: What|Removed |Added Keywords||ice-on-valid-code Target|powe

[Bug target/83660] ICE with vec_extract inside expression statement

2018-01-03 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83660 --- Comment #2 from Bill Schmidt --- Also fails with -mcpu=power6 -maltivec. Also succeeds with -mcpu=power9.

[Bug c++/83634] [8 Regression] ICE in useless_type_conversion_p, at gimple-expr.c:86

2018-01-03 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83634 Jakub Jelinek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/83529] ICE in canonical types differ for identical types

2018-01-03 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83529 Martin Liška changed: What|Removed |Added CC||nathan at gcc dot gnu.org --- Comment #1

[Bug c++/83529] ICE in canonical types differ for identical types

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

[Bug c++/83529] ICE in canonical types differ for identical types

2018-01-03 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83529 --- Comment #3 from Marek Polacek --- Actually with -std=c++11 it started to ICE way before that. Checking...

[Bug c++/83529] ICE in canonical types differ for identical types

2018-01-03 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83529 --- Comment #4 from Marek Polacek --- Likely started with r181118: PR c++/45114 - Support C++11 alias-declaration

[Bug rtl-optimization/83645] [8 Regression] ICE: in get_insn_template, at final.c:2100 with -gstatement-frontiers

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

[Bug c/39170] provide an option to silence -Wconversion warnings for bit-fields

2018-01-03 Thread florin.iucha at amd dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=39170 --- Comment #18 from Florin Iucha --- Even this version creates a warning: #include struct foo { unsigned bar: 30; unsigned fill: 2; }; struct foo test(uint32_t value) { struct foo foo; foo.bar = (value >> 2) & 0x3fffU; r

[Bug tree-optimization/83593] [8 Regression] ICE: verify_gimple failed (error: statement marked for throw, but doesn't)

2018-01-03 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83593 --- Comment #2 from Martin Liška --- Author: marxin Date: Wed Jan 3 14:53:39 2018 New Revision: 256178 URL: https://gcc.gnu.org/viewcvs?rev=256178&root=gcc&view=rev Log: Clean-up EH after strlen transformation (PR tree-optimization/83593). 201

[Bug tree-optimization/83593] [8 Regression] ICE: verify_gimple failed (error: statement marked for throw, but doesn't)

2018-01-03 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83593 Martin Liška changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/81933] [7/8 Regression] Invalid "constexpr call flows off the end of the function" error

2018-01-03 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81933 --- Comment #4 from Marek Polacek --- The c++17/c++14 difference lies in: 4321 if (cxx_dialect >= cxx17 && !BINFO_VIRTUAL_P (binfo)) 4322 { 4323 tree decl = build_base_field_1 (t, basetype, next_field); 4324 DE

[Bug c++/83529] ICE in canonical types differ for identical types

2018-01-03 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83529 Nathan Sidwell changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug target/83387] PowerPC64: Infinite loops in do_reload() with -msoft-float

2018-01-03 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83387 Peter Bergner changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |bergner at gcc dot gnu.org --- C

[Bug debug/83645] [8 Regression] ICE: in get_insn_template, at final.c:2100 with -gstatement-frontiers

2018-01-03 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83645 --- Comment #3 from Jakub Jelinek --- Created attachment 43017 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43017&action=edit gcc8-pr83645.patch Untested fix.

[Bug c++/82249] [8 Regression] wrong mismatched argument pack lengths

2018-01-03 Thread benni.buch at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82249 --- Comment #3 from Benjamin Buch --- Bug is still present in trunk. $ g++ --version g++ (GCC) 8.0.0 20180103 (experimental) Copyright (C) 2018 Free Software Foundation, Inc

[Bug rtl-optimization/83621] [8 Regression] ICE: in simplify_subreg, at simplify-rtx.c:6293 with -O -g

2018-01-03 Thread rsandifo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83621 rsandifo at gcc dot gnu.org changed: What|Removed |Added Status|NEW |ASSIGNED C

[Bug c++/82152] [7/8 Regression] ICE on invalid code in C++17 mode if inheriting constructors are used

2018-01-03 Thread benni.buch at gmail dot com
lease submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See <https://gcc.gnu.org/bugs/> for instructions. $ g++ --version g++ (GCC) 8.0.0 20180103 (experimental) Copyright (C) 2018 Free Software Foundation, Inc. T

[Bug target/83660] ICE with vec_extract inside expression statement

2018-01-03 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83660 Segher Boessenkool changed: What|Removed |Added Target|powerpc64*-*-* |powerpc*-*-* --- Comment #3 from Se

[Bug rtl-optimization/83621] [8 Regression] ICE: in simplify_subreg, at simplify-rtx.c:6293 with -O -g

2018-01-03 Thread rsandifo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83621 --- Comment #3 from rsandifo at gcc dot gnu.org --- Created attachment 43018 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43018&action=edit Candidate patch I'm testing the attached fix.

[Bug target/82439] Missing (x | y) == x simplifications

2018-01-03 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82439 --- Comment #6 from Marc Glisse --- (In reply to Andrew Pinski from comment #1) > "(x | y) == x" is simpler than "(y & ~x) == 0" on the tree level. 2 gimple > vs 3. We do indeed tend to use the number of stmts to chose canonical forms on gimple,

[Bug debug/83621] [8 Regression] ICE: in simplify_subreg, at simplify-rtx.c:6293 with -O -g

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

[Bug c++/83667] ICE in dump_function_decl on a thunk with variadic arguments

2018-01-03 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83667 --- Comment #1 from Nathan Sidwell --- Author: nathan Date: Wed Jan 3 16:01:31 2018 New Revision: 256179 URL: https://gcc.gnu.org/viewcvs?rev=256179&root=gcc&view=rev Log: [PR c++/83667] Fix tree_dump ICE https://gcc.gnu.org/ml/gcc-patches/201

[Bug c++/83667] ICE in dump_function_decl on a thunk with variadic arguments

2018-01-03 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83667 Nathan Sidwell changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug debug/83621] [8 Regression] ICE: in simplify_subreg, at simplify-rtx.c:6293 with -O -g

2018-01-03 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83621 --- Comment #5 from Jakub Jelinek --- Created attachment 43019 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43019&action=edit gcc8-pr83621.patch Untested patch for that.

[Bug tree-optimization/83501] [8 Regression] strlen(a) not folded after strcpy(a, "...")

2018-01-03 Thread prathamesh3492 at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83501 --- Comment #5 from prathamesh3492 at gcc dot gnu.org --- Author: prathamesh3492 Date: Wed Jan 3 16:07:32 2018 New Revision: 256180 URL: https://gcc.gnu.org/viewcvs?rev=256180&root=gcc&view=rev Log: 2018-01-03 Prathamesh Kulkarni PR

[Bug tree-optimization/83501] [8 Regression] strlen(a) not folded after strcpy(a, "...")

2018-01-03 Thread prathamesh3492 at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83501 prathamesh3492 at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED Reso

[Bug c++/83556] [7/8 Regression] ICE in gimplify_expr, at gimplify.c:12004

2018-01-03 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83556 Jakub Jelinek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug tree-optimization/83501] [8 Regression] strlen(a) not folded after strcpy(a, "...")

2018-01-03 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83501 --- Comment #7 from Martin Sebor --- Author: msebor Date: Wed Jan 3 16:26:49 2018 New Revision: 256181 URL: https://gcc.gnu.org/viewcvs?rev=256181&root=gcc&view=rev Log: PR tree-optimization/83501 - strlen(a) not folded after strcpy(a, "...")

[Bug c++/83529] ICE in canonical types differ for identical types

2018-01-03 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83529 --- Comment #5 from Nathan Sidwell --- template int Foo (T); template class TPL; template constexpr TPL Foo (); // #1 template constexpr TPL Foo (); // #2 What I think is happening is that the definition at #1 changes the overload set to

[Bug rtl-optimization/83629] [7/8 Regression] ICE: in decompose_normal_address, at rtlanal.c:6329 with -O2 -fPIC -frename-registers --param=sched-autopref-queue-depth=nnn

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

[Bug tree-optimization/83579] New: Wrong constant folding

2018-01-03 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83579 Bug ID: 83579 Summary: Wrong constant folding Product: gcc Version: 8.0 Status: RESOLVED Severity: normal Priority: P3 Component: tree-optimization Ass

[Bug tree-optimization/83569] New: Wrong constant folding

2018-01-03 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83569 Bug ID: 83569 Summary: Wrong constant folding Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization

[Bug c++/83529] ICE in canonical types differ for identical types

2018-01-03 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83529 --- Comment #6 from Jason Merrill --- (In reply to Nathan Sidwell from comment #5) > template int Foo (T); > > template class TPL; > > template > constexpr TPL Foo (); // #1 > > template > constexpr TPL Foo (); // #2 > > What I think is h

[Bug c/83586] [8 regression] Invalid -Wformat-truncation on stdio2.h

2018-01-03 Thread sylvestre at debian dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83586 --- Comment #2 from Sylvestre Ledru --- Created attachment 43020 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43020&action=edit preprocessed file Here is the same issue on a smaller file.

[Bug target/83585] [8 Regression] Assembler messages: Error: can't resolve `.text' {.text section} - `.LCOLDB0' {.text.unlikely section}

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

[Bug c/83586] [8 regression] Invalid reported line with -Wformat-truncation on stdio2.h

2018-01-03 Thread sylvestre at debian dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83586 Sylvestre Ledru changed: What|Removed |Added Summary|[8 regression] Invalid |[8 regression] Invalid

[Bug preprocessor/61638] "warning: multi-line comment" unclear and has false positives

2018-01-03 Thread dank at kegel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61638 dank at kegel dot com changed: What|Removed |Added CC||dank at kegel dot com --- Comment

[Bug debug/83585] [8 Regression] Assembler messages: Error: can't resolve `.text' {.text section} - `.LCOLDB0' {.text.unlikely section}

2018-01-03 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83585 --- Comment #5 from Jakub Jelinek --- Started with my r254989 aka PR82718 fix.

[Bug c++/83529] ICE in canonical types differ for identical types

2018-01-03 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83529 --- Comment #7 from Nathan Sidwell --- int Foo (void *); template class TPL; template TPL Baz (); int Foo (float); template TPL Baz (); constexpr int Foo (int) {return 0;}int Foo (int); A less templatey case. 83529.ii:6:26: error: call t

  1   2   >