[Bug target/91275] __builtin_crypto_vpmsumd gives different results -O[123] vs -O0

2019-10-01 Thread cand at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91275 --- Comment #9 from Lauri Kasanen --- Can -mno-optimize-swaps be used per-function, in the code via some pragma? Alternatively, does calling the instruction via inline asm prevent the swapping?

[Bug middle-end/91946] wrong result comparing pointer with pointer+offset with -m32

2019-10-01 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91946 --- Comment #5 from Andrew Pinski --- I mean comparisons which are not equals or not equals outside of array bounds is undefined.

[Bug middle-end/91946] wrong result comparing pointer with pointer+offset with -m32

2019-10-01 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91946 --- Comment #4 from Andrew Pinski --- Also this was an a broken ABI mistake a long time ago. Also comparing for non equality outside an array bounds (besides one past the end) is also undefined behavior. Undefined behavior does NOT need to be

[Bug c++/91222] [10 Regression] 507.cactuBSSN_r build fails in warn_types_mismatch at ipa-devirt.c:1006 since r273571

2019-10-01 Thread hubicka at ucw dot cz
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91222 --- Comment #20 from Jan Hubicka --- > Still seeing this today building cactuBSSN_r with -flto Sorry for that - I had some unexpected developments after cauldron. I am back from vacation now and will fix it ASAP. Honza

[Bug target/91275] __builtin_crypto_vpmsumd gives different results -O[123] vs -O0

2019-10-01 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91275 --- Comment #8 from Segher Boessenkool --- (In reply to Lauri Kasanen from comment #7) > Are you sure about the smaller ones? To me they should not care about 64-bit > swaps, "swappable" here means you can swap the low and high half on all

[Bug c++/91222] [10 Regression] 507.cactuBSSN_r build fails in warn_types_mismatch at ipa-devirt.c:1006 since r273571

2019-10-01 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91222 ktkachov at gcc dot gnu.org changed: What|Removed |Added Last reconfirmed|2019-07-22 00:00:00 |2019-10-1

[Bug middle-end/91946] wrong result comparing pointer with pointer+offset with -m32

2019-10-01 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91946 --- Comment #3 from Andrew Pinski --- Sorry i mean ptrdiff_t .

[Bug middle-end/91946] wrong result comparing pointer with pointer+offset with -m32

2019-10-01 Thread tim.ruehsen at gmx dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91946 --- Comment #2 from Tim Ruehsen --- Is ssize_t C99 ? Could you point to the specs so that any reader can verify that ? And by UB you mean, gcc sometimes gives 0 and sometimes 1 ? Even if it's UB, the behavior should be consistent. Since this

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

2019-10-01 Thread fregloin at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91947 Bug ID: 91947 Summary: std::filesystem::file_size will return wrong value on 32bit platforms with large files support Product: gcc Version: 8.3.0 Status: UNCONFIRMED

[Bug middle-end/91946] wrong result comparing pointer with pointer+offset with -m32

2019-10-01 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91946 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Component|c

[Bug tree-optimization/91940] __builtin_bswap16 loop optimization

2019-10-01 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91940 --- Comment #3 from Jakub Jelinek --- Untested WIP patch that does both. If it finds vectorize_bswap will work (the corresponding permutation is supported), it will just undo the promotion, if target supports vector rotates, will use vector

[Bug target/91452] tls_preserve_1.c fails with -O3 -fpic -march=armv8.2-a+sve

2019-10-01 Thread rsandifo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91452 rsandifo at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[Bug c/91946] New: wrong result comparing pointer with pointer+offset with -m32

2019-10-01 Thread tim.ruehsen at gmx dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91946 Bug ID: 91946 Summary: wrong result comparing pointer with pointer+offset with -m32 Product: gcc Version: 9.2.1 Status: UNCONFIRMED Severity: normal

[Bug target/91452] tls_preserve_1.c fails with -O3 -fpic -march=armv8.2-a+sve

2019-10-01 Thread rsandifo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91452 --- Comment #2 from rsandifo at gcc dot gnu.org --- Author: rsandifo Date: Tue Oct 1 08:55:28 2019 New Revision: 276392 URL: https://gcc.gnu.org/viewcvs?rev=276392=gcc=rev Log: [AArch64] Use calls for SVE TLSDESC One (unintended) side effect

[Bug target/91854] [8/9 regression] unaligned floating-point register with -mcpu=niagara4

2019-10-01 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91854 Eric Botcazou changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug target/91269] [9/10 regression] unaligned floating-point register with -mcpu=niagara4 -fcall-used-g6

2019-10-01 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91269 --- Comment #20 from Eric Botcazou --- Author: ebotcazou Date: Tue Oct 1 08:10:17 2019 New Revision: 276390 URL: https://gcc.gnu.org/viewcvs?rev=276390=gcc=rev Log: PR target/91854 Backport from mainline 2019-09-20

[Bug target/91854] [8/9 regression] unaligned floating-point register with -mcpu=niagara4

2019-10-01 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91854 --- Comment #6 from Eric Botcazou --- Author: ebotcazou Date: Tue Oct 1 08:10:17 2019 New Revision: 276390 URL: https://gcc.gnu.org/viewcvs?rev=276390=gcc=rev Log: PR target/91854 Backport from mainline 2019-09-20 Eric

[Bug tree-optimization/91945] [10 Regression] ICE: tree check: expected integer_cst, have var_decl in get_len, at tree.h:5837

2019-10-01 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91945 Richard Biener changed: What|Removed |Added CC||msebor at gcc dot gnu.org Target

[Bug c/91937] _Generic Feature Expansion

2019-10-01 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91937 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug tree-optimization/91940] __builtin_bswap16 loop optimization

2019-10-01 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91940 --- Comment #2 from Richard Biener --- Another option is to elide the promotion? int foo (unsigned short x) { return __builtin_bswap16 (x); } return (int) __builtin_bswap16 ((int) x); but BUILT_IN_BSWAP16 is BT_FN_UINT16_UINT16, not sure

[Bug fortran/91941] [8/9/10 Regression] ICE in gfc_conv_expr_descriptor, at fortran/trans-array.c:7336

2019-10-01 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91941 Richard Biener changed: What|Removed |Added Priority|P3 |P4 Target Milestone|---

[Bug lto/91935] Unneeded .debug_info entries in .symtab when using LTO

2019-10-01 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91935 Richard Biener changed: What|Removed |Added Keywords||lto Status|UNCONFIRMED

[Bug c++/14167] Unneeded C++ types are output in debug info due to use of static constants

2019-10-01 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=14167 Richard Biener changed: What|Removed |Added Status|NEW |WAITING --- Comment #8 from Richard

[Bug target/91275] __builtin_crypto_vpmsumd gives different results -O[123] vs -O0

2019-10-01 Thread cand at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91275 --- Comment #7 from Lauri Kasanen --- Thanks for working on this. Per my experience, this is fast for gcc ;) Are you sure about the smaller ones? To me they should not care about 64-bit swaps, but clang lists them all as lane-sensitive:

[Bug debug/86964] [7/8 Regression] Too many debug symbols included, especially for extern globals

2019-10-01 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86964 Richard Biener changed: What|Removed |Added Known to work||10.0 --- Comment #21 from Richard

<    1   2