[Bug target/88640] New: ICE in mark_reachable_handlers, at tree-eh.c:3926

2018-12-30 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88640

Bug ID: 88640
   Summary: ICE in mark_reachable_handlers, at tree-eh.c:3926
   Product: gcc
   Version: 9.0
Status: UNCONFIRMED
  Keywords: ice-on-valid-code, needs-bisection
  Severity: normal
  Priority: P3
 Component: target
  Assignee: unassigned at gcc dot gnu.org
  Reporter: marxin at gcc dot gnu.org
CC: segher at gcc dot gnu.org
  Target Milestone: ---
  Host: x86_64-pc-linux-gnu
Target: ppc64le-linux-gnu

Following is causing ICE:

$ cat ppc64.ii
double a, b;
void c() try { a = 1.0 / __builtin_sqrt(b) * a; } catch (...) {
}

$ ppc64le-linux-gnu-g++ ppc64.ii -fnon-call-exceptions -fno-tree-dce
-fsignaling-nans -Ofast -mrecip -c
cc1plus: warning: -fassociative-math disabled; other options take precedence
during GIMPLE pass: ehcleanup
ppc64.ii: In function ‘void c()’:
ppc64.ii:2:6: internal compiler error: in mark_reachable_handlers, at
tree-eh.c:3926
2 | void c() try { a = 1.0 / __builtin_sqrt(b) * a; } catch (...) {
  |  ^
0x5a3239 mark_reachable_handlers
   
/home/marxin/BIG/buildbot/buildworker/marxinbox-gcc-trunk-ppc64le/build/gcc/tree-eh.c:3926
0xb99732 remove_unreachable_handlers
   
/home/marxin/BIG/buildbot/buildworker/marxinbox-gcc-trunk-ppc64le/build/gcc/tree-eh.c:3973
0xb9c5a8 execute_cleanup_eh_1
   
/home/marxin/BIG/buildbot/buildworker/marxinbox-gcc-trunk-ppc64le/build/gcc/tree-eh.c:4644
0xb9c5a8 execute
   
/home/marxin/BIG/buildbot/buildworker/marxinbox-gcc-trunk-ppc64le/build/gcc/tree-eh.c:4711

[Bug web/86315] Bugzilla: add "cc count" and "duplicate count" columns

2018-12-30 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86315

Martin Liška  changed:

   What|Removed |Added

 Status|RESOLVED|REOPENED
 Resolution|FIXED   |---

--- Comment #16 from Martin Liška  ---
Thank you Frédéric for the changes. Can you please also include changes
suggested in:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86315#c4

Thanks you

[Bug other/16615] throughout gcc docu and code numerous "can not"'s appear

2018-12-30 Thread sandra at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=16615

--- Comment #10 from sandra at gcc dot gnu.org ---
Patch was posted here.  I'd like some review on methodology for the
mechanically-generated parts before checking in the whole mess.

https://gcc.gnu.org/ml/gcc-patches/2018-12/msg01732.html

[Bug libstdc++/88421] compat C headers break building GCC with GCC

2018-12-30 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88421

Andrew Pinski  changed:

   What|Removed |Added

   Host||shle--netbsdelf
  Build||x86_64

--- Comment #7 from Andrew Pinski  ---
Normally after building the cross, I don't rebuild the target libraries as they
were already built once before so I don't run into this issue.

[Bug c++/88612] [9 Regression] Internal compiler error: Error reporting routines re-entered.

2018-12-30 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88612

Marek Polacek  changed:

   What|Removed |Added

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

[Bug c++/88612] [9 Regression] Internal compiler error: Error reporting routines re-entered.

2018-12-30 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88612

Marek Polacek  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
   Last reconfirmed||2018-12-30
 CC||mpolacek at gcc dot gnu.org
 Ever confirmed|0   |1

--- Comment #1 from Marek Polacek  ---
Confirmed.

[Bug target/85596] aarch64 --with-multilib-list documentation missing

2018-12-30 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85596

Andrew Pinski  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
   Last reconfirmed||2018-12-30
 Ever confirmed|0   |1

--- Comment #1 from Andrew Pinski  ---
Confirmed.

[Bug c++/88612] [9 Regression] Internal compiler error: Error reporting routines re-entered.

2018-12-30 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88612

Andrew Pinski  changed:

   What|Removed |Added

   Target Milestone|--- |9.0

[Bug c++/88636] [9 Regression] ICE: Segmentation fault (in c_tree_chain_next)

2018-12-30 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88636

Jakub Jelinek  changed:

   What|Removed |Added

 Status|UNCONFIRMED |ASSIGNED
   Last reconfirmed||2018-12-30
 CC||jakub at gcc dot gnu.org
   Assignee|unassigned at gcc dot gnu.org  |jakub at gcc dot gnu.org
   Target Milestone|--- |9.0
 Ever confirmed|0   |1

[Bug c++/87768] [8/9 Regression] ICE in tsubst_copy_and_build, at cp/pt.c:19002 when using concepts

2018-12-30 Thread aoliva at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87768

Alexandre Oliva  changed:

   What|Removed |Added

 Status|NEW |ASSIGNED
 CC||aoliva at gcc dot gnu.org

--- Comment #2 from Alexandre Oliva  ---
Mine

[Bug fortran/88632] [F08] function contained in module invisible to submodule unless declared public

2018-12-30 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88632

Dominique d'Humieres  changed:

   What|Removed |Added

   Keywords||link-failure
   Priority|P3  |P4
 Status|UNCONFIRMED |NEW
   Last reconfirmed||2018-12-30
 CC||pault at gcc dot gnu.org
 Ever confirmed|0   |1

--- Comment #1 from Dominique d'Humieres  ---
Confirmed from 4.6.4 up to trunk (9.0). Note that the test compiles and runs if
all the TUs are put in the same file.

[Bug testsuite/88639] FAIL: gfortran.dg/ieee/ieee_10.f90 -O0 (test for excess errors)

2018-12-30 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88639

H.J. Lu  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED
   Target Milestone|--- |9.0

--- Comment #4 from H.J. Lu  ---
Fixed.

[Bug testsuite/88639] FAIL: gfortran.dg/ieee/ieee_10.f90 -O0 (test for excess errors)

2018-12-30 Thread hjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88639

--- Comment #3 from hjl at gcc dot gnu.org  ---
Author: hjl
Date: Sun Dec 30 17:36:05 2018
New Revision: 267478

URL: https://gcc.gnu.org/viewcvs?rev=267478&root=gcc&view=rev
Log:
Use dg-additional-options instead of dg-options

Use dg-additional-options rather than dg-options to avoid overwriting the
default IEEE options which are passed by ieee.exp and necessary.

PR testsuite/88639
* gfortran.dg/ieee/ieee_10.f90: Use dg-additional-options
instead of dg-options.

Modified:
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/gfortran.dg/ieee/ieee_10.f90

[Bug testsuite/88639] FAIL: gfortran.dg/ieee/ieee_10.f90 -O0 (test for excess errors)

2018-12-30 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88639

H.J. Lu  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
   Last reconfirmed||2018-12-30
 Ever confirmed|0   |1

--- Comment #2 from H.J. Lu  ---
[hjl@gnu-cfl-1 gcc]$ make check-fortran RUNTESTFLAGS="ieee.exp=ieee_10.f90"
rm -rf testsuite/gfortran-parallel
make[1]: Entering directory
'/export/build/gnu/tools-build/gcc/build-x86_64-linux/gcc'
(rootme=`${PWDCMD-pwd}`; export rootme; \
srcdir=`cd /export/gnu/import/git/sources/gcc/gcc; ${PWDCMD-pwd}` ; export
srcdir ; \
if [ -n "" ] \
   && [ -n "$GCC_RUNTEST_PARALLELIZE_DIR" ] \
   && [ -f testsuite/gfortran-parallel/finished ]; then \
  rm -rf testsuite/gfortran; \
else \
  cd testsuite/gfortran; \
  rm -f tmp-site.exp; \
  sed '/set tmpdir/ s|testsuite$|testsuite/gfortran|' \
< ../../site.exp > tmp-site.exp; \
  /bin/sh ${srcdir}/../move-if-change tmp-site.exp site.exp; \
  EXPECT=`if [ -f ${rootme}/../expect/expect ] ; then echo
${rootme}/../expect/expect ; else echo expect ; fi` ; export EXPECT ; \
  if [ -f ${rootme}/../expect/expect ] ; then  \
TCL_LIBRARY=`cd .. ; cd ${srcdir}/../tcl/library ; ${PWDCMD-pwd}` ; \
export TCL_LIBRARY ; \
  fi ; \
  `if [ -f ${srcdir}/../dejagnu/runtest ] ; then echo
${srcdir}/../dejagnu/runtest ; else echo runtest; fi` --tool gfortran
ieee.exp=ieee_10.f90; \
  if [ -n "$GCC_RUNTEST_PARALLELIZE_DIR" ] ; then \
touch ${rootme}/testsuite/gfortran-parallel/finished; \
  fi ; \
fi )
WARNING: Couldn't find the global config file.
Test run by hjl on Sun Dec 30 09:11:46 2018
Native configuration is x86_64-pc-linux-gnu

=== gfortran 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 /export/gnu/import/git/sources/gcc/gcc/testsuite/config/default.exp as
tool-and-target-specific interface file.
Running
/export/gnu/import/git/sources/gcc/gcc/testsuite/gfortran.dg/ieee/ieee.exp ...
FAIL: gfortran.dg/ieee/ieee_10.f90   -O0  (test for excess errors)
FAIL: gfortran.dg/ieee/ieee_10.f90   -O1  (test for excess errors)
FAIL: gfortran.dg/ieee/ieee_10.f90   -O2  (test for excess errors)
FAIL: gfortran.dg/ieee/ieee_10.f90   -O3 -fomit-frame-pointer -funroll-loops
-fpeel-loops -ftracer -finline-functions  (test for excess errors)
FAIL: gfortran.dg/ieee/ieee_10.f90   -O3 -g  (test for excess errors)
FAIL: gfortran.dg/ieee/ieee_10.f90   -Os  (test for excess errors)

=== gfortran Summary ===

# of unexpected failures6
# of unresolved testcases   6
/export/build/gnu/tools-build/gcc/build-x86_64-linux/gcc/gfortran  version
9.0.0 20181230 (experimental) (GCC) 

make[1]: Leaving directory
'/export/build/gnu/tools-build/gcc/build-x86_64-linux/gcc'
[hjl@gnu-cfl-1 gcc]$
/export/build/gnu/tools-build/gcc/build-x86_64-linux/gcc/testsuite/gfortran/../../gfortran
-B/export/build/gnu/tools-build/gcc/build-x86_64-linux/gcc/testsuite/gfortran/../../
-B/export/build/gnu/tools-build/gcc/build-x86_64-linux/x86_64-pc-linux-gnu/./libgfortran/
/export/gnu/import/git/sources/gcc/gcc/testsuite/gfortran.dg/ieee/ieee_10.f90
-fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers
-fdiagnostics-color=never -Os -ffpe-trap=overflow,invalid
-B/export/build/gnu/tools-build/gcc/build-x86_64-linux/x86_64-pc-linux-gnu/./libgfortran/.libs
-L/export/build/gnu/tools-build/gcc/build-x86_64-linux/x86_64-pc-linux-gnu/./libgfortran/.libs
-L/export/build/gnu/tools-build/gcc/build-x86_64-linux/x86_64-pc-linux-gnu/./libgfortran/.libs
-L/export/build/gnu/tools-build/gcc/build-x86_64-linux/x86_64-pc-linux-gnu/./libatomic/.libs
-B/export/build/gnu/tools-build/gcc/build-x86_64-linux/x86_64-pc-linux-gnu/./libquadmath/.libs
-L/export/build/gnu/tools-build/gcc/build-x86_64-linux/x86_64-pc-linux-gnu/./libquadmath/.libs
-L/export/build/gnu/tools-build/gcc/build-x86_64-linux/x86_64-pc-linux-gnu/./libquadmath/.libs
-lm -o ./ieee_10.exe
/export/gnu/import/git/sources/gcc/gcc/testsuite/gfortran.dg/ieee/ieee_10.f90:5:7:
Fatal Error: Can't open module file \u2018ieee_arithmetic.mod\u2019 for reading
at (1): No such file or directory
compilation terminated.
[hjl@gnu-cfl-1 gcc]$ 

How can gfortran find ieee_arithmetic.mod which is in

/export/build/gnu/tools-build/gcc/build-x86_64-linux/x86_64-pc-linux-gnu/./libgfortran/ieee_arithmetic.mod

[Bug testsuite/88639] FAIL: gfortran.dg/ieee/ieee_10.f90 -O0 (test for excess errors)

2018-12-30 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88639

--- Comment #1 from kargl at gcc dot gnu.org ---
(In reply to H.J. Lu from comment #0)
> On a 12-core x86-64 machine with
> 
> $ make -j 12 -k check RUNTESTFLAGS="--target_board='unix{-m32,}'"
> 
> I got
> 
> /export/gnu/import/git/sources/gcc/gcc/testsuite/gfortran.dg/ieee/ieee_10.
> f90:5:7: Fatal Error: Can't open module file 'ieee_arithmetic.mod' for
> reading at (1): No such file or directory^M
> compilation terminated.^M
> compiler exited with status 1
> FAIL: gfortran.dg/ieee/ieee_10.f90   -O0  (test for excess errors)
> Excess errors:
> /export/gnu/import/git/sources/gcc/gcc/testsuite/gfortran.dg/ieee/ieee_10.
> f90:5:7: Fatal Error: Can't open module file 'ieee_arithmetic.mod' for
> reading at (1): No such file or directory
> compilation terminated.
> 
> UNRESOLVED: gfortran.dg/ieee/ieee_10.f90   -O0  compilation failed to
> produce executable

I don't know what UNTESTFLAGS="--target_board='unix{-m32,}'" is 
intended to do, so cannot help you here.

gmake -j6 check-fortran

works fine.

[Bug testsuite/88639] New: FAIL: gfortran.dg/ieee/ieee_10.f90 -O0 (test for excess errors)

2018-12-30 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88639

Bug ID: 88639
   Summary: FAIL: gfortran.dg/ieee/ieee_10.f90   -O0  (test for
excess errors)
   Product: gcc
   Version: 9.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: testsuite
  Assignee: unassigned at gcc dot gnu.org
  Reporter: hjl.tools at gmail dot com
  Target Milestone: ---

On a 12-core x86-64 machine with

$ make -j 12 -k check RUNTESTFLAGS="--target_board='unix{-m32,}'"

I got

/export/gnu/import/git/sources/gcc/gcc/testsuite/gfortran.dg/ieee/ieee_10.f90:5:7:
Fatal Error: Can't open module file 'ieee_arithmetic.mod' for reading at (1):
No such file or directory^M
compilation terminated.^M
compiler exited with status 1
FAIL: gfortran.dg/ieee/ieee_10.f90   -O0  (test for excess errors)
Excess errors:
/export/gnu/import/git/sources/gcc/gcc/testsuite/gfortran.dg/ieee/ieee_10.f90:5:7:
Fatal Error: Can't open module file 'ieee_arithmetic.mod' for reading at (1):
No such file or directory
compilation terminated.

UNRESOLVED: gfortran.dg/ieee/ieee_10.f90   -O0  compilation failed to produce
executable

[Bug target/88638] New: [9 Regression] FAIL: *string-format-1.* on darwin

2018-12-30 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88638

Bug ID: 88638
   Summary: [9 Regression] FAIL: *string-format-1.* on darwin
   Product: gcc
   Version: unknown
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: target
  Assignee: unassigned at gcc dot gnu.org
  Reporter: dominiq at lps dot ens.fr
CC: iains at gcc dot gnu.org, msebor at gcc dot gnu.org
  Target Milestone: ---
  Host: x86_64-apple-darwin18
Target: x86_64-apple-darwin18
 Build: x86_64-apple-darwin18

I now see the following failures on darwin

FAIL: gcc.dg/darwin-cfstring-format-1.c  (test for errors, line 18)
FAIL: gcc.dg/darwin-cfstring-format-1.c  (test for errors, line 21)
FAIL: gcc.dg/darwin-cfstring-format-1.c  (test for errors, line 26)
FAIL: gcc.dg/darwin-cfstring-format-1.c  (test for errors, line 27)
FAIL: gcc.dg/darwin-cfstring-format-1.c (test for excess errors)
FAIL: obj-c++.dg/fsf-nsstring-format-1.mm -fnext-runtime  (test for errors,
line 27)
FAIL: obj-c++.dg/fsf-nsstring-format-1.mm -fnext-runtime  (test for errors,
line 31)
FAIL: obj-c++.dg/fsf-nsstring-format-1.mm -fnext-runtime  (test for errors,
line 34)
FAIL: obj-c++.dg/fsf-nsstring-format-1.mm -fnext-runtime  (test for errors,
line 39)
FAIL: obj-c++.dg/fsf-nsstring-format-1.mm -fnext-runtime  (test for errors,
line 40)
FAIL: obj-c++.dg/fsf-nsstring-format-1.mm -fnext-runtime (test for excess
errors)
FAIL: objc.dg/fsf-nsstring-format-1.m -fnext-runtime  (test for errors, line
20)
FAIL: objc.dg/fsf-nsstring-format-1.m -fnext-runtime  (test for errors, line
24)
FAIL: objc.dg/fsf-nsstring-format-1.m -fnext-runtime  (test for errors, line
27)
FAIL: objc.dg/fsf-nsstring-format-1.m -fnext-runtime  (test for errors, line
32)
FAIL: objc.dg/fsf-nsstring-format-1.m -fnext-runtime  (test for errors, line
33)
FAIL: objc.dg/fsf-nsstring-format-1.m -fnext-runtime (test for excess errors)

Comparing

% /opt/gcc/gcc9p-266174p2/bin/gcc
/opt/gcc/_clean/gcc/testsuite/gcc.dg/darwin-cfstring-format-1.c -Wall
-fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers
-fdiagnostics-color=never
/opt/gcc/_clean/gcc/testsuite/gcc.dg/darwin-cfstring-format-1.c:18:1: error:
format string argument follows the args to be formatted
/opt/gcc/_clean/gcc/testsuite/gcc.dg/darwin-cfstring-format-1.c:20:1: error:
format argument should be a 'CFString' reference but a string was found
/opt/gcc/_clean/gcc/testsuite/gcc.dg/darwin-cfstring-format-1.c:21:1: error:
found a 'CFStringRef' {aka 'const struct __CFString *'} but the format argument
should be a string
/opt/gcc/_clean/gcc/testsuite/gcc.dg/darwin-cfstring-format-1.c:26:1: error:
format string argument is not a string type
/opt/gcc/_clean/gcc/testsuite/gcc.dg/darwin-cfstring-format-1.c:27:1: error:
function does not return string type
/opt/gcc/_clean/gcc/testsuite/gcc.dg/darwin-cfstring-format-1.c: In function
'foo':
/opt/gcc/_clean/gcc/testsuite/gcc.dg/darwin-cfstring-format-1.c:33:35: warning:
format '%s' expects argument of type 'char *', but argument 3 has type 'int'
[-Wformat=]
/opt/gcc/_clean/gcc/testsuite/gcc.dg/darwin-cfstring-format-1.c:33:10: warning:
too many arguments for format [-Wformat-extra-args]
/opt/gcc/_clean/gcc/testsuite/gcc.dg/darwin-cfstring-format-1.c:35:40: warning:
format '%s' expects argument of type 'char *', but argument 4 has type 'int'
[-Wformat=]

and

% /opt/gcc/gcc9p-266240p3/bin/gcc
/opt/gcc/_clean/gcc/testsuite/gcc.dg/darwin-cfstring-format-1.c -Wall
-fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers
-fdiagnostics-color=never
/opt/gcc/_clean/gcc/testsuite/gcc.dg/darwin-cfstring-format-1.c:15:1: warning:
'format' attribute argument 2 value '1' refers to parameter type 'CFStringRef'
{aka 'const struct __CFString *'} [-Wattributes]
/opt/gcc/_clean/gcc/testsuite/gcc.dg/darwin-cfstring-format-1.c:16:1: warning:
'format' attribute argument 2 value '2' refers to parameter type 'CFStringRef'
{aka 'const struct __CFString *'} [-Wattributes]
/opt/gcc/_clean/gcc/testsuite/gcc.dg/darwin-cfstring-format-1.c:18:1: warning:
'format' attribute argument 2 value '2' refers to parameter type 'CFStringRef'
{aka 'const struct __CFString *'} [-Wattributes]
/opt/gcc/_clean/gcc/testsuite/gcc.dg/darwin-cfstring-format-1.c:20:1: error:
format argument should be a 'CFString' reference but a string was found
/opt/gcc/_clean/gcc/testsuite/gcc.dg/darwin-cfstring-format-1.c:21:1: warning:
'format' attribute argument 2 value '1' refers to parameter type 'CFStringRef'
{aka 'const struct __CFString *'} [-Wattributes]
/opt/gcc/_clean/gcc/testsuite/gcc.dg/darwin-cfstring-format-1.c:24:1: warning:
'format_arg' attribute argument value '2' refers to parameter type
'CFStringRef' {aka 'const struct __CFString *'} [-Wattributes]
/opt/gcc/_clean/gcc/testsuite/gcc.dg/darwin-cfstring-format-1.c:26:1: warning:
'format_arg' attribute argument value '2' refers to parameter type 'void *'
[-Wattri

[Bug c++/88637] GCC should mention C++17 in warnings, not C++1z

2018-12-30 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88637

Marek Polacek  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 CC||mpolacek at gcc dot gnu.org
 Resolution|--- |FIXED

--- Comment #1 from Marek Polacek  ---
This was fixed on trunk with r252826.

[Bug target/88343] [7/8 Regression] R31 is unconditionally saved/restored on powerpc-darwin even when it's not necessary.

2018-12-30 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88343

Iain Sandoe  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

--- Comment #10 from Iain Sandoe  ---
Fixed on open branches, it's possibly required for 6.x if someone is
maintaining a branch there, they might wish to apply it.

[Bug target/88343] [7/8 Regression] R31 is unconditionally saved/restored on powerpc-darwin even when it's not necessary.

2018-12-30 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88343

--- Comment #9 from Iain Sandoe  ---
Author: iains
Date: Sun Dec 30 13:20:19 2018
New Revision: 267477

URL: https://gcc.gnu.org/viewcvs?rev=267477&root=gcc&view=rev
Log:
fix PR target/88343 for 32b powerpc.

2018-12-30  Iain Sandoe  

backport from mainline.
2018-12-12 Segher Boessenkool  
   Iain Sandoe  

PR target/88343
* config/rs6000/rs6000.c (save_reg_p): Do not save the picbase reg
unless it has been used.
(first_reg_to_save): Remove dead code.


Modified:
branches/gcc-7-branch/gcc/ChangeLog
branches/gcc-7-branch/gcc/config/rs6000/rs6000.c

[Bug target/81210] FAIL: gcc.dg/torture/pr68037-*.c -O* execution test

2018-12-30 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81210

Dominique d'Humieres  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

--- Comment #8 from Dominique d'Humieres  ---
Fixed on all active branches, closing.

[Bug tree-optimization/68356] FAIL: gcc.dg/torture/pr68264.c -O* execution test on x86_64-apple-darwin1(0|4)

2018-12-30 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68356

Dominique d'Humieres  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

--- Comment #19 from Dominique d'Humieres  ---
Fixed on all active branches, closing.

[Bug target/81210] FAIL: gcc.dg/torture/pr68037-*.c -O* execution test

2018-12-30 Thread dominiq at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81210

--- Comment #7 from dominiq at gcc dot gnu.org ---
Author: dominiq
Date: Sun Dec 30 12:28:54 2018
New Revision: 267476

URL: https://gcc.gnu.org/viewcvs?rev=267476&root=gcc&view=rev
Log:
2018-12-30  Dominique d'Humieres  

PR tree-optimization/68356
PR target/81210
* gcc.dg/torture/pr68264.c: Skip on darwin.
* gcc.dg/torture/pr68037-1.c: Likewise.
* gcc.dg/torture/pr68037-2.c: Likewise.
* gcc.dg/torture/pr68037-3.c: Likewise.


Modified:
branches/gcc-7-branch/gcc/testsuite/ChangeLog
branches/gcc-7-branch/gcc/testsuite/gcc.dg/torture/pr68037-1.c
branches/gcc-7-branch/gcc/testsuite/gcc.dg/torture/pr68037-2.c
branches/gcc-7-branch/gcc/testsuite/gcc.dg/torture/pr68037-3.c
branches/gcc-7-branch/gcc/testsuite/gcc.dg/torture/pr68264.c

[Bug tree-optimization/68356] FAIL: gcc.dg/torture/pr68264.c -O* execution test on x86_64-apple-darwin1(0|4)

2018-12-30 Thread dominiq at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68356

--- Comment #18 from dominiq at gcc dot gnu.org ---
Author: dominiq
Date: Sun Dec 30 12:28:54 2018
New Revision: 267476

URL: https://gcc.gnu.org/viewcvs?rev=267476&root=gcc&view=rev
Log:
2018-12-30  Dominique d'Humieres  

PR tree-optimization/68356
PR target/81210
* gcc.dg/torture/pr68264.c: Skip on darwin.
* gcc.dg/torture/pr68037-1.c: Likewise.
* gcc.dg/torture/pr68037-2.c: Likewise.
* gcc.dg/torture/pr68037-3.c: Likewise.


Modified:
branches/gcc-7-branch/gcc/testsuite/ChangeLog
branches/gcc-7-branch/gcc/testsuite/gcc.dg/torture/pr68037-1.c
branches/gcc-7-branch/gcc/testsuite/gcc.dg/torture/pr68037-2.c
branches/gcc-7-branch/gcc/testsuite/gcc.dg/torture/pr68037-3.c
branches/gcc-7-branch/gcc/testsuite/gcc.dg/torture/pr68264.c

[Bug c++/88637] New: GCC should mention C++17 in warnings, not C++1z

2018-12-30 Thread david.bolvansky at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88637

Bug ID: 88637
   Summary: GCC should mention C++17 in warnings, not C++1z
   Product: gcc
   Version: 8.2.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: c++
  Assignee: unassigned at gcc dot gnu.org
  Reporter: david.bolvansky at gmail dot com
  Target Milestone: ---

GCC 8.2 Ubuntu build

Code from:
http://coliru.stacked-crooked.com/a/d59814e0765c3499

g++ -O3 file.cpp

Now:
warning: pack expansion in using-declaration only available with -std=c++1z or
-std=gnu++1z

Expected:
warning: pack expansion in using-declaration only available with -std=c++17

[Bug target/81693] FAIL: gcc.dg/torture/pr25967-*.c -O* execution test on darwin

2018-12-30 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81693

Dominique d'Humieres  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED

--- Comment #34 from Dominique d'Humieres  ---
Fixed on trunk and the gcc8 branch, not present in the gcc7 branch. Closing.

[Bug tree-optimization/68356] FAIL: gcc.dg/torture/pr68264.c -O* execution test on x86_64-apple-darwin1(0|4)

2018-12-30 Thread dominiq at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68356

--- Comment #17 from dominiq at gcc dot gnu.org ---
Author: dominiq
Date: Sun Dec 30 10:51:49 2018
New Revision: 267474

URL: https://gcc.gnu.org/viewcvs?rev=267474&root=gcc&view=rev
Log:
2018-12-30  Dominique d'Humieres  

PR tree-optimization/68356
PR target/81210
PR target/81693
* gcc.dg/torture/pr68264.c: Skip on darwin.
* gcc.dg/torture/pr68037-1.c: Likewise.
* gcc.dg/torture/pr68037-2.c: Likewise.
* gcc.dg/torture/pr68037-3.c: Likewise.
* gcc.dg/torture/pr25967-1.c: Likewise.
* gcc.dg/torture/pr25967-2.c: Likewise.


Modified:
branches/gcc-8-branch/gcc/testsuite/ChangeLog
branches/gcc-8-branch/gcc/testsuite/gcc.dg/torture/pr25967-1.c
branches/gcc-8-branch/gcc/testsuite/gcc.dg/torture/pr25967-2.c
branches/gcc-8-branch/gcc/testsuite/gcc.dg/torture/pr68037-1.c
branches/gcc-8-branch/gcc/testsuite/gcc.dg/torture/pr68037-2.c
branches/gcc-8-branch/gcc/testsuite/gcc.dg/torture/pr68037-3.c
branches/gcc-8-branch/gcc/testsuite/gcc.dg/torture/pr68264.c

[Bug target/81210] FAIL: gcc.dg/torture/pr68037-*.c -O* execution test

2018-12-30 Thread dominiq at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81210

--- Comment #6 from dominiq at gcc dot gnu.org ---
Author: dominiq
Date: Sun Dec 30 10:51:49 2018
New Revision: 267474

URL: https://gcc.gnu.org/viewcvs?rev=267474&root=gcc&view=rev
Log:
2018-12-30  Dominique d'Humieres  

PR tree-optimization/68356
PR target/81210
PR target/81693
* gcc.dg/torture/pr68264.c: Skip on darwin.
* gcc.dg/torture/pr68037-1.c: Likewise.
* gcc.dg/torture/pr68037-2.c: Likewise.
* gcc.dg/torture/pr68037-3.c: Likewise.
* gcc.dg/torture/pr25967-1.c: Likewise.
* gcc.dg/torture/pr25967-2.c: Likewise.


Modified:
branches/gcc-8-branch/gcc/testsuite/ChangeLog
branches/gcc-8-branch/gcc/testsuite/gcc.dg/torture/pr25967-1.c
branches/gcc-8-branch/gcc/testsuite/gcc.dg/torture/pr25967-2.c
branches/gcc-8-branch/gcc/testsuite/gcc.dg/torture/pr68037-1.c
branches/gcc-8-branch/gcc/testsuite/gcc.dg/torture/pr68037-2.c
branches/gcc-8-branch/gcc/testsuite/gcc.dg/torture/pr68037-3.c
branches/gcc-8-branch/gcc/testsuite/gcc.dg/torture/pr68264.c

[Bug target/81693] FAIL: gcc.dg/torture/pr25967-*.c -O* execution test on darwin

2018-12-30 Thread dominiq at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81693

--- Comment #33 from dominiq at gcc dot gnu.org ---
Author: dominiq
Date: Sun Dec 30 10:51:49 2018
New Revision: 267474

URL: https://gcc.gnu.org/viewcvs?rev=267474&root=gcc&view=rev
Log:
2018-12-30  Dominique d'Humieres  

PR tree-optimization/68356
PR target/81210
PR target/81693
* gcc.dg/torture/pr68264.c: Skip on darwin.
* gcc.dg/torture/pr68037-1.c: Likewise.
* gcc.dg/torture/pr68037-2.c: Likewise.
* gcc.dg/torture/pr68037-3.c: Likewise.
* gcc.dg/torture/pr25967-1.c: Likewise.
* gcc.dg/torture/pr25967-2.c: Likewise.


Modified:
branches/gcc-8-branch/gcc/testsuite/ChangeLog
branches/gcc-8-branch/gcc/testsuite/gcc.dg/torture/pr25967-1.c
branches/gcc-8-branch/gcc/testsuite/gcc.dg/torture/pr25967-2.c
branches/gcc-8-branch/gcc/testsuite/gcc.dg/torture/pr68037-1.c
branches/gcc-8-branch/gcc/testsuite/gcc.dg/torture/pr68037-2.c
branches/gcc-8-branch/gcc/testsuite/gcc.dg/torture/pr68037-3.c
branches/gcc-8-branch/gcc/testsuite/gcc.dg/torture/pr68264.c

[Bug lto/88550] A compiler error when use lto: internal compiler error: in add_symbol_to_partition_1, at lto/lto-partition.c:155

2018-12-30 Thread harrywong at live dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88550

--- Comment #5 from Harry Wong  ---
Hi, I've uploaded it to OneDrive, here's the link:
https://1drv.ms/u/s!Ajvq6dgV7abtgogPYN8IdLx2lyQ4zQ

Thanks!