Re: java/1681: Internal error during compilation of assigment expression

2001-06-08 Thread neil
Synopsis: Internal error during compilation of assigment expression State-Changed-From-To: open->closed State-Changed-By: neil State-Changed-When: Thu Jun 7 23:26:32 2001 State-Changed-Why: Submitter reports fixed. http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=1681&database=gcc

Re: pending/3555: Bug#87063: Info received and FILED only

2001-07-19 Thread neil
Synopsis: Bug#87063: Info received and FILED only State-Changed-From-To: open->closed State-Changed-By: neil State-Changed-When: Thu Jul 19 00:53:03 2001 State-Changed-Why: Yawn. We really must get this fixed. Not a bug report. http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&

Re: [Bug c/14366] variable previously declared `static' redeclared `extern' is valid ISO C - 3.4 and 4.0 regression

2006-05-18 Thread Neil Booth
pinskia at gcc dot gnu dot org wrote:- > Hmm, I think this causes the following invalid code to be accepted (but I am > not sure if this is invalid code or not): > enum in_section { in_toc }; > int f(void) { extern int in_toc; } > > -- > In 3.3 and before we got: > t1.c: In function `f':

Re: [Bug preprocessor/27750] New: bogus 'backslash-newline at end of file' warning

2006-05-24 Thread Neil Booth
diagnostics are accurate. The empty source file diagnostic is clearly incorrect, it has text in it 8-) However I think it's quite logical it appear last as that it where it can be discovered. The backslash diagnostic is clearly bogus too. Neil.

Re: [Bug c/25161] [4.0/4.1/4.2 Regression] Internal compiler error (segfault) instead of error message

2006-01-08 Thread Neil Booth
steven at gcc dot gnu dot org wrote:- > Sadly I have no idea what this variable is for, and Joseph did not add any Detecting jumps over variably modified types as required in C99. Neil.

Re: [Bug c/28768] [4.0/4.1/4.2 Regression] Preprocessor doesn't parse tokens correctly?

2006-08-23 Thread Neil Booth
pinskia at gcc dot gnu dot org wrote:- > > > --- Comment #1 from pinskia at gcc dot gnu dot org 2006-08-18 05:11 > --- > Confirmed, a regression from 3.3.3. Rather, intended behaviour since 3.3.3. Neil.

Re: [Bug c/29444] parser bug for variable declaration immediately following case statement in switch block

2006-10-12 Thread Neil Booth
be placed anywhere a statement can. > > This is a dup of bug 29062. It's going to keep getting reported until the diagnostic improves and shows that it's not the compiler that is confused. Neil.

Re: [Bug c/29467] -ansi -pedantic accepts _Bool without diagnostic

2006-10-14 Thread Neil Booth
pinskia at gcc dot gnu dot org wrote:- > > > --- Comment #1 from pinskia at gcc dot gnu dot org 2006-10-14 15:29 > --- > Hmm, isn't _Bool in the implemenation keyword space anyways? It is, so is _Complex, and that is diagnosed. I'm not saying it's a conformance problem, just that it'

Re: [Bug c/23895] switch and struct

2005-09-15 Thread Neil Booth
But IIRC this is invalid code as variable defintions are not allowed right > after a label. > void f(int i) > { > a: > struct a *b; > } > > > In fact This is a dup of bug 7508. Really this error message needs to be much better. Otherwise this PR will keep coming back. Neil.

Re: [Bug preprocessor/9449] UCNs not recognized in identifiers (c++/c99)

2005-09-15 Thread Neil Booth
e the > Rationale says that the kind of implementation we have now is supposed to be > permitted, and jsm said > he'd file a DR. How's that going? I very much doubt this is a defect. Just because it doesn't fit your implementation... Neil.

Re: [Bug preprocessor/8270] [3.4/4.0/4.1 Regression] back-slash newline extension can't be removed

2005-10-26 Thread Neil Booth
as said we should not change it. It looks like > DJ is saying the same in the new thread which shows the real issues with the > other compilers implemenation. I've said we should change it, I don't work for Apple. Please stop trying to claim your opinion is some kind of consensus. Neil.

Re: [Bug c/23113] The -Wunused (value computed is not used) option missed an important case

2005-07-28 Thread Neil Booth
pinskia at gcc dot gnu dot org wrote:- > > --- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-28 > 17:28 --- > foo() has side effects. > *p++ has the side effect of increasing p by 1. > > -- >What|Removed |Added > --

Re: [Bug c/23365] Declaration within case statement produces syntax error

2005-08-12 Thread Neil Booth
jsm28 at gcc dot gnu dot org wrote:- > > --- Additional Comments From jsm28 at gcc dot gnu dot org 2005-08-12 > 20:54 --- > Labels can only be applied to statements, not declarations; see the C99 > standard. That would be a much better error message.

Re: [Bug preprocessor/20348] [4.0/4.1 Regression] File not included when file with same name is included before

2005-08-26 Thread Neil Booth
ke these. IMO the code was already quite efficient. Neil.

Re: [Bug c/8268] no compile time array index checking

2006-02-18 Thread Neil Booth
rguenth at gcc dot gnu dot org wrote:- > Also make sure not to trip on > > typedef struct { > int len; > char str[4]; > } String; > > char foo(String *s) > { > return s->str[42]; > } That definitely deserves a warning. Neil.

Re: preprocessor bug: @ + MACRO does not work in gcc-3.0

2001-03-05 Thread Neil Booth
ort. Two things: 1) Is it a good idea to introduce yet another token type, when CPP_OTHER would do (from what I can see)? 2) Don't you just drop stray @ tokens, in e.g. int x = y @ + z; without a diagnostic? (And what about in C?) Neil.

Re: bug in tradcpp.c and patch fixing it

2001-08-16 Thread Neil Booth
age. Thanks a lot. I'll take a look and apply it soon if all's OK. Neil.

Re: [Bug preprocessor/19361] New: -MT option does not escape funny characters

2005-01-10 Thread Neil Booth
abbott at dima dot unige dot it wrote:- > The -MT option really does use precisely the specified string as the target. > It would be better if spaces (and other funny characters) were > escaped (using backslash) in the output. > > Note: for my purposes it would be enough to follow the proposa

Re: [Bug preprocessor/19836] -E -dD includes predefined macros

2005-02-09 Thread Neil Booth
jason at catapult dot com wrote:- > > --- Additional Comments From jason at catapult dot com 2005-02-09 06:27 > --- > (In reply to comment #1) > > This is documented to do this so this is not a bug. > > I thought -dD was supposed to NOT include predefined macros? Use -undef if you don

Re: [Bug preprocessor/17798] [3.4/4.0 Regression] high cpp memory usage with undefined symbols

2004-12-13 Thread Neil Booth
oblem comes from. > No there is no leak we keep a reference to all of thes identifiers but this > seems like we should not. Not doing either of these involves a major rework of cpplib FWIW. I happen to think it would be beneficial, but I also think that the whole approach CPP takes needs rethinking. Neil.

[Bug libstdc++/25409] New: STL mt_allocator crash in global construcutor

2005-12-14 Thread neil at fnxweb dot com
construcutor Product: gcc Version: 4.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: neil at fnxweb dot com GCC build triplet: i386-redhat-linux GCC host triplet: i386-redhat-linux GCC target triplet: i386-redhat-linux http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25409

[Bug libstdc++/25409] STL mt_allocator crash in global construcutor

2005-12-14 Thread neil at fnxweb dot com
--- Comment #1 from neil at fnxweb dot com 2005-12-14 11:44 --- Created an attachment (id=10484) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10484&action=view) Example of the crash Do 'make' in top level of build tree. 'make symbolcheck' afte

[Bug target/24071] __gthread_active_p vs __gthread_once

2005-12-14 Thread neil at fnxweb dot com
--- Comment #10 from neil at fnxweb dot com 2005-12-14 11:47 --- For ref., I've just raised PR 25409 which may possible be a dup. of this problem. It's nothing to do with Solaris, though, so I didn't just add the details here. -- neil at fnxweb dot com changed:

[Bug c++/65974] Bogus deprecated-declarations warnings for inline definitions of deprecated virtual methods

2015-07-06 Thread neil at fnxweb dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65974 Neil Bird changed: What|Removed |Added CC||neil at fnxweb dot com --- Comment #1 from

[Bug libstdc++/25409] STL mt_allocator crash in global construcutor

2006-03-08 Thread neil at fnxweb dot com
--- Comment #3 from neil at fnxweb dot com 2006-03-08 12:41 --- Was it compiled up to use mt_allocator? I won't have the time to check again for a short while. If it's considered a good idea to use -pthreads, then it ought really to have it's info-page entry updated

[Bug libstdc++/25409] STL mt_allocator crash in global construcutor

2006-03-20 Thread neil at fnxweb dot com
--- Comment #7 from neil at fnxweb dot com 2006-03-20 08:48 --- Fair enough; for the record, I did spend an obscene amount of time trying to make the example more straightforward, but *any* simplification over what I attached worked OK. -- http://gcc.gnu.org/bugzilla/show_bug.cgi

[Bug c/14366] variable previously declared `static' redeclared `extern' is valid ISO C - 3.4 and 4.0 regression

2006-05-18 Thread neil at daikokuya dot co dot uk
--- Comment #7 from neil at daikokuya dot co dot uk 2006-05-18 22:22 --- Subject: Re: variable previously declared `static' redeclared `extern' is valid ISO C - 3.4 and 4.0 regression pinskia at gcc dot gnu dot org wrote:- > Hmm, I think this causes the following inval

[Bug c/27697] [4.0/4.1/4.2 Regression] incorrect warning about constness of pointer to an array in a const struct

2006-05-21 Thread neil at daikokuya dot co dot uk
--- Comment #3 from neil at daikokuya dot co dot uk 2006-05-21 23:17 --- Subject: Re: [4.0/4.1/4.2 Regression] incorrect warning about constness of pointer to an array in a const struct pinskia at gcc dot gnu dot org wrote:- > > > --- Comment #2 from pinskia at gcc do

[Bug preprocessor/27750] bogus 'backslash-newline at end of file' warning

2006-05-24 Thread neil at daikokuya dot co dot uk
--- Comment #8 from neil at daikokuya dot co dot uk 2006-05-24 12:55 --- Subject: Re: New: bogus 'backslash-newline at end of file' warning sabre at nondot dot org wrote:- > $ gcc bug.c -Wall -pedantic -fsyntax-only -trigraphs -std=c99 > > yields: > bug.c:

[Bug preprocessor/38161] [4.4 regression] #elif breaks

2008-11-18 Thread neil at gcc dot gnu dot org
--- Comment #3 from neil at gcc dot gnu dot org 2008-11-18 22:18 --- The standard talks about the groups controlled by conditionals being skipped. There is no conditional controlling the #elif - it is at the top level - so I see nothing permitting its non-evaluation. -- http

[Bug c/38243] New: Restrict constraint violation not an error with -pedantic-errors

2008-11-23 Thread neil at gcc dot gnu dot org
: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: neil at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38243

[Bug c/38246] New: Restrict constraint violation not an error with -pedantic-errors

2008-11-23 Thread neil at gcc dot gnu dot org
: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: neil at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38246

[Bug c/25161] [4.0/4.1/4.2 Regression] Internal compiler error (segfault) instead of error message

2006-01-08 Thread neil at daikokuya dot co dot uk
--- Comment #7 from neil at daikokuya dot co dot uk 2006-01-09 04:38 --- Subject: Re: [4.0/4.1/4.2 Regression] Internal compiler error (segfault) instead of error message steven at gcc dot gnu dot org wrote:- > Sadly I have no idea what this variable is for, and Joseph did not

[Bug preprocessor/28520] preprocessed output does not lex to correct tokens

2006-07-28 Thread neil at gcc dot gnu dot org
--- Comment #3 from neil at gcc dot gnu dot org 2006-07-28 23:47 --- Tokenization is correct on reprocessing since ?= is not a token. -- neil at gcc dot gnu dot org changed: What|Removed |Added

[Bug preprocessor/28521] -E output incorrectly concatenates tokens into trigraphs

2006-07-28 Thread neil at gcc dot gnu dot org
--- Comment #3 from neil at gcc dot gnu dot org 2006-07-28 23:48 --- Tokenization is correct since preprocessed output has been through stages 1-3 and starts at stage 4. If you're passing -trigraphs then your command line is incorrect. -- neil at gcc dot gnu dot org ch

[Bug preprocessor/28521] -E output incorrectly concatenates tokens into trigraphs

2006-07-28 Thread neil at gcc dot gnu dot org
--- Comment #8 from neil at gcc dot gnu dot org 2006-07-29 05:02 --- This is not a bug. If you are preprocessing preprocessed output, you must use -fpreprocessed as documented. Otherwise many other things will go wrong, not just this. The bug is on your command line. -- neil at

[Bug c/28768] [4.0/4.1/4.2 Regression] Preprocessor doesn't parse tokens correctly?

2006-08-23 Thread neil at daikokuya dot co dot uk
--- Comment #6 from neil at daikokuya dot co dot uk 2006-08-23 13:16 --- Subject: Re: [4.0/4.1/4.2 Regression] Preprocessor doesn't parse tokens correctly? pinskia at gcc dot gnu dot org wrote:- > > > --- Comment #1 from pinskia at gcc dot gnu dot org 20

[Bug c/29062] Parse error after label and variable declaration

2006-09-13 Thread neil at daikokuya dot co dot uk
--- Comment #2 from neil at daikokuya dot co dot uk 2006-09-13 22:27 --- Subject: Re: Parse error after label and variable declaration schwab at suse dot de wrote:- > > > --- Comment #1 from schwab at suse dot de 2006-09-13 15:32 --- > A label can only

[Bug c/29116] New: Failure to diagnose violation of constraint 6.7.5.2p2

2006-09-17 Thread neil at gcc dot gnu dot org
Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: neil at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29116

[Bug c/29125] New: Failure to diagnose violation of constraint 6.7.5.2p2

2006-09-18 Thread neil at gcc dot gnu dot org
: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: neil at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29125

[Bug c/29126] New: Failure to diagnose violation of constraint 6.7.5.2p2

2006-09-18 Thread neil at gcc dot gnu dot org
Severity: normal Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: neil at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29126

[Bug c/29125] Failure to diagnose violation of constraint 6.7.5.2p2

2006-09-18 Thread neil at gcc dot gnu dot org
--- Comment #1 from neil at gcc dot gnu dot org 2006-09-18 14:02 --- Fixed in current SVN. -- neil at gcc dot gnu dot org changed: What|Removed |Added Status

[Bug c/29126] Failure to diagnose violation of constraint 6.7.5.2p2

2006-09-18 Thread neil at gcc dot gnu dot org
--- Comment #1 from neil at gcc dot gnu dot org 2006-09-18 14:02 --- Fixed in current SVN. -- neil at gcc dot gnu dot org changed: What|Removed |Added Status

[Bug c/29129] New: Strictly conforming code rejected

2006-09-18 Thread neil at gcc dot gnu dot org
NCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: neil at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29129

[Bug c/14050] [DR289] c99 restrict doesn't work in abs declarator

2006-09-18 Thread neil at gcc dot gnu dot org
--- Comment #5 from neil at gcc dot gnu dot org 2006-09-18 15:13 --- Confirmed -- neil at gcc dot gnu dot org changed: What|Removed |Added Last reconfirmed|2006-03-05

[Bug c/29129] [4.2 Regression] Strictly conforming code rejected

2006-09-19 Thread neil at daikokuya dot co dot uk
--- Comment #3 from neil at daikokuya dot co dot uk 2006-09-19 13:04 --- Subject: Re: [4.2 Regression] Strictly conforming code rejected joseph at codesourcery dot com wrote:- > > foo.c:1: error: '[*]' not allowed in other than a declaration > > As th

[Bug c/29237] New: Failure to appropriately qualify C99 pointer decayed from array parameter

2006-09-26 Thread neil at gcc dot gnu dot org
sion: 4.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: neil at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29237

[Bug c/29444] parser bug for variable declaration immediately following case statement in switch block

2006-10-12 Thread neil at daikokuya dot co dot uk
--- Comment #2 from neil at daikokuya dot co dot uk 2006-10-12 22:27 --- Subject: Re: parser bug for variable declaration immediately following case statement in switch block pinskia at gcc dot gnu dot org wrote:- > > > --- Comment #1 from pinskia at gcc dot gnu dot

[Bug c/29467] New: -ansi -pedantic accepts _Bool without diagnostic

2006-10-14 Thread neil at gcc dot gnu dot org
ReportedBy: neil at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29467

[Bug c/29468] off-by-one error for string initialiser warning

2006-10-14 Thread neil at gcc dot gnu dot org
--- Comment #1 from neil at gcc dot gnu dot org 2006-10-14 12:25 --- Not a bug - just 2 elements are initialized, the NUL is dropped. -- neil at gcc dot gnu dot org changed: What|Removed |Added

[Bug c/29467] -ansi -pedantic accepts _Bool without diagnostic

2006-10-14 Thread neil at daikokuya dot co dot uk
--- Comment #2 from neil at daikokuya dot co dot uk 2006-10-14 16:19 --- Subject: Re: -ansi -pedantic accepts _Bool without diagnostic pinskia at gcc dot gnu dot org wrote:- > > > --- Comment #1 from pinskia at gcc dot gnu dot org 2006-10-14 15:29 > ---

[Bug middle-end/21718] real.c rounding not perfect

2007-10-10 Thread neil at gcc dot gnu dot org
--- Comment #5 from neil at gcc dot gnu dot org 2007-10-11 03:45 --- (In reply to comment #1) > We probably don't even get it right for all cases with DECIMAL_DIG digits for > all long double formats (required by Annex F). (In reply to comment #2) > My reading of

[Bug middle-end/21718] real.c rounding not perfect

2007-10-18 Thread neil at gcc dot gnu dot org
--- Comment #6 from neil at gcc dot gnu dot org 2007-10-18 15:24 --- (In reply to comment #5) > I believe more than 160 bits are required to get even single-precision numbers > right with DECIMAL_DIG digits precision and an exponent. I'm going to try and > prove this

[Bug c++/20019] incorrect overflow warning

2005-02-17 Thread neil at daikokuya dot co dot uk
--- Additional Comments From neil at daikokuya dot co dot uk 2005-02-17 11:34 --- Subject: Re: incorrect overflow warning pinskia at gcc dot gnu dot org wrote:- > > --- Additional Comments From pinskia at gcc dot gnu dot org 2005-02-17 > 03:14 --- > No th

[Bug c++/20019] incorrect overflow warning

2005-02-17 Thread neil at daikokuya dot co dot uk
--- Additional Comments From neil at daikokuya dot co dot uk 2005-02-17 14:00 --- Subject: Re: incorrect overflow warning schlie at comcast dot net wrote:- > > --- Additional Comments From schlie at comcast dot net 2005-02-17 13:20 > --- > (In reply to comment

[Bug c++/20019] incorrect overflow warning

2005-02-17 Thread neil at daikokuya dot co dot uk
--- Additional Comments From neil at daikokuya dot co dot uk 2005-02-17 15:12 --- Subject: Re: incorrect overflow warning schlie at comcast dot net wrote:- > > --- Additional Comments From schlie at comcast dot net 2005-02-17 14:33 > --- > (In reply to comment

[Bug preprocessor/20077] New: GCC accepts macro definitions that fail a constraint

2005-02-19 Thread neil at gcc dot gnu dot org
: unassigned at gcc dot gnu dot org ReportedBy: neil at gcc dot gnu dot org CC: gcc-bugs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20077

[Bug preprocessor/20078] New: Gcc doesn't complain about non-benign macro definitions

2005-02-19 Thread neil at gcc dot gnu dot org
oduct: gcc Version: 3.4.0 Status: UNCONFIRMED Severity: minor Priority: P3 Component: preprocessor AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: neil at gcc dot gnu dot org CC: gcc-bugs at gcc dot gnu do

[Bug preprocessor/9449] UCNs not recognized in identifiers (c++/c99)

2005-02-21 Thread neil at daikokuya dot co dot uk
--- Additional Comments From neil at daikokuya dot co dot uk 2005-02-21 23:00 --- Subject: Re: UCNs not recognized in identifiers (c++/c99) jsm28 at gcc dot gnu dot org wrote:- > * The greedy algorithm applies for lexing UCNs: for example, > a\U000z is three preprocessing

[Bug c/20258] error generated for storage class specified for function parameter

2005-03-01 Thread neil at daikokuya dot co dot uk
--- Additional Comments From neil at daikokuya dot co dot uk 2005-03-01 12:39 --- Subject: Re: error generated for storage class specified for function parameter schlie at comcast dot net wrote:- > Yes I understand. However it seems somewhat ironic that "static const" &

[Bug preprocessor/20262] __LINE__ implementation flaky.

2005-03-01 Thread neil at daikokuya dot co dot uk
--- Additional Comments From neil at daikokuya dot co dot uk 2005-03-01 23:13 --- Subject: Re: __LINE__ implementation flaky. pinskia at gcc dot gnu dot org wrote:- > > --- Additional Comments From pinskia at gcc dot gnu dot org 2005-03-01 > 17:16 --- > Oute

[Bug preprocessor/20262] __LINE__ implementation flaky.

2005-03-01 Thread neil at daikokuya dot co dot uk
--- Additional Comments From neil at daikokuya dot co dot uk 2005-03-01 23:36 --- Subject: Re: __LINE__ implementation flaky. neil at daikokuya dot co dot uk wrote:- > > --- Additional Comments From neil at daikokuya dot co dot uk 2005-03-01 > 23:13 --- >

[Bug preprocessor/19475] [3.3/3.4/4.0/4.1 Regression] missing whitespace after macro name in C90 or C++

2005-04-05 Thread neil at daikokuya dot co dot uk
--- Additional Comments From neil at daikokuya dot co dot uk 2005-04-05 11:31 --- Subject: Re: [PATCH] Fix PR preprocessor/19475 Jakub Jelinek wrote:- > Is there some limitation on how many bytes or error messages > dejagnu groks or something? I think it gets confused by the

[Bug preprocessor/20989] The -M option gives object file names without directory

2005-04-13 Thread neil at gcc dot gnu dot org
--- Additional Comments From neil at gcc dot gnu dot org 2005-04-13 13:29 --- Not a bug - you misunderstand basename. -- What|Removed |Added Status|UNCONFIRMED

[Bug preprocessor/35312] New: Invalid syntax in PP expressions not diagnosed in strict mode

2008-02-23 Thread neil at gcc dot gnu dot org
Version: 4.1.3 Status: UNCONFIRMED Severity: normal Priority: P3 Component: preprocessor AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: neil at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35312

[Bug preprocessor/35313] New: Valid pp-expression rejected in C99 mode

2008-02-23 Thread neil at gcc dot gnu dot org
Severity: normal Priority: P3 Component: preprocessor AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: neil at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35313

[Bug preprocessor/35301] Function macro nesting depth appears to be uncomfortably limited.

2008-02-23 Thread neil at gcc dot gnu dot org
--- Comment #4 from neil at gcc dot gnu dot org 2008-02-23 14:03 --- To be honest this isn't even a disputed case from what I can see. I doubt you can find a serious C implementation (i.e. tcc etc. doesn't count) that will do what you expect. -- neil at gcc dot gnu dot o

[Bug c/39646] New: __FILE__ breaks for empty file name

2009-04-05 Thread neil at gcc dot gnu dot org
Severity: normal Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: neil at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39646

[Bug c/39647] New: Syntax checks in #line not quite right

2009-04-05 Thread neil at gcc dot gnu dot org
ty: normal Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: neil at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39647

[Bug c/31870] New: Failure to diagnose taking address of register variable

2007-05-08 Thread neil at gcc dot gnu dot org
AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: neil at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31870

[Bug c/31871] New: C99 failure to diagnose non-integer cast

2007-05-08 Thread neil at gcc dot gnu dot org
oduct: gcc Version: 4.1.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: neil at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31871

[Bug preprocessor/31869] stringifying empty macros

2007-05-08 Thread neil at gcc dot gnu dot org
--- Comment #2 from neil at gcc dot gnu dot org 2007-05-09 05:01 --- The space is required by the standard. Is this a regression? I believe GCC used to get this right but I could be wrong. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31869

[Bug c/31870] Failure to diagnose taking address of register variable

2007-05-09 Thread neil at daikokuya dot co dot uk
--- Comment #2 from neil at daikokuya dot co dot uk 2007-05-09 23:39 --- Subject: Re: Failure to diagnose taking address of register variable bangerth at dealii dot org wrote:- > Uh, can you elaborate? We get the warning you want if we have > int d (void) { register i

[Bug c/31870] Failure to diagnose taking address of register variable

2007-05-09 Thread neil at gcc dot gnu dot org
--- Comment #4 from neil at gcc dot gnu dot org 2007-05-10 00:00 --- Agreed it's minor; I think I flagged the PR that way. I'm not sure but I suspect it indicates that the pointer decay is not happening. If so and you were using GCC to do source code analysis, you wou

[Bug c/32041] New: offsetof buglet

2007-05-22 Thread neil at gcc dot gnu dot org
ummary: offsetof buglet Product: gcc Version: 4.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: neil at gcc dot gnu dot org http://gcc.gnu.org/bu

[Bug c++/23823] Is this right?

2005-09-12 Thread neil at daikokuya dot co dot uk
--- Additional Comments From neil at daikokuya dot co dot uk 2005-09-12 12:42 --- Subject: Re: Is this right? igodard at pacbell dot net wrote:- > > --- Additional Comments From igodard at pacbell dot net 2005-09-12 03:17 > --- > In the case you give I count

[Bug c/23895] switch and struct

2005-09-15 Thread neil at daikokuya dot co dot uk
--- Additional Comments From neil at daikokuya dot co dot uk 2005-09-15 22:50 --- Subject: Re: switch and struct pinskia at gcc dot gnu dot org wrote:- > > --- Additional Comments From pinskia at gcc dot gnu dot org 2005-09-15 > 14:22 --- > Small testcase: &g

[Bug preprocessor/9449] UCNs not recognized in identifiers (c++/c99)

2005-09-15 Thread neil at daikokuya dot co dot uk
--- Additional Comments From neil at daikokuya dot co dot uk 2005-09-15 22:53 --- Subject: Re: UCNs not recognized in identifiers (c++/c99) geoffk at gcc dot gnu dot org wrote:- > > --- Additional Comments From geoffk at gcc dot gnu dot org 2005-09-15 > 22:34

[Bug preprocessor/9449] UCNs not recognized in identifiers (c++/c99)

2005-09-15 Thread neil at daikokuya dot co dot uk
--- Additional Comments From neil at daikokuya dot co dot uk 2005-09-15 22:58 --- Subject: Re: UCNs not recognized in identifiers (c++/c99) joseph at codesourcery dot com wrote:- > I don't believe I said I'd file a DR unless I saw a defect. There is no > defect bec

[Bug c/24293] New: Undefined behaviour not diagnosed with -fsyntax-only

2005-10-09 Thread neil at gcc dot gnu dot org
Priority: P2 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: neil at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24293

[Bug preprocessor/8270] [3.4/4.0/4.1 Regression] back-slash newline extension can't be removed

2005-10-26 Thread neil at daikokuya dot co dot uk
--- Comment #32 from neil at daikokuya dot co dot uk 2005-10-26 23:07 --- Subject: Re: [3.4/4.0/4.1 Regression] back-slash newline extension can't be removed pinskia at gcc dot gnu dot org wrote:- > > That would be the consensus from Andrew, not from people concerne

[Bug preprocessor/22168] #if #A == #B should have a diagnostic

2005-06-24 Thread neil at gcc dot gnu dot org
--- Additional Comments From neil at gcc dot gnu dot org 2005-06-24 14:56 --- Documented behaviour. -- What|Removed |Added Status|UNCONFIRMED

[Bug preprocessor/22168] #if #A == #B should have a diagnostic in ISO C mode

2005-06-24 Thread neil at gcc dot gnu dot org
--- Additional Comments From neil at gcc dot gnu dot org 2005-06-24 22:24 --- (In reply to comment #6) > Yup, it's documented. However, it's still silently accepted even with -pedantic, and the language doesn't > permit that. My copy of the standard onl

[Bug c/22192] New: Rejection of valid array declaration.

2005-06-26 Thread neil at gcc dot gnu dot org
n of valid array declaration. Product: gcc Version: 4.1.0 Status: UNCONFIRMED Severity: minor Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: neil at gcc dot gnu dot org

[Bug c/22192] Rejection of valid array declaration.

2005-06-26 Thread neil at gcc dot gnu dot org
--- Additional Comments From neil at gcc dot gnu dot org 2005-06-26 15:11 --- (In reply to comment #0) > With -fsyntax-only GCC erroneously rejects the following array 'x' as having > non-constant size. Its size should evaluate to 1. > > int > bar (int v) >

[Bug c/22249] New: GCC does not reject an incompatible type declaration

2005-06-30 Thread neil at gcc dot gnu dot org
tatus: UNCONFIRMED Severity: minor Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: neil at gcc dot gnu dot org CC: gcc-bugs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22249

[Bug c/22308] New: Failure to diagnose violation of constraint 6.516p2

2005-07-05 Thread neil at gcc dot gnu dot org
violation of constraint 6.516p2 Product: gcc Version: 4.1.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: neil at gcc dot gnu dot org CC

[Bug c/23075] New: Redundant / bogus warning

2005-07-26 Thread neil at gcc dot gnu dot org
rning Product: gcc Version: 4.1.0 Status: UNCONFIRMED Severity: minor Priority: P2 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: neil at gcc dot gnu dot org CC: gcc-bugs at gcc dot gnu dot org

[Bug c/23075] Redundant / bogus warning

2005-07-26 Thread neil at gcc dot gnu dot org
--- Additional Comments From neil at gcc dot gnu dot org 2005-07-26 12:13 --- I meant to add -Wall to the warning list. -- What|Removed |Added Summary|Redundant

[Bug c/23113] The -Wunused (value computed is not used) option missed an important case

2005-07-28 Thread neil at daikokuya dot co dot uk
--- Additional Comments From neil at daikokuya dot co dot uk 2005-07-28 22:46 --- Subject: Re: The -Wunused (value computed is not used) option missed an important case pinskia at gcc dot gnu dot org wrote:- > > --- Additional Comments From pinskia at gcc dot gnu dot org

[Bug c/23161] New: Labels and empty statement warnings

2005-07-31 Thread neil at gcc dot gnu dot org
Version: 4.1.0 Status: UNCONFIRMED Severity: minor Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: neil at gcc dot gnu dot org CC: gcc-bugs at gcc dot gnu dot org http

[Bug c/23365] Declaration within case statement produces syntax error

2005-08-12 Thread neil at daikokuya dot co dot uk
--- Additional Comments From neil at daikokuya dot co dot uk 2005-08-13 05:30 --- Subject: Re: Declaration within case statement produces syntax error jsm28 at gcc dot gnu dot org wrote:- > > --- Additional Comments From jsm28 at gcc dot gnu dot org 2005-08-12 &

[Bug preprocessor/20348] [4.0/4.1 Regression] File not included when file with same name is included before

2005-08-26 Thread neil at daikokuya dot co dot uk
--- Additional Comments From neil at daikokuya dot co dot uk 2005-08-27 05:44 --- Subject: Re: [4.0/4.1 Regression] File not included when file with same name is included before jakub at gcc dot gnu dot org wrote:- > > --- Additional Comments From jakub at gcc dot gnu d

[Bug c/35908] New: Dubious charset conversions

2008-04-11 Thread neil at gcc dot gnu dot org
rsions Product: gcc Version: 4.1.3 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: neil at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35908

[Bug c/35908] Dubious charset conversions

2008-04-11 Thread neil at daikokuya dot co dot uk
--- Comment #2 from neil at daikokuya dot co dot uk 2008-04-12 04:40 --- Subject: Re: Dubious charset conversions joseph at codesourcery dot com wrote:- > > GCC accepts the following with -ansi -pedantic -Wall without diagnostics > > > > #include > >

[Bug preprocessor/36088] New: Unevaluated PP expression rejected

2008-04-30 Thread neil at gcc dot gnu dot org
Severity: normal Priority: P3 Component: preprocessor AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: neil at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36088

[Bug preprocessor/35010] preprocessor loses leading whitespace

2008-05-14 Thread neil at gcc dot gnu dot org
--- Comment #1 from neil at gcc dot gnu dot org 2008-05-15 02:54 --- Chris - unless I'm missing something I disagree. The , ## __VA_ARGS__ token sequence is being eaten in its entirety by the empty argument. Then between "format" and the ')' on the #

[Bug preprocessor/35010] preprocessor loses leading whitespace

2008-05-14 Thread neil at gcc dot gnu dot org
--- Comment #2 from neil at gcc dot gnu dot org 2008-05-15 02:56 --- Never mind, I see your point. The comma isn't being eaten, right. -- neil at gcc dot gnu dot org changed: What|Removed |

[Bug preprocessor/36320] New: Required diagnosis of syntax error missed

2008-05-24 Thread neil at gcc dot gnu dot org
AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: neil at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36320

[Bug c/25897] New: GCC rejects the following strictly conforming code with -ansi -pedantic errors

2006-01-20 Thread neil at gcc dot gnu dot org
Severity: minor Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: neil at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25897

  1   2   >