[Bug c++/109359] New: Compile-time rounding of double literal to float is incorrect with -frounding-math

2023-03-31 Thread rcopley at gmail dot com via Gcc-bugs
Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: rcopley at gmail dot com Target Milestone: --- The following program should print: 0.001914 0.630538 With "g++ -frounding-math", it prin

[Bug target/54412] minimal 32-byte stack alignment with -mavx on 64-bit Windows

2022-04-01 Thread rcopley at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54412 --- Comment #38 from R Copley --- (A patch to emit unaligned instructions should probably resolve bug 49001 instead of this one, 54412.) Could dynamic alignment be achieved, not for automatic variables and function parameters, but for registers

[Bug pch/91440] Precompiled headers don't work with ASLR on mingw

2022-03-27 Thread rcopley at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91440 R Copley changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/101907] New: ICE in build_special_member_call (with co_await and initializer list)

2021-08-14 Thread rcopley at gmail dot com via Gcc-bugs
: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: rcopley at gmail dot com Target Milestone: --- The C++ program included at the end of this message causes an ICE at the last line, in GCC versions 10.3.0, 11.1.0, 11.2.0 and on

[Bug libstdc++/99907] New: (On MS Windows) Multiple definition errors with included in two translation units

2021-04-04 Thread rcopley at gmail dot com via Gcc-bugs
Severity: normal Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: rcopley at gmail dot com Target Milestone: --- Created attachment 50506 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50506&action=edit testca

[Bug libstdc++/96626] utf-8 string literal not convertible to std::string with -std=c++20

2020-08-16 Thread rcopley at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96626 R Copley changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug libstdc++/96626] New: utf-8 string literal not convertible to std::string with -std=c++20

2020-08-15 Thread rcopley at gmail dot com
Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: rcopley at gmail dot com Target Milestone: --- This is accepted with -std=c++17 and rejected with -std=c++20: #include #include int main () { std::string s = u8"

[Bug pch/91440] Precompiled headers regression in 9.2

2019-08-14 Thread rcopley at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91440 --- Comment #6 from R Copley --- > Yes, I'll try and bisect. Just to check, I rebuilt GCC 9.1 using the version of the MSYS2 package-build from before the update to 9.2, and the binaries have ASLR enabled and do show failures with using PCH. Loo

[Bug pch/91440] Precompiled headers regression in 9.2

2019-08-14 Thread rcopley at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91440 --- Comment #5 from R Copley --- > But is probably the reason for the failures... mingw might not implement > the necessary relocation support for ASLR. Yes, I think that's it. (I should have said so more explicitly.) > You can try enable it o

[Bug pch/91440] Precompiled headers regression in 9.2

2019-08-14 Thread rcopley at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91440 --- Comment #3 from R Copley --- Yes, I'll try and bisect. Apologies for my confusion: ASLR is enabled in the 9.2 binaries and not in the 9.1 binaries (see below). This change isn't explicit in the MSYS2 PKGBUILD change[1] going from 9.1 to 9.2.

[Bug c/91440] Precompiled headers regression in 9.2

2019-08-14 Thread rcopley at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91440 --- Comment #1 from R Copley --- The recipe isn't as stable as I thought. The same recipe on a different machine doesn't reproduce the issue. Apologies. On that machine with a real project (sorry, no minimal example) I'm now seeing this error:

[Bug c/91440] New: Precompiled headers regression in 9.2

2019-08-13 Thread rcopley at gmail dot com
Assignee: unassigned at gcc dot gnu.org Reporter: rcopley at gmail dot com Target Milestone: --- In some circumstances, builds using precompiled headers which worked with GCC 9.1 no longer work with GCC 9.2. Complete test case (as a bash script): >precompiled.h echo &quo

[Bug libstdc++/67932] Incorrect conversion to hexfloat

2015-10-13 Thread rcopley at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67932 --- Comment #9 from R Copley --- For information, this has already been entered on the mingw-w64 issue tracker (months ago) (see http://sourceforge.net/p/mingw-w64/bugs/459/).

[Bug libstdc++/67932] Incorrect conversion to hexfloat

2015-10-12 Thread rcopley at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67932 --- Comment #8 from R Copley --- Thanks. I've emailed the mingw-w64 list at http://sourceforge.net/p/mingw-w64/mailman/mingw-w64-public. (You expressed it better but I hadn't seen your last comment.)

[Bug libstdc++/67932] Incorrect conversion to hexfloat

2015-10-12 Thread rcopley at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67932 --- Comment #6 from R Copley --- Created attachment 36490 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36490&action=edit hexfloat-bug-2b.ii (see Comment 4)

[Bug libstdc++/67932] Incorrect conversion to hexfloat

2015-10-12 Thread rcopley at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67932 --- Comment #5 from R Copley --- Created attachment 36489 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36489&action=edit hexfloat-bug-2a.ii (see Comment 4)

[Bug libstdc++/67932] Incorrect conversion to hexfloat

2015-10-12 Thread rcopley at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67932 --- Comment #4 from R Copley --- That's what I understood to be the case. Nevertheless, with the toolchain I am using (see above for version; same command-line etc.), I get the results below. Both testcases below give the correct results with g

[Bug libstdc++/67932] Incorrect conversion to hexfloat

2015-10-12 Thread rcopley at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67932 --- Comment #2 from R Copley --- Thanks Jonathan. It's clear enough from what I wrote that: (1) The same kind of incorrect output is produced by (a) including and using std::printf, and (b) using iostreams and std::hexfloat; (2) The correct ou

[Bug libstdc++/67932] New: Incorrect conversion to hexfloat

2015-10-12 Thread rcopley at gmail dot com
++ Assignee: unassigned at gcc dot gnu.org Reporter: rcopley at gmail dot com Target Milestone: --- Created attachment 36481 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36481&action=edit Preprocessed source file that demonstrates incorrect conversion from floatin

[Bug target/54412] Request for 32-byte stack alignment with -mavx on Windows

2014-09-20 Thread rcopley at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54412 --- Comment #11 from R Copley --- On 20 September 2014 07:08, roland at rschulz dot eu wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54412 > > --- Comment #10 from Roland Schulz --- > Created attachment 33520 > --> https://gcc.gnu.org

[Bug target/54412] Request for 32-byte stack alignment with -mavx on Windows

2014-09-05 Thread rcopley at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54412 --- Comment #9 from R Copley --- Heh, sorry. I don't really know C, I assumed it had an implicit "return 0;" like C++. Apparently C99 has this but earlier C standards do not. So, not bizarre at all.

[Bug target/54412] Request for 32-byte stack alignment with -mavx on Windows

2014-09-05 Thread rcopley at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54412 --- Comment #8 from R Copley --- No, I use the mingw-builds distro too. gcc --version gcc (x86_64-win32-seh-rev0, Built by MinGW-W64 project) 4.9.1 Bizarrely, the attached program exits with a random error code unless I add a "return 0;" statem

[Bug target/54412] Request for 32-byte stack alignment with -mavx on Windows

2014-09-04 Thread rcopley at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54412 --- Comment #6 from R Copley --- As I mentioned in the description, this request was indeed related to that bug. The test-case no longer crashes with recent MinGW-W64 toolchains (GCC 4.9.1).

[Bug target/54412] Request for 32-byte stack alignment with -mavx on Windows

2013-09-10 Thread rcopley at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54412 --- Comment #4 from R Copley --- (In reply to Kai Tietz from comment #1) > MS' abi doesn't allow this. So I doubt we will be able to implement that > for this target. If we want to re-align stack on function-base we will run > into troubles with

[Bug target/54412] Request for 32-byte stack alignment with -mavx on Windows

2013-09-10 Thread rcopley at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54412 --- Comment #3 from R Copley --- Created attachment 30794 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30794&action=edit Assembly-language code compiled from attachment 1 Compiled with GCC 4.7.2 from the MinGW-w64 toolchain. Compile comman

[Bug target/54412] Request for 32-byte stack alignment with -mavx on Windows

2013-09-10 Thread rcopley at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54412 --- Comment #2 from R Copley --- Created attachment 30793 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30793&action=edit As before, but with explicitly 32-byte aligned variables

[Bug target/54412] New: Request for 32-byte stack alignment with -mavx on Windows

2012-08-29 Thread rcopley at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54412 Bug #: 54412 Summary: Request for 32-byte stack alignment with -mavx on Windows Classification: Unclassified Product: gcc Version: 4.7.1 Status: UNCONFIRMED