[Bug other/59783] New: inline expansion stack when attribute error/warning triggered is displayed incorrectly

2014-01-12 Thread daniel.santos at pobox dot com
Severity: minor Priority: P3 Component: other Assignee: unassigned at gcc dot gnu.org Reporter: daniel.santos at pobox dot com In C < C11, __attribute__((error())) is a wonderful replacement for _Static_assert() (e.g., http://git.kernel.org/cgit/linux/kernel/

[Bug other/59783] inline expansion stack when attribute error/warning triggered is displayed incorrectly

2014-01-13 Thread daniel.santos at pobox dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59783 --- Comment #3 from Daniel Santos --- (In reply to Jakub Jelinek from comment #2) > If you want precise call trace in the diagnostics, you need to use -g. holy backtrace batman!

[Bug c/68507] New: attribute ms_abi (on Linux) bloats by pushing/popping xmm6-15 needlessly

2015-11-23 Thread daniel.santos at pobox dot com
: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: daniel.santos at pobox dot com Target Milestone: --- Created attachment 36814 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36814&action=edit simple test case

[Bug c/68507] attribute ms_abi (on Linux) bloats by pushing/popping xmm6-15 needlessly

2015-11-23 Thread daniel.santos at pobox dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68507 --- Comment #1 from Daniel Santos --- Correction: xmm6-15, I can't type today. And here is the output on gcc 4.9.3: $ objdump -dSr test_case.o test_case.o: file format elf64-x86-64 Disassembly of section .text: : 0:

[Bug target/68507] attribute ms_abi (on Linux) bloats by pushing/popping xmm6-15 needlessly

2015-11-23 Thread daniel.santos at pobox dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68507 --- Comment #3 from Daniel Santos --- (In reply to Andrew Pinski from comment #2) > I think there is an ABI difference with respect of xmm6-16 between sysv ABI > and windows ABIs. Can you provide why you think this is not a bug? Ehem, uh no. I

[Bug target/68507] attribute ms_abi (on Linux) bloats by pushing/popping xmm6-15 needlessly

2015-11-23 Thread daniel.santos at pobox dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68507 --- Comment #4 from Daniel Santos --- According to § 3.2.1 "Registers and the Stack Frame" of the System V Application Binary Interface for AMD64 Registers %rbp, %rbx and %r12 through %r15 “belong” to the calling function and the called function

[Bug target/68507] attribute ms_abi (on Linux) bloats by pushing/popping xmm6-15 needlessly

2015-11-23 Thread daniel.santos at pobox dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68507 Daniel Santos changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/54829] bad optimization: sub followed by cmp w/ zero (x86 & ARM)

2015-02-14 Thread daniel.santos at pobox dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54829 --- Comment #9 from Daniel Santos --- I appologize for my late response. (In reply to Richard Earnshaw from comment #8) > Unfortunately, computers don't to infinite precision arithmetic by default. > That would perform a different comparison in

[Bug web/61782] New: always_inline incorrectly documented

2014-07-11 Thread daniel.santos at pobox dot com
Assignee: unassigned at gcc dot gnu.org Reporter: daniel.santos at pobox dot com The current behavior of __attribute__((always_inline)) is to not only inline in -O0, but also to force inlining even when -finline-limit is exceeded. However, the documentation states that it will only

[Bug web/61782] always_inline incorrectly documented

2014-07-14 Thread daniel.santos at pobox dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61782 --- Comment #2 from Daniel Santos --- Hmm, I suppose I wasn't considering that interpretation of the language. Your clarification helps though, and actually sounds pretty good: "always_inline forces inlining of the function under all circumstance

[Bug web/61782] always_inline incorrectly documented

2014-07-15 Thread daniel.santos at pobox dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61782 --- Comment #6 from Daniel Santos --- (In reply to Richard Biener from comment #3) > Note that if such function is called indirectly the compiler may > or may not inline it dependent on optimization level and a failure > to inline an indirect cal

[Bug web/61782] always_inline incorrectly documented

2014-07-16 Thread daniel.santos at pobox dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61782 --- Comment #10 from Daniel Santos --- (In reply to rguent...@suse.de from comment #7) > Heh - I've been there as well and guess what - I invented > __attribute__((flatten)) because of this... > > Note that flatten has the same issues as always

[Bug c/61939] New: warn when __attribute__((aligned(x))) is ignored

2014-07-28 Thread daniel.santos at pobox dot com
: c Assignee: unassigned at gcc dot gnu.org Reporter: daniel.santos at pobox dot com Sadly, I had been using the following code, presuming that I was telling gcc that some data was aligned: void copy_something(void *p, const void *s) { struct some_struct __aligned__((aligned

[Bug c++/36631] [4.3 Regression] attribute always_inline -> sorry, unimplemented: recursive inlining

2014-07-28 Thread daniel.santos at pobox dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=36631 --- Comment #15 from Daniel Santos --- ack, undoing, so sorry!

[Bug target/54829] bad optimization: sub followed by cmp w/ zero (x86 & ARM)

2016-08-11 Thread daniel.santos at pobox dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54829 Daniel Santos changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug go/68931] gccgo fails to build using MUSL libc

2020-10-17 Thread daniel.santos at pobox dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68931 Daniel Santos changed: What|Removed |Added CC||daniel.santos at pobox dot com

[Bug go/68931] gccgo fails to build using MUSL libc

2020-10-17 Thread daniel.santos at pobox dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68931 --- Comment #5 from Daniel Santos --- Created attachment 49393 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49393&action=edit Patch for musl compatibility The root problem is that musl defines off64_t and loff_t as preprocessor macros.

[Bug c++/98441] New: member function pointer incorrectly parsed as having trailing return type

2020-12-24 Thread daniel.santos at pobox dot com via Gcc-bugs
: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: daniel.santos at pobox dot com Target Milestone: --- When declaring pointer to a member function pointer using atuo& as the function's return type, we get a bad parse

[Bug c++/98441] member function pointer incorrectly parsed as having trailing return type

2020-12-24 Thread daniel.santos at pobox dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98441 --- Comment #1 from Daniel Santos --- Also, I build gcc with: -O42 -ffast-math -ffuzzy-dice -felide-function-bodies -pipe-clogged but that shouldn't make a difference.

[Bug c++/98441] [11 Regression] member function pointer incorrectly parsed as having trailing return type

2020-12-29 Thread daniel.santos at pobox dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98441 --- Comment #4 from Daniel Santos --- Created attachment 49850 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49850&action=edit Gentoo gcc 10.2.0-r2 patches (In reply to Jonathan Wakely from comment #3) > (In reply to Daniel Santos from co

[Bug c++/98441] [11 Regression] member function pointer incorrectly parsed as having trailing return type

2020-12-29 Thread daniel.santos at pobox dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98441 --- Comment #6 from Daniel Santos --- (In reply to Jonathan Wakely from comment #5) > That's why you're asked to provide the output of 'gcc -v' by the > instructions at https://gcc.gnu.org/bugs/ (because we can't guess that your > 10.2.0 is diffe

<    1   2