[Bug c/67784] Incorrect parsing when using declarations in for loops and typedefs

2016-04-24 Thread jacques-henri.jourdan at inria dot Fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67784 Jacques-Henri Jourdan changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|FIXE

[Bug c/67784] New: Incorrect parsing when using declarations in for loops and typedefs

2015-09-30 Thread jacques-henri.jourdan at inria dot Fr
Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: jacques-henri.jourdan at inria dot Fr Target Milestone: --- The following code snippet does not parse correctly: typedef int T; void h() { for(int T; ;) if(1) ; T *x

[Bug c/67784] Incorrect parsing when using declarations in for loops and typedefs

2015-09-30 Thread jacques-henri.jourdan at inria dot Fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67784 --- Comment #1 from Jacques-Henri Jourdan --- My explanation of the problem is that the parser has to do a lookahead to make sure that there is no "else" associated to the selection statement. However, this lookahead is done in the wrong context,

[Bug tree-optimization/64031] New: Vectorization of max/min is not robust enough

2014-11-23 Thread jacques-henri.jourdan at inria dot Fr
: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: jacques-henri.jourdan at inria dot Fr The following code is sucessfully vectorized (using the minps instruction): const int SIZE = 1<<15; void test9(float * b) { unsigned i; fl