[Bug c++/44641] Generated constructors and destructors get wrong debug location when a typedef uses a forward declaration of the type before the definition

2010-07-19 Thread jyasskin at gmail dot com
--- Comment #2 from jyasskin at gmail dot com 2010-07-20 00:43 --- Patch at http://gcc.gnu.org/ml/gcc-patches/2010-07/msg01538.html. Please review. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44641

[Bug rtl-optimization/42621] [4.4 Regression] Computed gotos on AMD 800% slower

2010-07-14 Thread jyasskin at gmail dot com
--- Comment #11 from jyasskin at gmail dot com 2010-07-14 20:49 --- Is this the same bug as PR 39284? -- jyasskin at gmail dot com changed: What|Removed |Added

[Bug c++/44641] Generated constructors and destructors get wrong debug location when a typedef uses a forward declaration of the type before the definition

2010-07-14 Thread jyasskin at gmail dot com
--- Comment #1 from jyasskin at gmail dot com 2010-07-15 00:34 --- My current guess is that the bug is at parser.c:16741, at the end of cp_parser_class_head(): DECL_SOURCE_LOCATION (TYPE_NAME (type)) = type_start_token-location; This updates the template's location, but it doesn't

[Bug other/42540] c++ error message [vtable undefined] is unhelpful

2010-07-13 Thread jyasskin at gmail dot com
--- Comment #7 from jyasskin at gmail dot com 2010-07-13 22:56 --- I'm working on a patch for this at http://gcc.gnu.org/ml/gcc-patches/2010-07/msg01116.html. It works by emitting a fake use of the key method any time a translation unit depends on an imported vtable or typeinfo

[Bug c++/44641] New: Generated constructors and destructors get wrong debug location when a typedef uses a forward declaration of the type before the definition

2010-06-22 Thread jyasskin at gmail dot com
: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: jyasskin at gmail dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44641

[Bug c++/44244] Provide -f flags to turn on individual C++0x features

2010-06-04 Thread jyasskin at gmail dot com
--- Comment #3 from jyasskin at gmail dot com 2010-06-04 17:56 --- Thanks for the prompt answers. I understand that you've picked the right direction for gcc as a whole, even though it'll inconvenience me temporarily. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44244

[Bug c++/44244] New: Provide -f flags to turn on individual C++0x features

2010-05-22 Thread jyasskin at gmail dot com
dot org ReportedBy: jyasskin at gmail dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44244

[Bug libstdc++/43813] New: vectorT*(3, NULL) fails to compile

2010-04-20 Thread jyasskin at gmail dot com
: unassigned at gcc dot gnu dot org ReportedBy: jyasskin at gmail dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43813

[Bug libstdc++/43813] [DR1234] vectorT*(3, NULL) fails to compile

2010-04-20 Thread jyasskin at gmail dot com
--- Comment #4 from jyasskin at gmail dot com 2010-04-20 16:34 --- It seems like a QoI issue until the C++ issue is resolved, since the expected behavior is also allowed by the standard. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43813

[Bug libstdc++/43813] [DR1234] vectorT*(3, NULL) fails to compile

2010-04-20 Thread jyasskin at gmail dot com
--- Comment #7 from jyasskin at gmail dot com 2010-04-20 20:04 --- Patch request acknowledged. :) My plan if I do get around to writing it is to use enable_if!is_integralInputIterator since that's the rule [lib.sequence.reqmts]p9 asks for. -- http://gcc.gnu.org/bugzilla

[Bug c++/43105] New: Need documentation for restrictions on programs compiled with mixed -fno-rtti and -frtti

2010-02-17 Thread jyasskin at gmail dot com
Version: 4.4.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: jyasskin at gmail dot com GCC target triplet: i386-apple-darwin9 http://gcc.gnu.org/bugzilla/show_bug.cgi

[Bug c++/41874] New: Incorrect dereferencing type-punned pointer will break strict-aliasing rules warning

2009-10-29 Thread jyasskin at gmail dot com
ReportedBy: jyasskin at gmail dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41874

[Bug c++/41838] Incorrect dereferencing pointer 'anonymous' does break strict-aliasing rules

2009-10-26 Thread jyasskin at gmail dot com
--- Comment #1 from jyasskin at gmail dot com 2009-10-26 23:04 --- Created an attachment (id=18908) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18908action=view) File with incorrect strict-aliasing warning -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41838

[Bug c++/41838] New: Incorrect dereferencing pointer 'anonymous' does break strict-aliasing rules

2009-10-26 Thread jyasskin at gmail dot com
dot gnu dot org ReportedBy: jyasskin at gmail dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41838

[Bug middle-end/39284] Computed gotos combined too aggressively

2009-02-24 Thread jyasskin at gmail dot com
--- Comment #7 from jyasskin at gmail dot com 2009-02-24 15:26 --- I'd like to get gcc not to combine any of them, which I believe would produce 130, as many as the asm volatiles that survived optimization. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39284

[Bug middle-end/39284] Computed gotos combined too aggressively

2009-02-23 Thread jyasskin at gmail dot com
--- Comment #4 from jyasskin at gmail dot com 2009-02-23 22:58 --- Taking out -fno-gcse doesn't change the result. $ gcc-4.4 -m32 -pthread -fno-strict-aliasing -g -fwrapv -O3 --param max-goto-duplication-insns=10 -S -dA ceval.i -o ceval.s $ egrep -c 'jmp[[:space:]]*\*' ceval.s 4

[Bug c++/4131] The C++ compiler don't place a const class object to .rodata section with non trivial constructor

2008-06-11 Thread jyasskin at gmail dot com
--- Comment #22 from jyasskin at gmail dot com 2008-06-11 18:05 --- This is related to generalized constant expressions (http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2235.pdf) in C++0x. Those will be marked by the explicit 'constexpr' keyword and will require

[Bug c++/29939] New: Please implement rvalue references

2006-11-22 Thread jyasskin at gmail dot com
Version: unknown Status: UNCONFIRMED Severity: enhancement Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: jyasskin at gmail dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29939