[Bug ada/84277] [8 Regression] A lot of new acats testsuite failures

2018-02-26 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84277

--- Comment #11 from Eric Botcazou  ---
> What are the "acats tests without -fno-reorder-blocks-and-partition still at
> 314 failures." failures?  Runtime failures, or just failing to assemble or
> failing to link?  How do non-ada tests with -freorder-blocks-and-partition
> look on this target?  Perhaps block & partition reordering needs to be
> disabled, either on the target for all compilation, or for Ada only, though
> of course it would be nice to see why.  Is that a regression though?

-freorder-blocks-and-partition is just incompatible with SEH at the moment and,
since it's now the default, the end result is obviously a regression.  I have
the beginning of a fix but it's still not sufficient.

[Bug ada/84277] [8 Regression] A lot of new acats testsuite failures

2018-02-26 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84277

Jakub Jelinek  changed:

   What|Removed |Added

 CC||jakub at gcc dot gnu.org

--- Comment #10 from Jakub Jelinek  ---
What are the "acats tests without -fno-reorder-blocks-and-partition still at
314 failures." failures?  Runtime failures, or just failing to assemble or
failing to link?  How do non-ada tests with -freorder-blocks-and-partition look
on this target?  Perhaps block & partition reordering needs to be disabled,
either on the target for all compilation, or for Ada only, though of course it
would be nice to see why.  Is that a regression though?  I mean, has
-freorder-blocks-and-partition ever worked on this target for Ada, or just
nobody tested it before?

[Bug ada/84277] [8 Regression] A lot of new acats testsuite failures

2018-02-26 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84277

Jakub Jelinek  changed:

   What|Removed |Added

   Priority|P3  |P4

[Bug ada/84277] [8 Regression] A lot of new acats testsuite failures

2018-02-19 Thread rai...@emrich-ebersheim.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84277

--- Comment #9 from Rainer Emrich  ---
Update on the gnat testsuite:

=== gnat tests ===

Schedule of variations:
unix

Running target unix
Using /usr/share/dejagnu/baseboards/unix.exp as board description file for
target.
Using /usr/share/dejagnu/config/unix.exp as generic interface file for target.
Using
/opt/devel/gnu/src/gcc-mingw-w64/gcc-8.0.0/gcc/testsuite/config/default.exp as
tool-and-target-specific interface file.
Running /opt/devel/gnu/src/gcc-mingw-w64/gcc-8.0.0/gcc/testsuite/gnat.dg/dg.exp
...
FAIL: gnat.dg/entry_queues.adb execution test
FAIL: gnat.dg/handle_and_return.adb execution test
XPASS: gnat.dg/lto19.adb (test for excess errors)
FAIL: gnat.dg/nested_controlled_alloc.adb execution test
FAIL: gnat.dg/timer_cancel.adb execution test
Running
/opt/devel/gnu/src/gcc-mingw-w64/gcc-8.0.0/gcc/testsuite/gnat.dg/gcov/gcov.exp
...
Running
/opt/devel/gnu/src/gcc-mingw-w64/gcc-8.0.0/gcc/testsuite/gnat.dg/specs/specs.exp
...
Running
/opt/devel/gnu/src/gcc-mingw-w64/gcc-8.0.0/gcc/testsuite/gnat.dg/sso/sso.exp
...

=== gnat Summary ===

# of expected passes2687
# of unexpected failures4
# of unexpected successes   1
# of expected failures  22
# of unsupported tests  6
/opt/devel/SCRATCH/tmp.e2kXrnqZV0/gcc-8.0.0/gcc-8.0.0/gcc/gnatmake version
8.0.1 20180219 (experimental) [trunk revision 257803]

Improved by 11 tests which PASS.

acats tests without -fno-reorder-blocks-and-partition still at 314 failures.

[Bug ada/84277] [8 Regression] A lot of new acats testsuite failures

2018-02-16 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84277

--- Comment #7 from Eric Botcazou  ---
Author: ebotcazou
Date: Fri Feb 16 23:26:49 2018
New Revision: 257774

URL: https://gcc.gnu.org/viewcvs?rev=257774&root=gcc&view=rev
Log:
PR ada/84277
* gnat.dg/array11.adb (Array11): Tweak index and remove warning.
* gnat.dg/dispatch1.adb: Rename into...
* gnat.dg/disp1.adb: ...this.
* gnat.dg/dispatch1_p.ads: Rename into...
* gnat.dg/disp1_pkg.ads: ...this.
* gnat.dg/disp2.adb: Rename into...
* gnat.dg/dispatch2.adb: ...this.
* gnat.dg/dispatch2_p.ads: Rename into...
* gnat.dg/disp2_pkg.ads: ...this.
* gnat.dg/dispatch2_p.adb: Rename into...
* gnat.dg/disp2_pkg.adb: this.
* gnat.dg/generic_dispatch.adb: Rename into...
* gnat.dg/generic_disp.adb: this.
* gnat.dg/generic_dispatch_p.ads: Rename into...
* gnat.dg/generic_disp_pkg.ads: ...this.
* gnat.dg/generic_dispatch_p.adb: Rename into...
* gnat.dg/generic_disp_pkg.adb: ...this.
* gnat.dg/null_pointer_deref1.adb (Null_Pointer_Deref1): Robustify.
* gnat.dg/null_pointer_deref2.adb (Null_Pointer_Deref2): Likewise.
* gnat.dg/object_overflow1.adb: Tweak index.
* gnat.dg/object_overflow2.adb: Likewise.
* gnat.dg/object_overflow3.adb: Likewise.
* gnat.dg/object_overflow4.adb: Likewise.
* gnat.dg/object_overflow5.adb: Likewise.

Added:
branches/gcc-7-branch/gcc/testsuite/gnat.dg/disp1.adb
  - copied, changed from r257773,
branches/gcc-7-branch/gcc/testsuite/gnat.dg/dispatch1.adb
branches/gcc-7-branch/gcc/testsuite/gnat.dg/disp1_pkg.ads
  - copied, changed from r257773,
branches/gcc-7-branch/gcc/testsuite/gnat.dg/dispatch1_p.ads
branches/gcc-7-branch/gcc/testsuite/gnat.dg/disp2.adb
  - copied, changed from r257773,
branches/gcc-7-branch/gcc/testsuite/gnat.dg/dispatch2.adb
branches/gcc-7-branch/gcc/testsuite/gnat.dg/disp2_pkg.adb
  - copied, changed from r257773,
branches/gcc-7-branch/gcc/testsuite/gnat.dg/dispatch2_p.adb
branches/gcc-7-branch/gcc/testsuite/gnat.dg/disp2_pkg.ads
  - copied, changed from r257773,
branches/gcc-7-branch/gcc/testsuite/gnat.dg/dispatch2_p.ads
branches/gcc-7-branch/gcc/testsuite/gnat.dg/generic_disp.adb
  - copied, changed from r257773,
branches/gcc-7-branch/gcc/testsuite/gnat.dg/generic_dispatch.adb
branches/gcc-7-branch/gcc/testsuite/gnat.dg/generic_disp_pkg.adb
  - copied, changed from r257773,
branches/gcc-7-branch/gcc/testsuite/gnat.dg/generic_dispatch_p.adb
branches/gcc-7-branch/gcc/testsuite/gnat.dg/generic_disp_pkg.ads
  - copied, changed from r257773,
branches/gcc-7-branch/gcc/testsuite/gnat.dg/generic_dispatch_p.ads
Removed:
branches/gcc-7-branch/gcc/testsuite/gnat.dg/dispatch1.adb
branches/gcc-7-branch/gcc/testsuite/gnat.dg/dispatch1_p.ads
branches/gcc-7-branch/gcc/testsuite/gnat.dg/dispatch2.adb
branches/gcc-7-branch/gcc/testsuite/gnat.dg/dispatch2_p.adb
branches/gcc-7-branch/gcc/testsuite/gnat.dg/dispatch2_p.ads
branches/gcc-7-branch/gcc/testsuite/gnat.dg/generic_dispatch.adb
branches/gcc-7-branch/gcc/testsuite/gnat.dg/generic_dispatch_p.adb
branches/gcc-7-branch/gcc/testsuite/gnat.dg/generic_dispatch_p.ads
Modified:
branches/gcc-7-branch/gcc/testsuite/ChangeLog
branches/gcc-7-branch/gcc/testsuite/gnat.dg/array11.adb
branches/gcc-7-branch/gcc/testsuite/gnat.dg/null_pointer_deref1.adb
branches/gcc-7-branch/gcc/testsuite/gnat.dg/null_pointer_deref2.adb
branches/gcc-7-branch/gcc/testsuite/gnat.dg/object_overflow1.adb
branches/gcc-7-branch/gcc/testsuite/gnat.dg/object_overflow2.adb
branches/gcc-7-branch/gcc/testsuite/gnat.dg/object_overflow3.adb
branches/gcc-7-branch/gcc/testsuite/gnat.dg/object_overflow4.adb
branches/gcc-7-branch/gcc/testsuite/gnat.dg/object_overflow5.adb

[Bug ada/84277] [8 Regression] A lot of new acats testsuite failures

2018-02-16 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84277

--- Comment #8 from Eric Botcazou  ---
Author: ebotcazou
Date: Fri Feb 16 23:27:21 2018
New Revision: 257775

URL: https://gcc.gnu.org/viewcvs?rev=257775&root=gcc&view=rev
Log:
PR ada/84277
* gnat.dg/array11.adb (Array11): Tweak index and remove warning.
* gnat.dg/dispatch1.adb: Rename into...
* gnat.dg/disp1.adb: ...this.
* gnat.dg/dispatch1_p.ads: Rename into...
* gnat.dg/disp1_pkg.ads: ...this.
* gnat.dg/disp2.adb: Rename into...
* gnat.dg/dispatch2.adb: ...this.
* gnat.dg/dispatch2_p.ads: Rename into...
* gnat.dg/disp2_pkg.ads: ...this.
* gnat.dg/dispatch2_p.adb: Rename into...
* gnat.dg/disp2_pkg.adb: this.
* gnat.dg/generic_dispatch.adb: Rename into...
* gnat.dg/generic_disp.adb: this.
* gnat.dg/generic_dispatch_p.ads: Rename into...
* gnat.dg/generic_disp_pkg.ads: ...this.
* gnat.dg/generic_dispatch_p.adb: Rename into...
* gnat.dg/generic_disp_pkg.adb: ...this.
* gnat.dg/null_pointer_deref1.adb (Null_Pointer_Deref1): Robustify.
* gnat.dg/null_pointer_deref2.adb (Null_Pointer_Deref2): Likewise.
* gnat.dg/object_overflow1.adb: Tweak index.
* gnat.dg/object_overflow2.adb: Likewise.
* gnat.dg/object_overflow3.adb: Likewise.
* gnat.dg/object_overflow4.adb: Likewise.
* gnat.dg/object_overflow5.adb: Likewise.

Added:
branches/gcc-6-branch/gcc/testsuite/gnat.dg/disp1.adb
  - copied, changed from r257774,
branches/gcc-6-branch/gcc/testsuite/gnat.dg/dispatch1.adb
branches/gcc-6-branch/gcc/testsuite/gnat.dg/disp1_pkg.ads
  - copied, changed from r257774,
branches/gcc-6-branch/gcc/testsuite/gnat.dg/dispatch1_p.ads
branches/gcc-6-branch/gcc/testsuite/gnat.dg/disp2.adb
  - copied, changed from r257774,
branches/gcc-6-branch/gcc/testsuite/gnat.dg/dispatch2.adb
branches/gcc-6-branch/gcc/testsuite/gnat.dg/disp2_pkg.adb
  - copied, changed from r257774,
branches/gcc-6-branch/gcc/testsuite/gnat.dg/dispatch2_p.adb
branches/gcc-6-branch/gcc/testsuite/gnat.dg/disp2_pkg.ads
  - copied, changed from r257774,
branches/gcc-6-branch/gcc/testsuite/gnat.dg/dispatch2_p.ads
branches/gcc-6-branch/gcc/testsuite/gnat.dg/generic_disp.adb
  - copied, changed from r257774,
branches/gcc-6-branch/gcc/testsuite/gnat.dg/generic_dispatch.adb
branches/gcc-6-branch/gcc/testsuite/gnat.dg/generic_disp_pkg.adb
  - copied, changed from r257774,
branches/gcc-6-branch/gcc/testsuite/gnat.dg/generic_dispatch_p.adb
branches/gcc-6-branch/gcc/testsuite/gnat.dg/generic_disp_pkg.ads
  - copied, changed from r257774,
branches/gcc-6-branch/gcc/testsuite/gnat.dg/generic_dispatch_p.ads
Removed:
branches/gcc-6-branch/gcc/testsuite/gnat.dg/dispatch1.adb
branches/gcc-6-branch/gcc/testsuite/gnat.dg/dispatch1_p.ads
branches/gcc-6-branch/gcc/testsuite/gnat.dg/dispatch2.adb
branches/gcc-6-branch/gcc/testsuite/gnat.dg/dispatch2_p.adb
branches/gcc-6-branch/gcc/testsuite/gnat.dg/dispatch2_p.ads
branches/gcc-6-branch/gcc/testsuite/gnat.dg/generic_dispatch.adb
branches/gcc-6-branch/gcc/testsuite/gnat.dg/generic_dispatch_p.adb
branches/gcc-6-branch/gcc/testsuite/gnat.dg/generic_dispatch_p.ads
Modified:
branches/gcc-6-branch/gcc/testsuite/ChangeLog
branches/gcc-6-branch/gcc/testsuite/gnat.dg/array11.adb
branches/gcc-6-branch/gcc/testsuite/gnat.dg/null_pointer_deref1.adb
branches/gcc-6-branch/gcc/testsuite/gnat.dg/null_pointer_deref2.adb
branches/gcc-6-branch/gcc/testsuite/gnat.dg/object_overflow1.adb
branches/gcc-6-branch/gcc/testsuite/gnat.dg/object_overflow2.adb
branches/gcc-6-branch/gcc/testsuite/gnat.dg/object_overflow3.adb
branches/gcc-6-branch/gcc/testsuite/gnat.dg/object_overflow4.adb
branches/gcc-6-branch/gcc/testsuite/gnat.dg/object_overflow5.adb

[Bug ada/84277] [8 Regression] A lot of new acats testsuite failures

2018-02-16 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84277

--- Comment #6 from Eric Botcazou  ---
Author: ebotcazou
Date: Fri Feb 16 23:26:08 2018
New Revision: 257773

URL: https://gcc.gnu.org/viewcvs?rev=257773&root=gcc&view=rev
Log:
PR ada/84277
* gnat.dg/array11.adb (Array11): Tweak index and remove warning.
* gnat.dg/dispatch1.adb: Rename into...
* gnat.dg/disp1.adb: ...this.
* gnat.dg/dispatch1_p.ads: Rename into...
* gnat.dg/disp1_pkg.ads: ...this.
* gnat.dg/disp2.adb: Rename into...
* gnat.dg/dispatch2.adb: ...this.
* gnat.dg/dispatch2_p.ads: Rename into...
* gnat.dg/disp2_pkg.ads: ...this.
* gnat.dg/dispatch2_p.adb: Rename into...
* gnat.dg/disp2_pkg.adb: this.
* gnat.dg/generic_dispatch.adb: Rename into...
* gnat.dg/generic_disp.adb: this.
* gnat.dg/generic_dispatch_p.ads: Rename into...
* gnat.dg/generic_disp_pkg.ads: ...this.
* gnat.dg/generic_dispatch_p.adb: Rename into...
* gnat.dg/generic_disp_pkg.adb: ...this.
* gnat.dg/null_pointer_deref1.adb (Null_Pointer_Deref1): Robustify.
* gnat.dg/null_pointer_deref2.adb (Null_Pointer_Deref2): Likewise.
* gnat.dg/object_overflow1.adb: Tweak index.
* gnat.dg/object_overflow2.adb: Likewise.
* gnat.dg/object_overflow3.adb: Likewise.
* gnat.dg/object_overflow4.adb: Likewise.
* gnat.dg/object_overflow5.adb: Likewise.

Added:
trunk/gcc/testsuite/gnat.dg/disp1.adb
  - copied, changed from r257772, trunk/gcc/testsuite/gnat.dg/dispatch1.adb
trunk/gcc/testsuite/gnat.dg/disp1_pkg.ads
  - copied, changed from r257772,
trunk/gcc/testsuite/gnat.dg/dispatch1_p.ads
trunk/gcc/testsuite/gnat.dg/disp2.adb
  - copied, changed from r257772, trunk/gcc/testsuite/gnat.dg/dispatch2.adb
trunk/gcc/testsuite/gnat.dg/disp2_pkg.adb
  - copied, changed from r257772,
trunk/gcc/testsuite/gnat.dg/dispatch2_p.adb
trunk/gcc/testsuite/gnat.dg/disp2_pkg.ads
  - copied, changed from r257772,
trunk/gcc/testsuite/gnat.dg/dispatch2_p.ads
trunk/gcc/testsuite/gnat.dg/generic_disp.adb
  - copied, changed from r257772,
trunk/gcc/testsuite/gnat.dg/generic_dispatch.adb
trunk/gcc/testsuite/gnat.dg/generic_disp_pkg.adb
  - copied, changed from r257772,
trunk/gcc/testsuite/gnat.dg/generic_dispatch_p.adb
trunk/gcc/testsuite/gnat.dg/generic_disp_pkg.ads
  - copied, changed from r257772,
trunk/gcc/testsuite/gnat.dg/generic_dispatch_p.ads
Removed:
trunk/gcc/testsuite/gnat.dg/dispatch1.adb
trunk/gcc/testsuite/gnat.dg/dispatch1_p.ads
trunk/gcc/testsuite/gnat.dg/dispatch2.adb
trunk/gcc/testsuite/gnat.dg/dispatch2_p.adb
trunk/gcc/testsuite/gnat.dg/dispatch2_p.ads
trunk/gcc/testsuite/gnat.dg/generic_dispatch.adb
trunk/gcc/testsuite/gnat.dg/generic_dispatch_p.adb
trunk/gcc/testsuite/gnat.dg/generic_dispatch_p.ads
Modified:
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/gnat.dg/array11.adb
trunk/gcc/testsuite/gnat.dg/null_pointer_deref1.adb
trunk/gcc/testsuite/gnat.dg/null_pointer_deref2.adb
trunk/gcc/testsuite/gnat.dg/object_overflow1.adb
trunk/gcc/testsuite/gnat.dg/object_overflow2.adb
trunk/gcc/testsuite/gnat.dg/object_overflow3.adb
trunk/gcc/testsuite/gnat.dg/object_overflow4.adb
trunk/gcc/testsuite/gnat.dg/object_overflow5.adb

[Bug ada/84277] [8 Regression] A lot of new acats testsuite failures

2018-02-08 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84277

Eric Botcazou  changed:

   What|Removed |Added

 Status|WAITING |ASSIGNED
   Assignee|unassigned at gcc dot gnu.org  |ebotcazou at gcc dot 
gnu.org

--- Comment #5 from Eric Botcazou  ---
Thanks, I'll investigate.

[Bug ada/84277] [8 Regression] A lot of new acats testsuite failures

2018-02-08 Thread simon at pushface dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84277

simon at pushface dot org changed:

   What|Removed |Added

 CC||simon at pushface dot org

--- Comment #4 from simon at pushface dot org ---
For both, the c250002 failure looks like an instance of PR81114.

splitting
D:/opt/devel/SCRATCH/tmp.I49PZRPGFv/gcc-8.0.0/gcc-8.0.0/gcc/testsuite/ada/acats/tests/c2/c250002.a
into:
   c250002_0.ads
   c250002_á.ads
   c250002_á.adb
   c250002.adb
BUILD c250002.adb
[...]
D:/opt/devel/SCRATCH/tmp.I49PZRPGFv/gcc-8.0.0/gcc-8.0.0/gcc/xgcc -c 
-B/opt/devel/SCRATCH/tmp.I49PZRPGFv/gcc-8.0.0/gcc-8.0.0/gcc/ -gnatws 
-O2 -fno-reorder-blocks-and-partition -gnat95 
-ID:/opt/devel/SCRATCH/tmp.I49PZRPGFv/gcc-8.0.0/gcc8.0.0/gcc/testsuite/ada/acats/support
c250002.adb
c250002.adb:6:06: file "c250002_á.ads" not found
gnatmake: "c250002.adb" compilation error

Interestingly, on macOS with APFS the relevant gnatchop fails with

gnatchop c250002.aw
splitting c250002.aw into:
   c250002_0.ads
cannot create c250002_?.ads
cannot create c250002_?.adb
   c250002.adb

I think that APFS is rejecting a file name with an invalid UTF8 character 
(0xc1).

[Bug ada/84277] [8 Regression] A lot of new acats testsuite failures

2018-02-08 Thread rai...@emrich-ebersheim.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84277

--- Comment #3 from Rainer Emrich  ---
Created attachment 43375
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43375&action=edit
acats testsuite log for 7.3.1

Testsuite log for 7.3.1

[Bug ada/84277] [8 Regression] A lot of new acats testsuite failures

2018-02-08 Thread rai...@emrich-ebersheim.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84277

--- Comment #2 from Rainer Emrich  ---
Created attachment 43374
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43374&action=edit
acats testsuite log for 8.0.0 with -fno-reorder-blocks-and-partition

Testsuite log for 8.0.0 with -fno-reorder-blocks-and-partition.

[Bug ada/84277] [8 Regression] A lot of new acats testsuite failures

2018-02-08 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84277

Eric Botcazou  changed:

   What|Removed |Added

 Status|UNCONFIRMED |WAITING
   Last reconfirmed||2018-02-08
 Ever confirmed|0   |1

--- Comment #1 from Eric Botcazou  ---
The only known failure is c380004 (see also PR ada/82393) so can you attach the
log file of the runs for 7.3.0 and 8.0.0 + -fno-reorder-blocks-and-partition?

[Bug ada/84277] [8 Regression] A lot of new acats testsuite failures

2018-02-08 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84277

Richard Biener  changed:

   What|Removed |Added

   Target Milestone|--- |8.0