[Bug c++/31406] '#pragma interface' causes inlined function to be omitted

2007-03-30 Thread h8_spam at sonic dot net
--- Comment #1 from h8_spam at sonic dot net 2007-03-30 22:30 --- This is not an issue with v3.3.5. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31406

[Bug c++/31406] New: '#pragma interface' causes inlined function to be omitted

2007-03-30 Thread h8_spam at sonic dot net
ute__ ((__format__ (__printf__, 2, 3))); extern int obstack_vprintf (struct obstack *__restrict __obstack, __const char *__restrict __format, __gnuc_va_list __args) throw () __attribute__ ((__format__ (__printf__, 2, 0))); extern void flockfile (FILE *__stream) throw (); extern int ftrylockfile (FILE *__stream) throw (); extern void funlockfile (FILE *__stream) throw (); # 833 "/usr/include/stdio.h" 3 4 } # 9 "foo.cc" 2 class Foo { public: Foo(); ~Foo(); void test() { printf("Inlining fails if the '#pragma interface' is present.\n"); } }; Foo::Foo() { } Foo::~Foo() { } int main() { Foo *baz = new Foo(); baz->test(); return 0; } --- -- Summary: '#pragma interface' causes inlined function to be omitted Product: gcc Version: 3.3.6 Status: UNCONFIRMED Severity: minor Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: h8_spam at sonic dot net http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31406

[Bug c++/30348] '#define false FALSE' undefines '#define FALSE false'

2007-01-01 Thread h8_spam at sonic dot net
--- Comment #3 from h8_spam at sonic dot net 2007-01-01 22:44 --- So I would expect it NOT to be the same as the a b b a example you give. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30348

[Bug c++/30348] '#define false FALSE' undefines '#define FALSE false'

2007-01-01 Thread h8_spam at sonic dot net
--- Comment #2 from h8_spam at sonic dot net 2007-01-01 22:43 --- Right, but since true and false are keywords, I would expect the #define true TRUE and false FALSE to be no-ops. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30348

[Bug c++/30348] New: '#define false FALSE' undefines '#define FALSE false'

2007-01-01 Thread h8_spam at sonic dot net
'#define false FALSE' undefines '#define FALSE false' Product: gcc Version: 3.3.6 Status: UNCONFIRMED Severity: minor Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: h8_sp

[Bug c/25744] typename causes segmentation fault

2006-01-10 Thread h8_spam at sonic dot net
--- Comment #1 from h8_spam at sonic dot net 2006-01-10 22:31 --- Created an attachment (id=10611) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10611&action=view) The test.ii file that was too big for the text of the bug report. -- http://gcc.gnu.org/bugzilla/show_bug

[Bug c/25744] New: typename causes segmentation fault

2006-01-10 Thread h8_spam at sonic dot net
Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: h8_spam at sonic dot net http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25744