Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: ian at geometrian dot com
Created attachment 30432
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30432&action=edit
Self-contained example of problem
Compile attached example: &q
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: ian at geometrian dot com
Target Milestone: ---
When dereferencing a pointer created from calling an implicit user conversion,
g++ erroneously produces a
: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: ian at geometrian dot com
Target Milestone: ---
Created attachment 38032
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38032&action=edit
Sample given in tex
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70318
--- Comment #2 from Ian Mallett ---
"Did you interpret the standard as providing int sqrt(int);" Yes; I did. You're
right; what is supposed to exist is just "double sqrt(int);". Sorry for the
noise.
++
Assignee: unassigned at gcc dot gnu.org
Reporter: ian at geometrian dot com
Target Milestone: ---
Created attachment 38380
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38380&action=edit
Simple example.
In the attached example, adapted from real-world image-pro
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70881
Ian Mallett changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47857
Ian Mallett changed:
What|Removed |Added
CC||ian at geometrian dot com
--- Comment #7
ty: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: ian at geometrian dot com
Target Milestone: ---
Minimal example (compile GCC >= ~6.1 with -Wsign-conversion):
#include
bool f(size_t const xy[2], int z) {
++
Assignee: unassigned at gcc dot gnu.org
Reporter: ian at geometrian dot com
//Bug report:
//by Ian Mallett
//Compile with "g++ -std=c++11 -Wsign-conversion
#include
#include
struct Foo {
char data;
};
int main(int /*argc*/, char* /*argv*/[]) {
int nu
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: ian at geometrian dot com
Target Milestone: ---
Consider the following in >= C++11:
#include
struct MyType {
int val;
MyType(void) = default;
MyType(int v) : val(v) {}
}; static_assert(
: wrong-code
Severity: major
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: ian at geometrian dot com
Target Milestone: ---
Simple test case:
//func.hpp
#define _GLIBCXX_DEBUG
#include
std::vector
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58926
Ian Mallett changed:
What|Removed |Added
CC||ian at geometrian dot com
--- Comment #2
: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: ian at geometrian dot com
Target Milestone: ---
Created attachment 53962
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53962&action=edit
".zip" file containing "main.cpp", the repro
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: ian at geometrian dot com
Target Milestone: ---
We've been running into a peculiar issue where [Wignored-attributes] is
triggering on apparently benign us
14 matches
Mail list logo