[Bug c/69197] Can't compile older

2016-01-09 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69197 --- Comment #4 from Andrew Pinski --- Note the referenced failure looks like it can be fixed by using -std=gnu89 as part of the CFLAGS. That is it gcc 2.95 uses GNU 89 style inline which is incompatible with C99 inline.

[Bug sanitizer/69204] ThreadSanitizer: False positive on std::promise usage

2016-01-09 Thread bugzil...@reto-schneider.ch
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69204 --- Comment #5 from bugzil...@reto-schneider.ch --- The generated binaries use the same libraries: $ clang++-3.6 -fsanitize=thread -Wall -Wextra -std=c++11 -pthread -o tsan-test-clang tsan-test.cpp $ ldd tsan-test-clang linux-vdso.so.1

[Bug c/23087] Misleading warning, "... differ in signedness"

2016-01-09 Thread bernds at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=23087 Bernd Schmidt changed: What|Removed |Added CC||bernds at gcc dot gnu.org,

[Bug rtl-optimization/69206] testsuite/gcc.c-torture/execute/alias-2.c fails on aarch64-linux-gnu at -O1 and above

2016-01-09 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69206 ktkachov at gcc dot gnu.org changed: What|Removed |Added CC||ktkachov at gcc dot gnu.org

[Bug tree-optimization/69207] [6 Regression] gcc.target/aarch64/vldN_1.c ICEs at -O3

2016-01-09 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69207 Andrew Pinski changed: What|Removed |Added CC||jakub at gcc dot gnu.org

[Bug c++/69113] [6 Regression] ICE: in vague_linkage_p, at cp/decl2.c:1875 with -fno-weak

2016-01-09 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69113 --- Comment #3 from Marek Polacek --- Author: mpolacek Date: Sat Jan 9 11:15:26 2016 New Revision: 232189 URL: https://gcc.gnu.org/viewcvs?rev=232189=gcc=rev Log: PR c++/69113 * decl2.c (comdat_linkage): Only set DECL_COMDAT if

[Bug tree-optimization/69207] [6 Regression] gcc.target/aarch64/vldN_1.c ICEs at -O3

2016-01-09 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69207 --- Comment #4 from Jakub Jelinek --- Seems there is a mismatch in between fold_convertible_p and verify_gimple_assign_unary (and also the gimplifier). E.g. for this special case fold_convertible_p has some weird exception: 2188 return

[Bug sanitizer/69204] ThreadSanitizer: False positive on std::promise usage

2016-01-09 Thread bugzil...@reto-schneider.ch
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69204 --- Comment #4 from bugzil...@reto-schneider.ch --- Created attachment 37295 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=37295=edit g++-5 -fsanitize=thread -Wall -Wextra -std=c++11 -pthread -static-libtsan tsan-test.cpp && ./a.out >

[Bug c++/69113] [6 Regression] ICE: in vague_linkage_p, at cp/decl2.c:1875 with -fno-weak

2016-01-09 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69113 Marek Polacek changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug ada/67086] [5/6 regression] RE_Not_Available error when building ghdl-0.32

2016-01-09 Thread vicencb at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67086 --- Comment #3 from vicencb at gmail dot com --- Hello, If this obsolete No_Run_Time pragma makes the compiler to fail and ask the user to report a bug against GCC, then I would suggest completely deprecating it by disallowing it. In my opinion,

[Bug ada/67086] [5/6 regression] RE_Not_Available error when building ghdl-0.32

2016-01-09 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67086 --- Comment #4 from Jakub Jelinek --- Bet diagnosic this is fine and correct, but it shouldn't cause an ICE, but fatal_error.

[Bug sanitizer/69204] ThreadSanitizer: False positive on std::promise usage

2016-01-09 Thread dvyukov at google dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69204 Dmitry Vyukov changed: What|Removed |Added CC||dvyukov at google dot com --- Comment

[Bug target/67462] [6 Regression] FAIL: gcc.dg/ifcvt-3.c scan-rtl-dump ce1 "3 true changes made"

2016-01-09 Thread bernds at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67462 --- Comment #6 from Bernd Schmidt --- That does look dodgy. It's also really old, from when rtx_cost was part of cse.c. Kenner added it along with many other changes in r754 in 1992. See what happens to codegen if you just strip SUBREGs before

[Bug c/69197] Can't compile older

2016-01-09 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69197 Eric Botcazou changed: What|Removed |Added CC||ebotcazou at gcc dot gnu.org ---

[Bug middle-end/68832] FAIL: gcc.c-torture/execute/alias-2.c -O1 execution test

2016-01-09 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68832 Andrew Pinski changed: What|Removed |Added CC||pinskia at gcc dot gnu.org --- Comment

[Bug rtl-optimization/69206] testsuite/gcc.c-torture/execute/alias-2.c fails on aarch64-linux-gnu at -O1 and above

2016-01-09 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69206 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c/69192] valgrind trunk build fail in predict_loops

2016-01-09 Thread dcb314 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69192 David Binderman changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/67462] [6 Regression] FAIL: gcc.dg/ifcvt-3.c scan-rtl-dump ce1 "3 true changes made"

2016-01-09 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67462 Jakub Jelinek changed: What|Removed |Added CC||bernds at gcc dot gnu.org,

[Bug tree-optimization/69196] code size regression with jump threading at -O2

2016-01-09 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69196 Eric Botcazou changed: What|Removed |Added Target|sparc | Status|UNCONFIRMED

[Bug tree-optimization/69207] [6 Regression] gcc.target/aarch64/vldN_1.c ICEs at -O3

2016-01-09 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69207 --- Comment #3 from Andrew Pinski --- Also it was passing here: https://gcc.gnu.org/ml/gcc-testresults/2016-01/msg00584.html

[Bug tree-optimization/69207] [6 Regression] gcc.target/aarch64/vldN_1.c ICEs at -O3

2016-01-09 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69207 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c/69202] semicolon at end of expression statement

2016-01-09 Thread timeraider at gmx dot at
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69202 --- Comment #3 from timeraider at gmx dot at --- Thank you for the clarification. There is something new to learn in C/C++ programming every day ;-).

[Bug target/69129] [6 Regression] ICE in get_attr_got, at config/mips/mips.md:694 on mips-linux-gnu

2016-01-09 Thread doko at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69129 --- Comment #3 from Matthias Klose --- still seen with r232188

[Bug c++/69210] New: False positives from -Wsuggest-final-types/methods

2016-01-09 Thread lloyd at randombit dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69210 Bug ID: 69210 Summary: False positives from -Wsuggest-final-types/methods Product: gcc Version: 5.3.0 Status: UNCONFIRMED Severity: enhancement Priority: P3

[Bug tree-optimization/69209] [6 Regression] ICE at -Os and above on x86_64-linux-gnu (verify_gimple failed)

2016-01-09 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69209 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug middle-end/68743] [6 Regression] FAIL: gfortran.dg/aint_anint_1.f90 -O0 execution test

2016-01-09 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68743 --- Comment #27 from John David Anglin --- Author: danglin Date: Sat Jan 9 18:13:44 2016 New Revision: 232191 URL: https://gcc.gnu.org/viewcvs?rev=232191=gcc=rev Log: PR middle-end/68743 * match.pd: Require target has

[Bug middle-end/68743] [6 Regression] FAIL: gfortran.dg/aint_anint_1.f90 -O0 execution test

2016-01-09 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68743 John David Anglin changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug middle-end/69211] New: g++ ICE on x86_64-linux-gnu (verify_gimple failed)

2016-01-09 Thread helloqirun at gmail dot com
--enable-multilib Thread model: posix gcc version 6.0.0 20160109 (experimental) [trunk revision 232190] (GCC) $ g++-trunk -c abc.cc abc.cc: In function ?void fn1()?: abc.cc:2:6: error: type mismatch in binary expression void fn1() { (a & 5UL | (b = 4, 4L)) > 4; } ^~~ long unsigned in

[Bug tree-optimization/69212] New: g++ ICE (segfault) at -O3 on x86_64-linux-gnu in fsm_find_control_statement_thread_paths

2016-01-09 Thread helloqirun at gmail dot com
--enable-languages=c,c++ --disable-werror --enable-multilib Thread model: posix gcc version 6.0.0 20160109 (experimental) [trunk revision 232190] (GCC) $ g++-trunk -c -O3 abc.cc abc.cc: In function ?void fn2(int)?: abc.cc:10:19: error: unknown register name ?? in ?asm? asm

[Bug tree-optimization/69209] New: ICE at -Os and above on x86_64-linux-gnu (verify_gimple failed)

2016-01-09 Thread su at cs dot ucdavis.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69209 Bug ID: 69209 Summary: ICE at -Os and above on x86_64-linux-gnu (verify_gimple failed) Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal

[Bug c++/69211] [6 Regression] g++ ICE on x86_64-linux-gnu (verify_gimple failed)

2016-01-09 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69211 Andrew Pinski changed: What|Removed |Added Keywords||ice-on-valid-code

[Bug middle-end/69212] [6 Regresion] g++ ICE (segfault) at -O3 on x86_64-linux-gnu in fsm_find_control_statement_thread_paths

2016-01-09 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69212 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |6.0 Summary|g++ ICE

[Bug middle-end/69212] [6 Regresion] g++ ICE (segfault) at -O3 on x86_64-linux-gnu in fsm_find_control_statement_thread_paths

2016-01-09 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69212 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug tree-optimization/69213] g++ ICE (segfault) at -O1 and above on x86_64-linux-gnu in "add_dependency"

2016-01-09 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69213 Andrew Pinski changed: What|Removed |Added Keywords||error-recovery, |

[Bug tree-optimization/69214] New: ICE (segfault) at -Os on x86_64-linux-gnu in "fail_abnormal_edge_coalesce"

2016-01-09 Thread helloqirun at gmail dot com
--disable-werror --enable-multilib Thread model: posix gcc version 6.0.0 20160109 (experimental) [trunk revision 232190] (GCC) $ gcc-trunk -c -Os abc.c Unable to coalesce ssa_names 2 and 17 which are marked as MUST COALESCE. d_2(ab) and d_17(ab) abc.c: In function 'foo': abc.c:8:6: interna

[Bug tree-optimization/69213] New: g++ ICE (segfault) at -O1 and above on x86_64-linux-gnu in "add_dependency"

2016-01-09 Thread helloqirun at gmail dot com
k/root-gcc --enable-languages=c,c++ --disable-werror --enable-multilib Thread model: posix gcc version 6.0.0 20160109 (experimental) [trunk revision 232190] (GCC) $ g++-trunk -c -O3 abc.c abc.c: In function ?void fn1()?: abc.c:2:40: error: invalid 'asm': operand number out of range void fn1() { __asm_

[Bug target/69179] undocumented darwin attributes "apple_kext_compatibility" and "weak_import"

2016-01-09 Thread howarth.at.gcc at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69179 --- Comment #1 from Jack Howarth --- Note that weak_import was added by Geoffrey Keating in... https://gcc.gnu.org/ml/gcc-patches/2004-10/msg02441.html and tweaked in... https://gcc.gnu.org/ml/gcc-patches/2005-01/msg00146.html The last time

[Bug tree-optimization/69214] ICE (segfault) at -Os on x86_64-linux-gnu in "fail_abnormal_edge_coalesce"

2016-01-09 Thread helloqirun at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69214 --- Comment #1 from Qirun Zhang --- Here is a smaller case: long a; extern int fun1(); extern void fun2(); extern void setjmp(); void foo() { int d = 0; fun2(); setjmp(); a = d; d = 8; !a && fun1(); }

[Bug tree-optimization/69214] ICE (segfault) at -Os on x86_64-linux-gnu in "fail_abnormal_edge_coalesce"

2016-01-09 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69214 Andrew Pinski changed: What|Removed |Added Keywords||ice-on-valid-code Depends on|

[Bug c++/69215] New: Improve diagnostic for 'for(i : v)'

2016-01-09 Thread rs2740 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69215 Bug ID: 69215 Summary: Improve diagnostic for 'for(i : v)' Product: gcc Version: 6.0 Status: UNCONFIRMED Keywords: diagnostic Severity: enhancement Priority:

[Bug rtl-optimization/69206] New: testsuite/gcc.c-torture/execute/alias-2.c fails on aarch64-linux-gnu at -O1 and above

2016-01-09 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69206 Bug ID: 69206 Summary: testsuite/gcc.c-torture/execute/alias-2.c fails on aarch64-linux-gnu at -O1 and above Product: gcc Version: 6.0 Status: UNCONFIRMED

[Bug rtl-optimization/69206] testsuite/gcc.c-torture/execute/alias-2.c fails on aarch64-linux-gnu at -O1 and above

2016-01-09 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69206 Andrew Pinski changed: What|Removed |Added Keywords||wrong-code Target|

[Bug target/67462] [6 Regression] FAIL: gcc.dg/ifcvt-3.c scan-rtl-dump ce1 "3 true changes made"

2016-01-09 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67462 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #4

[Bug tree-optimization/69207] [6 Regression] gcc.target/aarch64/vldN_1.c ICEs at -O3

2016-01-09 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69207 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |6.0

[Bug tree-optimization/69207] New: [6 Regression] gcc.target/aarch64/vldN_1.c ICEs at -O3

2016-01-09 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69207 Bug ID: 69207 Summary: [6 Regression] gcc.target/aarch64/vldN_1.c ICEs at -O3 Product: gcc Version: 6.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal

[Bug fortran/68829] [4.9/5/6 Regression] Segfaults with -Ofast due to large array on stack

2016-01-09 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68829 Jakub Jelinek changed: What|Removed |Added Priority|P3 |P4 CC|

[Bug tree-optimization/67755] [5/6 Regression] Bad edge probability/block freqency for tree jump threading

2016-01-09 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67755 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #5

[Bug target/69051] Misaligned read from the stack when using odd sized character array

2016-01-09 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69051 Jeffrey A. Law changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug tree-optimization/69166] [6 Regression] ICE in get_initial_def_for_reduction, at tree-vect-loop.c:4188

2016-01-09 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69166 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #4

[Bug tree-optimization/67755] [5/6 Regression] Bad edge probability/block freqency for tree jump threading

2016-01-09 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67755 --- Comment #6 from Jeffrey A. Law --- I'm still poking at it.

[Bug debug/69073] internal compiler error: in maybe_record_trace_start

2016-01-09 Thread ysato at users dot sourceforge.jp
20160109 (experimental) (GCC) COLLECT_GCC_OPTIONS='-v' '-B' './gcc' '-Os' '-g' '-ffixed-r13' '-c' ./gcc/cc1 -quiet -v -iprefix /home/ysato/dev/gcc/rx/gcc/../lib/gcc/rx-elf/6.0.0/ -isystem ./gcc/include -isystem ./gcc/include-fixed ../../../nfs.c -quiet -dumpbase nfs.c -auxbase nfs -g -Os -version

[Bug fortran/69155] [6 Regression] ICE (segfault in gimple_stmt_nonnegative_warnv_p)

2016-01-09 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69155 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #3

[Bug c++/69208] New: &*this should not be const-qualified

2016-01-09 Thread rs2740 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69208 Bug ID: 69208 Summary: &*this should not be const-qualified Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug fortran/69155] [6 Regression] ICE (segfault in gimple_stmt_nonnegative_warnv_p)

2016-01-09 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69155 --- Comment #4 from Jakub Jelinek --- (In reply to Richard Biener from comment #2) > I think we have a dup/related bug where we run into the issue that > tree-complex.c > wrecks SSA form during its rewrite. That is indeed what happens, but what

[Bug libstdc++/69191] Wrong equality comparison between error_code and error_condition + segfault

2016-01-09 Thread eyenseo at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69191 --- Comment #11 from eyenseo at gmail dot com --- (In reply to Jonathan Wakely from comment #10) > Use ldd to see which library is used at runtime. See what file that symlink > points to. Compare with the version numbers of the releases. > > GCC

[Bug ada/67086] [5/6 regression] RE_Not_Available error when building ghdl-0.32

2016-01-09 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67086 Eric Botcazou changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/69215] Improve diagnostic for 'for(i : v)'

2016-01-09 Thread graham.stott at btinternet dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69215 --- Comment #1 from graham.stott at btinternet dot com --- Ok thats quick only 1 hour plus 2 hour car airport. I been by train long time sleep on train in bed and by bus both 12 hrs if I recall correctly. Might be home now. 