[Bug target/49146] segv from libgcc_s when raising an exception, or unwinding stack with backtrace with ms_abi

2013-05-15 Thread woodard at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49146 --- Comment #4 from Ben Woodard woodard at redhat dot com --- Created attachment 30127 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=30127action=edit Patch from Ariel that prevents the segv

[Bug target/49146] segv from libgcc_s when raising an exception, or unwinding stack with backtrace with ms_abi

2013-05-15 Thread woodard at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49146 --- Comment #5 from Ben Woodard woodard at redhat dot com --- Ariel, In talking to the engineers regarding this, they would like _builtin_expect hints to tell the compiler to generate code saying that hitting this is unlikely. http://blog.man7

[Bug target/49146] segv from libgcc_s when raising an exception, or unwinding stack with backtrace with ms_abi

2013-05-16 Thread woodard at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49146 --- Comment #6 from Ben Woodard woodard at redhat dot com --- Created attachment 30134 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=30134action=edit reproducer program still working on getting access to the machine where I have ICC. My

[Bug target/49146] segv from libgcc_s when raising an exception, or unwinding stack with backtrace with ms_abi

2013-05-16 Thread woodard at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49146 --- Comment #7 from Ben Woodard woodard at redhat dot com --- Created attachment 30137 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=30137action=edit t_repro.c compiled -g -O2

[Bug target/49146] segv from libgcc_s when raising an exception, or unwinding stack with backtrace with ms_abi

2013-05-23 Thread woodard at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49146 Ben Woodard woodard at redhat dot com changed: What|Removed |Added Attachment #30127|0 |1

[Bug bootstrap/57900] New: /usr/include/gnu/stubs.h:7:27: fatal error: gnu/stubs-32.h: No such file or directory

2013-07-15 Thread woodard at redhat dot com
Severity: minor Priority: P3 Component: bootstrap Assignee: unassigned at gcc dot gnu.org Reporter: woodard at redhat dot com This is an easy problem to solve and there are a couple of ways to solve it. The underlying problem is that I don't have one of the glibc

[Bug bootstrap/57900] /usr/include/gnu/stubs.h:7:27: fatal error: gnu/stubs-32.h: No such file or directory

2013-07-15 Thread woodard at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57900 Ben Woodard woodard at redhat dot com changed: What|Removed |Added Severity|minor |trivial

[Bug fortran/58067] New: ICE in GFortran recog.c:2158

2013-08-02 Thread woodard at redhat dot com
Assignee: unassigned at gcc dot gnu.org Reporter: woodard at redhat dot com Created attachment 30602 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=30602action=edit a flattened self contained version of the NAS benchmark. When I try to compile one of the NAS benchmark's with -fpic

[Bug target/58067] ICE in GFortran recog.c:2158

2013-08-05 Thread woodard at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58067 --- Comment #3 from Ben Woodard woodard at redhat dot com --- (In reply to Uroš Bizjak from comment #2) You can add -mtls-dialect=gnu2 to -fpic and -mcmodel=large. Though doing that prevents the ICE, the compilation spits out about 78 lines like

[Bug target/58067] ICE in GFortran recog.c:2158

2013-08-06 Thread woodard at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58067 --- Comment #6 from Ben Woodard woodard at redhat dot com --- I just rebuilt the trunk with the patch that Alexandre Oliva provided and I can confirm that it solves the problem with notes about non-delegitimized addresses. However, I haven't yet

[Bug target/58067] ICE in GFortran recog.c:2158

2013-08-06 Thread woodard at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58067 --- Comment #7 from Ben Woodard woodard at redhat dot com --- Created attachment 30622 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=30622action=edit Alexandre's patch as a file rather than as text.

[Bug c/71855] duplicate unspecified_parameters DIE in DWARF for functions with variable arguments

2016-07-18 Thread woodard at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71855 --- Comment #2 from Ben Woodard --- This is about as simple of a reproducer as I have been able to come up with: #define _GNU_SOURCE #include #include #include void m4_error (int status, int errnum, const char *format, ...) { va_list

[Bug c/71855] New: duplicate unspecified_parameters DIE in DWARF for functions with variable arguments

2016-07-13 Thread woodard at redhat dot com
Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: woodard at redhat dot com Target Milestone: --- I was looking at the DWARF generated by GCC 6.1 for M4 and it emits two DIEs for unspecified parameters. Before Dodji

[Bug c/71855] duplicate unspecified_parameters DIE in DWARF for functions with variable arguments

2016-07-13 Thread woodard at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71855 --- Comment #1 from Ben Woodard --- I just discovered (by mistake) that the problem does not seem to happen with GCC 4.4.7.

[Bug debug/51358] incorrect/missing location for function arg, -O0, without VTA

2017-03-24 Thread woodard at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51358 --- Comment #13 from Ben Woodard --- This adds some additional complexity to a feature request in https://sourceware.org/bugzilla/show_bug.cgi?id=19949. It would be helpful it were resolved.

[Bug c++/81812] New: Empty virtual function fails to compile

2017-08-10 Thread woodard at redhat dot com
++ Assignee: unassigned at gcc dot gnu.org Reporter: woodard at redhat dot com Target Milestone: --- -95 ~]$ cat testg++.C #include class Error { public: virtual void error( int, int, const char *, ... ) const; }; void Error::error(int a, int b, const char * c, ...) const

[Bug c++/81812] Empty virtual function fails to compile

2017-08-10 Thread woodard at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81812 --- Comment #2 from Ben Woodard --- Uncommenting the printf allows it to compile. This showed up on F26 x86_64 compiling MRNet

[Bug fortran/83254] New: gfortran doesn't consider c_loc addresses c_associated

2017-12-01 Thread woodard at redhat dot com
Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: woodard at redhat dot com Target Milestone: --- Created attachment 42776 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42776=edit example program gfortran 7.1 -> current trunk doesn't consider

[Bug fortran/83254] gfortran doesn't consider c_loc addresses c_associated

2017-12-01 Thread woodard at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83254 --- Comment #2 from Ben Woodard --- my bad my trunk was out of date.

[Bug middle-end/81478] By default, GCC emits a function call for complex multiplication, should partially inline that

2018-05-08 Thread woodard at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81478 Ben Woodard changed: What|Removed |Added CC||woodard at redhat dot com --- Comment #7

[Bug libstdc++/81122] [DR 2381] parsing f stopped after '0' when reading std::hexfloat >> f;

2018-01-26 Thread woodard at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81122 --- Comment #4 from Ben Woodard --- Without this Is there a way to read and write floats and doubles accurately without the rounding that converting to/from base 10 ends up introducing? How are you supposed to use istreams like

[Bug libstdc++/81122] [DR 2381] parsing f stopped after '0' when reading std::hexfloat >> f;

2018-01-26 Thread woodard at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81122 --- Comment #5 from Ben Woodard --- The example code in: http://en.cppreference.com/w/cpp/io/manip/fixed suggests that this should work. Probably either the behavior or the library or the example on cppreference should change.

[Bug libstdc++/81122] [DR 2381] parsing f stopped after '0' when reading std::hexfloat >> f;

2018-01-26 Thread woodard at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81122 --- Comment #10 from Ben Woodard --- Also note: https://connect.microsoft.com/VisualStudio/feedback/details/742775 My reading of: https://wg21.link/lwg2381 is that if the first part of the number includes a '.' then the portion after the 'p'

[Bug libstdc++/81122] [DR 2381] parsing f stopped after '0' when reading std::hexfloat >> f;

2018-01-29 Thread woodard at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81122 --- Comment #15 from Ben Woodard --- (In reply to Jonathan Wakely from comment #11) > (In reply to Ben Woodard from comment #10) > > Also note: > > https://connect.microsoft.com/VisualStudio/feedback/details/742775 > > > > My reading of: > >

[Bug c/96383] Full ABI information missing missing from GCC compiled C

2020-07-29 Thread woodard at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96383 --- Comment #2 from Ben Woodard --- Created attachment 48955 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48955=edit gcc binary

[Bug c/96383] Full ABI information missing missing from GCC compiled C

2020-07-29 Thread woodard at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96383 --- Comment #1 from Ben Woodard --- Created attachment 48954 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48954=edit clang binary

[Bug c/96383] New: Full ABI information missing missing from GCC compiled C

2020-07-29 Thread woodard at redhat dot com
Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: woodard at redhat dot com Target Milestone: --- When GCC compiles C and there is a call to an external function the full ABI information for the function being called doesn't exist in the caller

[Bug debug/96383] Full ABI information missing missing from GCC compiled C

2020-07-29 Thread woodard at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96383 --- Comment #3 from Ben Woodard --- This also affects C++ but in that case some info can be derived due to mangling.

[Bug debug/102523] New: Assume -fvar-tracking -fvar-tracking-assignments when compiling with -O0 -g

2021-09-28 Thread woodard at redhat dot com via Gcc-bugs
: normal Priority: P3 Component: debug Assignee: unassigned at gcc dot gnu.org Reporter: woodard at redhat dot com Target Milestone: --- One problem that I have run into over and over with developers that I support is they think that -O0 will generate

[Bug debug/102534] New: RFE epilog is not reliably a statement

2021-09-29 Thread woodard at redhat dot com via Gcc-bugs
Assignee: unassigned at gcc dot gnu.org Reporter: woodard at redhat dot com Target Milestone: --- Created attachment 51523 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51523=edit demonstration program Given a program like this: 1 #include 2

[Bug debug/102534] RFE epilog is not reliably a statement with inlining

2021-09-30 Thread woodard at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102534 --- Comment #4 from Ben Woodard --- There continues to be an instruction after the completion of the inlining, the next instruction in the sequence, At the time when the inlining occurs why can’t the .loc 1 6 1 be placed there as part of the

[Bug libgcc/109054] New: _Unwind_GetLanguageSpecificData should have protected visibility

2023-03-07 Thread woodard at redhat dot com via Gcc-bugs
Priority: P3 Component: libgcc Assignee: unassigned at gcc dot gnu.org Reporter: woodard at redhat dot com Target Milestone: --- When you look at libgcc_s.so's implementation of _Unwind_GetLanguageSpecificData $ eu-readelf -s /lib64/libgcc_s.so.1 | grep

[Bug libgcc/109054] _Unwind_GetLanguageSpecificData should have protected visibility

2023-03-07 Thread woodard at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109054 --- Comment #3 from Ben Woodard --- Actually what we were hoping to achieve was not to substitute another version of _Unwind_GetLanguageSpecificData for the one that is in libgcc_s.so but rather to make it so that that another implementation of

[Bug libgcc/109054] _Unwind_GetLanguageSpecificData should have protected visibility

2023-03-07 Thread woodard at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109054 Ben Woodard changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/102027] [11/12/13/14 Regression] ABI break when using vector type in function arg/return value

2023-04-17 Thread woodard at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102027 --- Comment #10 from Ben Woodard --- Currently Libabigail is not able to detect this kind of ABI break. We would be able to detect this if https://dwarfstd.org/issues/221105.1.html were implemented. As mentioned in the DWARF issue, this would

[Bug debug/109346] New: RFE add DW_AT_location to DW_TAG_subprogram

2023-03-30 Thread woodard at redhat dot com via Gcc-bugs
: debug Assignee: unassigned at gcc dot gnu.org Reporter: woodard at redhat dot com Target Milestone: --- There is a currently an issue filed against the DWARF5 standard that asks for DW_AT_location to be the DW_TAG_subprogram and DW_TAG_inlined_subprogram. https://dwarfstd.org