[Bug c/94142] New: typeof enum member appears to give wrong signedness

2020-03-11 Thread matthew.fernandez at gmail dot com
Component: c Assignee: unassigned at gcc dot gnu.org Reporter: matthew.fernandez at gmail dot com Target Milestone: --- Consider the following code: typedef enum { A, B } t; t x; __typeof__(A) y; int foo() { if (x == y) return 0; return 1

[Bug c/94142] typeof enum member appears to give wrong signedness

2020-03-11 Thread matthew.fernandez at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94142 Matthew Fernandez changed: What|Removed |Added Resolution|--- |INVALID Status|UNCONFIRM

[Bug c++/82873] New: Generated copy constructor calls constructors for 0-sized array members

2017-11-06 Thread matthew.fernandez at gmail dot com
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: matthew.fernandez at gmail dot com Target Milestone: --- Hello there, I'm trying to do something a little unorthodox and ran into an undefined reference during linking. It ap

[Bug c++/82873] Generated copy constructor calls constructors for 0-sized array members

2017-11-06 Thread matthew.fernandez at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82873 --- Comment #1 from Matthew Fernandez --- Sorry, that was meant to be PR 14779, not 14799.

[Bug libgcc/67902] New: Undefined negation in __divdi3

2015-10-08 Thread matthew.fernandez at gmail dot com
Assignee: unassigned at gcc dot gnu.org Reporter: matthew.fernandez at gmail dot com CC: joseph at codesourcery dot com Target Milestone: --- As discussed on the GCC list, I believe the function __divdi3 performs a signed negation that may be undefined behaviour. In