[Bug middle-end/22448] ICE on dereferencing a label in an asm statement

2009-02-11 Thread trick at icculus dot org
--- Comment #4 from trick at icculus dot org 2009-02-11 13:38 --- This also happens when dereferencing void pointers (this is invalid code though, but I get the same error with the code in the first post): void foo (void *p) { asm("" :: "g" (*p)); } $ gc

[Bug preprocessor/33063] C++ preprocessor warns about /* in //-comments starting with //*

2007-08-13 Thread trick at icculus dot org
--- Comment #2 from trick at icculus dot org 2007-08-13 20:03 --- (In reply to comment #1) > And I don't see why it is wrong to warn here because it is /* still as // is > really two tokens and so is /* . Shouldn't //* be treated as '//' followed b

[Bug preprocessor/33063] New: C++ preprocessor warns about /* in //-comments starting with //*

2007-08-13 Thread trick at icculus dot org
ct: gcc Version: 4.2.1 Status: UNCONFIRMED Severity: minor Priority: P3 Component: preprocessor AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: trick at icculus dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33063

[Bug tree-optimization/5035] Incorrectly produces '`' might be used uninitialized in this function'

2005-12-22 Thread trick at icculus dot org
--- Comment #10 from trick at icculus dot org 2005-12-22 10:38 --- Maybe you could add a new variable attribute so that these warnings could at least be avoided in cases where the coder knows the code is correct ? Something like: int x __attribute__((__notuninited__)); if (y) x = 0

[Bug pch/18980] -MD doesn't report compiled headers as dependencies when using pch ?

2004-12-14 Thread trick at icculus dot org
--- Additional Comments From trick at icculus dot org 2004-12-14 12:52 --- This only affects precompiled headers. Continuing from before: $ echo '#define TEST2' > test2.h $ echo '#include "test2.h"' >> test.c $ cat test.c #include "test.h&q

[Bug pch/18980] New: -MD doesn't report compiled headers as dependencies when using pch ?

2004-12-13 Thread trick at icculus dot org
n: 3.4.2 Status: UNCONFIRMED Severity: normal Priority: P2 Component: pch AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: trick at icculus dot org CC: gcc-bugs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18980