[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/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/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/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 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 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 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/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/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 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 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 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/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 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 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 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/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 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/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 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/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] 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/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/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] 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/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/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] 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] 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/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 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 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/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 c/26642] order of multiple assignments to array-values handled differently from gcc 3.3.5

2006-03-11 Thread neil at gcc dot gnu dot org
--- Comment #1 from neil at gcc dot gnu dot org 2006-03-11 14:28 --- There is no reason the results should not change. -- neil at gcc dot gnu dot org changed: What|Removed |Added

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

2006-01-21 Thread neil at gcc dot gnu dot org
--- Comment #2 from neil at gcc dot gnu dot org 2006-01-21 08:02 --- Discussing with pinskia, I believe qualifying the array type is intended to be viewed as qualifying the element type, not the array, so the example is invalid. -- neil at gcc dot gnu dot org changed

[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

[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 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/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/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/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/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/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/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 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 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 c/21857] New: Command line switches controlling acceptance of main

2005-05-31 Thread neil at gcc dot gnu dot org
Version: 3.3.4 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: gcc-bugs at gcc dot gnu dot org http

[Bug c/21794] New: GCC accepts invalid code

2005-05-27 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 CC: gcc-bugs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21794

[Bug c/21781] New: real.c incorrectly values zero with a large exponent

2005-05-27 Thread neil at gcc dot gnu dot org
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 CC: gcc-bugs at gcc dot gnu dot org http

[Bug c/21720] New: GCC incorrectly rounds hex floats

2005-05-23 Thread neil at gcc dot gnu dot org
IRMED 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=21720

[Bug c/21718] New: real.c rounding not perfect

2005-05-23 Thread neil at gcc dot gnu dot org
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=21718

[Bug c/21438] New: Warning about division by zero depends on lexical form

2005-05-07 Thread neil at gcc dot gnu dot org
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=21438

[Bug c/21296] New: Missed warning

2005-04-30 Thread neil at gcc dot gnu dot org
ority: 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 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21296

[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/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/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/19040] #elif token1 token2 doesn't produce a diagnostic

2004-12-16 Thread neil at gcc dot gnu dot org
--- Additional Comments From neil at gcc dot gnu dot org 2004-12-16 22:38 --- Not a bug - the standard requires this. -- What|Removed |Added Status|NEW

[Bug preprocessor/15167] [3.4/4.0 Regression] Internal compiler error with "#pragma once"

2004-12-05 Thread neil at gcc dot gnu dot org
--- Additional Comments From neil at gcc dot gnu dot org 2004-12-06 02:26 --- Eric - can you try your testcase on GCC sources as of around the beginning of August 2003? This is when I completely rewrote the whole file lookup mechanism, and contrary to Zack's claims it did wor