[Bug sanitizer/62088] [GCC-4.10.0] Compilation failed to produce executable: torture with -fsanitize=address

2014-08-12 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62088 Marek Polacek changed: What|Removed |Added CC||dodji at gcc dot gnu.org,

[Bug ada/62117] New: [4.9 regression] wrong code for passing small array argument'Address, in generic

2014-08-12 Thread demoonlit at panathenaia dot halfmoon.jp
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62117 Bug ID: 62117 Summary: [4.9 regression] wrong code for passing small array argument'Address, in generic Product: gcc Version: 4.9.1 Status: UNCONFIRMED Severity

[Bug c/62059] signed integer overflow in diagnostic.c adjust_line

2014-08-12 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62059 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c/62024] __atomic_always_lock_free is not a constant expression

2014-08-12 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62024 --- Comment #3 from Marek Polacek --- (In reply to Amanieu d'Antras from comment #2) > int array[__atomic_always_lock_free(sizeof(int), 0)]; > > test.c:1:5: error: variably modified ‘array’ at file scope I think it should be fine to reject this

[Bug c/62024] __atomic_always_lock_free is not a constant expression

2014-08-12 Thread amanieu at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62024 --- Comment #2 from Amanieu d'Antras --- A similar error happens when trying to use the result of __atomic_always_lock_free as the size of an array: int array[__atomic_always_lock_free(sizeof(int), 0)]; test.c:1:5: error: variably modified ‘arr

[Bug c/62024] __atomic_always_lock_free is not a constant expression

2014-08-12 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62024 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/60336] empty struct value is passed differently in C and C++

2014-08-12 Thread vagran.ast at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60336 --- Comment #24 from vagran --- Just to be on a safe side, please, also do not forget that empty struct (or class) is really zero in the case when another structure (or class) is derived from it. For example, such test would be useful after fix:

[Bug target/62025] [4.9/4.10 Regression] Miscompilation of openssl sha512.c

2014-08-12 Thread amker.cheng at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62025 bin.cheng changed: What|Removed |Added CC||amker.cheng at gmail dot com --- Comment #19

[Bug c++/62116] New: Allowing redeclaration of global variable x using ::x

2014-08-12 Thread yaghmour.shafik at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62116 Bug ID: 62116 Summary: Allowing redeclaration of global variable x using ::x Product: gcc Version: 4.9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compon

[Bug debug/54773] no debug info generated for rvalue reference

2014-08-12 Thread chihin.ko at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54773 --- Comment #2 from chihin ko --- g++ 4.8.1 on Linux fixed the problem, but problem still exists in g++ 4.8.1 on solaris.

[Bug c++/62110] Attempting to use template conversion operator in a contextual conversion

2014-08-12 Thread rs2740 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62110 TC changed: What|Removed |Added CC||rs2740 at gmail dot com --- Comment #2 from TC ---

[Bug c++/62115] [4.10 Regression] ICE with invalid default argument

2014-08-12 Thread reichelt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62115 Volker Reichelt changed: What|Removed |Added Target Milestone|--- |4.10.0

[Bug c++/62115] New: [4.10 Regression] ICE with invalid default argument

2014-08-12 Thread reichelt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62115 Bug ID: 62115 Summary: [4.10 Regression] ICE with invalid default argument Product: gcc Version: 4.10.0 Status: UNCONFIRMED Keywords: ice-on-invalid-code Severity: normal

[Bug c++/62085] SFINAE where specialization parameter class member returns an abstract type fails

2014-08-12 Thread jameslyon0 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62085 --- Comment #3 from James Lyon --- Thanks for looking! Unfortunately I don't have access to EDG. I have dug through the standard and it seems my understanding of SFINAE was (is) a bit lacking and GCC is indeed correct. It seems there's a bug in

[Bug c++/60336] empty struct value is passed differently in C and C++

2014-08-12 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60336 --- Comment #23 from Andrew Pinski --- (In reply to H.J. Lu from comment #22) > This is a target independent issue. Clang++ skips empty struct argument > and g++ passes it. Skip empty struct argument requires middle-end changes. Except in c++,

[Bug tree-optimization/54742] Switch elimination in FSM loop

2014-08-12 Thread sje at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54742 --- Comment #38 from Steve Ellcey --- FYI: I am testing a new patch for this that adds a new pass to do this optimization. See https://gcc.gnu.org/ml/gcc-patches/2014-08/msg01228.html

[Bug target/62025] [4.9/4.10 Regression] Miscompilation of openssl sha512.c

2014-08-12 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62025 --- Comment #18 from Jakub Jelinek --- Author: jakub Date: Tue Aug 12 22:03:37 2014 New Revision: 213888 URL: https://gcc.gnu.org/viewcvs?rev=213888&root=gcc&view=rev Log: PR target/62025 * sched-deps.c (find_inc): Check if inc_insn does

[Bug target/62025] [4.9/4.10 Regression] Miscompilation of openssl sha512.c

2014-08-12 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62025 --- Comment #17 from Jakub Jelinek --- Author: jakub Date: Tue Aug 12 21:24:40 2014 New Revision: 213887 URL: https://gcc.gnu.org/viewcvs?rev=213887&root=gcc&view=rev Log: PR target/62025 * sched-deps.c (find_inc): Check if inc_insn does

[Bug tree-optimization/62112] Optimize out malloc when block is unused or write-only

2014-08-12 Thread zackw at panix dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62112 --- Comment #2 from Zack Weinberg --- I observe that the `memcpy` does get lowered to inline code. Is it just a phase-ordering problem that we then don't detect the stores as dead?

[Bug tree-optimization/62112] Optimize out malloc when block is unused or write-only

2014-08-12 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62112 --- Comment #1 from Marc Glisse --- Main issue here is that DSE only applies to assignments and not function calls like memcpy (there must be a few dups somewhere), so we never remove memcpy, even if we call free(x);free(y); afterwards. With a fo

[Bug c++/62110] Attempting to use template conversion operator in a contextual conversion

2014-08-12 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62110 --- Comment #1 from Jonathan Wakely --- N3323 is not addressing a DR, so is not part of C++11.

[Bug target/62111] ICE when building Linux kernel for sh64

2014-08-12 Thread dhowells at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62111 --- Comment #4 from dhowells at redhat dot com --- The compiler is gcc-4.9.1, dated 20140717, svnrev 212747. One patch is applied - see bug 61844.

[Bug target/62111] ICE when building Linux kernel for sh64

2014-08-12 Thread olegendo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62111 Oleg Endo changed: What|Removed |Added Target||sh*-*-* Status|UNCONFIRMED

[Bug c/62114] New: [graphite] ICE using -floop-parallelize-all and -ffast-math

2014-08-12 Thread drfiemost at email dot it
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62114 Bug ID: 62114 Summary: [graphite] ICE using -floop-parallelize-all and -ffast-math Product: gcc Version: 4.9.1 Status: UNCONFIRMED Severity: normal Pr

[Bug c/62113] New: [graphite] ICE using -floop-parallelize-all

2014-08-12 Thread drfiemost at email dot it
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62113 Bug ID: 62113 Summary: [graphite] ICE using -floop-parallelize-all Product: gcc Version: 4.9.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug tree-optimization/62112] New: Optimize out malloc when block is unused or write-only

2014-08-12 Thread zackw at panix dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62112 Bug ID: 62112 Summary: Optimize out malloc when block is unused or write-only Product: gcc Version: 4.9.1 Status: UNCONFIRMED Keywords: missed-optimization Severity: enha

[Bug target/62111] ICE when building Linux kernel for sh64

2014-08-12 Thread dhowells at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62111 --- Comment #2 from dhowells at redhat dot com --- The binutils is based on the 2.24 branch, git commit cab6c3ee9785f072a373afe31253df0451db93cf and was built targeting sh64-linux-elf.

[Bug target/62111] ICE when building Linux kernel for sh64

2014-08-12 Thread dhowells at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62111 --- Comment #1 from dhowells at redhat dot com --- The following command line is sufficient to reproduce the error: sh64-linux-gnu-gcc -m5-64media-nofpu -ml -O2 -S -o testcase.o testcase.i Adding -v to the command line: Using built-in specs. C

[Bug target/62111] New: ICE when building Linux kernel for sh64

2014-08-12 Thread dhowells at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62111 Bug ID: 62111 Summary: ICE when building Linux kernel for sh64 Product: gcc Version: 4.9.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target

[Bug c++/62110] New: Attempting to use template conversion operator in a contextual conversion

2014-08-12 Thread yaghmour.shafik at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62110 Bug ID: 62110 Summary: Attempting to use template conversion operator in a contextual conversion Product: gcc Version: 4.9.0 Status: UNCONFIRMED Severity: norma

[Bug c++/60336] empty struct value is passed differently in C and C++

2014-08-12 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60336 H.J. Lu changed: What|Removed |Added Component|target |c++ Version|4.8.1

[Bug target/62109] New: __gthr_i486_lock_cmp_xchg missing clobber

2014-08-12 Thread gccbugzilla at limegreensocks dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62109 Bug ID: 62109 Summary: __gthr_i486_lock_cmp_xchg missing clobber Product: gcc Version: 4.10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target

[Bug driver/61274] excessive code size with large-unit-insns

2014-08-12 Thread wbrana at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61274 --- Comment #2 from wbrana --- gcc should probably support new level -O4 which will optimize for benchmarks, which will equal to current -O3 -O3 and bellow will optimize for applications with saner "--param" values

[Bug lto/54078] Bytemark 46% bigger binary with -flto

2014-08-12 Thread wbrana at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54078 --- Comment #10 from wbrana --- there is difference also with O2 and branch 4.9 size in bytes 57199 -O2 55222 -O2 -flto 60681 -O2 -finline-functions 75301 -O2 -flto -finline-functions 67083 -O2 -flto -finline-functions --param large-unit-insns=1

[Bug tree-optimization/61441] ARM aarch64 fails to quiet signaling NaN

2014-08-12 Thread ramana at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61441 Ramana Radhakrishnan changed: What|Removed |Added CC||ramana at gcc dot gnu.org

[Bug middle-end/61848] [4.10 Regression] a previous declaration causes the section attribute to be lost

2014-08-12 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61848 Andrew Pinski changed: What|Removed |Added CC||jgreenhalgh at gcc dot gnu.org --- Comme

[Bug ipa/62108] Resolution of mismatched __attribute__ ((__section__ (""))) changes between 4.9 and 4.10.

2014-08-12 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62108 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug libfortran/62094] Program crash when executing DEALLOCATE with addresses that have 0 in bits 26 and higher (little-endian)

2014-08-12 Thread sgk at troutmask dot apl.washington.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62094 --- Comment #5 from Steve Kargl --- On Tue, Aug 12, 2014 at 03:40:06PM +, dominiq at lps dot ens.fr wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62094 > > Dominique d'Humieres changed: > >What|Removed

[Bug ipa/62108] New: Resolution of mismatched __attribute__ ((__section__ (""))) changes between 4.9 and 4.10.

2014-08-12 Thread jgreenhalgh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62108 Bug ID: 62108 Summary: Resolution of mismatched __attribute__ ((__section__ (""))) changes between 4.9 and 4.10. Product: gcc Version: 4.10.0 Status: UNCONFIRMED

[Bug libfortran/62094] Program crash when executing DEALLOCATE with addresses that have 0 in bits 26 and higher (little-endian)

2014-08-12 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62094 Dominique d'Humieres changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug fortran/62087] A Piece of code compiling with ifort but giving error by gfortran 4.8

2014-08-12 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62087 Dominique d'Humieres changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug fortran/60357] [F08] structure constructor with unspecified values for allocatable components

2014-08-12 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60357 --- Comment #4 from Dominique d'Humieres --- Note that while program testerprog use testmod Type(A) :: Me Me%y=2 print *, Me%x, Me%y end program gives at run time 1 2 program testerprog us

[Bug target/61413] __ARM_SIZEOF_WCHAR_T is constant 32 -- should be 4 or 2

2014-08-12 Thread ramana at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61413 --- Comment #2 from Ramana Radhakrishnan --- Author: ramana Date: Tue Aug 12 14:59:23 2014 New Revision: 213864 URL: https://gcc.gnu.org/viewcvs?rev=213864&root=gcc&view=rev Log: Fix PR target/61413 2014-08-12 Ramana Radhakrishnan PR t

[Bug target/62100] c++11 threads invoke pure virtual function on arm embedded system

2014-08-12 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62100 Jonathan Wakely changed: What|Removed |Added Status|WAITING |UNCONFIRMED Ever confirmed|1

[Bug preprocessor/58844] [4.8 Regression] ICE with invalid use of ##

2014-08-12 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58844 --- Comment #13 from joseph at codesourcery dot com --- Also, in the case of just two consecutive ##, with a placemarker either side, I think however you read it the concatenations are currently valid and you end up with no preprocessing tokens

[Bug target/62098] [4.9/4.10 regression] incorrect code generated by arm gcc

2014-08-12 Thread ramana at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62098 --- Comment #3 from Ramana Radhakrishnan --- Author: ramana Date: Tue Aug 12 14:32:07 2014 New Revision: 213861 URL: https://gcc.gnu.org/viewcvs?rev=213861&root=gcc&view=rev Log: Fix PR target/62098 2014-08-12 Ramana Radhakrishnan PR ta

[Bug preprocessor/58844] [4.8 Regression] ICE with invalid use of ##

2014-08-12 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58844 --- Comment #12 from joseph at codesourcery dot com --- On Tue, 12 Aug 2014, potswa at mac dot com wrote: > > each instance of a ## preprocessing token in the replacement list (not > > from an argument) is deleted and the preceding preprocessin

[Bug target/62025] [4.9/4.10 Regression] Miscompilation of openssl sha512.c

2014-08-12 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62025 --- Comment #16 from Jeffrey A. Law --- In reference to c#12. I think the ivopts changes are just setting up the situation that is mis-handled later. I'd gotten as far as seeing the +128 increment moving in the scheduler, but hadn't looked to

[Bug other/60465] Compiling glibc-2.17,2.18 with gcc-4.8.2 and binutils-2.23.2,2.24 results in segfaults in _start / elf_get_dynamic_info

2014-08-12 Thread vapier at gentoo dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60465 --- Comment #9 from Mike Frysinger --- i've verified that 4.8.0 & 4.9.1 fail as well :/ binutils 2.24 doesn't help

[Bug preprocessor/61613] ,##__VA_ARGS__ fails to expand the first variadic argument if it is a macro-name

2014-08-12 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61613 --- Comment #8 from Manuel López-Ibáñez --- (In reply to David Krauss from comment #6) > I'd like to take it 100% but the testsuite isn't working on my system. The > patch is small enough and unobscure enough that it's easier for someone else > t

[Bug target/61373] neon registers restored incorrectly with -mapcs-frame -O -fno-omit-frame-pointer

2014-08-12 Thread breiten at lexmark dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61373 --- Comment #2 from John Breitenbach --- Created attachment 33301 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33301&action=edit siphash24.i sorry for forgetting this attachment in the original report.

[Bug ipa/62104] [4.10 Regression] ICE: in update_visibility_by_resolution_info, at ipa-visibility.c:403

2014-08-12 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62104 Markus Trippelsdorf changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/62098] [4.9/4.10 regression] incorrect code generated by arm gcc

2014-08-12 Thread ramana at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62098 --- Comment #2 from Ramana Radhakrishnan --- Created attachment 33300 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33300&action=edit Patch under testing. Embarassing patch to fix the issue. Currently being tested .

[Bug fortran/62106] [4.9/4.10 Regression] Adding a scalar variable to an array constructor gives wrong result

2014-08-12 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62106 Dominique d'Humieres changed: What|Removed |Added Keywords||wrong-code Status|UNC

[Bug bootstrap/62077] --with-build-config=bootstrap-lto fails,

2014-08-12 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62077 --- Comment #16 from Richard Biener --- Ok, so what happens is that for build/genconfig.o we in one case write a STRING_CST with a const char[7] with itself as main-variant and in the other case with char[7] as main-variant. The STRING_CST is wr

[Bug target/62098] [4.9/4.10 regression] incorrect code generated by arm gcc

2014-08-12 Thread ramana at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62098 Ramana Radhakrishnan changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unass

[Bug target/62100] c++11 threads invoke pure virtual function on arm embedded system

2014-08-12 Thread pab at pabigot dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62100 --- Comment #4 from Peter A. Bigot --- It's not obvious to me: beaglebone[98]$ gcc -v Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/gcc/arm-poky-linux-gnueabi/4.9.1/lto-wrapper Target: arm-poky-linux-gnueabi Configured w

[Bug other/61962] GCC seems to enter an infinite loop when compiling the above cilk+ code.

2014-08-12 Thread kyukhin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61962 --- Comment #2 from Kirill Yukhin --- Author: kyukhin Date: Tue Aug 12 12:33:06 2014 New Revision: 213859 URL: https://gcc.gnu.org/viewcvs?rev=213859&root=gcc&view=rev Log: PR other/61962 gcc/c-family/ * array-notation-common.c (find_rank):

[Bug other/61962] GCC seems to enter an infinite loop when compiling the above cilk+ code.

2014-08-12 Thread kyukhin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61962 --- Comment #1 from Kirill Yukhin --- Author: kyukhin Date: Tue Aug 12 12:27:41 2014 New Revision: 213858 URL: https://gcc.gnu.org/viewcvs?rev=213858&root=gcc&view=rev Log: PR other/61962 gcc/c-family/ * array-notation-common.c (find_ra

[Bug target/62098] [4.9 regression] incorrect code generated by arm gcc

2014-08-12 Thread ramana at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62098 Ramana Radhakrishnan changed: What|Removed |Added Keywords||wrong-code Status|UNC

[Bug target/62025] [4.9/4.10 Regression] Miscompilation of openssl sha512.c

2014-08-12 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62025 --- Comment #15 from Jakub Jelinek --- So, what about this completely untested fix? Unfortunately the scheduler change has been committed with no testcases. I guess I'll do a bootstrap/regtest with some printout where this patch changes things

[Bug middle-end/60281] Address Sanitizer triggers alignment fault in ARM machines

2014-08-12 Thread ramana at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60281 Ramana Radhakrishnan changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug target/62100] c++11 threads invoke pure virtual function on arm embedded system

2014-08-12 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62100 --- Comment #3 from Jonathan Wakely --- It might be obvious in the output of 'gcc -v'.

[Bug target/62025] [4.9/4.10 Regression] Miscompilation of openssl sha512.c

2014-08-12 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62025 Jakub Jelinek changed: What|Removed |Added CC||bernds at gcc dot gnu.org --- Comment #1

[Bug libgomp/62107] New: libgomp.fortran/target2.f90 FAIL while compiling for OpenMP 4.0 offload target

2014-08-12 Thread andrey.turetskiy at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62107 Bug ID: 62107 Summary: libgomp.fortran/target2.f90 FAIL while compiling for OpenMP 4.0 offload target Product: gcc Version: 4.10.0 Status: UNCONFIRMED Severity:

[Bug target/61373] neon registers restored incorrectly with -mapcs-frame -O -fno-omit-frame-pointer

2014-08-12 Thread ramana at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61373 Ramana Radhakrishnan changed: What|Removed |Added CC||ramana at gcc dot gnu.org --- Com

[Bug target/62100] c++11 threads invoke pure virtual function on arm embedded system

2014-08-12 Thread pab at pabigot dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62100 --- Comment #2 from Peter A. Bigot --- Thanks. The compiler and libstdc++ are built using Yocto's standard recipe for the beaglebone. Obviously there's something wrong with it; what that would be is not obvious and probably isn't a gcc problem.

[Bug target/62011] False Data Dependency in popcnt instruction

2014-08-12 Thread ysrumyan at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62011 --- Comment #9 from Yuri Rumyantsev --- This is not u32 version but u64. The first loop (u32) version looks like: .L23: leal1(%rdx), %ecx xorq%rax, %rax popcntq(%rbx,%rax,8), %rax leal2(%rdx), %r8d xorq

[Bug bootstrap/62077] --with-build-config=bootstrap-lto fails,

2014-08-12 Thread sven.c.dack at virginmedia dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62077 --- Comment #15 from Sven C. Dack --- (In reply to Venkataramanan from comment #14) > ... > I tried addding to stage2/3 the flags "-flto=1 -flto-partition=none" instead > of jobserver in bootstrap-lto.mk and spawned bootstrap LTO build in one > a

[Bug target/62025] [4.9/4.10 Regression] Miscompilation of openssl sha512.c

2014-08-12 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62025 --- Comment #13 from Jakub Jelinek --- Just verified the trunk and it is the same thing there, also sched2 generating: al %r3,252(%r8) ahi %r8,128 alc %r2,120(%r8) where the first insn is cc setter, second cc

[Bug bootstrap/62077] --with-build-config=bootstrap-lto fails,

2014-08-12 Thread venkataramanan.kumar at amd dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62077 --- Comment #14 from Venkataramanan --- (In reply to Sven C. Dack from comment #6) > It seems the problem is caused by the use of the jobserver. Changing > bootstrap-lto.mk from: > > ... > STAGE2_CFLAGS += -flto=jobserver -frandom-seed=1 -ffat-l

[Bug target/62011] False Data Dependency in popcnt instruction

2014-08-12 Thread finis at in dot tum.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62011 --- Comment #8 from finis at in dot tum.de --- @Yuri: Note however, that the result of your fixed u32 version seems to be wrong.

[Bug target/62025] [4.9/4.10 Regression] Miscompilation of openssl sha512.c

2014-08-12 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62025 --- Comment #12 from amker at gcc dot gnu.org --- Hi, I can reproduce the exact mis-scheduled instruction issue as in Jakub's comment with/without the ivopt patch (204497). Turns out gcc chooses candidate like {&K512, 128}_loop with the patch wh

[Bug bootstrap/62077] --with-build-config=bootstrap-lto fails,

2014-08-12 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62077 --- Comment #13 from Richard Biener --- (In reply to Richard Biener from comment #12) > Ok, so there is one thing that changed (but only very recently) on trunk > which > is improved hashing of SCCs and thus more consistent ordering. > > Especia

[Bug ipa/62104] [4.10 Regression] ICE: in update_visibility_by_resolution_info, at ipa-visibility.c:403

2014-08-12 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62104 --- Comment #1 from Markus Trippelsdorf --- markus@x4 /tmp % wget trippelsdorf.de/testcase.tar.bz2 --2014-08-12 12:07:24-- http://trippelsdorf.de/testcase.tar.bz2 Resolving trippelsdorf.de... 194.117.254.50 Connecting to trippelsdorf.de|194.117.

[Bug target/62100] c++11 threads invoke pure virtual function on arm embedded system

2014-08-12 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62100 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug target/62025] [4.9/4.10 Regression] Miscompilation of openssl sha512.c

2014-08-12 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62025 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug fortran/62106] Adding a scalar variable to an array constructor gives wrong result

2014-08-12 Thread m.a.hulsen at tue dot nl
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62106 --- Comment #1 from Martien Hulsen --- It only shows up using optimisation, i.e. -On, with n>=1.

[Bug fortran/62106] New: Adding a scalar variable to an array constructor gives wrong result

2014-08-12 Thread m.a.hulsen at tue dot nl
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62106 Bug ID: 62106 Summary: Adding a scalar variable to an array constructor gives wrong result Product: gcc Version: 4.9.2 Status: UNCONFIRMED Severity: major

[Bug bootstrap/62077] --with-build-config=bootstrap-lto fails,

2014-08-12 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62077 --- Comment #12 from Richard Biener --- Ok, so there is one thing that changed (but only very recently) on trunk which is improved hashing of SCCs and thus more consistent ordering. Especially I'm talking about the fact that at compile-time (!)

[Bug driver/62105] New: sanitizer libraries in wrong command line position in link spec file

2014-08-12 Thread jtaylor.debian at googlemail dot com
braries like -lgcc and -lc are placed correctly maybe the -l*san can be moved too? I used a gcc built from recent SVN head on Ubuntu 14.04 amd64. /tmp/jtaylor $ gcc-4.10 --version gcc (GCC) 4.10.0 20140812 (experimental)

[Bug ipa/62104] New: [4.10 Regression] ICE: in update_visibility_by_resolution_info, at ipa-visibility.c:403

2014-08-12 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62104 Bug ID: 62104 Summary: [4.10 Regression] ICE: in update_visibility_by_resolution_info, at ipa-visibility.c:403 Product: gcc Version: 4.10.0 Status: UN

[Bug target/62025] [4.9/4.10 Regression] Miscompilation of openssl sha512.c

2014-08-12 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62025 --- Comment #10 from Jakub Jelinek --- And with: --- sched-deps.c(revision 207605) +++ sched-deps.c(working copy) @@ -3034,6 +3034,21 @@ sched_analyze_insn (struct deps_desc *de || (NONJUMP_INSN_P (insn) && control_flow_insn_p (in

[Bug target/62011] False Data Dependency in popcnt instruction

2014-08-12 Thread ysrumyan at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62011 --- Comment #7 from Yuri Rumyantsev --- Please ignore my previous comment - if we insert nullifying of destination register before each popcnt (and lzcnt) performance will restore: original test results: unsigned8388663 0.848533

[Bug bootstrap/62077] --with-build-config=bootstrap-lto fails,

2014-08-12 Thread venkataramanan.kumar at amd dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62077 --- Comment #11 from Venkataramanan --- I am also trying to fix LTO bootstrap compare failure in Aarch64. Bootstrap compare failure is not occurring in GCC FSF trunk (tested on aarch64 as well as x86_64 machine). Now I am doing one more round of

[Bug target/62025] [4.9/4.10 Regression] Miscompilation of openssl sha512.c

2014-08-12 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62025 --- Comment #9 from Jakub Jelinek --- (In reply to Jeffrey A. Law from comment #6) > It's late and I need to catch some zzzs. But as I hinted in my prior update, > I think we may chasing something latent. I would recommend looking very > closel

[Bug bootstrap/62077] --with-build-config=bootstrap-lto fails,

2014-08-12 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62077 --- Comment #10 from rguenther at suse dot de --- On Tue, 12 Aug 2014, trippels at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62077 > > Markus Trippelsdorf changed: > >What|Removed

[Bug bootstrap/62077] --with-build-config=bootstrap-lto fails,

2014-08-12 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62077 Markus Trippelsdorf changed: What|Removed |Added CC||trippels at gcc dot gnu.org --- Co

[Bug preprocessor/58844] [4.8 Regression] ICE with invalid use of ##

2014-08-12 Thread potswa at mac dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58844 --- Comment #11 from David Krauss --- On 2014–08–12, at 3:10 PM, jakub at gcc dot gnu.org wrote: > Please see https://gcc.gnu.org/ml/gcc-patches/2009-04/msg01490.html for > reasoning why gcc considers it valid. That reasoning goes awry at “ISO

[Bug bootstrap/62077] --with-build-config=bootstrap-lto fails,

2014-08-12 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62077 --- Comment #8 from Andrew Pinski --- (In reply to Sven C. Dack from comment #7) > Created attachment 33299 [details] > Removes the use of the jobserver from bootstrap-lto.mk > > The patch changes bootstrap-lto.mk to use a single, unpartitioned

[Bug bootstrap/62077] --with-build-config=bootstrap-lto fails,

2014-08-12 Thread sven.c.dack at virginmedia dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62077 Sven C. Dack changed: What|Removed |Added Attachment #33285|0 |1 is obsolete|

[Bug bootstrap/62077] --with-build-config=bootstrap-lto fails,

2014-08-12 Thread sven.c.dack at virginmedia dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62077 --- Comment #6 from Sven C. Dack --- It seems the problem is caused by the use of the jobserver. Changing bootstrap-lto.mk from: ... STAGE2_CFLAGS += -flto=jobserver -frandom-seed=1 -ffat-lto-objects STAGE3_CFLAGS += -flto=jobserver -frandom-see

[Bug preprocessor/58844] [4.8 Regression] ICE with invalid use of ##

2014-08-12 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58844 --- Comment #10 from Jakub Jelinek --- Please see https://gcc.gnu.org/ml/gcc-patches/2009-04/msg01490.html for reasoning why gcc considers it valid.