[Bug c++/56746] New: 4.8 regression: increased memory usage when compiling C++

2013-03-26 Thread mathias at gaunard dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56746 Bug #: 56746 Summary: 4.8 regression: increased memory usage when compiling C++ Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED

[Bug c++/56746] [4.8 regression] increased memory usage when compiling C++

2013-03-27 Thread mathias at gaunard dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56746 --- Comment #2 from Mathias Gaunard 2013-03-27 11:04:08 UTC --- The preprocessed file is 7 megabytes, which exceeds what I can attach here. I do not think it is practical to reduce it with automatic tools. Would it be ok to provide it as-i

[Bug c++/56746] [4.8 regression] increased memory usage when compiling C++

2013-03-27 Thread mathias at gaunard dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56746 --- Comment #5 from Mathias Gaunard 2013-03-27 16:41:16 UTC --- While trying to isolate the problem, I have observed that the problem does not occur if -save-temps is used. While using -save-temps does not change anything with GCC 4.7, usi

[Bug c++/56746] [4.8 regression] increased memory usage when compiling C++

2013-03-28 Thread mathias at gaunard dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56746 --- Comment #7 from Mathias Gaunard 2013-03-28 10:39:53 UTC --- Using either -save-temps or -ftrack-macro-expansion=0-ftrack-macro-expansion=0 removes the memory hog. Compiling the preprocessed source does not cause increased memory usage.

[Bug target/57057] New: Bad optimization on x86 for minps and maxps

2013-04-24 Thread mathias at gaunard dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57057 Bug #: 57057 Summary: Bad optimization on x86 for minps and maxps Classification: Unclassified Product: gcc Version: 4.7.2 Status: UNCONFIRMED Severity: normal

[Bug target/57057] Bad optimization on x86 for minps and maxps

2013-04-24 Thread mathias at gaunard dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57057 --- Comment #1 from Mathias Gaunard 2013-04-24 16:42:23 UTC --- Created attachment 29931 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=29931 bad optimisation testcase

[Bug c++/50800] Internal compiler error in finish_member_declarations, possibly related to may_alias attribute

2012-08-14 Thread mathias at gaunard dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50800 --- Comment #6 from Mathias Gaunard 2012-08-14 10:53:07 UTC --- I've had this happen with 4.7.1 without any may_alias involved. Why is this bug still marked 'waiting'? Are more testcases necessary?

[Bug other/54436] New: Compiling some regular C++ code gives assembler '700415 shortened to 255' warning

2012-08-31 Thread mathias at gaunard dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54436 Bug #: 54436 Summary: Compiling some regular C++ code gives assembler '700415 shortened to 255' warning Classification: Unclassified Product: gcc Version: 4.7.1 Statu

[Bug target/54436] [4.7/4.8 Regression] Compiling some regular C++ code gives assembler '700415 shortened to 255' warning

2012-08-31 Thread mathias at gaunard dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54436 --- Comment #3 from Mathias Gaunard 2012-09-01 01:23:04 UTC --- While a warning is emitted, is the code in the end still valid or is that a miscompilation?

[Bug target/55184] New: Invalid codegen with vectors and casts

2012-11-02 Thread mathias at gaunard dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55184 Bug #: 55184 Summary: Invalid codegen with vectors and casts Classification: Unclassified Product: gcc Version: 4.6.3 Status: UNCONFIRMED Severity: normal

[Bug target/55184] [4.6 Regression] Invalid codegen with vectors and casts

2012-11-02 Thread mathias at gaunard dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55184 --- Comment #1 from Mathias Gaunard 2012-11-03 00:29:47 UTC --- Problem seems to occur with i686 as well but only if SSE2 is enabled (you'll need to replace 'long' by 'long long' for this in the testcase)

[Bug target/55184] [4.6 Regression] Invalid codegen with vectors and casts

2012-11-04 Thread mathias at gaunard dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55184 Mathias Gaunard changed: What|Removed |Added Attachment #28600|0 |1 is obsolete|

[Bug target/55184] [4.6 Regression] Invalid codegen with vectors and casts

2012-11-04 Thread mathias at gaunard dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55184 --- Comment #4 from Mathias Gaunard 2012-11-04 18:01:27 UTC --- Sorry, I edited the file in between and ended up uploading the wrong test case. Below is the result on my machine with the fixed testcase. $ gcc --version gcc (Ubuntu/Lin

[Bug c++/56746] [4.8 regression] increased memory usage when compiling C++

2013-06-13 Thread mathias at gaunard dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56746 --- Comment #11 from Mathias Gaunard --- 4.8.1 is still affected by this. I wouldn't say it's NOTABUG if a new diagnostic feature enabled by default increases memory consumption by 50%, even when no diagnostic is emitted. I cannot easily give a

[Bug c++/56746] [4.8 regression] increased memory usage when compiling C++

2013-06-13 Thread mathias at gaunard dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56746 --- Comment #12 from Mathias Gaunard --- This may be considered a duplicate of #53525, though that bug is more focused on performance than memory usage.

[Bug preprocessor/53525] Performance regression due to enabling track-macro-expansion

2013-06-13 Thread mathias at gaunard dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53525 Mathias Gaunard changed: What|Removed |Added CC||mathias at gaunard dot com --- Comment

[Bug preprocessor/53525] Performance regression due to enabling track-macro-expansion

2013-07-09 Thread mathias at gaunard dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53525 --- Comment #18 from Mathias Gaunard --- I'm not competent enough to make my own builds of GCC with patches, and I unfortunately do not have much time to contribute to this either. If someone can give me binaries for debian x86-64 I can do some t

[Bug target/50396] New: SSE division by zero generates incorrect code with optimizations enabled

2011-09-14 Thread mathias at gaunard dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50396 Bug #: 50396 Summary: SSE division by zero generates incorrect code with optimizations enabled Classification: Unclassified Product: gcc Version: unknown Status: UNCO

[Bug c++/50495] New: Optimize exact matches in overload resolution

2011-09-23 Thread mathias at gaunard dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50495 Bug #: 50495 Summary: Optimize exact matches in overload resolution Classification: Unclassified Product: gcc Version: unknown Status: UNCONFIRMED Severity: enhancement

[Bug c++/50495] Optimize exact matches in overload resolution

2011-09-23 Thread mathias at gaunard dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50495 --- Comment #2 from Mathias Gaunard 2011-09-23 15:46:50 UTC --- Would you happen to have a reference to those changes or discussed improvements? I'm not testing with a very recent GCC.

[Bug c++/50495] Optimize exact matches in overload resolution

2011-09-23 Thread mathias at gaunard dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50495 --- Comment #5 from Mathias Gaunard 2011-09-23 16:38:11 UTC --- clang was already 50% faster in my tests, so I guess that will put gcc 4.7 on par with it.

[Bug c++/50495] Optimize exact matches in overload resolution

2011-09-23 Thread mathias at gaunard dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50495 --- Comment #7 from Mathias Gaunard 2011-09-23 17:56:48 UTC --- Created attachment 25349 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25349 Python script to generate C++ files with many overloads Syntax is ./generate.py [use single functi

[Bug c++/50495] Optimize exact matches in overload resolution

2011-09-23 Thread mathias at gaunard dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50495 --- Comment #8 from Mathias Gaunard 2011-09-23 17:58:41 UTC --- Created attachment 25350 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25350 Bash script to more easily drive python script Same usage as generate.py, but doesn't take the fir

[Bug c++/50800] New: Internal compiler error in finish_member_declarations, possibly related to may_alias attribute

2011-10-19 Thread mathias at gaunard dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50800 Bug #: 50800 Summary: Internal compiler error in finish_member_declarations, possibly related to may_alias attribute Classification: Unclassified Product: gcc Version: 4.6.1

[Bug c++/50800] Internal compiler error in finish_member_declarations, possibly related to may_alias attribute

2011-10-19 Thread mathias at gaunard dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50800 --- Comment #1 from Mathias Gaunard 2011-10-19 18:20:06 UTC --- Testcase is here (couldn't attach it due to bugzilla size restrictions): http://mathias.gaunard.com/data/ice_finish_member_declaration.cpp

[Bug target/50396] SSE division by zero generates incorrect code with optimizations enabled

2011-10-20 Thread mathias at gaunard dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50396 --- Comment #1 from Mathias Gaunard 2011-10-20 08:58:19 UTC --- This bug has stayed as unconfirmed for a while. Is there anything that I could do to help?

[Bug c++/50800] Internal compiler error in finish_member_declarations, possibly related to may_alias attribute

2011-10-20 Thread mathias at gaunard dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50800 --- Comment #3 from Mathias Gaunard 2011-10-20 20:07:24 UTC --- Created attachment 25562 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25562 Reduced testcase Original testcase reduced using automated delta tools

[Bug target/51654] New: C++ preprocessor bug with -maltivec and typedefs involving 'vector'

2011-12-22 Thread mathias at gaunard dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51654 Bug #: 51654 Summary: C++ preprocessor bug with -maltivec and typedefs involving 'vector' Classification: Unclassified Product: gcc Version: unknown Status: UNCONFIRM

[Bug target/51654] C++ preprocessor bug with -maltivec and typedefs involving 'vector'

2011-12-22 Thread mathias at gaunard dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51654 --- Comment #1 from Mathias Gaunard 2011-12-22 15:16:18 UTC --- Excuse the typo, the above code should have been template struct test { typedef typename T::vector vector; }; to be valid C++ code. The " vector" bit is incorrectly removed in

[Bug target/51654] C++ preprocessor bug with -maltivec and typedefs involving 'vector'

2011-12-22 Thread mathias at gaunard dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51654 --- Comment #3 from Mathias Gaunard 2011-12-22 15:54:20 UTC --- The workarounds #undef vector or compiling with -Dvector=vector seem to work. But shouldn't this not be necessary when altivec.h is not included?

[Bug target/51654] C++ preprocessor bug with -maltivec and typedefs involving 'vector'

2011-12-22 Thread mathias at gaunard dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51654 --- Comment #5 from Mathias Gaunard 2011-12-22 18:48:36 UTC --- gaunard@emeria:~$ g++-4.6 -v Using built-in specs. COLLECT_GCC=g++-4.6 COLLECT_LTO_WRAPPER=/usr/lib/gcc/powerpc-linux-gnu/4.6.0/lto-wrapper Target: powerpc-linux-gnu Configured with:

[Bug c++/90489] New: Attributes no longer allowed in lambdas with trailing return type

2019-05-15 Thread mathias at gaunard dot com
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: mathias at gaunard dot com Target Milestone: --- As of GCC 8.2, the following code is well-formed: auto const f = [](int) __attribute__((always_inline)) -> int { return 0; }; With

[Bug c++/90489] Attributes no longer allowed in lambdas with trailing return type

2019-05-15 Thread mathias at gaunard dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90489 --- Comment #1 from Mathias Gaunard --- Possibly related, Both auto const f = [](int) [[gnu::always_inline]] -> int { return 0; }; and auto const f = [](int) [[gnu::always_inline]] { return 0; }; also fail with GCC 9.1, but work with GCC 8.2. s

[Bug target/51654] C++ preprocessor bug with -maltivec and typedefs involving 'vector'

2019-06-04 Thread mathias at gaunard dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51654 Mathias Gaunard changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug c++/80642] New: lambdas made constexpr in cases where they don't satisfy the requirements for it

2017-05-05 Thread mathias at gaunard dot com
IRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: mathias at gaunard dot com Target Milestone: --- Since C++17, lambdas are automatically constexpr whenever they can. It seems however that GCC 7.1 tries to make la

[Bug c++/80667] New: [c++1z] ice segfault on partial specialization with non-type template parameter

2017-05-08 Thread mathias at gaunard dot com
: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: mathias at gaunard dot com Target Milestone: --- Building the following code with std=c++1z #include template struct traits { static constexpr T const_min = 0