[Bug c/91689] New: internal compiler error: in decode_addr_const, at varasm.c:2864

2019-09-06 Thread david at pgmasters dot net
Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: david at pgmasters dot net Target Milestone: --- Created attachment 46843 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46843=edit Pre-processed source file We received this er

[Bug c/91031] wrong code generated when using compound literal

2019-06-28 Thread david at pgmasters dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91031 David changed: What|Removed |Added CC||david at pgmasters dot net --- Comment #2 from

[Bug middle-end/63155] [6/7/8 Regression] memory hog

2018-09-26 Thread david at pgmasters dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63155 --- Comment #34 from David --- My primary concern in 87316 was about memory usage and this patch definitely helps a lot with that. Thanks! Using -ftree-coalesce-vars helps on >= 4.9 versions and does not seem to have an adverse effect on test

[Bug c/87316] gcc: internal compiler error: Killed (program cc1)

2018-09-17 Thread david at pgmasters dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87316 --- Comment #8 from David --- Thanks, using -ftree-coalesce-vars cuts the time down by about 5x and allows the unit tests to compile in available memory. We may be able to cut down on the number of setjmps in the unit test macros, but they are

[Bug c/87316] gcc: internal compiler error: Killed (program cc1)

2018-09-15 Thread david at pgmasters dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87316 --- Comment #6 from David --- clang 6 does the compilation in under 1 second on the same container. $ clang-6.0 -v clang version 6.0.0-1ubuntu2 (tags/RELEASE_600/final) Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/bin

[Bug c/87316] gcc: internal compiler error: Killed (program cc1)

2018-09-15 Thread david at pgmasters dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87316 --- Comment #5 from David --- I've isolated the compilation and the results are still as above -- new versions of gcc are significantly slower compiling the attached test.i. Using this command: gcc -std=gnu99 -O0 -c test.i gcc 7.3.0 (Ubuntu

[Bug c/87316] gcc: internal compiler error: Killed (program cc1)

2018-09-14 Thread david at pgmasters dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87316 --- Comment #4 from David --- Hmm, yeah, increasing the memory a bit (4GB -> 5GB) leads to a successful compile. I guess it is expected that newer versions use more memory -- more features, etc. The interesting thing is that I was combining

[Bug c/87316] gcc: internal compiler error: Killed (program cc1)

2018-09-14 Thread david at pgmasters dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87316 --- Comment #2 from David --- The test.i file was too large to attach directly so I was forced to gzip it.

[Bug c/87316] gcc: internal compiler error: Killed (program cc1)

2018-09-14 Thread david at pgmasters dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87316 --- Comment #1 from David --- Created attachment 44696 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44696=edit preprocessed output of test.c

[Bug c/87316] New: gcc: internal compiler error: Killed (program cc1)

2018-09-14 Thread david at pgmasters dot net
Component: c Assignee: unassigned at gcc dot gnu.org Reporter: david at pgmasters dot net Target Milestone: --- Got this while compiling a unit test module. A bunch of .c files are directly included and there are a lot of test macros so it gets pretty big. If I remove some tests