[Bug c/60090] New: For expression without ~, gcc -O1 emits "comparison of promoted ~unsigned with unsigned"

2014-02-06 Thread chengniansun at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60090 Bug ID: 60090 Summary: For expression without ~, gcc -O1 emits "comparison of promoted ~unsigned with unsigned" Product: gcc Version: 4.9.0 Status: UNCONFIRMED S

[Bug ipa/59469] [4.8/4.9 Regression] LLVM build failure with gcc LTO

2014-02-06 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59469 --- Comment #45 from Jan Hubicka --- The bug here is that lto-cgraph.c still checks DECL_COMDAT as a condition if symbol is duplicated or partitioned. We really need to get the logic into lto-cgraph.c and use same test at both places... Will do t

[Bug fortran/60091] New: Misleading error messages in rank-2 pointer assignment to rank-1 target

2014-02-06 Thread loximann at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60091 Bug ID: 60091 Summary: Misleading error messages in rank-2 pointer assignment to rank-1 target Product: gcc Version: 4.9.0 Status: UNCONFIRMED Severity: minor

[Bug c/60090] For expression without ~, gcc -O1 emits "comparison of promoted ~unsigned with unsigned"

2014-02-06 Thread mpolacek at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60090 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug rtl-optimization/60086] suboptimal asm generated for a loop (store/load false aliasing)

2014-02-06 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60086 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c/60090] For expression without ~, gcc -O1 emits "comparison of promoted ~unsigned with unsigned"

2014-02-06 Thread mpolacek at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60090 --- Comment #2 from Marek Polacek --- C++ folds while parsing and here for both -O0 -O we get y.c: In function ‘int fn1(unsigned char, unsigned char)’: y.c:3:18: warning: comparison of promoted ~unsigned with unsigned [-Wsign-compare] return (

[Bug c/60090] For expression without ~, gcc -O1 emits "comparison of promoted ~unsigned with unsigned"

2014-02-06 Thread chengniansun at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60090 --- Comment #3 from Chengnian Sun --- Thanks, Marek. May I ask another question on the Gcc optimizations and warnings? Is there a policy that the warnings should be independent of the optimization levels? That is, for all optimization levels, Gc

[Bug middle-end/60013] [4.9 Regression] Build of 176.gcc from CPU2000 loops in cc1 starting with r207231

2014-02-06 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60013 Jakub Jelinek changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/27557] OpenMP threadprivate directive does not work with non-POD types

2014-02-06 Thread siddhesh at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27557 --- Comment #14 from Siddhesh Poyarekar --- I spoke to Jason last week and have now confirmed that the first fragment indeed works correctly with 4.8. Declaring a variable threadprivate *after* it is defined is not yet supported, but it should no

[Bug target/60077] [4.9 regression] gcc.target/i386/pr35767-5.c FAILs

2014-02-06 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60077 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #2 f

[Bug ada/60078] acats c761007 fails on ARM

2014-02-06 Thread bernd.edlinger at hotmail dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60078 --- Comment #6 from Bernd Edlinger --- Eric, could it be that the Finalize procedure is missing some sort of spin lock? ed@w-ed:~/gnu/gcc-build/gcc/testsuite/ada/acats/tests/c7/c761007$ cat c761007_0.adb -- -- -- -- -- -- -- -- -- -- -- -- --

[Bug rtl-optimization/60086] suboptimal asm generated for a loop (store/load false aliasing)

2014-02-06 Thread marcin.krotkiewski at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60086 --- Comment #2 from Marcin Krotkiewski --- Jakub, thank you for your comments. > GCC right now only handles __restrict on function parameters, so in this > case the aliasing info isn't known. While the loop is versioned for > aliasing at runtime

[Bug c/60090] For expression without ~, gcc -O1 emits "comparison of promoted ~unsigned with unsigned"

2014-02-06 Thread mpolacek at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60090 --- Comment #4 from Marek Polacek --- I believe we strive for the warnings be independent of the optimization level, but it's not always possible, we have tons of bugs where -Wuninitialized depends on the optimization level, sometimes -Warray-boun

[Bug rtl-optimization/60086] suboptimal asm generated for a loop (store/load false aliasing)

2014-02-06 Thread mpolacek at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60086 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org --- Comment #

[Bug middle-end/60089] Complex arithmetic instructions

2014-02-06 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60089 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug rtl-optimization/60086] suboptimal asm generated for a loop (store/load false aliasing)

2014-02-06 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60086 --- Comment #4 from Richard Biener --- As of posix_memalign the issue is not so much that of alias analysis (we could handle it but we don't have a builtin right now) but that of alignment analysis which doesn't implement alignment tracking of poi

[Bug middle-end/60092] New: posix_memalign not recognized to derive alias and alignment info

2014-02-06 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60092 Bug ID: 60092 Summary: posix_memalign not recognized to derive alias and alignment info Product: gcc Version: 4.9.0 Status: UNCONFIRMED Keywords: alias, missed-o

[Bug middle-end/60092] posix_memalign not recognized to derive alias and alignment info

2014-02-06 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60092 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug rtl-optimization/59999] [4.9 Regression] Sign extension in loop regression blocks generation of zero overhead loop

2014-02-06 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=5 --- Comment #12 from Richard Biener --- (In reply to Paulo J. Matos from comment #10) > (In reply to Paulo J. Matos from comment #8) > > > > Made a mistake. With the attached test, the final gimple before expand for > > the loop basic block is: >

[Bug middle-end/60092] posix_memalign not recognized to derive alias and alignment info

2014-02-06 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60092 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #2 f

[Bug middle-end/60093] New: ICE on testsuite/c-c++-common/ubsan/overflow-*.c

2014-02-06 Thread bernd.edlinger at hotmail dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60093 Bug ID: 60093 Summary: ICE on testsuite/c-c++-common/ubsan/overflow-*.c Product: gcc Version: 4.9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: m

[Bug middle-end/60089] Complex arithmetic instructions

2014-02-06 Thread ubizjak at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60089 Uroš Bizjak changed: What|Removed |Added CC||ubizjak at gmail dot com --- Comment #2 fro

[Bug middle-end/60093] ICE on testsuite/c-c++-common/ubsan/overflow-*.c

2014-02-06 Thread bernd.edlinger at hotmail dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60093 Bernd Edlinger changed: What|Removed |Added Target||armv7l-unknown-linux-gnueab

[Bug middle-end/59150] [4.9 Regression] ICE: in expand_one_var, at cfgexpand.c:1242 with -fopenmp

2014-02-06 Thread sebastian.hu...@embedded-brains.de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59150 --- Comment #7 from Sebastian Huber --- Your patch fixed the problem on arm-rtems: http://gcc.gnu.org/ml/gcc-testresults/2014-02/msg00303.html

[Bug target/60077] [4.9 regression] gcc.target/i386/pr35767-5.c FAILs

2014-02-06 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60077 Jakub Jelinek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned at

[Bug target/60094] New: gcc.target/arm/ftest-armv7em-thumb.c fails

2014-02-06 Thread bernd.edlinger at hotmail dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60094 Bug ID: 60094 Summary: gcc.target/arm/ftest-armv7em-thumb.c fails Product: gcc Version: 4.9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target

[Bug target/60094] gcc.target/arm/ftest-armv7em-thumb.c fails

2014-02-06 Thread bernd.edlinger at hotmail dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60094 Bernd Edlinger changed: What|Removed |Added Target||armv7l-unknown-linux-gnueab

[Bug target/60062] [4.7/4.9 Regression] wrong code (for code with the optimize attribute) at -O1 and above on x86_64-linux-gnu in 32-bit mode

2014-02-06 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60062 --- Comment #6 from Jakub Jelinek --- Author: jakub Date: Thu Feb 6 10:54:20 2014 New Revision: 207549 URL: http://gcc.gnu.org/viewcvs?rev=207549&root=gcc&view=rev Log: PR target/60062 * tree.h (opts_for_fn): New inline function. (op

[Bug middle-end/59150] [4.9 Regression] ICE: in expand_one_var, at cfgexpand.c:1242 with -fopenmp

2014-02-06 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59150 --- Comment #8 from Jakub Jelinek --- Author: jakub Date: Thu Feb 6 10:59:30 2014 New Revision: 207551 URL: http://gcc.gnu.org/viewcvs?rev=207551&root=gcc&view=rev Log: PR middle-end/59150 * tree-vect-data-refs.c (vect_analyze_data_refs)

[Bug middle-end/60089] Complex arithmetic instructions

2014-02-06 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60089 --- Comment #3 from Marc Glisse --- (In reply to Richard Biener from comment #1) > You'd need to disable complex lowering at the GIMPLE level and see what > support is missing from RTL expansion for example. > > For the disabling I'd suggest addi

[Bug target/60088] Segfault when using quad precision and -march=native on gfortran

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

[Bug rtl-optimization/59999] [4.9 Regression] Sign extension in loop regression blocks generation of zero overhead loop

2014-02-06 Thread pa...@matos-sorge.com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=5 --- Comment #13 from Paulo J. Matos --- (In reply to Richard Biener from comment #12) > > Note that {1, +, 1}_1 is unsigned. The issue is that while i is short > i++ is really i = (short)((int) i + 1) and thus only the operation in > type 'int'

[Bug target/60094] gcc.target/arm/ftest-armv7em-thumb.c fails

2014-02-06 Thread ktkachov at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60094 ktkachov at gcc dot gnu.org changed: What|Removed |Added CC||ktkachov at gcc dot gnu.org

[Bug rtl-optimization/59999] [4.9 Regression] Sign extension in loop regression blocks generation of zero overhead loop

2014-02-06 Thread pa...@matos-sorge.com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=5 --- Comment #14 from Paulo J. Matos --- Something like this which looks much simpler hits the same problem: extern int arr[]; void foo32 (int limit) { short i; for (i = 0; (int)i < limit; i++) arr[i] += 1; }

[Bug middle-end/60092] posix_memalign not recognized to derive alias and alignment info

2014-02-06 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60092 --- Comment #3 from Richard Biener --- Created attachment 32064 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=32064&action=edit part #1, aliasing I've implemented the aliasing parts (and the builtin obviously). It's true that doing posi

[Bug ada/60078] acats c761007 fails on ARM

2014-02-06 Thread ebotcazou at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60078 --- Comment #7 from Eric Botcazou --- > could it be that the Finalize procedure is missing some sort of spin lock? There are already explicit delays in the test, so very likely not.

[Bug rtl-optimization/59999] [4.9 Regression] Sign extension in loop regression blocks generation of zero overhead loop

2014-02-06 Thread rguenther at suse dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=5 --- Comment #15 from rguenther at suse dot de --- On Thu, 6 Feb 2014, pa...@matos-sorge.com wrote: > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=5 > > --- Comment #14 from Paulo J. Matos --- > Something like this which looks much simpler hi

[Bug target/60094] gcc.target/arm/ftest-armv7em-thumb.c fails

2014-02-06 Thread bernd.edlinger at hotmail dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60094 --- Comment #3 from Bernd Edlinger --- trunk revision 207409 Well, in this case, I'll repeat this test next week.(In reply to ktkachov from comment #2) > Bernd, which revision is this? > I thought this would have been fixed with r207418 trunk re

[Bug middle-end/60080] gcc.dg/vect/vect-nop-move.c FAILs

2014-02-06 Thread bernd.edlinger at hotmail dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60080 Bernd Edlinger changed: What|Removed |Added CC||bernd.edlinger at hotmail dot de --- Co

[Bug c++/60095] New: Dubious diagnostics for attempted surrogate call function

2014-02-06 Thread lucdanton at free dot fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60095 Bug ID: 60095 Summary: Dubious diagnostics for attempted surrogate call function Product: gcc Version: 4.9.0 Status: UNCONFIRMED Severity: normal Prior

[Bug ada/60078] acats c761007 fails on ARM

2014-02-06 Thread bernd.edlinger at hotmail dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60078 --- Comment #8 from Bernd Edlinger --- (In reply to Eric Botcazou from comment #7) > > could it be that the Finalize procedure is missing some sort of spin lock? > > There are already explicit delays in the test, so very likely not. I added the

[Bug rtl-optimization/59999] [4.9 Regression] Sign extension in loop regression blocks generation of zero overhead loop

2014-02-06 Thread pa...@matos-sorge.com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=5 --- Comment #16 from Paulo J. Matos --- (In reply to rguent...@suse.de from comment #15) > Exactly the same problem. C integral type promotion rules make > that i = (short)((int)i + 1) again. Note that (int)i + 1 > does not overflow, (short) ((i

[Bug middle-end/60092] posix_memalign not recognized to derive alias and alignment info

2014-02-06 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60092 --- Comment #4 from Marc Glisse --- Hack: when the return value of posix_memalign is ignored, if the platform supports it, replace with a call to aligned_alloc (C11), which has an easier interface.

[Bug c/60090] For expression without ~, gcc -O1 emits "comparison of promoted ~unsigned with unsigned"

2014-02-06 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60090 Manuel López-Ibáñez changed: What|Removed |Added CC||manu at gcc dot gnu.org --- Comment

[Bug ada/60078] acats c761007 fails on ARM

2014-02-06 Thread bernd.edlinger at hotmail dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60078 --- Comment #9 from Bernd Edlinger --- Created attachment 32065 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=32065&action=edit possible fix well, I don't know if the Finalize method are supposed to be called in a sequential manner, which G

[Bug c/59984] OpenMP and Cilk Plus SIMD pragma makes loop incorrect

2014-02-06 Thread izamyatin at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59984 --- Comment #3 from Igor Zamyatin --- Vectorizer dump snippet for main: foo.simdclone.0 (vect__12.7_3, vect_cst_.8_53, vect_cst_.8_53, vect_cst_.9_51, vect_cst_.9_51); GIMPLE_NOP vect_v1.12_37 = MEM[(int *)vectp_v1.10_39]; (1) v1.0_14 =

[Bug c/60090] For expression without ~, gcc -O1 emits "comparison of promoted ~unsigned with unsigned"

2014-02-06 Thread mpolacek at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60090 --- Comment #6 from Marek Polacek --- (In reply to Manuel López-Ibáñez from comment #5) > http://gcc.gnu.org/ml/gcc/2013-11/msg00253.html Exactly. I hope I can tackle at least a part of it in next stage 1. > In those cases where folding helps t

[Bug rtl-optimization/59999] [4.9 Regression] Sign extension in loop regression blocks generation of zero overhead loop

2014-02-06 Thread pa...@matos-sorge.com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=5 --- Comment #17 from Paulo J. Matos --- (In reply to rguent...@suse.de from comment #15) > On Thu, 6 Feb 2014, pa...@matos-sorge.com wrote: > > > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=5 > > > > --- Comment #14 from Paulo J. Matos ---

[Bug middle-end/60092] posix_memalign not recognized to derive alias and alignment info

2014-02-06 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60092 --- Comment #5 from Richard Biener --- Created attachment 32066 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=32066&action=edit part #2, C11 aligned_alloc It was noted that aligned_alloc is standard enough to be supported (and with nicer in

[Bug middle-end/60092] posix_memalign not recognized to derive alias and alignment info

2014-02-06 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60092 --- Comment #6 from Jakub Jelinek --- (In reply to Marc Glisse from comment #4) > Hack: when the return value of posix_memalign is ignored, if the platform > supports it, replace with a call to aligned_alloc (C11), which has an easier > interface.

[Bug rtl-optimization/59999] [4.9 Regression] Sign extension in loop regression blocks generation of zero overhead loop

2014-02-06 Thread rguenther at suse dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=5 --- Comment #18 from rguenther at suse dot de --- On Thu, 6 Feb 2014, pa...@matos-sorge.com wrote: > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=5 > > --- Comment #17 from Paulo J. Matos --- > (In reply to rguent...@suse.de from comment #15

[Bug middle-end/60092] posix_memalign not recognized to derive alias and alignment info

2014-02-06 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60092 --- Comment #7 from Richard Biener --- (In reply to Jakub Jelinek from comment #6) > (In reply to Marc Glisse from comment #4) > > Hack: when the return value of posix_memalign is ignored, if the platform > > supports it, replace with a call to al

[Bug rtl-optimization/59999] [4.9 Regression] Sign extension in loop regression blocks generation of zero overhead loop

2014-02-06 Thread rguenther at suse dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=5 --- Comment #19 from rguenther at suse dot de --- On Thu, 6 Feb 2014, pa...@matos-sorge.com wrote: > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=5 > > --- Comment #16 from Paulo J. Matos --- > (In reply to rguent...@suse.de from comment #15

Re: [Bug ada/60078] acats c761007 fails on ARM

2014-02-06 Thread Arnaud Charlet
> well, I don't know if the Finalize method are supposed > to be called in a sequential manner, which GNAT does obviously not > guarantee. > But how about this, for a fix? That can't be a fix, only a workaround hiding a potential issue. Your patch is completely changing the semantic and purpose o

[Bug target/60032] [4.9 regression] ICE in reload_cse_simplify_operands, at postreload.c:411

2014-02-06 Thread amodra at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60032 --- Comment #4 from Alan Modra --- Author: amodra Date: Thu Feb 6 13:25:38 2014 New Revision: 207553 URL: http://gcc.gnu.org/viewcvs?rev=207553&root=gcc&view=rev Log: PR target/60032 gcc/ * config/rs6000/rs6000.c (rs6000_secondary_memory

[Bug ada/60078] acats c761007 fails on ARM

2014-02-06 Thread charlet at adacore dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60078 --- Comment #10 from charlet at adacore dot com --- > well, I don't know if the Finalize method are supposed > to be called in a sequential manner, which GNAT does obviously not > guarantee. > But how about this, for a fix? That can't be a fix, o

[Bug c++/60096] New: c++11 lambda reference capture mistake

2014-02-06 Thread feng.w...@uni-ulm.de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60096 Bug ID: 60096 Summary: c++11 lambda reference capture mistake Product: gcc Version: 4.8.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug ada/60078] acats c761007 fails on ARM

2014-02-06 Thread bernd.edlinger at hotmail dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60078 --- Comment #11 from Bernd Edlinger --- (In reply to char...@adacore.com from comment #10) > > well, I don't know if the Finalize method are supposed > > to be called in a sequential manner, which GNAT does obviously not > > guarantee. > > But how

[Bug middle-end/60092] posix_memalign not recognized to derive alias and alignment info

2014-02-06 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60092 --- Comment #8 from Jakub Jelinek --- (In reply to Richard Biener from comment #7) > According to the specification this is wrong. Note that changing errno > is hindering optimization. For example > > int foo (int *p) > { > *p = 1; > malloc

Re: [Bug ada/60078] acats c761007 fails on ARM

2014-02-06 Thread Arnaud Charlet
> What is the test supposed to do? Looks at the top of c761007.a, you'll find answers to this question. > could you explain, why the test fails when the delay is added to the > unmodified test case? Sorry, I'm not following you here, I do not know which delay you would add where (and why). Arno

[Bug ada/60078] acats c761007 fails on ARM

2014-02-06 Thread charlet at adacore dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60078 --- Comment #12 from charlet at adacore dot com --- > What is the test supposed to do? Looks at the top of c761007.a, you'll find answers to this question. > could you explain, why the test fails when the delay is added to the > unmodified test

[Bug c++/60097] New: spurious warning about command line option "-Wno-mismatched-tags"

2014-02-06 Thread dan at math dot uiuc.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60097 Bug ID: 60097 Summary: spurious warning about command line option "-Wno-mismatched-tags" Product: gcc Version: 4.8.2 Status: UNCONFIRMED Severity: minor

[Bug middle-end/60080] gcc.dg/vect/vect-nop-move.c FAILs

2014-02-06 Thread ro at CeBiTec dot Uni-Bielefeld.DE
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60080 --- Comment #2 from ro at CeBiTec dot Uni-Bielefeld.DE --- I just tried the patch on i386-pc-solaris2.10 and the SEGVs are gone. Thanks for the quick fix. Rainer

[Bug c/60087] Incorrect column number for -Wsign-compare

2014-02-06 Thread mpolacek at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60087 --- Comment #2 from Marek Polacek --- Author: mpolacek Date: Thu Feb 6 13:57:37 2014 New Revision: 207554 URL: http://gcc.gnu.org/viewcvs?rev=207554&root=gcc&view=rev Log: PR c/60087 c-family/ * c-common.c (warn_for_sign_compare): Call w

[Bug c/60087] Incorrect column number for -Wsign-compare

2014-02-06 Thread mpolacek at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60087 Marek Polacek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/60096] c++11 lambda reference capture mistake

2014-02-06 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60096 --- Comment #1 from Jonathan Wakely --- This looks invalid to me, you return a closure that holds a dangling reference to a function parameter that has gone out of scope.

[Bug ada/60078] acats c761007 fails on ARM

2014-02-06 Thread bernd.edlinger at hotmail dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60078 --- Comment #13 from Bernd Edlinger --- (In reply to char...@adacore.com from comment #12) > > could you explain, why the test fails when the delay is added to the > > unmodified test case? > > Sorry, I'm not following you here, I do not know whi

[Bug middle-end/60092] posix_memalign not recognized to derive alias and alignment info

2014-02-06 Thread rguenther at suse dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60092 --- Comment #9 from rguenther at suse dot de --- On Thu, 6 Feb 2014, jakub at gcc dot gnu.org wrote: > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60092 > > --- Comment #8 from Jakub Jelinek --- > (In reply to Richard Biener from comment #7) >

[Bug middle-end/60092] posix_memalign not recognized to derive alias and alignment info

2014-02-06 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60092 --- Comment #10 from Jakub Jelinek --- (In reply to rguent...@suse.de from comment #9) > Ok, my manpage says > > RETURN VALUE >aligned_alloc(), memalign(), valloc(), and pvalloc() return a > pointer >to the allocated memory, or

[Bug c++/19377] Using declaration in "private" part causes "protected" diagnostic

2014-02-06 Thread abel at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19377 Andrey Belevantsev changed: What|Removed |Added CC||abel at gcc dot gnu.org,

[Bug middle-end/60092] posix_memalign not recognized to derive alias and alignment info

2014-02-06 Thread sch...@linux-m68k.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60092 --- Comment #11 from Andreas Schwab --- If a function is not allowed to change errno this must be explicitly documented.

[Bug middle-end/60092] posix_memalign not recognized to derive alias and alignment info

2014-02-06 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60092 --- Comment #12 from Richard Biener --- (In reply to Andreas Schwab from comment #11) > If a function is not allowed to change errno this must be explicitly > documented. That means Index: gcc/tree-ssa-alias.c ===

[Bug c++/60096] c++11 lambda reference capture mistake

2014-02-06 Thread feng.w...@uni-ulm.de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60096 --- Comment #2 from Feng Wang --- (In reply to Jonathan Wakely from comment #1) > This looks invalid to me, you return a closure that holds a dangling > reference to a function parameter that has gone out of scope. Sorry, my fault. I should have

[Bug middle-end/60092] posix_memalign not recognized to derive alias and alignment info

2014-02-06 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60092 --- Comment #13 from Jakub Jelinek --- (In reply to Richard Biener from comment #12) > (In reply to Andreas Schwab from comment #11) > > If a function is not allowed to change errno this must be explicitly > > documented. > > That means > > Inde

[Bug middle-end/60092] posix_memalign not recognized to derive alias and alignment info

2014-02-06 Thread rguenther at suse dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60092 --- Comment #14 from rguenther at suse dot de --- On Thu, 6 Feb 2014, jakub at gcc dot gnu.org wrote: > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60092 > > --- Comment #13 from Jakub Jelinek --- > (In reply to Richard Biener from comment #12)

[Bug c++/60096] c++11 lambda reference capture mistake

2014-02-06 Thread feng.w...@uni-ulm.de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60096 Feng Wang changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug tree-optimization/60098] DSE fails to DSE errno settings

2014-02-06 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60098 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug tree-optimization/60098] New: DSE fails to DSE errno settings

2014-02-06 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60098 Bug ID: 60098 Summary: DSE fails to DSE errno settings Product: gcc Version: 4.9.0 Status: UNCONFIRMED Keywords: missed-optimization Severity: enhancement Priori

[Bug debug/59992] [4.9 Regression] Compilation of insn-recog.c too slow due to var-tracking

2014-02-06 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59992 --- Comment #2 from Jakub Jelinek --- Author: jakub Date: Thu Feb 6 15:47:12 2014 New Revision: 207562 URL: http://gcc.gnu.org/viewcvs?rev=207562&root=gcc&view=rev Log: PR debug/59992 * var-tracking.c (adjust_mems): Before adding a SET

[Bug debug/59575] [4.9 regression] ICE in maybe_record_trace_start, at dwarf2cfi.c:2239

2014-02-06 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59575 --- Comment #32 from Jakub Jelinek --- Author: jakub Date: Thu Feb 6 15:52:17 2014 New Revision: 207563 URL: http://gcc.gnu.org/viewcvs?rev=207563&root=gcc&view=rev Log: PR target/59575 * config/arm/arm.c (emit_multi_reg_push): Add dwarf

[Bug debug/59575] [4.9 regression] ICE in maybe_record_trace_start, at dwarf2cfi.c:2239

2014-02-06 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59575 --- Comment #33 from Jakub Jelinek --- Author: jakub Date: Thu Feb 6 15:52:36 2014 New Revision: 207564 URL: http://gcc.gnu.org/viewcvs?rev=207564&root=gcc&view=rev Log: PR target/59575 * config/arm/arm.c (emit_multi_reg_push): Add dwarf

[Bug debug/59575] [4.9 regression] ICE in maybe_record_trace_start, at dwarf2cfi.c:2239

2014-02-06 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59575 Jakub Jelinek changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug debug/59992] [4.9 Regression] Compilation of insn-recog.c too slow due to var-tracking

2014-02-06 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59992 --- Comment #3 from Jakub Jelinek --- The testcase has been fixed, but unfortunately --enable-checking=yes,rtl insn-recog.c still takes about an hour to var-track.

[Bug target/60032] [4.9 regression] ICE in reload_cse_simplify_operands, at postreload.c:411

2014-02-06 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60032 --- Comment #5 from Jakub Jelinek --- So fixed?

[Bug c/59984] OpenMP and Cilk Plus SIMD pragma makes loop incorrect

2014-02-06 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59984 Jakub Jelinek changed: What|Removed |Added Keywords||openmp CC|

[Bug c++/19377] Using declaration in "private" part causes "protected" diagnostic

2014-02-06 Thread fabien at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19377 --- Comment #10 from fabien at gcc dot gnu.org --- (In reply to Andrey Belevantsev from comment #9) > Another test case of the same issue (both clang and icc compile this fine): It is not the same issue as the protected keyword is not involved. (A

[Bug sanitizer/59585] Tests failing due to trailing newline

2014-02-06 Thread ramana at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59585 Ramana Radhakrishnan changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug target/58784] [ARM] LRA legitimate address issue with misalign neon_store

2014-02-06 Thread ramana at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58784 Ramana Radhakrishnan changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug rtl-optimization/60079] [LRA] ICE when compiling attached case.

2014-02-06 Thread vmakarov at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60079 Vladimir Makarov changed: What|Removed |Added CC||vmakarov at gcc dot gnu.org --- Commen

[Bug target/58699] ARM: emit PLDW instruction for prefetch with write intent

2014-02-06 Thread ramana at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58699 Ramana Radhakrishnan changed: What|Removed |Added Keywords||missed-optimization St

[Bug middle-end/60089] Complex arithmetic instructions

2014-02-06 Thread joseph at codesourcery dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60089 --- Comment #4 from joseph at codesourcery dot com --- Is the complex multiplication instruction C99 Annex G-conforming, or could it only be used for -fcx-limited-range?

[Bug sanitizer/59585] Tests failing due to trailing newline

2014-02-06 Thread tetra2005 at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59585 --- Comment #4 from Yuri Gribov --- Yup, thanks.

[Bug middle-end/59776] [4.8/4.9 Regression] gcc -g -O1 ICE in expand_debug_locations, at cfgexpand.c:3865

2014-02-06 Thread mpolacek at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59776 Marek Polacek changed: What|Removed |Added Priority|P2 |P1 Version|4.8.2

[Bug other/60099] New: internal compiler error: Segmentation fault

2014-02-06 Thread nheghathivhistha at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60099 Bug ID: 60099 Summary: internal compiler error: Segmentation fault Product: gcc Version: 4.9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: other

[Bug other/60099] internal compiler error: Segmentation fault

2014-02-06 Thread nheghathivhistha at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60099 --- Comment #1 from David Kredba --- I am sorry, revision 207472.

[Bug ipa/59469] [4.8/4.9 Regression] LLVM build failure with gcc LTO

2014-02-06 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59469 --- Comment #46 from Jan Hubicka --- Created attachment 32067 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=32067&action=edit Path I am testing Hi, this is patch I am testing. It synchronizes the logic in lto-cgraph.c and ipa-partition.c It

[Bug other/60099] internal compiler error: Segmentation fault

2014-02-06 Thread mpolacek at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60099 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org --- Comment #

[Bug target/58785] [ARM] LRA issue in Thumb mode with movhi

2014-02-06 Thread ramana at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58785 Ramana Radhakrishnan changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug target/58847] ARM: emit NEON alignment hints for 32/16-bit accesses

2014-02-06 Thread ramana at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58847 Ramana Radhakrishnan changed: What|Removed |Added Keywords||missed-optimization St

[Bug other/60099] internal compiler error: Segmentation fault

2014-02-06 Thread nheghathivhistha at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60099 --- Comment #3 from David Kredba --- Here it shows line number too. ./testcase.i:62:1: internal compiler error Going to attach original ii file. In check.sh I used in addition -I and -include that I deleted from the command before sending here,

  1   2   >