[Bug c/85487] Support '#pragma region' and '#pragma endregion' to allow code folding with Visual Studio

2022-02-15 Thread austinpmorton at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85487 --- Comment #5 from Austin Morton --- (In reply to Jonathan Wakely from comment #3) > The docs raise some questions. > > They say that a #pragma region must be ended by a #pragma endregion. Should > the compiler check that and issue a

[Bug middle-end/92170] Incorrect function names output when using -fstack-usage on C++

2019-10-22 Thread austinpmorton at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92170 --- Comment #7 from Austin Morton --- As I said, the code made no sense to me in the context of C/C++ qualified names - the comment didn't clarify that this bit of code was concerned with Ada qualified names. Printing the fully qualified name

[Bug middle-end/92170] Incorrect function names output when using -fstack-usage on C++

2019-10-22 Thread austinpmorton at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92170 --- Comment #5 from Austin Morton --- Of course, I only provided it to show how I was generating the "expected" results. I wasn't sure what the purpose of splitting at "." was (in particular since I think of GCC as a C/C++ compiler and the "."

[Bug driver/92170] Incorrect function names output when using -fstack-usage on C++

2019-10-21 Thread austinpmorton at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92170 --- Comment #1 from Austin Morton --- Created attachment 47076 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47076=edit current su output

[Bug driver/92170] Incorrect function names output when using -fstack-usage on C++

2019-10-21 Thread austinpmorton at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92170 --- Comment #2 from Austin Morton --- Created attachment 47077 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47077=edit expected su output

[Bug driver/92170] Incorrect function names output when using -fstack-usage on C++

2019-10-21 Thread austinpmorton at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92170 --- Comment #3 from Austin Morton --- Created attachment 47078 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47078=edit workaround patch

[Bug driver/92170] New: Incorrect function names output when using -fstack-usage on C++

2019-10-21 Thread austinpmorton at gmail dot com
Priority: P3 Component: driver Assignee: unassigned at gcc dot gnu.org Reporter: austinpmorton at gmail dot com Target Milestone: --- Created attachment 47075 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47075=edit example source When test.cc is compi

[Bug target/85593] [6/7/8/9 Regression] GCC on ARM allocates R3 for local variable when calling naked function with O2 optimizations enabled

2018-10-15 Thread austinpmorton at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85593 --- Comment #9 from Austin Morton --- Apologies for letting this sit so long. I spent an afternoon digging through some of the mentioned functions trying to familiarize myself with everything but I didn't make it further than that. That was a

[Bug target/85593] [6,7,8,9 Regression] GCC on ARM allocates R3 for local variable when calling naked function with O2 optimizations enabled

2018-05-07 Thread austinpmorton at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85593 --- Comment #7 from Austin Morton --- I will certainly give writing a patch a try - but I will disclaim up front that because there is a viable workaround for the issue I was having (patch below [1]), this issue is "resolved" as far as my

[Bug target/85593] GCC on ARM allocates R3 for local variable when calling naked function with O2 optimizations enabled

2018-05-03 Thread austinpmorton at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85593 --- Comment #4 from Austin Morton --- In my particular case I was able to work around the issue by removing the naked attribute and using extended assembly with a clobbers list. The resulting code is nearly identical (allowing GCC to generate

[Bug target/85593] GCC on ARM allocates R3 for local variable when calling naked function with O2 optimizations enabled

2018-05-01 Thread austinpmorton at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85593 --- Comment #2 from Austin Morton --- Where is this limitation documented? The GCC documentation on the naked function attribute makes no mention of such a caveat: https://gcc.gnu.org/onlinedocs/gcc/ARM-Function-Attributes.html See here for

[Bug inline-asm/85593] New: GCC on ARM allocates R3 for local variable when calling naked function with O2 optimizations enabled

2018-05-01 Thread austinpmorton at gmail dot com
Severity: normal Priority: P3 Component: inline-asm Assignee: unassigned at gcc dot gnu.org Reporter: austinpmorton at gmail dot com Target Milestone: --- Created attachment 44048 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44048=e

[Bug preprocessor/85487] New: Support '#pragma region' and '#pragma endregion' to allow code folding with Visual Studio

2018-04-20 Thread austinpmorton at gmail dot com
Severity: normal Priority: P3 Component: preprocessor Assignee: unassigned at gcc dot gnu.org Reporter: austinpmorton at gmail dot com Target Milestone: --- #pragma region is a feature introduced by Microsoft in order to allow manual grouping and folding