[Bug c++/95305] Same code takes ~1/4 to 1/7th the time to compile under clang++.

2020-05-26 Thread gcc-bugs at hussar dot me.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95305 --- Comment #5 from Jason --- (In reply to Jason from comment #4) > (In reply to Richard Biener from comment #3) > > Can you attach a "representativ" (maybe the worst?) compilation unit in > > preprocessed form? > > Compressed, the preprocessed

[Bug c++/95305] Same code takes ~1/4 to 1/7th the time to compile under clang++.

2020-05-26 Thread gcc-bugs at hussar dot me.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95305 --- Comment #4 from Jason --- (In reply to Richard Biener from comment #3) > Can you attach a "representativ" (maybe the worst?) compilation unit in > preprocessed form? Compressed, the preprocessed translation unit in question is just too

[Bug c++/95305] Same code takes ~1/10 time to compile under clang++.

2020-05-24 Thread gcc-bugs at hussar dot me.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95305 --- Comment #2 from Jason --- Overview: = This performance difference appears to affect many versions of g++: my testing indicates since g++ v7.3.0. The performance difference appears to be a 4-7x difference in the time taken to compile

[Bug c++/95305] Same code takes ~1/10 time to compile under clang++.

2020-05-24 Thread gcc-bugs at hussar dot me.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95305 --- Comment #1 from Jason --- Created attachment 48591 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48591=edit Bar-graph of time taken to compile same code.

[Bug c++/95305] New: Same code takes ~1/10 time to compile under clang++.

2020-05-24 Thread gcc-bugs at hussar dot me.uk
Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: gcc-bugs at hussar dot me.uk Target Milestone: --- Created attachment 48590 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48590=edit Time taken to compile same code.

[Bug tree-optimization/66573] Unexpected change in static, branch-prediction cost from O1 to O2 in if-then-else.

2020-04-13 Thread gcc-bugs at hussar dot me.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66573 --- Comment #12 from Jason --- This significant change appears to have been resolved in g++ v8.1.0. So now g++ does the same as the massive corpus of computer science and other compilers.

[Bug c++/59980] Diagnostics relating to template-specialisations using enums.

2020-04-13 Thread gcc-bugs at hussar dot me.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59980 Jason changed: What|Removed |Added Status|NEW |RESOLVED Known to work|

[Bug c++/59980] Diagnostics relating to template-specialisations using enums.

2020-04-13 Thread gcc-bugs at hussar dot me.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59980 --- Comment #6 from Jason --- And lo! Finally! This appears to have been done in g++ v9.3.0. Amazing! Huzzah!