[Bug lto/41932] LTO ICE when compiling ocaml trunk (incompatible type)

2009-11-04 Thread simon_baldwin at yahoo dot com
--- Comment #2 from simon_baldwin at yahoo dot com 2009-11-04 12:17 --- I have a minimal failing case for this, I think. I'm using trunk 153803, for what it's worth. $ cat demo.c typedef long intnat; typedef intnat value; void caml_darken (value v, value *p) { } $ .../gcc -flto

[Bug lto/41932] LTO ICE when compiling ocaml trunk (incompatible type)

2009-11-04 Thread simon_baldwin at yahoo dot com
--- Comment #3 from simon_baldwin at yahoo dot com 2009-11-04 12:57 --- A bit more info from a gdb trace: Program received signal SIGSEGV, Segmentation fault. 0x00b798ce in ipa_populate_param_decls (node=0x2b453300, info=0x15eb768) at ../../gcc/gcc/ipa-prop.c:141 141

[Bug testsuite/40829] gcc.dg/vect/no-scevccp-noreassoc-outer-2.c can segv

2009-07-27 Thread simon_baldwin at yahoo dot com
--- Comment #1 from simon_baldwin at yahoo dot com 2009-07-27 12:08 --- Committed revision 150109. -- simon_baldwin at yahoo dot com changed: What|Removed |Added

[Bug testsuite/40829] New: gcc.dg/vect/no-scevccp-noreassoc-outer-2.c can segv

2009-07-22 Thread simon_baldwin at yahoo dot com
org ReportedBy: simon_baldwin at yahoo dot com GCC build triplet: x86_64-unknown-linux-gnu GCC host triplet: x86_64-unknown-linux-gnu GCC target triplet: x86_64-unknown-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40829

[Bug c++/38908] New: Unexplained 'anonymous' is used uninitialized in this function warning in cc1plus -m64

2009-01-18 Thread simon_baldwin at yahoo dot com
: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: simon_baldwin at yahoo dot com GCC build triplet: i386-unknown-linux-gnu GCC host triplet: i386-unknown-linux-gnu GCC target triplet: x86_64-unknown-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38908

[Bug c++/37348] New: internal compiler error: tree check: expected var_decl, have field_decl in cp_finish_decl, at cp/decl.c:5461

2008-09-03 Thread simon_baldwin at yahoo dot com
ReportedBy: simon_baldwin at yahoo dot com GCC target triplet: i386-unknown-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37348

[Bug c++/36999] Erroneous declaration 'class ...' does not declare anything warnings possible

2008-08-07 Thread simon_baldwin at yahoo dot com
--- Comment #6 from simon_baldwin at yahoo dot com 2008-08-07 14:42 --- Fixed for mainline and 4.3 branch -- resolving as FIXED. -- simon_baldwin at yahoo dot com changed: What|Removed |Added

[Bug c++/36999] Erroneous declaration 'class ...' does not declare anything warnings possible

2008-08-06 Thread simon_baldwin at yahoo dot com
--- Comment #3 from simon_baldwin at yahoo dot com 2008-08-06 12:00 --- Thanks for the note. Fixed for trunk; I'm currently in the process of backporting to the 4.3 branch since the bug is there also. -- simon_baldwin at yahoo dot com changed: What|Removed

[Bug c++/36999] New: Erroneous declaration 'class ...' does not declare anything warnings possible

2008-08-01 Thread simon_baldwin at yahoo dot com
: simon_baldwin at yahoo dot com GCC target triplet: i386-unknown-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36999

[Bug c++/35652] [4.1/4.2/4.3/4.4 Regression] Location information incorrect on string bounds warning

2008-04-26 Thread simon_baldwin at yahoo dot com
--- Comment #4 from simon_baldwin at yahoo dot com 2008-04-26 17:21 --- Closing. Location information may still not be accurate, but duplicate warnings are gone. -- simon_baldwin at yahoo dot com changed: What|Removed |Added

[Bug c++/35652] New: Location information incorrect on string bounds warning

2008-03-20 Thread simon_baldwin at yahoo dot com
information incorrect on string bounds warning Product: gcc Version: 4.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: simon_baldwin at yahoo dot com

[Bug c++/34094] Undefined static data member in anonymous namespace can acquire a definition anyway

2007-11-15 Thread simon_baldwin at yahoo dot com
--- Comment #3 from simon_baldwin at yahoo dot com 2007-11-15 19:55 --- The definition's really there in 4.2.1, absent in 4.1.1: $ 4.2.1/g++ -S ns1.cc c++filt ns1.s | grep B::x movl$0, (anonymous namespace)::B::x .local (anonymous namespace)::B::x .comm

[Bug c++/34094] New: Undefined static data member can acquire a definition anyway

2007-11-14 Thread simon_baldwin at yahoo dot com
Version: 4.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: simon_baldwin at yahoo dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34094

[Bug c++/31923] g++ accepts a storage-class-specifier on a template explicit specialization

2007-06-25 Thread simon_baldwin at yahoo dot com
--- Comment #5 from simon_baldwin at yahoo dot com 2007-06-25 17:24 --- Indeed it can -- thanks for the reminder. Marking as FIXED. -- simon_baldwin at yahoo dot com changed: What|Removed |Added

[Bug c++/23689] Malformed typedef silently ignored

2007-06-25 Thread simon_baldwin at yahoo dot com
--- Comment #8 from simon_baldwin at yahoo dot com 2007-06-25 17:26 --- Resolved by revision 122434. -- simon_baldwin at yahoo dot com changed: What|Removed |Added

[Bug c++/31923] g++ accepts a storage-class-specifier on a template explicit specialization

2007-06-14 Thread simon_baldwin at yahoo dot com
--- Comment #2 from simon_baldwin at yahoo dot com 2007-06-14 21:29 --- Note: there's also a C++ language defect report relating to this issue, with recommendation from the CWG: http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_active.html#605 -- http://gcc.gnu.org/bugzilla

[Bug c++/31923] New: g++ accepts a storage-class-specifier on a template explicit specialization

2007-05-14 Thread simon_baldwin at yahoo dot com
at gcc dot gnu dot org ReportedBy: simon_baldwin at yahoo dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31923

[Bug c++/31449] New: static_cast can remove const-ness

2007-04-02 Thread simon_baldwin at yahoo dot com
Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: simon_baldwin at yahoo dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31449

[Bug c++/28774] Request for warning where const/volatile is ignored in a cast

2007-03-12 Thread simon_baldwin at yahoo dot com
--- Comment #7 from simon_baldwin at yahoo dot com 2007-03-12 21:48 --- PR 14710 isn't really quite the same thing as PR 28774. PR 14170 is concerned with unnecessary casts; PR 28774 is concerned with unnecessary const or volatile qualifiers within otherwise valid and perhaps necessary

[Bug c++/28992] New: g++ lacks the empty bodyin an if-statement warning emitted by gcc

2006-09-08 Thread simon_baldwin at yahoo dot com
: simon_baldwin at yahoo dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28992

[Bug c++/28774] Request for warning where const/volatile is ignored in a cast

2006-08-24 Thread simon_baldwin at yahoo dot com
--- Comment #2 from simon_baldwin at yahoo dot com 2006-08-24 16:53 --- You didn't miss anything. There's no bug here, just a request for a new warning message. As you note, the const-volatile qualifications in the cast have no meaning, and are completely ignored by the compiler

[Bug preprocessor/23688] Compiler does not warn on selected unknown character escapes

2006-08-18 Thread simon_baldwin at yahoo dot com
--- Comment #3 from simon_baldwin at yahoo dot com 2006-08-18 17:51 --- Unfortunately, adding -pedantic brings in a grab-bag of other warnings that aren't currently separable. What would be useful, I think, is to have unknown escape sequences as its own -Wmumble option. That way, it's

[Bug c++/28774] New: Request for warning where const/volatile is ignored in a cast

2006-08-18 Thread simon_baldwin at yahoo dot com
ReportedBy: simon_baldwin at yahoo dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28774

[Bug c++/16625] Discarded Linkonce sections in .rodata

2006-05-02 Thread simon_baldwin at yahoo dot com
--- Comment #27 from simon_baldwin at yahoo dot com 2006-05-02 21:01 --- Here's a relatively simple test case, in case anyone wants one, that reproduces either this problem, or a very similar one. It requires a mix of compilers, and of optimization selections, to reproduce, though

[Bug c++/23689] Malformed typedef silently ignored

2005-09-02 Thread simon_baldwin at yahoo dot com
--- Additional Comments From simon_baldwin at yahoo dot com 2005-09-02 19:12 --- The problem's restricted to the C++ front end only, and is common across multiple releases and at the highest warning settings: $ cat e.cc typedef enum { ZERO }; // error, malformed typedef, missing

[Bug c++/23688] New: Compiler does not warn on selected unknown character escapes

2005-09-01 Thread simon_baldwin at yahoo dot com
Status: UNCONFIRMED Severity: minor Priority: P2 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: simon_baldwin at yahoo dot com CC: gcc-bugs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi

[Bug c++/23689] New: Malformed typedef silently ignored

2005-09-01 Thread simon_baldwin at yahoo dot com
: enhancement Priority: P2 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: simon_baldwin at yahoo dot com CC: gcc-bugs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23689