https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78685
Matthias Urlichs changed:
What|Removed |Added
CC||matthias at urlichs dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104081
Matthias Urlichs changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104081
--- Comment #5 from Matthias Urlichs ---
> when I break at line 24 the data is still there but it's lost
> when unwinding frames from the SIGABRT:
Yes, that's exactly the problem.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104081
--- Comment #3 from Matthias Urlichs ---
Sure.
gcc -Og -g -std=c++17 -lstdc++ /tmp/test.cpp
#include
#include
void throw_invalid(const char *a, std::string_view b) {
(void)a; (void)b;
throw;
}
int64_t str_atoi(std::string_view dat
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104081
--- Comment #1 from Matthias Urlichs ---
current line is 24, after "throw_invalid" has called abort()
++
Assignee: unassigned at gcc dot gnu.org
Reporter: matthias at urlichs dot de
Target Milestone: ---
I expect the optimizer, when confronted with "-Og", to keep my variables
debuggable.
(I also expect (of me) to not make terminally stupid mistakes like the one
exhibited
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: matthias at urlichs dot de
Target Milestone: ---
This code, which calculates an integer square root ..:
#include
uint16_t int_sqrt32(uint32_t x)
{
uint16_t res=0;
uint16_t add
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55772
Matthias Urlichs changed:
What|Removed |Added
Severity|normal |enhancement
--- Comment #2 f
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55772
Bug #: 55772
Summary: "Jump crosses initialization" error spurious when var
is unused
Classification: Unclassified
Product: gcc
Version: 4.7.2
Status: UNCONFIRMED