Fix ICE while updating inliner summary

2020-01-01 Thread Jan Hubicka
Hi, this patch fix ICE seen when LTO optimizing clang. Bootstrapped/regtested x86_64-linux. * ipa.c (walk_polymorphic_call_targets): Fix updating of overall summary. Index: ipa.c === --- ipa.c (revision 279724)

[committed] Update copyright years

2020-01-01 Thread Jakub Jelinek
Hi! Happy New Year to everyone! 2020-01-01 Jakub Jelinek * gcc.c (process_command): Update copyright notice dates. * gcov-dump.c (print_version): Ditto. * gcov.c (print_version): Ditto. * gcov-tool.c (print_version): Ditto. * gengtype.c (create_file): D

[committed] Tweak update-copyright.py

2020-01-01 Thread Jakub Jelinek
Hi! I needed the following to successfully run update-copyright.py --this-year. Committed as obvious to trunk. 2020-01-01 Jakub Jelinek * update-copyright.py: Add Mentor Graphics Corporation and Yoshinori Sato as external authors. Skip LICENSE.txt files. --- contrib/update-c

[committed] contrib/update-copyright.py --this-year

2020-01-01 Thread Jakub Jelinek
Hi! S

[PATCH] Fix up -Wsuggest-attribute=cold (PR ipa/93087)

2020-01-01 Thread Jakub Jelinek
Hi! While for other -Wsuggest-attribute= cases we only warn if the corresponding attribute is not present on the current_function_decl, enforced in the callers of warn_function_*, for the cold attribute warn_function_cold is called in two places in compute_function_frequency, and in the first one

Re: [PATCH] Fix up -Wsuggest-attribute=cold (PR ipa/93087)

2020-01-01 Thread Jan Hubicka
> Hi! > > While for other -Wsuggest-attribute= cases we only warn if the corresponding > attribute is not present on the current_function_decl, enforced in the > callers of warn_function_*, for the cold attribute warn_function_cold is > called in two places in compute_function_frequency, and in th

Re: [PATCH] Fix PR libgcc/92988

2020-01-01 Thread John David Anglin
This bug was introduced by the following change: https://gcc.gnu.org/ml/gcc-patches/2019-12/msg00766.html On 2019-12-30 2:23 p.m., John David Anglin wrote: > Tested on hppa64-hp-hpux11.11. > > Okay? > > Dave > > 2019-12-30 John David Anglin > > PR libgcc/92988 > * crtstuff.c (__do_g

[committed] Update libstdc++ baseline symbols for hppa-linux

2020-01-01 Thread John David Anglin
Tested on hppa-unkown-linux-gnu. Committed to trunk. Dave 2020-01-01 John David Anglin * config/abi/post/hppa-linux-gnu/baseline_symbols.txt: Update. Index: config/abi/post/hppa-linux-gnu/baseline_symbols.txt === --- co

[committed] Fix comparison operator used for B and S integer comparisons on hppa

2020-01-01 Thread John David Anglin
This fixes PR target/93111. The ICE The comparison_operator predicate is too broad and includes a couple of comparisons that aren't valid for integer comparisons on hppa. We need to use the ordered_comparison_operator predicate. Similarly, the cmpib_comparison_operator predicate misses a coup

[patch, fortran, committed] Fix dependency for %re and %im

2020-01-01 Thread Thomas Koenig
Hello world, New year, new bug, new patch :-) I have just committed as obvious and simple the attached patch as r279821, where we failed to account for %re and %im in dependency checking. This is a 10 regression, gcc 9 works. Regards Thomas Handle REF_INQUIRY for dependency checking.

[Committed] Fix libobjc on Windows (PR93099)

2020-01-01 Thread Andrew Pinski
Hi, On Windows if DLLL_EXPORT was declared objc_EXPORT was defined to an empty string. This is wrong as that would produce common symbols in the headers; except now -fno-common is the default. So setting the define to extern is the correct fix and removes the dependency on having common symbols

Re: [Committed] Fix libobjc on Windows (PR93099)

2020-01-01 Thread Andrew Pinski
On Wed, Jan 1, 2020 at 2:14 PM Andrew Pinski wrote: > > Hi, > On Windows if DLLL_EXPORT was declared objc_EXPORT was defined to an > empty string. This is wrong as that would produce common symbols in > the headers; except now -fno-common is the default. > So setting the define to extern is the

[committed] Fix placement of references to functions in COMDAT groups on hppa-linux

2020-01-01 Thread John David Anglin
When I changed pa_reloc_rw_mask() to allow references to function labels to be placed in .rodata*, I broke the handling of references to function labels in COMDAT groups. The linker only allows references in .data.rel.ro.local to be ignored. This change puts function label references back in .d

Re: [patch, libfortran] Fortran 2018: Support d0.d, e0.d, es0.d, en0.d, g0.d and ew.d e0 edit descriptors

2020-01-01 Thread Jerry
On 12/31/19 2:17 AM, Thomas Koenig wrote: Hi Jerry, OK for trunk? Looks good. I also think that your approach that DEC stuff should be checked later is good.  If it passes the testsuite, that's good enough for a commit. Thanks for the patch! Regards Thomas Committed r279828 After