Re: Parallelize the compilation using Threads

2019-01-15 Thread Giuliano Belinassi
Hi I've managed to compile gimple-match.c with -ftime-report, and "phase opt and generate" seems to be what takes most of the compilation time. This is captured by the "TV_PHASE_OPT_GEN" timevar, and all its occurrences seem to be in toplev.c and lto.c. Any ideas of which part such that this varia

Re: Replacing DejaGNU

2019-01-15 Thread Iain Sandoe
Hey Rainer, > On 15 Jan 2019, at 17:27, Rainer Orth wrote: >>> On 14 Jan 2019, at 13:53, Rainer Orth wrote: >>> >>> "MCC CS" writes: >>> I've been running the testsuite on my macOS, on which it is especially unbearable. I want to (at least try to) >>> >>> that problem may well be

Re: Replacing DejaGNU

2019-01-15 Thread Rainer Orth
Hi Iain, >> On 14 Jan 2019, at 13:53, Rainer Orth wrote: >> >> "MCC CS" writes: >> >>> I've been running the testsuite on my macOS, on which >>> it is especially unbearable. I want to (at least try to) >> >> that problem may well be macOS specific: since at least macOS 10.13 >> (maybe even 10

Re: GCC's ICF vs. gold's ICF

2019-01-15 Thread Richard Biener
On Tue, Jan 15, 2019 at 4:43 PM Frank Tetzel wrote: > > > > why is the ICF pass in gcc not folding member functions which > > > depend on a template parameter but happen to generate identical > > > code? Is it because it is not identical on the IR level in the > > > compiler? Can I somehow dump th

Re: GCC's ICF vs. gold's ICF

2019-01-15 Thread Frank Tetzel
> > why is the ICF pass in gcc not folding member functions which > > depend on a template parameter but happen to generate identical > > code? Is it because it is not identical on the IR level in the > > compiler? Can I somehow dump the IR in text form? > > You can look at the ICF dump generate

Re: GCC's ICF vs. gold's ICF

2019-01-15 Thread Richard Biener
On Tue, Jan 15, 2019 at 2:18 PM Frank Tetzel wrote: > > Hi, > > why is the ICF pass in gcc not folding member functions which depend on > a template parameter but happen to generate identical code? > Is it because it is not identical on the IR level in the compiler? > Can I somehow dump the IR in

GCC's ICF vs. gold's ICF

2019-01-15 Thread Frank Tetzel
Hi, why is the ICF pass in gcc not folding member functions which depend on a template parameter but happen to generate identical code? Is it because it is not identical on the IR level in the compiler? Can I somehow dump the IR in text form? The ICF pass in the gold linker can do it on binary le

Re: __has_include__ is problematic

2019-01-15 Thread Nathan Sidwell
Why not give the wierdo __has_include__ an unspellable name? ('builtinhasinclude') and take care constructing the __has_include macro expansion to have a token with exactly that spelling? Wouldn't that break -dM rather horribly? pah! However, the following thinks __DATE__ is a defined ma

Re: RS6000 emitting sign extention for unsigned type

2019-01-15 Thread kamlesh kumar
Hi all, Analysed it further and find out that function ' rs6000_promote_function_mode ' (rs6000.c) needs modifcation. """ static machine_mode rs6000_promote_function_mode (const_tree type ATTRIBUTE_UNUSED, machine_mode mode, int *punsigne