[Bug tree-optimization/65068] New: Improve rewriting for address type induction variables in IVOPT

2015-02-15 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65068 Bug ID: 65068 Summary: Improve rewriting for address type induction variables in IVOPT Product: gcc Version: 5.0 Status: UNCONFIRMED Severity: enhancement

[Bug c++/59845] loop optimization problem when profiling

2015-02-15 Thread arshamidi at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59845 ArshaGCC arshamidi at gmail dot com changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED

[Bug libgomp/65070] New: libgomp calls syscall instruction directly

2015-02-15 Thread nyh at math dot technion.ac.il
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65070 Bug ID: 65070 Summary: libgomp calls syscall instruction directly Product: gcc Version: 4.9.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug c/65066] New: [5 Regression] ICE: Segmentation fault with -Wformat=2

2015-02-15 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65066 Bug ID: 65066 Summary: [5 Regression] ICE: Segmentation fault with -Wformat=2 Product: gcc Version: 5.0 Status: UNCONFIRMED Severity: normal Priority: P3

Re: Ping : [PATCH] [gcc, combine] PR46164: Don't combine the insns if a volatile register is contained.

2015-02-15 Thread Terry Guo
On Fri, Feb 13, 2015 at 5:06 PM, Richard Sandiford rdsandif...@googlemail.com wrote: Segher Boessenkool seg...@kernel.crashing.org writes: On Thu, Feb 12, 2015 at 03:54:21PM +, Richard Sandiford wrote: Hale Wang hale.w...@arm.com writes: Ping? It's not a regression (or is it?), so it is

Re: Ping : [PATCH] [gcc, combine] PR46164: Don't combine the insns if a volatile register is contained.

2015-02-15 Thread Segher Boessenkool
Hi Terry, I still think this is stage1 material. + /* Don't combine if dest contains a user specified register and i3 contains + ASM_OPERANDS, because the user specified register (same with dest) in i3 + would be replaced by the src of insn which might be different with + the

[Bug target/65064] [5.0 regression] FAIL: gcc.dg/torture/pr60115.c -O1 (test for excess errors)

2015-02-15 Thread sch...@linux-m68k.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65064 --- Comment #6 from Andreas Schwab sch...@linux-m68k.org --- This works as well.

[Bug middle-end/53623] [4.7/4.8/4.9 Regression] sign extension is effectively split into two x86-64 instructions

2015-02-15 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53623 H.J. Lu hjl.tools at gmail dot com changed: What|Removed |Added Status|RESOLVED|REOPENED Known

[Bug c++/65071] New: ICE on valid, sizeof...() of template template parameter pack in return type

2015-02-15 Thread maltsevm at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65071 Bug ID: 65071 Summary: ICE on valid, sizeof...() of template template parameter pack in return type Product: gcc Version: 5.0 Status: UNCONFIRMED Severity:

[Bug target/65064] [5.0 regression] FAIL: gcc.dg/torture/pr60115.c -O1 (test for excess errors)

2015-02-15 Thread sch...@linux-m68k.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65064 Andreas Schwab sch...@linux-m68k.org changed: What|Removed |Added Status|WAITING |NEW

[Bug middle-end/53623] [4.7/4.8/4.9 Regression] sign extension is effectively split into two x86-64 instructions

2015-02-15 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53623 H.J. Lu hjl.tools at gmail dot com changed: What|Removed |Added CC||brian at soulspark

[Bug target/64941] -O3 breaks tar

2015-02-15 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64941 H.J. Lu hjl.tools at gmail dot com changed: What|Removed |Added Status|NEW |RESOLVED

[Bug target/65064] [5.0 regression] FAIL: gcc.dg/torture/pr60115.c -O1 (test for excess errors)

2015-02-15 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65064 --- Comment #7 from H.J. Lu hjl.tools at gmail dot com --- A patch is posted at https://gcc.gnu.org/ml/gcc-patches/2015-02/msg00913.html

[Bug fortran/65024] [4.9/5 Regression] [OOP] ICE concerning unlimited polymorphic pointer

2015-02-15 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65024 Dominique d'Humieres dominiq at lps dot ens.fr changed: What|Removed |Added CC||pault at

Re: Android native build of GCC

2015-02-15 Thread Cyd Haselton
On February 14, 2015 5:08:23 AM CST, Andrew Haley a...@redhat.com wrote: On 13/02/15 22:40, Cyd Haselton wrote: Somehow these calls are passed to libc by the wrapper including the dlopen() call...which fails because it should be passed to libdl on android. How the wrapper points to libc I

[Bug fortran/64980] [5 Regression] ICE in trans-expr.c

2015-02-15 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64980 --- Comment #16 from Bernd Edlinger bernd.edlinger at hotmail dot de --- (In reply to Mikael Morin from comment #14) Bernd, do you have a reliable way to test a patch, checking for aliasing violations? No, all I can do is run the test suite on

[Bug fortran/60526] [4.8/4.9/5 Regression] Accepts-invalid: Variable name same as type name

2015-02-15 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60526 Dominique d'Humieres dominiq at lps dot ens.fr changed: What|Removed |Added CC||burnus

[PATCH] PR target/65064: Return false for COMMON symbols

2015-02-15 Thread H.J. Lu
Hi, r220674 exposed a bug in ia64_in_small_data_p. After r220674, COMMON symbols binds locally for executables. But ia64_in_small_data_p returns true for COMMON symbols which are never in small data section. This patch fixes it. OK for trunk? H.J. Since COMMON symbols are never in small

[Bug c/65066] [5 Regression] ICE: Segmentation fault with -Wformat=2

2015-02-15 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65066 Marek Polacek mpolacek at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED

[Bug target/65064] [5.0 regression] FAIL: gcc.dg/torture/pr60115.c -O1 (test for excess errors)

2015-02-15 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65064 H.J. Lu hjl.tools at gmail dot com changed: What|Removed |Added Attachment #34759|0 |1 is

[committed] Improve handling of reloads for floating point loads and stores on PA

2015-02-15 Thread John David Anglin
The attached patch fixes an ICE building the code-saturne package and generally improves the code generated for floating point loads and stores. With the previous implementation, it was not possible to load a LO_SUM DLT address to a floating point register (e.g., for an integer multiplication)

[Bug libgomp/65070] libgomp calls syscall instruction directly

2015-02-15 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65070 --- Comment #1 from Jakub Jelinek jakub at gcc dot gnu.org --- It is intentionally written that way. Why would you want to use linux specific code on an OS that isn't linux?

Re: patch to fix rtl documentation for new floating point comparisons

2015-02-15 Thread Kenneth Zadeck
On 02/14/2015 03:26 PM, Paolo Bonzini wrote: On 10/02/2015 22:46, Joseph Myers wrote: It may make sense to define LTGT as exactly !UNEQ, and so quiet, but the choice of definition is a matter of what's convenient for the implementation (and which choice you make determines which existing code

[Patch, fortran] PR60898 premature release of entry symbols

2015-02-15 Thread Mikael Morin
Hello, I propose a fix for PR60898, where a symbol is freed despite remaining reachable in the symbol tree. The problem comes from this code in resolve_symbol: /* If we find that a flavorless symbol is an interface in one of the parent namespaces, find its symtree in this

Re: [Patch, fortran] PR60898 premature release of entry symbols

2015-02-15 Thread Jerry DeLisle
On 02/15/2015 09:48 AM, Mikael Morin wrote: [*] I have a few failing testcases (also without the patch), namely the following; does this ring a bell ? FAIL: gfortran.dg/erf_3.F90 FAIL: gfortran.dg/fmt_g0_7.f08 FAIL: gfortran.dg/fmt_en.f90 FAIL: gfortran.dg/nan_7.f90 FAIL: gfortran.dg/quad_2.f90

Re: [Patch, fortran] PR60898 premature release of entry symbols

2015-02-15 Thread Dominique Dhumieres
=== gfortran Summary === # of expected passes104465 # of unexpected failures2 # of expected failures 162 # of unsupported tests 326 /opt/gcc/p_build/gcc/testsuite/gfortran/../../gfortran version 5.0.0 20150215 (experimental) [trunk revision 220715p2a] (GCC

[Bug ada/64548] Lost visibility of package System after raise

2015-02-15 Thread charlet at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64548 Arnaud Charlet charlet at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED

[Bug libgomp/65070] libgomp calls syscall instruction directly

2015-02-15 Thread nyh at math dot technion.ac.il
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65070 --- Comment #2 from Nadav Har'El nyh at math dot technion.ac.il --- Hi, What was the intention behind this intentionally? As I mentioned above, I believe the tiny performance saving of not calling the syscall() function are minimal, because if I

Re: Android native build of GCC

2015-02-15 Thread Alexander Monakov
Given that info...and in spite of my aforementioned limited knowledge I went back to take another look at the source and found this in libfakechroot.c /bld/fakechrt/fakechroot-2.16 $ grep -C 4 dlsym src/libfakechroot.c /* Lazily load function */ LOCAL fakechroot_wrapperfn_t

[Bug ada/64866] Lost visibility of package Interfaces after task or PO declaration

2015-02-15 Thread simon at pushface dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64866 --- Comment #1 from simon at pushface dot org --- This bug appears to be triggered because the RTS contains freertos.ads with private with Interfaces; package FreeRTOS with Pure is ... s-taprob.ads and s-tposen.ads start with

[Bug ada/64866] Lost visibility of package Interfaces after task or PO declaration

2015-02-15 Thread charlet at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64866 Arnaud Charlet charlet at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED

[Bug c++/64596] Friendship not recognized and template param deduction error

2015-02-15 Thread daniel.kruegler at googlemail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64596 Daniel Krügler daniel.kruegler at googlemail dot com changed: What|Removed |Added CC|

[Bug fortran/37336] [F03] Finish derived-type finalization

2015-02-15 Thread sourcery at rouson dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=37336 --- Comment #29 from sourcery at rouson dot net --- Good news. Hopefully you saw the email about the tutorial proposals. Strangely ISC asks for 1/2 page CVs, which I interpret as half-page CVs (Karla was hoping they meant 1-2 page, but I think

Re: [PATCH, PR tree-optimization/65002] Disable SRA for functions wrongly marked as read-only

2015-02-15 Thread Mike Stump
On Feb 13, 2015, at 11:25 AM, Jakub Jelinek ja...@redhat.com wrote: 2015-02-12 Ilya Enkovich ilya.enkov...@intel.com PR tree-optimization/65002 * gcc.dg/pr65002.C: New. This test should have gone into g++.dg. Into g++.dg/opt or g++.dg/ipa in particular. Pre-approved if

[Bug middle-end/53623] [4.7/4.8 Regression] sign extension is effectively split into two x86-64 instructions

2015-02-15 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53623 --- Comment #14 from H.J. Lu hjl.tools at gmail dot com --- Created attachment 34767 -- https://gcc.gnu.org/bugzilla/attachment.cgi?id=34767action=edit A backport patch for 4.8 branch I am testing this patch now.

[Bug middle-end/53623] [4.7/4.8 Regression] sign extension is effectively split into two x86-64 instructions

2015-02-15 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53623 --- Comment #13 from H.J. Lu hjl.tools at gmail dot com --- (In reply to H.J. Lu from comment #12) This regression is only fixed in 4.9 and should be backported to 4.8 branch. Unfortunately, r206418 introduced many regressions. Backport

[Bug fortran/59765] [4.9/5 Regression] [OOP] ICE on valid with finalizable array components

2015-02-15 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59765 Dominique d'Humieres dominiq at lps dot ens.fr changed: What|Removed |Added Status|NEW |RESOLVED

[Bug fortran/37336] [F03] Finish derived-type finalization

2015-02-15 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=37336 Bug 37336 depends on bug 59765, which changed state. Bug 59765 Summary: [4.9/5 Regression] [OOP] ICE on valid with finalizable array components https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59765 What|Removed

Re: Segmentation fault with unique_ptr

2015-02-15 Thread Mikhail Maltsev
13.02.2015 16:04, tassos_souris writes: Compile with: g++-4.9 -std=c++14 -g -o main main.cpp and run with ./main. I get segfault. gdb in bt shows that the segfault happens inside unique_ptr destructor. So it is not a memory issue. Also since the code runs with less size (i.e size=1000 no

[Bug ada/64548] Lost visibility of package System after raise

2015-02-15 Thread simon at pushface dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64548 --- Comment #2 from simon at pushface dot org --- See PR64866 for a similar problem/workround.

[Bug rtl-optimization/65067] New: regression on accessing volatile bit field

2015-02-15 Thread terry.guo at arm dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65067 Bug ID: 65067 Summary: regression on accessing volatile bit field Product: gcc Version: 5.0 Status: UNCONFIRMED Severity: major Priority: P3 Component:

Re: --disable-shared bootstrap dies building libcc1

2015-02-15 Thread Václav Zeman
On 14.2.2015 03:10, Alan Modra wrote: On both x86_64-linux and powerpc64-linux, a --disable-shared bootstrap dies with linker errors when building libcc1.so. You can't build a shared library using objects from the static libstdc++ (or any other library built without -fpic/-fPIC). OK, so

[Bug target/64793] [SH] missed delay slot

2015-02-15 Thread olegendo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64793 --- Comment #4 from Oleg Endo olegendo at gcc dot gnu.org --- Thanks! If I'm not mistaken, it looks like there's an overall improvement of ~0.35%. I think I'll go with it.

[Bug middle-end/51017] GCC 4.6 performance regression (vs. 4.4/4.5)

2015-02-15 Thread solar-gcc at openwall dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51017 --- Comment #9 from Alexander Peslyak solar-gcc at openwall dot com --- (In reply to Andrew Pinski from comment #8) Can you try GCC 4.9? Yes. Bad news: things mostly became even worse. Same machine, same JtR version, same test script as in my

[Bug tree-optimization/64992] More optimize opportunity

2015-02-15 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64992 Marc Glisse glisse at gcc dot gnu.org changed: What|Removed |Added Status|WAITING |NEW --- Comment

[Bug c++/65075] New: [5 Regression] constexpr regression

2015-02-15 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65075 Bug ID: 65075 Summary: [5 Regression] constexpr regression Product: gcc Version: 5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug c++/65075] [5 Regression] constexpr regression

2015-02-15 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65075 Jakub Jelinek jakub at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Last

[Bug target/64821] [AArch64] Improve target folding for vsqrt_f64 intrinsic

2015-02-15 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64821 Andrew Pinski pinskia at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Last

[Bug middle-end/51017] GCC 4.6 performance regression (vs. 4.4/4.5)

2015-02-15 Thread solar-gcc at openwall dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51017 --- Comment #10 from Alexander Peslyak solar-gcc at openwall dot com --- I decided to take a look at the generated code. Compared to 4.6.2, GCC 4.9.2 started generating lots of xorps, orps, andps, andnps where it previously generated pxor, por,

[Bug ada/64866] Lost visibility of package Interfaces after task or PO declaration

2015-02-15 Thread simon at pushface dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64866 --- Comment #3 from simon at pushface dot org --- Created attachment 34768 -- https://gcc.gnu.org/bugzilla/attachment.cgi?id=34768action=edit Revised demonstrator FreeRTOS packages moved under System, per Arno’s recommendation. Still fails.

Re: Android native build of GCC

2015-02-15 Thread Alexander Monakov
On Sun, 15 Feb 2015, Cyd Haselton wrote: On Sun, Feb 15, 2015 at 11:53 AM, Alexander Monakov amona...@ispras.ru wrote: Given that info...and in spite of my aforementioned limited knowledge I went back to take another look at the source and found this in libfakechroot.c

Re: Chromium: LTO

2015-02-15 Thread Trevor Saunders
Hi, +symtab_node::iterate_direct_aliases (unsigned i, ipa_ref *ref) +{ + ref_list.referring.iterate (i, ref); + + if (ref ref-use != IPA_REF_ALIAS) +return NULL; + + return ref; +} it seems a little weird the out arg can return a non alias, and so if you only want to look at

[Bug ipa/65059] [5 Regression] Chrome LTO: lto1: internal compiler error: in ipa_comdats, at ipa-comdats.c:360

2015-02-15 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65059 --- Comment #2 from Martin Liška marxin at gcc dot gnu.org --- Thank you Honza, patch works for. Martin

[Bug ada/64866] Lost visibility of package Interfaces after task or PO declaration

2015-02-15 Thread simon at pushface dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64866 --- Comment #4 from simon at pushface dot org --- (In reply to Arnaud Charlet from comment #2) Visibility in the Ada runtime do not follow standard Ada rules. In other words, the Ada runtime isn't implemented in Ada, but in a different dialect

Re: Android native build of GCC

2015-02-15 Thread Cyd Haselton
On Sun, Feb 15, 2015 at 11:53 AM, Alexander Monakov amona...@ispras.ru wrote: Given that info...and in spite of my aforementioned limited knowledge I went back to take another look at the source and found this in libfakechroot.c /bld/fakechrt/fakechroot-2.16 $ grep -C 4 dlsym

Re: Android native build of GCC

2015-02-15 Thread Alexander Monakov
On Sun, 15 Feb 2015, Cyd Haselton wrote: On Sun, Feb 15, 2015 at 12:41 PM, Cyd Haselton chasel...@gmail.com wrote: *snip* So to obtain the pointer to dlopen the code like above can use dlsym(RTLD_DEFAULT, dlopen), but not RTLD_NEXT (the loader precedes the fakeroot library in the

[Bug ipa/65059] [5 Regression] Chrome LTO: lto1: internal compiler error: in ipa_comdats, at ipa-comdats.c:360

2015-02-15 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65059 --- Comment #1 from Jan Hubicka hubicka at gcc dot gnu.org --- Does the following help? Index: ipa-comdats.c === --- ipa-comdats.c (revision 220606) +++ ipa-comdats.c

Re: Android native build of GCC

2015-02-15 Thread Cyd Haselton
On Sun, Feb 15, 2015 at 1:14 PM, Alexander Monakov amona...@ispras.ru wrote: On Sun, 15 Feb 2015, Cyd Haselton wrote: On Sun, Feb 15, 2015 at 11:53 AM, Alexander Monakov amona...@ispras.ru wrote: Given that info...and in spite of my aforementioned limited knowledge I went back to take

[Bug c++/65072] New: Segfault when parsing dectlype in trailing return type

2015-02-15 Thread uroc327 at cssbook dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65072 Bug ID: 65072 Summary: Segfault when parsing dectlype in trailing return type Product: gcc Version: 4.9.2 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug c++/65072] Segfault when parsing dectlype in trailing return type

2015-02-15 Thread uroc327 at cssbook dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65072 uroc327 at cssbook dot de changed: What|Removed |Added CC||uroc327 at cssbook dot de

[Bug c++/65072] Segfault when parsing dectlype in trailing return type

2015-02-15 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65072 Markus Trippelsdorf trippels at gcc dot gnu.org changed: What|Removed |Added Target|Archlinux Kernel 3.16.3,|

Re: Android native build of GCC

2015-02-15 Thread Cyd Haselton
On Sun, Feb 15, 2015 at 12:41 PM, Cyd Haselton chasel...@gmail.com wrote: *snip* So to obtain the pointer to dlopen the code like above can use dlsym(RTLD_DEFAULT, dlopen), but not RTLD_NEXT (the loader precedes the fakeroot library in the lookup chain). *snip* Just a quick update:

Re: [patch, testsuite] Fix ubsan for testing when libstdc++ isn't installed

2015-02-15 Thread Mike Stump
On Feb 13, 2015, at 2:24 PM, Jack Howarth howarth.at@gmail.com wrote: Mike and FX, Shouldn't we also apply… Ok. Author: fxcoudert Date: Mon Dec 22 21:57:45 2014 New Revision: 219035 URL: https://gcc.gnu.org/viewcvs?rev=219035root=gccview=rev Log: * lib/ubsan-dg.exp: Add library

[Bug ada/64548] Lost visibility of package System after raise

2015-02-15 Thread simon at pushface dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64548 --- Comment #4 from simon at pushface dot org --- (In reply to Arnaud Charlet from comment #3) I would suggest you do not use 'private with' if you write your own runtime, since this isn't supported by the compiler when building the runtime.

[Bug libgcc/61309] cilk-plus tests fail with: hidden symbol `__cpu_model' in /x/gcc/testsuite/g++/../../libgcc.a(cpuinfo.o) is referenced by DSO

2015-02-15 Thread gnugcc at marino dot st
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61309 --- Comment #5 from John Marino gnugcc at marino dot st --- hmmm, I added t-freebsd to the tmake list in libgcc/config.host for dragonfly. I thought it would fix the problem but I'm still seeing hidden symbol errors for __cpu_model

[Bug target/65069] New: [SH] Calculate constants

2015-02-15 Thread olegendo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65069 Bug ID: 65069 Summary: [SH] Calculate constants Product: gcc Version: 5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target

[Bug fortran/60898] [4.8/4.9/5 Regression] model compile error with gfortran 4.7 and gcc 4.9

2015-02-15 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60898 --- Comment #21 from Dominique d'Humieres dominiq at lps dot ens.fr --- patch fixing comment #7 This patch breaks bootstrap: /bin/sh ./libtool --tag=FC --mode=compile /opt/gcc/p_build/./gcc/gfortran -B/opt/gcc/p_build/./gcc/

[Bug middle-end/65074] New: [5 Regression] r220674 broke C++ PIEs

2015-02-15 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65074 Bug ID: 65074 Summary: [5 Regression] r220674 broke C++ PIEs Product: gcc Version: 5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end

[Bug middle-end/65074] [5 Regression] r220674 broke C++ PIEs

2015-02-15 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65074 Jakub Jelinek jakub at gcc dot gnu.org changed: What|Removed |Added Target Milestone|--- |5.0 --- Comment

Re: Chromium: LTO

2015-02-15 Thread Jan Hubicka
Hi, +symtab_node::iterate_direct_aliases (unsigned i, ipa_ref *ref) +{ + ref_list.referring.iterate (i, ref); + + if (ref ref-use != IPA_REF_ALIAS) +return NULL; + + return ref; +} it seems a little weird the out arg can return a non alias, and so if you only want

gcc-5-20150215 is now available

2015-02-15 Thread gccadmin
Snapshot gcc-5-20150215 is now available on ftp://gcc.gnu.org/pub/gcc/snapshots/5-20150215/ and on various mirrors, see http://gcc.gnu.org/mirrors.html for details. This snapshot has been generated from the GCC 5 SVN branch with the following options: svn://gcc.gnu.org/svn/gcc/trunk revision

[Bug target/64833] [SH]: Error: pcrel too far when compiling imagemagick and graphicsmagick on Debian sh4

2015-02-15 Thread glaubitz at physik dot fu-berlin.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64833 --- Comment #3 from John Paul Adrian Glaubitz glaubitz at physik dot fu-berlin.de --- Hi Oleg! Yes, I will simply run a manual build in the following days and just make sure nothing is thrown away. I finally have my very own SH4 board now and I

[Bug fortran/65073] dynamic character assignment gives wrong result

2015-02-15 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65073 Dominique d'Humieres dominiq at lps dot ens.fr changed: What|Removed |Added Keywords|

[Bug fortran/65024] [4.9/5 Regression] [OOP] ICE concerning unlimited polymorphic pointer

2015-02-15 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65024 --- Comment #5 from Dominique d'Humieres dominiq at lps dot ens.fr --- The ICE for the reduced test in comment 2 appeared between revisions r207428 (2014-02-03, OK) and r207996 (2014-02-21, ICE). Started at r207986.

Re: Android native build of GCC

2015-02-15 Thread Cyd Haselton
On February 15, 2015 12:57:18 PM CST, Alexander Monakov amona...@ispras.ru wrote: On Sun, 15 Feb 2015, Cyd Haselton wrote: On Sun, Feb 15, 2015 at 12:41 PM, Cyd Haselton chasel...@gmail.com wrote: *snip* So to obtain the pointer to dlopen the code like above can use

[Bug middle-end/65074] [5 Regression] r220674 broke C++ PIEs

2015-02-15 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65074 --- Comment #2 from H.J. Lu hjl.tools at gmail dot com --- Created attachment 34770 -- https://gcc.gnu.org/bugzilla/attachment.cgi?id=34770action=edit A patch Please try this.

[Bug tree-optimization/64992] More optimize opportunity

2015-02-15 Thread ishiura-compiler at ml dot kwansei.ac.jp
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64992 --- Comment #4 from Ishiura Lab Compiler Team ishiura-compiler at ml dot kwansei.ac.jp --- FYI, clang-3.6 -O3 seems to do the same optimization on org.c as well as on opt.c.

[PATCH, fixincludes] Fix PR 48009 53348

2015-02-15 Thread David Edelsohn
The stdlib.h header in AIX 4.3 does not correctly declare strtof with a const char* argument. Users are building the latest releases of GCC on AIX 4.3 The appended patch from Richard G Daniel uses fixincludes to correct the declaration. Okay? Thanks, David PR bootstrap/48009

[Bug middle-end/53623] [4.7/4.8 Regression] sign extension is effectively split into two x86-64 instructions

2015-02-15 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53623 H.J. Lu hjl.tools at gmail dot com changed: What|Removed |Added Status|REOPENED|NEW --- Comment #15

[Bug fortran/65073] New: dynamic character assignment gives wrong result

2015-02-15 Thread walt.brainerd at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65073 Bug ID: 65073 Summary: dynamic character assignment gives wrong result Product: gcc Version: 4.9.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug c/64833] [SH]: Error: pcrel too far when compiling imagemagick and graphicsmagick on Debian sh4

2015-02-15 Thread olegendo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64833 Oleg Endo olegendo at gcc dot gnu.org changed: What|Removed |Added Target||sh*-*-*

Re: [PATCH, fixincludes] Fix PR 48009 53348

2015-02-15 Thread Bruce Korb
Looks good to me. On Sun, Feb 15, 2015 at 12:49 PM, David Edelsohn dje@gmail.com wrote: The stdlib.h header in AIX 4.3 does not correctly declare strtof with a const char* argument. Users are building the latest releases of GCC on AIX 4.3 The appended patch from Richard G Daniel uses

[Bug target/64833] [SH]: Error: pcrel too far when compiling imagemagick and graphicsmagick on Debian sh4

2015-02-15 Thread olegendo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64833 --- Comment #2 from Oleg Endo olegendo at gcc dot gnu.org --- Would it be possible for you to pull a precompiled source from the build via the '-save-temps' option?

[4.8 branch] PATCH: PR middle-end/53623: [4.7/4.8 Regression] sign extension is effectively split into two x86-64 instructions

2015-02-15 Thread H.J. Lu
Hi, This is a backport of the patch for PR middle-end/53623 plus all bug fixes caused by it. Tested on Linux/x86-32, Linux/x86-64 and x32. OK for 4.8 branch? Thanks. H.J. --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 469ee31..44bf322 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@

mfentry example

2015-02-15 Thread Niklaus
Hello, I'm trying to do a live update of a function without killing or stopping the program. This is a single threaded application which runs something similar to the below code. Maximum time is spent in the while(1) loop. What i want to do is compile with gcc-4.8 with -pg and -mfentry and

[Bug fortran/64432] [5 Regression] SYSTEM_CLOCK(COUNT_RATE=rate) wrong result for integer(4)::rate

2015-02-15 Thread jvdelisle at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64432 --- Comment #18 from Jerry DeLisle jvdelisle at gcc dot gnu.org --- Created attachment 34771 -- https://gcc.gnu.org/bugzilla/attachment.cgi?id=34771action=edit A test case Current results with attached test case. $ ./a.out KIND=1: 34 1 127

[doc, committed] use Title Case for section titles

2015-02-15 Thread Sandra Loosemore
I noticed a while back when searching for something in the table of contents for the GCC manual that most section names used Title Case, but some only capitalized the first word, or not even that. This patch is the result of me going through the whole ToC and trying to fix everything to use

[Ping] [PATCH PR64820] Fix ASan UAR detection fails on 32-bit targets if SSP is enabled.

2015-02-15 Thread Maxim Ostapenko
Ping. Original Message Subject: [PATCH PR64820] Fix ASan UAR detection fails on 32-bit targets if SSP is enabled. Date: Mon, 09 Feb 2015 14:03:54 +0400 From: Maxim Ostapenko m.ostape...@partner.samsung.com To: GCC Patches gcc-patches@gcc.gnu.org CC: Yury Gribov

Re: [doc, committed] small grammar error fix

2015-02-15 Thread Gerald Pfeifer
On Tuesday 2015-02-10 19:15, Sandra Loosemore wrote: I've checked it in as obvious. -Sandra 2015-02-10 David Wohlferd d...@limegreensocks.com Sandra Loosemore san...@codesourcery.com gcc/ * doc/extend.texi (Loop-Specific Pragmas): Fix grammar error. That's

[Bug fortran/64980] [5 Regression] ICE in trans-expr.c

2015-02-15 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64980 --- Comment #18 from Bernd Edlinger bernd.edlinger at hotmail dot de --- (In reply to Dominique d'Humieres from comment #17) I think this updated patch fixes all mentioned test cases. Confirmed, bootstrapped and regtested cleanly. but

[Bug c++/65071] ICE on valid, sizeof...() of template template parameter pack in return type

2015-02-15 Thread maltsevm at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65071 --- Comment #1 from Mikhail Maltsev maltsevm at gmail dot com --- A few more comments. I wrote that GCC 5.0 segfaults. That's actually not true, I could not reproduce segfault on checked builds (only release version of 4.9.2), but never the less

[Bug target/55701] Inline some instances of memset for ARM

2015-02-15 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55701 amker at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[Bug fortran/64980] [5 Regression] ICE in trans-expr.c

2015-02-15 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64980 --- Comment #17 from Dominique d'Humieres dominiq at lps dot ens.fr --- I think this updated patch fixes all mentioned test cases. Confirmed, bootstrapped and regtested cleanly. but there are many regressions, which would need to be fixed

[Bug regression/61538] gcc after commit 39a8c5ea produces bad code for MIPS R1x000 CPUs

2015-02-15 Thread kumba at gentoo dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61538 Joshua Kinard kumba at gentoo dot org changed: What|Removed |Added Version|4.8.0 |4.9.3 Known