[Bug preprocessor/91733] No longer treat carriage return as an end-of-line

2022-07-08 Thread akim.demaille at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91733 --- Comment #7 from Akim Demaille --- Personally the bug I reported was the one you fixed. I merely suggested to drop \r, but I did asked for that. So AFAIC, you may close this issue. Thanks a lot for the fix!

[Bug c++/98899] ICE: Illegal instruction: 4 "error: could not convert '' from '''" on macOS

2021-01-30 Thread akim.demaille at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98899 --- Comment #2 from Akim Demaille --- Created attachment 50094 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50094=edit simple.ii simple.cc preprocessed

[Bug c++/98899] ICE: Illegal instruction: 4 "error: could not convert '' from '''" on macOS

2021-01-30 Thread akim.demaille at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98899 --- Comment #1 from Akim Demaille --- Created attachment 50093 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50093=edit simple.cc The source that causes the crash.

[Bug c++/98899] New: ICE: Illegal instruction: 4 "error: could not convert '' from '''" on macOS

2021-01-30 Thread akim.demaille at gmail dot com via Gcc-bugs
Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: akim.demaille at gmail dot com Target Milestone: --- G++ behaves randomly on this issue. Sometimes it gives me an error message that does not seem to be meant fo

[Bug middle-end/98753] -Wfree-nonheap-object on unreachable code with -O0

2021-01-20 Thread akim.demaille at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98753 --- Comment #9 from Akim Demaille --- Hi Martin, Thanks for the detailed explanation. (In reply to Martin Sebor from comment #5) > Changing this message alone to say "free() may be called with non-heap > object" wouldn't be appropriate without

[Bug middle-end/98753] -Wfree-nonheap-object on unreachable code with -O0

2021-01-20 Thread akim.demaille at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98753 --- Comment #8 from Akim Demaille --- Hi Richard, (In reply to Richard Biener from comment #3) > The issue is that we isolate a path that is impossible to take but on that > path we have p = free (p); and thus a "proved" mistake. But in >

[Bug c++/98753] -Wfree-nonheap-object on Bison generated code

2021-01-19 Thread akim.demaille at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98753 Akim Demaille changed: What|Removed |Added CC||akim.demaille at gmail dot com

[Bug bootstrap/92008] Build failure on cygwin

2020-04-21 Thread akim.demaille at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92008 --- Comment #22 from Akim Demaille --- FWIW, the version in the glibc was updated to use "%parse-params" and "%define api.pure full" five years ago.

[Bug bootstrap/92008] Build failure on cygwin

2020-04-16 Thread akim.demaille at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92008 --- Comment #18 from Akim Demaille --- WRT to "pure-parser", there seems to be some misunderstanding. News of 3.4 says: The %pure-parser directive is deprecated in favor of '%define api.pure' since Bison 2.3b (2008-05-27), but no warning

[Bug bootstrap/92008] Build failure on cygwin

2020-04-16 Thread akim.demaille at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92008 --- Comment #17 from Akim Demaille --- Hi Jakub, I'm not claiming you should require 3.0, I'm claiming there's no reason to target 1.35, there is no evidence there's a need for it. So there's no reason to pay for "PARSE_PARAMS" support.

[Bug bootstrap/92008] Build failure on cygwin

2020-04-16 Thread akim.demaille at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92008 --- Comment #15 from Akim Demaille --- Sorry to insist, but I don't understand all these complications. Bison has been supporting %parse-param for 17 years.

[Bug bootstrap/92008] Build failure on cygwin

2020-04-15 Thread akim.demaille at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92008 Akim Demaille changed: What|Removed |Added CC||akim.demaille at gmail dot com

[Bug preprocessor/91733] No longer treat carriage return as an end-of-line

2020-01-29 Thread akim.demaille at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91733 --- Comment #3 from Akim Demaille --- That you want to still support \r is one thing. That you discard my point about the fact that as a consequence GCC fails to generate proper diagnostics is something entirely different.

[Bug c++/92743] New: doc: -Wattribute-alias improperly indexed

2019-12-01 Thread akim.demaille at gmail dot com
++ Assignee: unassigned at gcc dot gnu.org Reporter: akim.demaille at gmail dot com Target Milestone: --- The documentation indexes the option with the leading `-`, contrary to the rest of the documentation. See https://gcc.gnu.org/onlinedocs/gcc-9.2.0/gcc/Option-Index.html#Option

[Bug c/91733] New: No longer treat carriage return as an end-of-line

2019-09-10 Thread akim.demaille at gmail dot com
: c Assignee: unassigned at gcc dot gnu.org Reporter: akim.demaille at gmail dot com Target Milestone: --- Hi! Long long ago, MacOS Classic used '\r' as end-of-line, and since then GCC accepts \n, \r, and \r\n as means to denote end-of-line. Today's tools that show line

[Bug preprocessor/90034] gcc hangs on wait4 after vfork after opening tmp file

2019-04-22 Thread akim.demaille at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90034 Akim Demaille changed: What|Removed |Added CC||akim.demaille at gmail dot com

[Bug c++/84177] New: Attributes on C++17 nested namespaces

2018-02-01 Thread akim.demaille at gmail dot com
++ Assignee: unassigned at gcc dot gnu.org Reporter: akim.demaille at gmail dot com Target Milestone: --- One would expect this to work: $ cat /tmp/foo.cc namespace a::b __attribute__ ((visibility ("protected")) {} $ g++-mp-7 -std=c++17 /tmp/foo.cc /tmp/foo.cc:1:16: error

[Bug c++/81714] New: incorrect location for uninitialised variable

2017-08-04 Thread akim.demaille at gmail dot com
++ Assignee: unassigned at gcc dot gnu.org Reporter: akim.demaille at gmail dot com Target Milestone: --- Hi, This seems to be different from #55874 and #60350, but I might be wrong. The caret-display makes it particularly visible. This affects GCC 4.9, 5.4.0, 6.3.0

[Bug c++/81632] New: spurious -Wterminate warning about throw in destructor

2017-07-31 Thread akim.demaille at gmail dot com
Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: akim.demaille at gmail dot com Target Milestone: --- In the following piece of code GCC issues a spurious warning about an exception that escapes a dtor, although it is actually caught. Observed with GCC 6 and 7

[Bug c++/47226] [C++0x] GCC doesn't expand template parameter pack that appears in a lambda-expression

2017-07-06 Thread akim.demaille at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47226 --- Comment #11 from Akim Demaille --- The project I work on has this: auto const f = std::bind(::operator (), , std::ref(args)...); instead of a simple lambda. --- Comment #12 from Akim Demaille --- The

[Bug c++/47226] [C++0x] GCC doesn't expand template parameter pack that appears in a lambda-expression

2017-07-06 Thread akim.demaille at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47226 --- Comment #11 from Akim Demaille --- The project I work on has this: auto const f = std::bind(::operator (), , std::ref(args)...); instead of a simple lambda.

[Bug c++/80650] New: #pragma do not control -Wcpp

2017-05-06 Thread akim.demaille at gmail dot com
++ Assignee: unassigned at gcc dot gnu.org Reporter: akim.demaille at gmail dot com Target Milestone: --- Hi! When compiling C, -Wcpp can be controlled by the diagnostics pragmas, but not in C++ mode. $ cat bar.c #pragma GCC diagnostic ignored "-Wcpp" #warning Foo int i; $ gcc-mp-

[Bug c++/79021] attribute noreturn on function template ignored in generic lambda

2017-01-08 Thread akim.demaille at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79021 --- Comment #1 from Akim Demaille --- Also observed with GCC 7. $ g++-mp-7 -std=c++14 foo.cc -Wreturn-type foo.cc: In lambda function: foo.cc:21:38: warning: no return statement in function returning non-void [-Wreturn-type] auto g = [](auto

[Bug c++/79021] New: attribute noreturn on function template ignored in generic lambda

2017-01-07 Thread akim.demaille at gmail dot com
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: akim.demaille at gmail dot com Target Milestone: --- When a generic lambda calls a function templates declared noreturn, we still get warnings about missing return values. $ cat foo.cc

[Bug c++/69481] ICE with C++11 alias using with templates

2016-09-20 Thread akim.demaille at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69481 Akim Demaille changed: What|Removed |Added CC||akim.demaille at gmail dot com

[Bug c++/47226] [C++0x] GCC doesn't expand template parameter pack that appears in a lambda-expression

2016-05-18 Thread akim.demaille at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47226 --- Comment #8 from Akim Demaille --- I'm hit too.

[Bug libstdc++/54075] [4.7.1] unordered_map insert still slower than 4.6.2

2016-03-31 Thread akim.demaille at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54075 --- Comment #49 from Akim Demaille --- It looks like this story is missing an end.

[Bug libstdc++/54075] [4.7.1] unordered_map insert still slower than 4.6.2

2016-03-31 Thread akim.demaille at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54075 Akim Demaille changed: What|Removed |Added CC||akim.demaille at gmail dot com

[Bug c++/54430] [C++11] For-Loop: Scope of iterating variable begins too early

2015-08-09 Thread akim.demaille at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54430 Akim Demaille akim.demaille at gmail dot com changed: What|Removed |Added CC

[Bug c++/54430] [C++11] For-Loop: Scope of iterating variable begins too early

2015-08-09 Thread akim.demaille at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54430 --- Comment #5 from Akim Demaille akim.demaille at gmail dot com --- FWIW, it's on StackOverflow since May 2013. http://stackoverflow.com/questions/16407212/identifier-with-the-same-name-in-both-expression-and-declaration-of-range-based

[Bug c++/65323] New: -Wzero-as-null-pointer-constant stutters

2015-03-05 Thread akim.demaille at gmail dot com
++ Assignee: unassigned at gcc dot gnu.org Reporter: akim.demaille at gmail dot com While tracking a spurious warning about at 0 instead of nullptr, I stumbled on the following case, where g++ is spitting its warning too many times (4.9 and 5). struct foo { foo(void* = 0) {} void

[Bug c++/65324] New: -Wzero-as-null-pointer-constant: incorrect location for function templates

2015-03-05 Thread akim.demaille at gmail dot com
: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: akim.demaille at gmail dot com template typename T void fun(T, void* = 0) {} int main() { fun(0); } g++-mp-5 -O3 -Wzero-as-null-pointer-constant foo.cc foo.cc: In function

[Bug preprocessor/61386] inaccurate location for missing headers

2014-10-06 Thread akim.demaille at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61386 --- Comment #2 from Akim Demaille akim.demaille at gmail dot com --- Well, I never hacked in GCC. I can try, time permitting...

[Bug c++/61850] New: g++ crashes (SEGV) on the following endless template instantiation

2014-07-19 Thread akim.demaille at gmail dot com
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: akim.demaille at gmail dot com Hi, I'm toying with templates and enable_if to try to enforce commutativity on some operator. In the course of these experiments, I fell on the following

[Bug c++/58972] Lambda can't access private members

2014-06-26 Thread akim.demaille at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58972 --- Comment #4 from Akim Demaille akim.demaille at gmail dot com --- Could someone confirm this bug? The 4.9 I have does not ICEs and still refuses both sources. akim@erebus /tmp $ g++-mp-4.9 --version

[Bug c++/51253] [C++11][DR 1030] Evaluation order (sequenced-before relation) among initializer-clauses in braced-init-list

2014-06-04 Thread akim.demaille at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51253 --- Comment #15 from Akim Demaille akim.demaille at gmail dot com --- (In reply to Jonathan Wakely from comment #13) (In reply to Akim Demaille from comment #10) auto t = std::make_tuple(incr(), incr()); That's not an initializer-list

[Bug preprocessor/61386] New: inaccurate location for missing headers

2014-06-02 Thread akim.demaille at gmail dot com
: preprocessor Assignee: unassigned at gcc dot gnu.org Reporter: akim.demaille at gmail dot com Hi, This is cosmetic only, but the error message for missing headers provides a location is past the error. akim@erebus /tmp $ g++-mp-4.9 foo.cc foo.cc:2:20: fatal error: stexcept

[Bug c++/51253] [C++11][DR 1030] Evaluation order (sequenced-before relation) among initializer-clauses in braced-init-list

2014-04-10 Thread akim.demaille at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51253 --- Comment #10 from Akim Demaille akim.demaille at gmail dot com --- Well, I have finally found a simple workaround for some of the cases: GCC seems to be right in the order of evaluation when initializing an array so: templateint... IS int f1

[Bug c++/51253] [C++11][DR 1030] Evaluation order (sequenced-before relation) among initializer-clauses in braced-init-list

2014-03-06 Thread akim.demaille at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51253 --- Comment #7 from Akim Demaille akim.demaille at gmail dot com --- Hi all, I'd really love to have some feedback on this issue. It looks like nobody is having a look at this. Thanks for all the good work, and sorry for insisting.

[Bug c++/51253] [C++11][DR 1030] Evaluation order (sequenced-before relation) among initializer-clauses in braced-init-list

2014-01-18 Thread akim.demaille at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51253 --- Comment #6 from Akim Demaille akim.demaille at gmail dot com --- FWIW, because of this issue, I no longer use g++ for my project, which saddens me. If there were a means to put money on some bugs, I'd be happy to drop say $50. I do

[Bug c++/51253] [C++11][DR 1030] Evaluation order (sequenced-before relation) among initializer-clauses in braced-init-list

2013-11-25 Thread akim.demaille at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51253 --- Comment #5 from Akim Demaille akim.demaille at gmail dot com --- Happy two-year birthday, bug! Sorry I'm (slightly more that) off-by-one.

[Bug c++/59191] New: Accessibility of types not checked in template functions

2013-11-19 Thread akim.demaille at gmail dot com
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: akim.demaille at gmail dot com Hi all, Below, GCC forgets to check the accessibility of type, which turns out to be private: $ cat foo.cc class foo { typedef int type; }; template typename T

[Bug c++/59033] New: cannot control inherited constructors visibility

2013-11-06 Thread akim.demaille at gmail dot com
: c++ Assignee: unassigned at gcc dot gnu.org Reporter: akim.demaille at gmail dot com Hi, Again, I have found no clear wording in the draft of the standard that I have, however, consistency in the language would expect that using to import constructors should provide them

[Bug c++/58972] New: Lambda can't access private members

2013-11-02 Thread akim.demaille at gmail dot com
++ Assignee: unassigned at gcc dot gnu.org Reporter: akim.demaille at gmail dot com Hi all, Again, this problem report might be bogus. IANALL and reading the proposed standard did not really help me understand if the problem is in the compiler, or in the eye of the beholder. Anyway, I

[Bug c++/58724] New: doc: use of attributes for namespace is not clear

2013-10-14 Thread akim.demaille at gmail dot com
: c++ Assignee: unassigned at gcc dot gnu.org Reporter: akim.demaille at gmail dot com Hi friends, I could not find an example of a use of the attributes for namespaces. It is mentioned in the text body, but there is no example of the syntax (it appears for the documentation

[Bug c++/58724] doc: use of attributes for namespace is not clear

2013-10-14 Thread akim.demaille at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58724 --- Comment #2 from Akim Demaille akim.demaille at gmail dot com --- Hi Paolo, Sorry, I don't have a checked out version of the GCC. I'll try to make one tomorrow. Please, note that I was also mentioning the fact that the documentation

[Bug c++/58594] New: std::make_shared does not accept const types as parameters

2013-10-02 Thread akim.demaille at gmail dot com
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: akim.demaille at gmail dot com The following piece of code works with 4.8, clang 3.3 and 3.4, but not 4.9. I expect the code to be right, and 4.9 to be wrong, but even if it were the converse

[Bug c++/57868] New: misleading location for invalid variadic template

2013-07-09 Thread akim.demaille at gmail dot com
: c++ Assignee: unassigned at gcc dot gnu.org Reporter: akim.demaille at gmail dot com Hi all, It's a detail, agreed, but below the location for the error could use improvement: $ cat parameter-pack.cc template typename... A, typename... B struct foo {}; With g++-mp-4.9

[Bug c++/51253] [C++11][DR 1030] Evaluation order (sequenced-before relation) among initializer-clauses in braced-init-list

2013-07-05 Thread akim.demaille at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51253 Akim Demaille akim.demaille at gmail dot com changed: What|Removed |Added CC

[Bug other/57700] New: doc: improperly named node about Diagnostic Messages Formatting

2013-06-24 Thread akim.demaille at gmail dot com
Priority: P3 Component: other Assignee: unassigned at gcc dot gnu.org Reporter: akim.demaille at gmail dot com The node about Options to Control Diagnostic Messages Formatting seems to be named Language Independent Options (or something is wrong with the structure

[Bug c++/57374] New: c+11 attribute noreturn does not blend well

2013-05-22 Thread akim.demaille at gmail dot com
++ Assignee: unassigned at gcc dot gnu.org Reporter: akim.demaille at gmail dot com Hi! I meant to use [[noreturn]] instead of __attribute__((noreturn)) (as it is my understanding from reading http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53528 that it was meant to be so (but maybe

[Bug c++/57374] c+11 attribute noreturn does not blend well

2013-05-22 Thread akim.demaille at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57374 --- Comment #2 from Akim Demaille akim.demaille at gmail dot com --- Hi Paolo, I have tried to put it in about every possible place, and the one I used in the attached example is the one from http://www.open-std.org/jtc1/sc22/wg21/docs/papers

[Bug c++/57374] c+11 attribute noreturn does not blend well

2013-05-22 Thread akim.demaille at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57374 --- Comment #3 from Akim Demaille akim.demaille at gmail dot com --- Also, FWIW, libstdc++ headers use __attribute__((noreturn)), so there's no way to get some inspiration from there :)

[Bug c++/57374] c+11 attribute noreturn does not blend well

2013-05-22 Thread akim.demaille at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57374 --- Comment #5 from Akim Demaille akim.demaille at gmail dot com --- Apologies :( I really thought my 4.9 was young enough.

[Bug c++/41933] [c++0x] lambdas and variadic templates don't work together

2013-05-21 Thread akim.demaille at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41933 Akim Demaille akim.demaille at gmail dot com changed: What|Removed |Added CC

[Bug libstdc++/53631] [C++11] regex is unimplemented

2013-05-21 Thread akim.demaille at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53631 Akim Demaille akim.demaille at gmail dot com changed: What|Removed |Added CC

[Bug libstdc++/53631] [C++11] regex is unimplemented

2013-05-21 Thread akim.demaille at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53631 --- Comment #11 from Akim Demaille akim.demaille at gmail dot com --- Sorry, I didn't mean to be harsh, and I did try to propose a solution. I can easily guess that there is no reason for it to be easy or even possible, but can't Boost people

[Bug c++/56976] using braces to initialize a reference forces copy construction

2013-05-15 Thread akim.demaille at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56976 --- Comment #2 from Akim Demaille akim.demaille at gmail dot com --- Maybe I don't know, even after having read several times the section you pointed me to. In particular I see nothing there which could explain why using foo() instead of foo

[Bug c++/57053] New: inaccurate message for ambiguous calls when in fact there is not valid candidate

2013-04-24 Thread akim.demaille at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57053 Bug #: 57053 Summary: inaccurate message for ambiguous calls when in fact there is not valid candidate Classification: Unclassified Product: gcc Version: 4.8.0

[Bug c++/56976] New: using braces to initialize a reference forces copy construction

2013-04-16 Thread akim.demaille at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56976 Bug #: 56976 Summary: using braces to initialize a reference forces copy construction Classification: Unclassified Product: gcc Version: 4.8.0 Status:

[Bug libstdc++/56922] New: set: the default constructor should be explicit

2013-04-11 Thread akim.demaille at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56922 Bug #: 56922 Summary: set: the default constructor should be explicit Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: normal

[Bug libstdc++/56922] set: the default constructor should be explicit

2013-04-11 Thread akim.demaille at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56922 --- Comment #1 from Akim Demaille akim.demaille at gmail dot com 2013-04-11 16:08:07 UTC --- FWIW: http://cplusplus.github.io/LWG/lwg-active.html#2193

[Bug libstdc++/56922] set: the default constructor should be explicit

2013-04-11 Thread akim.demaille at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56922 --- Comment #3 from Akim Demaille akim.demaille at gmail dot com 2013-04-11 16:23:57 UTC --- Agreed. Sorry for the noise, I was not aware of this page.

[Bug c++/56722] New: C++11: syntax error in for loop ends in SEGV

2013-03-25 Thread akim.demaille at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56722 Bug #: 56722 Summary: C++11: syntax error in for loop ends in SEGV Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: normal

[Bug c++/56373] New: -Wzero-as-null-pointer-constant: does not catch issues with smart pointers

2013-02-18 Thread akim.demaille at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56373 Bug #: 56373 Summary: -Wzero-as-null-pointer-constant: does not catch issues with smart pointers Classification: Unclassified Product: gcc Version: 4.8.0

[Bug c++/56373] -Wzero-as-null-pointer-constant: does not catch issues with smart pointers

2013-02-18 Thread akim.demaille at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56373 --- Comment #2 from Akim Demaille akim.demaille at gmail dot com 2013-02-18 12:52:46 UTC --- Thanks a lot for the detailed answer. The warning isn't issued when 0 converts to std::nullptr_t, only when it converts to a pointer type

[Bug c++/56373] -Wzero-as-null-pointer-constant: does not catch issues with smart pointers

2013-02-18 Thread akim.demaille at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56373 --- Comment #4 from Akim Demaille akim.demaille at gmail dot com 2013-02-18 13:23:08 UTC --- If you're smart enough to know the object isn't used then don't create it :) :) :) :) ~shared_ptr() has non-trivial side-effects

[Bug c++/55962] New: improper location for static_assert

2013-01-13 Thread akim.demaille at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55962 Bug #: 55962 Summary: improper location for static_assert Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: minor

[Bug c/55222] New: weird unstable array subscript is above array bounds warning

2012-11-06 Thread akim.demaille at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55222 Bug #: 55222 Summary: weird unstable array subscript is above array bounds warning Classification: Unclassified Product: gcc Version: 4.8.0 Status:

[Bug c++/54164] New: C++11: confusion error messages for spurious typename

2012-08-03 Thread akim.demaille at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54164 Bug #: 54164 Summary: C++11: confusion error messages for spurious typename Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED

[Bug libstdc++/53838] _GLIBCXX_DEBUG and empty ostringstream

2012-07-19 Thread akim.demaille at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53838 --- Comment #4 from Akim Demaille akim.demaille at gmail dot com 2012-07-19 13:16:23 UTC --- Hi People, I have therefore reported this to MacPorts, see http://trac.macports.org/ticket/35070 . The outcome is that (i) with --enable-fully-dynamic

[Bug c++/53863] New: misleading error message for redefinitions

2012-07-05 Thread akim.demaille at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53863 Bug #: 53863 Summary: misleading error message for redefinitions Classification: Unclassified Product: gcc Version: 4.7.1 Status: UNCONFIRMED Severity: enhancement

[Bug libstdc++/53838] New: _GLIBCXX_DEBUG and empty ostringstream

2012-07-03 Thread akim.demaille at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53838 Bug #: 53838 Summary: _GLIBCXX_DEBUG and empty ostringstream Classification: Unclassified Product: gcc Version: 4.7.1 Status: UNCONFIRMED Severity: normal Priority:

[Bug c++/53540] C++11: using fails to be equivalent to typedef

2012-06-11 Thread akim.demaille at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53540 --- Comment #2 from Akim Demaille akim.demaille at gmail dot com 2012-06-11 17:27:13 UTC --- (In reply to comment #1) I think it's valid, CC'ing Dodji for confirmation. Any news?

[Bug c++/53610] New: C++11: constructors accept silly initializers

2012-06-08 Thread akim.demaille at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53610 Bug #: 53610 Summary: C++11: constructors accept silly initializers Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal

[Bug c++/53551] New: -Wunused-local-typedefs misses uses

2012-06-01 Thread akim.demaille at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53551 Bug #: 53551 Summary: -Wunused-local-typedefs misses uses Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug c++/53551] -Wunused-local-typedefs misses uses

2012-06-01 Thread akim.demaille at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53551 --- Comment #1 from Akim Demaille akim.demaille at gmail dot com 2012-06-01 12:24:44 UTC --- Created attachment 27539 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=27539 Test case

[Bug c++/53553] New: misleading locations for error in initializers

2012-06-01 Thread akim.demaille at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53553 Bug #: 53553 Summary: misleading locations for error in initializers Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: normal

[Bug c++/53540] New: C++11: using fails to be equivalent to typedef

2012-05-31 Thread akim.demaille at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53540 Bug #: 53540 Summary: C++11: using fails to be equivalent to typedef Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal

[Bug c++/52949] New: decltype too sensitive to order of declarations?

2012-04-12 Thread akim.demaille at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52949 Bug #: 52949 Summary: decltype too sensitive to order of declarations? Classification: Unclassified Product: gcc Version: 4.7.1 Status: UNCONFIRMED Severity: normal

[Bug c++/52806] New: bogus zero as null pointer constant warning

2012-03-31 Thread akim.demaille at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52806 Bug #: 52806 Summary: bogus zero as null pointer constant warning Classification: Unclassified Product: gcc Version: 4.7.1 Status: UNCONFIRMED Severity: normal

[Bug c++/52806] zero as null pointer constant in C++98 mode

2012-03-31 Thread akim.demaille at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52806 --- Comment #4 from Akim Demaille akim.demaille at gmail dot com 2012-03-31 14:12:00 UTC --- (In reply to comment #1) Oh well, changing this would be really trivial, but then people would have to globally switch-on -std=c++11 (which may

[Bug c++/52806] zero as null pointer constant in C++98 mode

2012-03-31 Thread akim.demaille at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52806 --- Comment #5 from Akim Demaille akim.demaille at gmail dot com 2012-03-31 14:26:27 UTC --- (In reply to comment #4) I don't think this comment makes sense: with what would you want them to replace these 0, since nullptr is not available

[Bug c++/52718] New: -Wzero-as-null-pointer-constant: misleading location for 0 as default argument

2012-03-26 Thread akim.demaille at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52718 Bug #: 52718 Summary: -Wzero-as-null-pointer-constant: misleading location for 0 as default argument Classification: Unclassified Product: gcc Version: 4.8.0 Status:

[Bug c++/52620] New: using cannot import types in (non direct) base classes

2012-03-19 Thread akim.demaille at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52620 Bug #: 52620 Summary: using cannot import types in (non direct) base classes Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal

[Bug c++/52620] using cannot import types in (non direct) base classes

2012-03-19 Thread akim.demaille at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52620 --- Comment #2 from Akim Demaille akim.demaille at gmail dot com 2012-03-19 16:16:37 UTC --- (I pasted the wrong bug report, I meant http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21484) (In reply to comment #1) template typename T struct bot

[Bug c/51971] New: unclear/unverified restrictions on attribute((const|pure))

2012-01-23 Thread akim.demaille at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51971 Bug #: 51971 Summary: unclear/unverified restrictions on attribute((const|pure)) Classification: Unclassified Product: gcc Version: 4.6.2 Status: UNCONFIRMED