[Bug c++/92385] extremely long and memory intensive compilation for brace construction of array member

2019-11-06 Thread edquist at cs dot wisc.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92385 --- Comment #6 from Carl --- > I'm not sure if () and {} are semantically equivalent [in this case]. For what it's worth, (not sure if I'm allowed to paste a link here, but) on cppreference.com [1] under "Constructors and member initializer

[Bug c++/92385] extremely long and memory intensive compilation for brace construction of array member

2019-11-05 Thread edquist at cs dot wisc.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92385 --- Comment #3 from Carl --- Original "good.cpp" and "bad.cpp" sources now attached.

[Bug c++/92385] extremely long and memory intensive compilation for brace construction of array member

2019-11-05 Thread edquist at cs dot wisc.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92385 --- Comment #2 from Carl --- Created attachment 47181 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47181=edit source that does not exhibit bad compilation performance Note the constructor initializes the member with parens:

[Bug c++/92385] extremely long and memory intensive compilation for brace construction of array member

2019-11-05 Thread edquist at cs dot wisc.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92385 --- Comment #1 from Carl --- Created attachment 47179 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47179=edit original source file with bad compilation performance Note the brace member initialization in the constructor: "item_array() :

[Bug c++/92385] New: extremely long and memory intensive compilation for brace construction of array member

2019-11-05 Thread edquist at cs dot wisc.edu
Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: edquist at cs dot wisc.edu Target Milestone: --- Created attachment 47178 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47178=edit preprocessed sou