[Bug c/90882] Possible security breach through undefined behavior when treating boolean as int

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

[Bug c/90882] Possible security breach through undefined behavior when treating boolean as int

2019-06-13 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90882 --- Comment #4 from Andrew Pinski --- Since it is undefined behavior both GCC and clang are correct. -fsanitizer=undefined can be detect it at runtime. This code is undefined in two different ways really. you also violate C aliasing rules (tho

[Bug target/87281] qsort checking ICE in ia64_reorg building libgo

2019-06-13 Thread jason.duerstock at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87281 --- Comment #4 from Jason Duerstock --- As of r272229 I can't replicate this: $ ~/glibc/scripts/build-many-glibcs.py bmg --full-gcc compilers ia64-linux-gnu PASS: compilers-ia64-linux-gnu check-host-libraries ... PASS: compilers-ia64-linux-gnu d

[Bug tree-optimization/89713] Optimize away an empty loop whose finiteness can not be analytically determined

2019-06-13 Thread fxue at os dot amperecomputing.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89713 Feng Xue changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug ipa/90401] Missed propagation of by-ref constant argument to callee function

2019-06-13 Thread fxue at os dot amperecomputing.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90401 Feng Xue changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/90883] New: Generated code is worse if returned struct is unnamed

2019-06-13 Thread jzwinck at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90883 Bug ID: 90883 Summary: Generated code is worse if returned struct is unnamed Product: gcc Version: 9.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compon

[Bug c/61939] warn when __attribute__((aligned(x))) is ignored

2019-06-13 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61939 --- Comment #4 from Eric Gallager --- (In reply to Daniel Santos from comment #2) > (In reply to Vedran Miletic from comment #1) > > #include > > #include > > float f(std::vector& A, std::vector& B) > > { > > __builtin_assume_aligned(A.data()

[Bug c++/90883] Generated code is worse if returned struct is unnamed

2019-06-13 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90883 Marc Glisse changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/90883] Generated code is worse if returned struct is unnamed

2019-06-13 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90883 --- Comment #2 from Marc Glisse --- (In reply to Marc Glisse from comment #1) > I am surprised the C++ FE doesn't do copy elision in either case. Er, actually, that's obviously because it is a case where the ABI says we return in registers...

<    1   2