[Bug objc++/95013] [11 Regression] FAIL: obj-c++.dg/property/property-neg-6.mm syntax-error-10.mm

2020-05-09 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95013

Eric Gallager  changed:

   What|Removed |Added

 CC||egallager at gcc dot gnu.org,
   ||iains at gcc dot gnu.org,
   ||mikestump at comcast dot net

--- Comment #1 from Eric Gallager  ---
cc-ing objc++ maintainers

[Bug objc++/95013] [11 Regression] FAIL: obj-c++.dg/property/property-neg-6.mm syntax-error-10.mm

2020-05-09 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95013

--- Comment #2 from Iain Sandoe  ---
please would you identify the platform(s) and configuration conditions?

I don't see these on at least 
x86_64-linux-gnu, powerpc64-linux-gnu  (m32, m64)
or on Darwin15, 18, 19 (m32, m64)

at r11-196

[Bug objc++/95013] [11 Regression] FAIL: obj-c++.dg/property/property-neg-6.mm syntax-error-10.mm

2020-05-10 Thread ro at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95013

Rainer Orth  changed:

   What|Removed |Added

 Ever confirmed|0   |1
   Last reconfirmed||2020-05-10
   Target Milestone|--- |11.0
 CC||nathan at gcc dot gnu.org,
   ||ro at gcc dot gnu.org
 Status|UNCONFIRMED |NEW
Version|10.0|11.0

--- Comment #3 from Rainer Orth  ---
I'm seeing them too on both sparc-sun-solaris2.11 and i386-pc-solaris2.11.

My immediate suspicion would be that they are due to Nathan's patch:

[C++] EOF has a location
https://gcc.gnu.org/pipermail/gcc-patches/2020-May/545409.html

Two of the source files (syntax-error-[89].mm lack a newline at EOF), and in
all
cases the message changed from

obj-c++.dg/syntax-error-10.mm:1:1: error: expected identifier at end of input

to

obj-c++.dg/syntax-error-10.mm:1: error: expected identifier at end of input

i.e. the column number got lost.

[Bug objc++/95013] [11 Regression] FAIL: obj-c++.dg/property/property-neg-6.mm syntax-error-10.mm

2020-05-10 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95013

Iain Sandoe  changed:

   What|Removed |Added

   Assignee|unassigned at gcc dot gnu.org  |iains at gcc dot gnu.org

--- Comment #4 from Iain Sandoe  ---
(In reply to Rainer Orth from comment #3)
> I'm seeing them too on both sparc-sun-solaris2.11 and i386-pc-solaris2.11.
> 
> My immediate suspicion would be that they are due to Nathan's patch:
> 
> [C++] EOF has a location
> https://gcc.gnu.org/pipermail/gcc-patches/2020-May/545409.html
> 
> Two of the source files (syntax-error-[89].mm lack a newline at EOF), and in
> all
> cases the message changed from
> 
> obj-c++.dg/syntax-error-10.mm:1:1: error: expected identifier at end of input
> 
> to
> 
> obj-c++.dg/syntax-error-10.mm:1: error: expected identifier at end of input
> 
> i.e. the column number got lost.

yeah, my tests were just a few revisions before that patch - at r11-235 I see
these on Darwin too, and it seems to be a case for fixing the tests.

[Bug objc++/95013] [11 Regression] FAIL: obj-c++.dg/property/property-neg-6.mm syntax-error-10.mm

2020-05-10 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95013

Iain Sandoe  changed:

   What|Removed |Added

   Assignee|iains at gcc dot gnu.org   |unassigned at gcc dot 
gnu.org

--- Comment #5 from Iain Sandoe  ---
(In reply to Iain Sandoe from comment #4)
> (In reply to Rainer Orth from comment #3)
> > I'm seeing them too on both sparc-sun-solaris2.11 and i386-pc-solaris2.11.
> > 
> > My immediate suspicion would be that they are due to Nathan's patch:
> > 
> > [C++] EOF has a location
> > https://gcc.gnu.org/pipermail/gcc-patches/2020-May/545409.html


> > obj-c++.dg/syntax-error-10.mm:1: error: expected identifier at end of input
> > 
> > i.e. the column number got lost.

> yeah, my tests were just a few revisions before that patch - at r11-235 I
> see these on Darwin too, and it seems to be a case for fixing the tests.

hmm maybe that's a diagnostics regression with the dangling colon (without the
colon it would seem reasonable).

[Bug objc++/95013] [11 Regression] FAIL: obj-c++.dg/property/property-neg-6.mm syntax-error-10.mm

2020-05-11 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95013

Nathan Sidwell  changed:

   What|Removed |Added

 Status|NEW |ASSIGNED
   Assignee|unassigned at gcc dot gnu.org  |nathan at gcc dot 
gnu.org

[Bug objc++/95013] [11 Regression] FAIL: obj-c++.dg/property/property-neg-6.mm syntax-error-10.mm

2020-05-11 Thread seurer at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95013

Bill Seurer  changed:

   What|Removed |Added

 CC||seurer at linux dot 
vnet.ibm.com

--- Comment #6 from Bill Seurer  ---
These started with r11-204 and occur on powerpc64 BE and LE as well.

commit debfaee5d51e3c07bb88a971618de2baff35d9c0
Author: Nathan Sidwell 
Date:   Fri May 8 08:43:16 2020 -0700

EOF has a location

There's no need to special-case EOF's location.  For the complete file we
give it a legitimate location.  And for deferred parses we now zap a
temporary EOF
onto the next token, so we can just use its location anyway.