[Bug tree-optimization/15596] [8/9/10 Regression] Missed optimization with bitfields with return value

2020-01-13 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=15596 Andrew Pinski changed: What|Removed |Added Assignee|rguenth at gcc dot gnu.org |pinskia at gcc dot gnu.org Tar

[Bug target/40838] gcc shouldn't assume that the stack is aligned

2020-01-13 Thread ostash at ostash dot kiev.ua
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=40838 --- Comment #94 from Viktor Ostashevskyi --- (In reply to Florian Weimer from comment #93) > (In reply to Viktor Ostashevskyi from comment #92) > > I've tried to run some old binaries yesterday (StarOffice 5.1, get it from > > archive.org) and hi

[Bug c++/93257] New: consteval functions returning 'void' are rejected when called

2020-01-13 Thread alisdairm at me dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93257 Bug ID: 93257 Summary: consteval functions returning 'void' are rejected when called Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal P

[Bug tree-optimization/93080] insert of an extraction on the same location is not optimized

2020-01-13 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93080 --- Comment #5 from Andrew Pinski --- (In reply to Andrew Pinski from comment #3) > I have not looked into how to fix these regressions though. So the problem here is that PRE decides that BIT_INSERT_EXPR is partial redundant and moves the BIT_I

[Bug c++/92594] [10 Regression] internal compiler error: in build_value_init_noctor, at cp/init.c:400 using std::tuple

2020-01-13 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92594 Jason Merrill changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a

[Bug c++/92009] [10 Regression] ICE: Segmentation fault (in is_really_empty_class)

2020-01-13 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92009 Jason Merrill changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a

[Bug target/93254] g++ -m32 -mfpmath=sse -msse generates sse2 instructions

2020-01-13 Thread abrahm.scully at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93254 --- Comment #2 from Abrahm Scully --- (In reply to Uroš Bizjak from comment #1) > The following patch that disables non-sse2 alternatives in *movsf_internal > should fix the issue: > Uroš, thank you for the quick help! The patch does appear to

[Bug c++/91006] [10 Regression] Several test suite fails on *darwin* after r272618

2020-01-13 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91006 Jason Merrill changed: What|Removed |Added Status|NEW |WAITING --- Comment #8 from Jason Merril

[Bug c++/69564] [8/9/10 Regression] lto and/or C++ make scimark2 LU slower

2020-01-13 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69564 --- Comment #39 from Jason Merrill --- Created attachment 47649 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47649&action=edit patch to revert to lowering loops like the C front end Could someone with a better sense of loop code generati

[Bug c++/67491] [meta-bug] concepts issues

2020-01-13 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67491 Bug 67491 depends on bug 92746, which changed state. Bug 92746 Summary: [10 Regression] ICE in check_noexcept_r, at cp/except.c:1114 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92746 What|Removed |Added ---

[Bug c++/92582] [10 Regression] internal compiler error: Segmentation fault with concept on constructor

2020-01-13 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92582 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/92746] [10 Regression] ICE in check_noexcept_r, at cp/except.c:1114

2020-01-13 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92746 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c/93252] Warning for symbols that could be internalized

2020-01-13 Thread trass3r at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93252 --- Comment #2 from Trass3r --- Yeah it's in the same vein as the other -Wsuggest warnings which run during lto. Like a.c void f() {} // can be made static void g() { f(); } b.c void g(); int main() { g(); }

[Bug c++/92746] [10 Regression] ICE in check_noexcept_r, at cp/except.c:1114

2020-01-13 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92746 --- Comment #3 from CVS Commits --- The master branch has been updated by Jason Merrill : https://gcc.gnu.org/g:edabbec31e3bfc9a9757f80c8610706ed00e5a1a commit r10-5938-gedabbec31e3bfc9a9757f80c8610706ed00e5a1a Author: Jason Merrill Date: Mo

[Bug c++/92582] [10 Regression] internal compiler error: Segmentation fault with concept on constructor

2020-01-13 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92582 --- Comment #2 from CVS Commits --- The master branch has been updated by Jason Merrill : https://gcc.gnu.org/g:8ca4435f431f9b8049ebf102b5659f2d3e7be198 commit r10-5937-g8ca4435f431f9b8049ebf102b5659f2d3e7be198 Author: Jason Merrill Date: Mo

[Bug ipa/69678] Missed function specialization + partial devirtualization opportunity

2020-01-13 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69678 --- Comment #2 from CVS Commits --- The master branch has been updated by Xiong Hu Luo : https://gcc.gnu.org/g:f1ba88b1b20cb579b3b7ce6ce65470205742be7e commit r10-5936-gf1ba88b1b20cb579b3b7ce6ce65470205742be7e Author: Xiong Hu Luo Date: Wed

[Bug c++/93238] [10 Regression] ICE in tree check: expected integer_cst, have mult_expr in to_wide, at tree.h:5855 since g:337ea6b216afd412

2020-01-13 Thread raj.khem at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93238 --- Comment #7 from Khem Raj --- (In reply to Andrew Pinski from comment #6) > *** Bug 93255 has been marked as a duplicate of this bug. *** yep, just verified my usecases, work well now.

[Bug c/93241] [8/9/10 Regression] _Bool casts in dead branches of integer constant expressions cause undesirable warnings under -pedantic iff the dead branch contains overflow

2020-01-13 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93241 --- Comment #6 from CVS Commits --- The releases/gcc-9 branch has been updated by Joseph Myers : https://gcc.gnu.org/g:2638a44bbe43089f9fc00251592895584314a4b2 commit r9-8131-g2638a44bbe43089f9fc00251592895584314a4b2 Author: Joseph Myers Date:

[Bug c++/93048] [10 Regression] ICE in verify_gimple

2020-01-13 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93048 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c/93252] Warning for symbols that could be internalized

2020-01-13 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93252 Andrew Pinski changed: What|Removed |Added Keywords||diagnostic, lto Severity|norma

[Bug c++/92746] [10 Regression] ICE in check_noexcept_r, at cp/except.c:1114

2020-01-13 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92746 Jason Merrill changed: What|Removed |Added Status|NEW |ASSIGNED CC|

[Bug c++/93255] internal compiler error: in sign_mask, at wide-int.h:855

2020-01-13 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93255 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/93238] [10 Regression] ICE in tree check: expected integer_cst, have mult_expr in to_wide, at tree.h:5855 since g:337ea6b216afd412

2020-01-13 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93238 Andrew Pinski changed: What|Removed |Added CC||raj.khem at gmail dot com --- Comment #6

[Bug c++/90916] [10 Regression] ICE in retrieve_specialization, at cp/pt.c:1258

2020-01-13 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90916 Jason Merrill changed: What|Removed |Added CC||jason at gcc dot gnu.org --- Comment #3

[Bug c++/92582] [10 Regression] internal compiler error: Segmentation fault with concept on constructor

2020-01-13 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92582 Jason Merrill changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a

[Bug middle-end/91226] wrong propagation of non-canonical _Decimal64 and _Decimal128 constant (BID only)

2020-01-13 Thread jsm28 at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91226 Joseph S. Myers changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug fortran/93256] New: Assumed-shape unlimited polymorphic variable passes values incorrectly

2020-01-13 Thread jman012345 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93256 Bug ID: 93256 Summary: Assumed-shape unlimited polymorphic variable passes values incorrectly Product: gcc Version: 9.2.1 Status: UNCONFIRMED Severity: normal

[Bug middle-end/91226] wrong propagation of non-canonical _Decimal64 and _Decimal128 constant (BID only)

2020-01-13 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91226 --- Comment #6 from CVS Commits --- The releases/gcc-8 branch has been updated by Joseph Myers : https://gcc.gnu.org/g:a8d3c5702a422025e42b22ce860e245b50ff57a2 commit r8-9931-ga8d3c5702a422025e42b22ce860e245b50ff57a2 Author: Joseph Myers Date:

[Bug target/93254] g++ -m32 -mfpmath=sse -msse generates sse2 instructions

2020-01-13 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93254 Uroš Bizjak changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug tree-optimization/93249] [10 Regression] wrong code with __builtin_strncpy() copying empty string

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

[Bug libstdc++/91947] std::filesystem::file_size will return wrong value on 32bit platforms with large files support

2020-01-13 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91947 Jonathan Wakely changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug libstdc++/93201] std::filesystem::remove_all fails to remove large files

2020-01-13 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93201 Jonathan Wakely changed: What|Removed |Added Status|ASSIGNED|RESOLVED Blocks|81091

[Bug libstdc++/81091] libstdc++ not built with large file support

2020-01-13 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81091 Jonathan Wakely changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug libstdc++/91947] std::filesystem::file_size will return wrong value on 32bit platforms with large files support

2020-01-13 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91947 Bug 91947 depends on bug 81091, which changed state. Bug 81091 Summary: libstdc++ not built with large file support https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81091 What|Removed |Added

[Bug libstdc++/81091] libstdc++ not built with large file support

2020-01-13 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81091 --- Comment #7 from CVS Commits --- The releases/gcc-9 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:6cb662745d38e680a1a46fa04b108734cbc3df58 commit r9-8130-g6cb662745d38e680a1a46fa04b108734cbc3df58 Author: Jonathan Wakely

[Bug libstdc++/91947] std::filesystem::file_size will return wrong value on 32bit platforms with large files support

2020-01-13 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91947 --- Comment #8 from CVS Commits --- The releases/gcc-9 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:6cb662745d38e680a1a46fa04b108734cbc3df58 commit r9-8130-g6cb662745d38e680a1a46fa04b108734cbc3df58 Author: Jonathan Wakely

[Bug c++/93077] [10 Regression] internal compiler error: in hash_operand during GIMPLE pass: fre

2020-01-13 Thread raj.khem at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93077 Khem Raj changed: What|Removed |Added Status|RESOLVED|VERIFIED --- Comment #7 from Khem Raj --- (I

[Bug fortran/93251] Valid code rejected: Shape of array depends on parameter array

2020-01-13 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93251 kargl at gcc dot gnu.org changed: What|Removed |Added Priority|P3 |P4 Known to work|

[Bug c++/93077] [10 Regression] internal compiler error: in hash_operand during GIMPLE pass: fre

2020-01-13 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93077 --- Comment #6 from Jeffrey A. Law --- Almost certainly the sharing problem. My tester had several failures that looked exactly the same and they're all working now.

[Bug c++/93255] internal compiler error: in sign_mask, at wide-int.h:855

2020-01-13 Thread raj.khem at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93255 --- Comment #2 from Khem Raj --- its build config is Using built-in specs. COLLECT_GCC=../../recipe-sysroot-native/usr/bin/mips-yoe-linux/mips-yoe-linux-g++ COLLECT_LTO_WRAPPER=/mnt/b/yoe/build/tmp/work/mips32r2-yoe-linux/icu/64.2-r0/recipe-sys

[Bug c++/93255] internal compiler error: in sign_mask, at wide-int.h:855

2020-01-13 Thread raj.khem at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93255 --- Comment #1 from Khem Raj --- proper testcase enum { kLengthShift=5, }; struct { short int fLengthAndFlags; } fFields; bool isEmpty() { return (fFields.fLengthAndFlags>>kLengthShift) == 0; }

[Bug c++/93033] [10 Regression] error: incorrect sharing of tree nodes

2020-01-13 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93033 --- Comment #19 from Jason Merrill --- *** Bug 93077 has been marked as a duplicate of this bug. ***

[Bug c++/93255] New: internal compiler error: in sign_mask, at wide-int.h:855

2020-01-13 Thread raj.khem at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93255 Bug ID: 93255 Summary: internal compiler error: in sign_mask, at wide-int.h:855 Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priori

[Bug c++/93077] [10 Regression] internal compiler error: in hash_operand during GIMPLE pass: fre

2020-01-13 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93077 Jason Merrill changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug middle-end/91226] wrong propagation of non-canonical _Decimal64 and _Decimal128 constant (BID only)

2020-01-13 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91226 --- Comment #5 from CVS Commits --- The releases/gcc-9 branch has been updated by Joseph Myers : https://gcc.gnu.org/g:5b6c608019153e3dbb03e3f5f7b7a1768727f987 commit r9-8129-g5b6c608019153e3dbb03e3f5f7b7a1768727f987 Author: Joseph Myers Date:

[Bug c++/93238] [10 Regression] ICE in tree check: expected integer_cst, have mult_expr in to_wide, at tree.h:5855 since g:337ea6b216afd412

2020-01-13 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93238 Jason Merrill changed: What|Removed |Added CC||larsbj at gullik dot net --- Comment #5

[Bug c++/93250] [10 Regression] ICE: in sign_mask, at wide-int.h:855

2020-01-13 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93250 Jason Merrill changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug ipa/93223] [9/10 Regression] ICE in devirtualization_time_bonus at gcc/ipa-cp.c:3161 since r261744

2020-01-13 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93223 --- Comment #3 from CVS Commits --- The master branch has been updated by Martin Jambor : https://gcc.gnu.org/g:8472660b98a31b32b7d030c2cdc4d41d326364d5 commit r10-5928-g8472660b98a31b32b7d030c2cdc4d41d326364d5 Author: Martin Jambor Date: Mo

[Bug c++/80265] __builtin_{memcmp,memchr,strlen} are not usable in constexpr functions

2020-01-13 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80265 Jason Merrill changed: What|Removed |Added Status|NEW |RESOLVED Known to work|

[Bug c++/80265] __builtin_{memcmp,memchr,strlen} are not usable in constexpr functions

2020-01-13 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80265 --- Comment #41 from CVS Commits --- The master branch has been updated by Jason Merrill : https://gcc.gnu.org/g:69dc042f91c70458ffb6e7b147f093799cee2100 commit r10-5927-g69dc042f91c70458ffb6e7b147f093799cee2100 Author: Jason Merrill Date: F

[Bug c++/33799] Return value's destructor not executed when a local variable's destructor throws

2020-01-13 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=33799 Jason Merrill changed: What|Removed |Added Known to work||10.0 Target Milestone|---

[Bug c++/93238] [10 Regression] ICE in tree check: expected integer_cst, have mult_expr in to_wide, at tree.h:5855 since g:337ea6b216afd412

2020-01-13 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93238 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug tree-optimization/93231] [10 Regression] ICEs since r280132

2020-01-13 Thread wilco at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93231 Wilco changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |wilco at gcc dot gnu.org --- Comment #6 f

[Bug c++/93238] [10 Regression] ICE in tree check: expected integer_cst, have mult_expr in to_wide, at tree.h:5855 since g:337ea6b216afd412

2020-01-13 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93238 --- Comment #3 from CVS Commits --- The master branch has been updated by Jason Merrill : https://gcc.gnu.org/g:f1acad4e43908e90ca2b5155a878639cbea4c4e1 commit r10-5925-gf1acad4e43908e90ca2b5155a878639cbea4c4e1 Author: Jason Merrill Date: Su

[Bug c++/33799] Return value's destructor not executed when a local variable's destructor throws

2020-01-13 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=33799 --- Comment #9 from CVS Commits --- The master branch has been updated by Jason Merrill : https://gcc.gnu.org/g:7c82dd6c02d44d9d2cd84dda137c00b1a3cd6c90 commit r10-5926-g7c82dd6c02d44d9d2cd84dda137c00b1a3cd6c90 Author: Jason Merrill Date: Fr

[Bug target/93230] PowerPC GCC vec_extract of a vector in memory does not fold sign/zero extension into load

2020-01-13 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93230 --- Comment #6 from Bill Schmidt --- That should read "rs6000_gimple_fold_builtin".

[Bug target/93230] PowerPC GCC vec_extract of a vector in memory does not fold sign/zero extension into load

2020-01-13 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93230 --- Comment #5 from Bill Schmidt --- Yeah, vec_extract should get folded in rs6000_fold_builtin eventually. I think that Will had a patch in progress on this at one time, but ran into some difficulties and it got abandoned in favor of more urgen

[Bug c/93241] [8/9/10 Regression] _Bool casts in dead branches of integer constant expressions cause undesirable warnings under -pedantic iff the dead branch contains overflow

2020-01-13 Thread jsm28 at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93241 Joseph S. Myers changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug fortran/93253] Regression on non-standard hex constant syntax

2020-01-13 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93253 kargl at gcc dot gnu.org changed: What|Removed |Added CC||kargl at gcc dot gnu.org --- C

[Bug c/93241] [8/9/10 Regression] _Bool casts in dead branches of integer constant expressions cause undesirable warnings under -pedantic iff the dead branch contains overflow

2020-01-13 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93241 --- Comment #4 from CVS Commits --- The master branch has been updated by Joseph Myers : https://gcc.gnu.org/git/gitweb.cgi?p=gcc.git;h=3d77686d2eddf76d3498169d0ca5653db45a8662 commit r10-5922-g3d77686d2eddf76d3498169d0ca5653db45a8662 Author: J

[Bug tree-optimization/92765] [10 Regression] Wrong code caused by folding of -Wstring-compare since r276773

2020-01-13 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92765 --- Comment #22 from Martin Sebor --- I've been going through the test cases here. IIUC, the one in comment #10 is a separate issue and should get its own bug. (Arguably, so is the one in comment #7.) It's unfortunate that GIMPLE doesn't prese

[Bug target/93254] New: g++ -m32 -mfpmath=sse -msse generates sse2 instructions

2020-01-13 Thread abrahm.scully at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93254 Bug ID: 93254 Summary: g++ -m32 -mfpmath=sse -msse generates sse2 instructions Product: gcc Version: 9.2.1 Status: UNCONFIRMED Severity: normal Priori

[Bug other/85622] gcc-8.1.0/NEWS says it's not released yet

2020-01-13 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85622 --- Comment #4 from CVS Commits --- The releases/gcc-8 branch has been updated by Joseph Myers : https://gcc.gnu.org/git/gitweb.cgi?p=gcc.git;h=91cd6528d2c4241a9dad88d6876e897598631be9 commit r8-9929-g91cd6528d2c4241a9dad88d6876e897598631be9 Au

[Bug fortran/93253] New: Regression on non-standard hex constant syntax

2020-01-13 Thread fx at gnu dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93253 Bug ID: 93253 Summary: Regression on non-standard hex constant syntax Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: for

[Bug c/93252] New: Warning for symbols that could be internalized

2020-01-13 Thread trass3r at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93252 Bug ID: 93252 Summary: Warning for symbols that could be internalized Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug c++/93250] [10 Regression] ICE: in sign_mask, at wide-int.h:855

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

[Bug target/93177] PPC: Missing many useful platform intrinsics

2020-01-13 Thread memmerto at ca dot ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93177 --- Comment #9 from Matt Emmerton --- (In reply to Segher Boessenkool from comment #6) > (In reply to Matt Emmerton from comment #4) > > The intrinsics that we would find useful, having used them as provided by > > the IBM XL C/C++ compiler, are

[Bug fortran/93251] New: Valid code rejected: Shape of array depends on parameter array

2020-01-13 Thread m.diehl at mpie dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93251 Bug ID: 93251 Summary: Valid code rejected: Shape of array depends on parameter array Product: gcc Version: 9.2.0 Status: UNCONFIRMED Severity: normal

[Bug target/93177] PPC: Missing many useful platform intrinsics

2020-01-13 Thread memmerto at ca dot ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93177 --- Comment #8 from Matt Emmerton --- (In reply to Andrew Pinski from comment #5) > > __lwarx() > > __ldarx() > > __stwcx() > > __stdcx() > > Is there a reason why the __atomic_* builtins don't work? There are places in our code where we do man

[Bug middle-end/93246] [8/9/10 Regression] Unexpected program behavior when -fsanitize=address and -O2/O3 used

2020-01-13 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93246 --- Comment #12 from Richard Biener --- Created attachment 47646 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47646&action=edit patch I am testing So I believe the actual issue is that the alias-set of 'bool' isn't a subset of the alias-

[Bug libstdc++/93244] std::filesystem::path::generic_string doesn't convert the first slash on Windows

2020-01-13 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93244 --- Comment #5 from Jonathan Wakely --- Basically GCC's filesystem lib has two kinds of behaviour, POSIX and Windows. Cygwin is a subset of POSIX, as it works like it in most respects, but I also added support for "//foo" as a root-name, which o

[Bug libstdc++/93244] std::filesystem::path::generic_string doesn't convert the first slash on Windows

2020-01-13 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93244 --- Comment #4 from Jonathan Wakely --- I didn't implement support for that for MinGW, because I don't know how it works for Windows (and I only vaguely know how it works for Cygwin). Please create a separate bug report if you want to request tha

[Bug c++/93250] [10 Regression] ICE: in sign_mask, at wide-int.h:855

2020-01-13 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93250 Richard Biener changed: What|Removed |Added Target Milestone|--- |10.0

[Bug tree-optimization/83819] [meta-bug] missing strlen optimizations

2020-01-13 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83819 Bug 83819 depends on bug 93213, which changed state. Bug 93213 Summary: [10 Regression] wrong code with -Og -foptimize-strlen https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93213 What|Removed |Added --

[Bug tree-optimization/93213] [10 Regression] wrong code with -Og -foptimize-strlen

2020-01-13 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93213 Martin Sebor changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug tree-optimization/93213] [10 Regression] wrong code with -Og -foptimize-strlen

2020-01-13 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93213 --- Comment #6 from CVS Commits --- The master branch has been updated by Martin Sebor : https://gcc.gnu.org/git/gitweb.cgi?p=gcc.git;h=e13f37d9f7600d337f8a4589b5f985ded9e05852 commit r10-5917-ge13f37d9f7600d337f8a4589b5f985ded9e05852 Author: M

[Bug middle-end/93246] [8/9/10 Regression] Unexpected program behavior when -fsanitize=address and -O2/O3 used

2020-01-13 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93246 --- Comment #11 from Martin Liška --- (In reply to Richard Biener from comment #10) > (In reply to Martin Liška from comment #8) > > Created attachment 47645 [details] > > Richi's modified test-case > > > > @Richi: Do you want to bisect this ver

[Bug libstdc++/93244] std::filesystem::path::generic_string doesn't convert the first slash on Windows

2020-01-13 Thread orgads at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93244 --- Comment #3 from Orgad Shaneh --- Thank you! I've noticed in your changed that only on cygwin double leading slashes are preserved. Why is that? I think it should be the same on all _WIN32 compilers, like MinGW. A shared folder is accessed b

[Bug middle-end/93246] [8/9/10 Regression] Unexpected program behavior when -fsanitize=address and -O2/O3 used

2020-01-13 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93246 --- Comment #10 from Richard Biener --- (In reply to Martin Liška from comment #8) > Created attachment 47645 [details] > Richi's modified test-case > > @Richi: Do you want to bisect this version? > If so, it started to fail also with g:dc3221e1

[Bug libstdc++/58605] [DR 2334] atomic::atomic() disobeys [atomics.types.operations.req]p4 for types with user-defined default constructors

2020-01-13 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58605 Jonathan Wakely changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug middle-end/93246] [8/9/10 Regression] Unexpected program behavior when -fsanitize=address and -O2/O3 used

2020-01-13 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93246 --- Comment #9 from Richard Biener --- Oh, and even when re-instantiating that we run into the fact that indirect_ref_may_alias_decl_p (and indirect_refs_may_alias_p) use a "base"-alias set to disambiguate further and getting the base alias set d

[Bug libstdc++/93244] std::filesystem::path::generic_string doesn't convert the first slash on Windows

2020-01-13 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93244 --- Comment #2 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/git/gitweb.cgi?p=gcc.git;h=fe7cc34fd5186cce3771e2bce2f4aacb81b9058c commit r10-5915-gfe7cc34fd5186cce3771e2bce2f4aacb81b9058c Author

[Bug libstdc++/58605] [DR 2334] atomic::atomic() disobeys [atomics.types.operations.req]p4 for types with user-defined default constructors

2020-01-13 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58605 --- Comment #7 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/git/gitweb.cgi?p=gcc.git;h=e4379a931d140a71b36eaecceace319837fda321 commit r10-5914-ge4379a931d140a71b36eaecceace319837fda321 Author

[Bug driver/92757] Documentation ambiguous/misleading about interplay of optimization and warning flags

2020-01-13 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92757 --- Comment #11 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/git/gitweb.cgi?p=gcc.git;h=aef85e40e0c5e242f1a1883abc56159dcd90e7b0 commit r10-5913-gaef85e40e0c5e242f1a1883abc56159dcd90e7b0 Autho

[Bug tree-optimization/90838] Detect table-based ctz implementation

2020-01-13 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90838 --- Comment #10 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/git/gitweb.cgi?p=gcc.git;h=eb7c7c524556df5364f03adc20f6a9db20858484 commit r10-5912-geb7c7c524556df5364f03adc20f6a9db20858484 Author:

[Bug middle-end/93246] [8/9/10 Regression] Unexpected program behavior when -fsanitize=address and -O2/O3 used

2020-01-13 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93246 --- Comment #8 from Martin Liška --- Created attachment 47645 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47645&action=edit Richi's modified test-case @Richi: Do you want to bisect this version? If so, it started to fail also with g:dc3

[Bug middle-end/93246] [8/9/10 Regression] Unexpected program behavior when -fsanitize=address and -O2/O3 used

2020-01-13 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93246 --- Comment #7 from Richard Biener --- Hmm. (gdb) p alias_set_subset_of (3, 2) $52 = false (gdb) p alias_set_subset_of (2, 3) $54 = true but (gdb) p alias_sets_conflict_p (2, 3) $55 = 0 (gdb) p alias_sets_conflict_p (3, 2) $56 = 0 ah, the for

[Bug tree-optimization/93199] [8/9/10 Regression] Compile time hog in sink_clobbers

2020-01-13 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93199 --- Comment #22 from rguenther at suse dot de --- On Mon, 13 Jan 2020, marxin at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93199 > > --- Comment #21 from Martin Liška --- > > Well - there's the leh_state passed to b

[Bug middle-end/93246] [8/9/10 Regression] Unexpected program behavior when -fsanitize=address and -O2/O3 used

2020-01-13 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93246 Richard Biener changed: What|Removed |Added Priority|P3 |P2 Component|sanitizer

[Bug tree-optimization/93231] [10 Regression] ICEs since r280132

2020-01-13 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93231 --- Comment #5 from Jakub Jelinek --- (In reply to Wilco from comment #4) > I guess TREE_INT_CST_LOW should fix that. The goal is to support signed and > unsigned types. Maybe. Though, perhaps you want to zero extend the constant from the type'

[Bug c++/93250] New: [10 Regression] ICE: in sign_mask, at wide-int.h:855

2020-01-13 Thread larsbj at gullik dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93250 Bug ID: 93250 Summary: [10 Regression] ICE: in sign_mask, at wide-int.h:855 Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Componen

[Bug sanitizer/93246] [9/10 Regression] Unexpected program behavior when -fsanitize=address and -O2/O3 used

2020-01-13 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93246 --- Comment #5 from Richard Biener --- Note that the 'using' make it work is another wrong-code issue I think. But clearly somehow the TYPE_TYPELESS_STORAGE handling is responsible here (it works with 'short' padding for example). More reduced:

[Bug sanitizer/93246] [9/10 Regression] Unexpected program behavior when -fsanitize=address and -O2/O3 used

2020-01-13 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93246 --- Comment #4 from Martin Liška --- (In reply to Richard Biener from comment #3) > So FRE optimizes > > wo.value = &buf; > _48 = __MEM ((struct Optional * *)&wo); > _20 = __MEM ((bool *)_48); > if (_20 != _Literal (bool) 0) > goto

[Bug tree-optimization/93231] [10 Regression] ICEs since r280132

2020-01-13 Thread wilco at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93231 --- Comment #4 from Wilco --- (In reply to Jakub Jelinek from comment #0) > int ctz2 (int x) > { > static const char table[32] = > { > 0, 1, 28, 2, 29, 14, 24, 3, 30, 22, 20, 15, 25, 17, 4, 8, > 31, 27, 13, 23, 21, 19, 16, 7, 26

[Bug tree-optimization/93213] [10 Regression] wrong code with -Og -foptimize-strlen

2020-01-13 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93213 --- Comment #5 from Martin Sebor --- Thanks for pointing out the target dependencies! I have tweaked my copy of the test to avoid them and will commit the patch once the Git repository is writeable.

[Bug sanitizer/93246] [9/10 Regression] Unexpected program behavior when -fsanitize=address and -O2/O3 used

2020-01-13 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93246 --- Comment #3 from Richard Biener --- So FRE optimizes wo.value = &buf; _48 = __MEM ((struct Optional * *)&wo); _20 = __MEM ((bool *)_48); if (_20 != _Literal (bool) 0) goto __BB4; else goto __BB3; __BB(3): _48->inner.p

[Bug target/40838] gcc shouldn't assume that the stack is aligned

2020-01-13 Thread fw at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=40838 --- Comment #93 from Florian Weimer --- (In reply to Viktor Ostashevskyi from comment #92) > I've tried to run some old binaries yesterday (StarOffice 5.1, get it from > archive.org) and hit this bug. > > What are possible workarounds? You need

[Bug tree-optimization/93249] [10 Regression] wrong code with __builtin_strncpy() copying empty string

2020-01-13 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93249 Richard Biener changed: What|Removed |Added Priority|P3 |P1

[Bug c++/93248] [8/9/10 Regression] ICE in decltype of template constructor with default argument within a class template

2020-01-13 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93248 Richard Biener changed: What|Removed |Added Keywords||ice-on-valid-code Known to work|

[Bug tree-optimization/93249] [10 Regression] wrong code with __builtin_strncpy() copying empty string

2020-01-13 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93249 Martin Sebor changed: What|Removed |Added CC||law at redhat dot com --- Comment #2 from

  1   2   >