http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47490
Summary: __Unwind_SjLj_Unregister clobbers return value with
i586-mingw32msvc-g++ 4.4.4 and -fstack-protector
Product: gcc
Version: 4.4.4
Status: UNCONFIRMED
Severity: norma
: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: cyp561 at gmail dot com
The following code should not generate “volatile.cpp:3:16: warning: variable
‘usedAndSet’ set but not used [-Wunused-but-set-variable]”, but does anyway
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: cyp561 at gmail dot com
An enum with no values outside the range 0..INT_MAX seems to be treated as an
int in all cases, with the exception that casting to long or long long does not
sign extend. As far as I understand
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51392
Bug #: 51392
Summary: Wrong code with -Os when __attribute__((__const__))
function returns structure
Classification: Unclassified
Product: gcc
Version: 4.5.3
Status:
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: cyp561 at gmail dot com
Target Milestone: ---
According to https://godbolt.org/z/XzT1wz, compiles in 8.3 and trunk. Fails
compilation on 9.2.
constexpr float f() { float x = 42
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: cyp561 at gmail dot com
Target Milestone: ---
Managed to produce a parameter pack expansion that works in clang
trunk but not GCC trunk today: https://godbolt.org/z/PkaZqQ. No bugzilla
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91793
--- Comment #1 from Cyp ---
Reduced (creduce) testcase which reproduces ICE:
---
int a(
[](auto... a) {
[] {
using b = decltype(a);
};
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91793
--- Comment #2 from Cyp ---
Compiler output from reduced testcase:
---
91793.cpp: In instantiation of ‘ [with auto:1 = {}]’:
91793.cpp:6:4: required from here
91793.cpp:4:25: internal compiler error: Segmentation fault
using
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51392
--- Comment #4 from cyp561 at gmail dot com ---
Is there any case in which a function returning a structure may not elide the
return value copy to being passed by invisible reference?
If not, I think it is either a bug that the code fails, or a
3.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: cyp561 at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36979
back to int, adding and multiplying
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: cyp561 at gmail dot com
GCC build
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: cyp561 at gmail dot com
Target Milestone: ---
Test code:
typedef Rng = std::mt19937_64;
Actual error message:
error: ‘Rng’ does not name a type
Useful
12 matches
Mail list logo