[Bug c/92140] New: clang vs gcc optimizing with adc/sbb

2019-10-17 Thread hermantenbrugge at home dot nl
Assignee: unassigned at gcc dot gnu.org Reporter: hermantenbrugge at home dot nl Target Milestone: --- The following code: extern char table[]; extern int c, v; void tst1 (void) { v += table[c] != 0; } void tst2 (void) { v -= table[c] != 0; } unsigned int tst3 (unsigned int n

[Bug middle-end/82286] Wrong array subscript is above array bounds

2017-09-26 Thread hermantenbrugge at home dot nl
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82286 --- Comment #4 from Herman ten Brugge --- Created attachment 42238 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42238=edit modified test case I modified the testcase a little bit and did some debugging. The code outputs a failure if

[Bug middle-end/82286] Wrong array subscript is above array bounds

2017-09-22 Thread hermantenbrugge at home dot nl
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82286 --- Comment #3 from Herman ten Brugge --- If I put: if (p_input_matrix->nof_rows > MAX_MATRIX_SIZE || p_input_matrix->nof_cols > MAX_MATRIX_SIZE) return; at the start of my function I still get the warning. I removed some assert statement

[Bug c/82286] New: Wrong array subscript is above array bounds

2017-09-21 Thread hermantenbrugge at home dot nl
Assignee: unassigned at gcc dot gnu.org Reporter: hermantenbrugge at home dot nl Target Milestone: --- Created attachment 42223 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42223=edit testcase The attached testcase reports array bound error if compiled with: gcc

[Bug c/82285] New: Optimizing error when using enumeration

2017-09-21 Thread hermantenbrugge at home dot nl
Assignee: unassigned at gcc dot gnu.org Reporter: hermantenbrugge at home dot nl Target Milestone: --- Created attachment 42218 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42218=edit testcase The attached code initializes the data array wrong when using enumerati

[Bug c/79374] New: missing sometimes-uninitialized warning in switch statement

2017-02-03 Thread hermantenbrugge at home dot nl
Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: hermantenbrugge at home dot nl Target Milestone: --- The code below: int tst(int); int tst (int sel) { int rv; switch (sel) { case 1: break; default: rv = 0; break

[Bug java/41549] New: [jni] very slow jni code callbacks

2009-10-02 Thread hermantenbrugge at home dot nl
ReportedBy: hermantenbrugge at home dot nl GCC host triplet: x86_64-unknown-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41549

[Bug c/30916] Wrong �float� rather than �double� due to prototype warning

2007-02-23 Thread hermantenbrugge at home dot nl
--- Comment #3 from hermantenbrugge at home dot nl 2007-02-23 15:26 --- Subject: Re: Wrong =?windows-1252?Q?=91float=92_rather_?= =?windows-1252?Q?than_=91double=92_due_to_prototype_warning?= manu at gcc dot gnu dot org wrote: --- Comment #2 from manu at gcc dot gnu dot org

[Bug c/30916] New: Wrong �float� rather than �double� due to prototype warning

2007-02-21 Thread hermantenbrugge at home dot nl
Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: hermantenbrugge at home dot nl GCC build triplet: x86_64-unknown-linux-gnu GCC host triplet

[Bug libmudflap/21023] mudflap reports errors for external variables

2005-05-07 Thread hermantenbrugge at home dot nl
-- What|Removed |Added Summary|mudflap reports errors |mudflap reports errors for ||external variables

[Bug libmudflap/21023] New: mudflap reports errors

2005-04-14 Thread hermantenbrugge at home dot nl
AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: hermantenbrugge at home dot nl CC: gcc-bugs at gcc dot gnu dot org GCC build triplet: i386-redhat-linux GCC host triplet: i386-redhat-linux GCC target triplet: i386-redhat-linux http://gcc.gnu.org/bugzilla

[Bug target/19859] New: SImode and DImode usage

2005-02-09 Thread hermantenbrugge at home dot nl
: SImode and DImode usage Product: gcc Version: 4.0.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: target AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: hermantenbrugge at home dot nl