[Bug debug/67192] Backward-goto in loop can get wrong line number

2015-09-23 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67192 Manuel López-Ibáñez changed: What|Removed |Added CC||jsm28 at gcc dot gnu.org,

[Bug middle-end/67649] trunk build with valgrind fail in get_def_blocks_for

2015-09-23 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67649 Markus Trippelsdorf changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/67686] [concepts] segfault in finish_call_expr function

2015-09-23 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67686 Markus Trippelsdorf changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug tree-optimization/67681] Missed vectorization: induction variable used after loop

2015-09-23 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67681 --- Comment #1 from Richard Biener --- The outer loop also has multiple exits. The testcase is incomplete (FOO is undefined).

[Bug tree-optimization/67682] Missed vectorization: (another) straight-line memcpy/memset not vectorized when equivalent loop is

2015-09-23 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67682 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug tree-optimization/67683] Missed vectorization: shifts of an induction variable

2015-09-23 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67683 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug rtl-optimization/67689] [6 Regression] wrong code at -O1, -O2 and -O3 on x86_64-linux-gnu

2015-09-23 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67689 Richard Biener changed: What|Removed |Added Keywords||wrong-code Status|UNCONFIRM

[Bug rtl-optimization/67689] [6 Regression] wrong code at -O1, -O2 and -O3 on x86_64-linux-gnu

2015-09-23 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67689 ktkachov at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED CC

[Bug rtl-optimization/67456] [6 Regression] wrong code at -O2 and -O3 on x86_64-linux-gnu

2015-09-23 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67456 --- Comment #4 from ktkachov at gcc dot gnu.org --- *** Bug 67689 has been marked as a duplicate of this bug. ***

[Bug target/67391] [SH] Convert clrt addc to normal add insn

2015-09-23 Thread kkojima at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67391 --- Comment #6 from Kazumoto Kojima --- (In reply to Kazumoto Kojima from comment #5) > Yes, this is clearly a 5/6 regression. My test has passed C and C++ part > with no new failures. I'll report back when test completed. Test completed with

[Bug target/67143] [5/6 Regression] ICE (could not split insn) on aarch64-linux-gnu

2015-09-23 Thread mwahab at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67143 --- Comment #5 from mwahab at gcc dot gnu.org --- Author: mwahab Date: Wed Sep 23 09:48:16 2015 New Revision: 228037 URL: https://gcc.gnu.org/viewcvs?rev=228037&root=gcc&view=rev Log: [Aarch64][target/PR 67143][5.2] Backport correct constraints f

[Bug libstdc++/55815] switch hash function of libstdc++ hash tables to siphash

2015-09-23 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55815 --- Comment #7 from Jonathan Wakely --- (In reply to felix-glibc from comment #5) > I mean seriously, you argue performance for a security measure? > Does Google turn off stack cookies in production? ACL checks? > All this password checking is ma

[Bug rtl-optimization/66790] Invalid uninitialized register handling in REE

2015-09-23 Thread derodat at adacore dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66790 --- Comment #32 from Pierre-Marie de Rodat --- (In reply to Bernd Schmidt from comment #28) > It is sufficient for OUT(3) to be all-zeros. And I don't think the > LAST_CHANGE_AGE mechanism does anything to prevent it. Please try it > out. I think

[Bug rtl-optimization/66790] Invalid uninitialized register handling in REE

2015-09-23 Thread derodat at adacore dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66790 Pierre-Marie de Rodat changed: What|Removed |Added Attachment #36098|0 |1 is obsolete|

[Bug rtl-optimization/66790] Invalid uninitialized register handling in REE

2015-09-23 Thread derodat at adacore dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66790 --- Comment #34 from Pierre-Marie de Rodat --- Created attachment 36378 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36378&action=edit Fix for DF_LIVE local BB information

[Bug target/67391] [SH] Convert clrt addc to normal add insn

2015-09-23 Thread olegendo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67391 --- Comment #7 from Oleg Endo --- (In reply to Kazumoto Kojima from comment #6) > Test completed with no new failures on sh4-unknown-linux-gnu. Thanks!

[Bug tree-optimization/67681] Missed vectorization: induction variable used after loop

2015-09-23 Thread alalaw01 at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67681 --- Comment #2 from alalaw01 at gcc dot gnu.org --- Being stupid here, but why does the outer loop having multiple exits matter - it's the inner loop that should be vectorized? FOO was a macro used to selectively make the test i>max disappear (en

[Bug rtl-optimization/66790] Invalid uninitialized register handling in REE

2015-09-23 Thread bonzini at gnu dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66790 --- Comment #35 from Paolo Bonzini --- Comment on attachment 36377 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36377 Updated candidate patch > + This problem determines which registers may be uninitialized. It first > + assumes

[Bug rtl-optimization/66790] Invalid uninitialized register handling in REE

2015-09-23 Thread bernds at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66790 --- Comment #36 from Bernd Schmidt --- This looks better. I still don't quite understand why you're treating MUST_CLOBBER and MAY_CLOBBER defs differently in simulate. It looks like a MUST_CLOBBER produces a bit in gen which I think is not what i

[Bug rtl-optimization/66790] Invalid uninitialized register handling in REE

2015-09-23 Thread bonzini at gnu dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66790 --- Comment #37 from Paolo Bonzini --- Bernd is right that you have a missing 'else'.

[Bug target/67439] [4.9/5/6 Regression]ICE: unrecognizable insn compiling arm-fp16 testcases with -march=armv7-a and -mrestrict-it

2015-09-23 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67439 --- Comment #8 from ktkachov at gcc dot gnu.org --- Author: ktkachov Date: Wed Sep 23 10:36:48 2015 New Revision: 228039 URL: https://gcc.gnu.org/viewcvs?rev=228039&root=gcc&view=rev Log: [ARM] PR 67439: Allow matching of *arm32_movhf when -mrest

[Bug middle-end/67662] -fsanitize=undefined cries wolf for X - 1 + X when X is 2**30

2015-09-23 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67662 --- Comment #3 from Richard Biener --- Yeah, r122414 fixed the PR30364 issue incompletely, leaving a special-case that still mishandles this case. Testing a patch.

[Bug c/48885] missed optimization with restrict qualifier?

2015-09-23 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48885 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/67693] New: Spurious warning: control reaches end of non-void function [-Wreturn-type]

2015-09-23 Thread larsch at belunktum dot dk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67693 Bug ID: 67693 Summary: Spurious warning: control reaches end of non-void function [-Wreturn-type] Product: gcc Version: 5.2.0 Status: UNCONFIRMED Severity: norm

[Bug target/67391] [SH] Convert clrt addc to normal add insn

2015-09-23 Thread olegendo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67391 --- Comment #8 from Oleg Endo --- Author: olegendo Date: Wed Sep 23 11:55:45 2015 New Revision: 228046 URL: https://gcc.gnu.org/viewcvs?rev=228046&root=gcc&view=rev Log: gcc/ PR target/67391 * config/sh/sh.md (addsi3, *addsi3_com

[Bug target/67391] [SH] Convert clrt addc to normal add insn

2015-09-23 Thread olegendo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67391 --- Comment #9 from Oleg Endo --- Author: olegendo Date: Wed Sep 23 11:57:27 2015 New Revision: 228047 URL: https://gcc.gnu.org/viewcvs?rev=228047&root=gcc&view=rev Log: gcc/ Backport from mainline 2015-09-23 Oleg Endo

[Bug target/67391] [SH] Convert clrt addc to normal add insn

2015-09-23 Thread olegendo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67391 --- Comment #10 from Oleg Endo --- The core issue should be fixed. I'd like to keep this PR open though for a while.

[Bug driver/47785] GCC with -flto does not pass options to the assembler

2015-09-23 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47785 --- Comment #7 from Dominique d'Humieres --- Another instance on x86_64-apple-darwin14 with Xcode 7 [Book15] f90/bug% gcc6 /opt/gcc/_clean/gcc/testsuite/gcc.dg/debug/pr41893-1.c -gstabs1 -Wa,-Q -flto -fwhole-program -O /opt/gcc/_clean/gcc/testsu

[Bug c/48885] missed optimization with restrict qualifier?

2015-09-23 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48885 --- Comment #12 from vries at gcc dot gnu.org --- (In reply to Richard Biener from comment #11) > I'm testing the above simple fix and amend the comment. Consider the example with functions f and g I gave in comment 10. Using the patch from comme

[Bug target/61578] [4.9 regression] Code size increase for ARM thumb compared to 4.8.x when compiling with -Os

2015-09-23 Thread vogt at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61578 --- Comment #29 from Dominik Vogt --- I think I understand what's going on: Consider the patched code in match_reloads(): + = (ins[1] < 0 && REG_P (in_rtx) + && (int) REGNO (in_rtx) < lra_new_regno_start + && find_regno_

[Bug c/48885] missed optimization with restrict qualifier?

2015-09-23 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48885 --- Comment #13 from rguenther at suse dot de --- On Wed, 23 Sep 2015, vries at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48885 > > --- Comment #12 from vries at gcc dot gnu.org --- > (In reply to Richard Biener from

[Bug objc/67694] New: ICE on returning undefined enum in must_pass_in_stack_var_size_or_pad

2015-09-23 Thread miyuki at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67694 Bug ID: 67694 Summary: ICE on returning undefined enum in must_pass_in_stack_var_size_or_pad Product: gcc Version: 6.0 Status: UNCONFIRMED Keywords: ice-on-inva

[Bug c/49655] diagnostic pragma accepts non-warning options

2015-09-23 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49655 --- Comment #2 from Manuel López-Ibáñez --- Author: manu Date: Wed Sep 23 13:07:07 2015 New Revision: 228049 URL: https://gcc.gnu.org/viewcvs?rev=228049&root=gcc&view=rev Log: [c-family/49654/49655] reject invalid options in pragma diagnostic U

[Bug c/49654] Linear search through options in handle_pragma_diagnostic

2015-09-23 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49654 --- Comment #2 from Manuel López-Ibáñez --- Author: manu Date: Wed Sep 23 13:07:07 2015 New Revision: 228049 URL: https://gcc.gnu.org/viewcvs?rev=228049&root=gcc&view=rev Log: [c-family/49654/49655] reject invalid options in pragma diagnostic U

[Bug c/49654] Linear search through options in handle_pragma_diagnostic

2015-09-23 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49654 Manuel López-Ibáñez changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug c/49655] diagnostic pragma accepts non-warning options

2015-09-23 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49655 Manuel López-Ibáñez changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug middle-end/67662] -fsanitize=undefined cries wolf for X - 1 + X when X is 2**30

2015-09-23 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67662 Richard Biener changed: What|Removed |Added Known to work||6.0 --- Comment #4 from Richard Biener

[Bug middle-end/67662] -fsanitize=undefined cries wolf for X - 1 + X when X is 2**30

2015-09-23 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67662 --- Comment #5 from Richard Biener --- Author: rguenth Date: Wed Sep 23 14:09:48 2015 New Revision: 228051 URL: https://gcc.gnu.org/viewcvs?rev=228051&root=gcc&view=rev Log: 2015-09-23 Richard Biener PR middle-end/67662 * fo

[Bug c/48885] missed optimization with restrict qualifier?

2015-09-23 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48885 --- Comment #14 from vries at gcc dot gnu.org --- (In reply to rguent...@suse.de from comment #13) > On Wed, 23 Sep 2015, vries at gcc dot gnu.org wrote: > > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48885 > > > > --- Comment #12 from vries

[Bug boehm-gc/66848] boehm-gc fails test suite on x86_64-apple-darwin15

2015-09-23 Thread howarth.at.gcc at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66848 --- Comment #9 from Jack Howarth --- Note that the earliest upstream boehm-gc release which builds and passes make check on 10.11 is gc-7.2.tar.gz from http://www.hboehm.info/gc/gc_source/. Diffing the current boehm-gc sources in gcc trunk sugges

[Bug go/67695] New: Please improve POSIX shell compatibility of libgo/mksysinfo.sh

2015-09-23 Thread ryo_on at yk dot rim.or.jp
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67695 Bug ID: 67695 Summary: Please improve POSIX shell compatibility of libgo/mksysinfo.sh Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug sanitizer/64888] ubsan doesn't work with openmp

2015-09-23 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64888 --- Comment #2 from Marek Polacek --- Started looking into this. Seems that we should handle specially those artificial ubsan decls such as *.Lubsan_data in omp_default_clause, i.e. treat them as shared? But I hardly know what I'm talking about

[Bug other/67590] libcc1 cannot find objdump when cross build native

2015-09-23 Thread doko at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67590 Matthias Klose changed: What|Removed |Added CC||doko at gcc dot gnu.org --- Comment #1

[Bug tree-optimization/67690] [5/6 Regression] wrong code with -O2 on x86_64/Linux

2015-09-23 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67690 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org Target Mil

[Bug tree-optimization/67690] [5/6 Regression] wrong code with -O2 on x86_64/Linux

2015-09-23 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67690 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c/43651] add warning for duplicate qualifier

2015-09-23 Thread miyuki at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43651 Mikhail Maltsev changed: What|Removed |Added CC||miyuki at gcc dot gnu.org --- Comment

[Bug c/67661] Wrong warning when declare VLAs: operation on 'x' may be undefined [-Wsequence-point]

2015-09-23 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67661 --- Comment #1 from joseph at codesourcery dot com --- You'll need to give a full testcase (complete compilable file and options used to compile it). What you gave isn't a compilable testcase; it gives "error: variably modified 'y' at file sco

[Bug c/43651] add warning for duplicate qualifier

2015-09-23 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43651 --- Comment #7 from Manuel López-Ibáñez --- > Recently I came across such problem in the code base, which I work with. In > that case it was clearly a mistake, because the author meant 'const char > *const data', so it would be nice if GCC could

[Bug c++/63356] Compilation failure where clang does not have problems

2015-09-23 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63356 Manuel López-Ibáñez changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug c++/66590] switch statement: incorrect warning "reaches end of non-void function"

2015-09-23 Thread miyuki at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66590 Mikhail Maltsev changed: What|Removed |Added CC||larsch at belunktum dot dk --- Comment

[Bug c++/67693] Spurious warning: control reaches end of non-void function [-Wreturn-type]

2015-09-23 Thread miyuki at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67693 Mikhail Maltsev changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug target/66609] [sh] Relative address expressions bind at as-time, even if symbol is weak

2015-09-23 Thread bugdal at aerifal dot cx
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66609 --- Comment #9 from Rich Felker --- Indeed, the fdpic patch I forward-ported introduced new duplicates of some of the fragments that were changed in sh.md by the above patch. Once I fixed those, the problem went away. Sorry for the noise.

[Bug c++/67693] Spurious warning: control reaches end of non-void function [-Wreturn-type]

2015-09-23 Thread miyuki at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67693 --- Comment #2 from Mikhail Maltsev --- Though... maybe it's not an exact duplicate, but the problem looks seems very similar. We generate (003t.original): struct foo x; try { switch (n) { case 0:; if

[Bug fortran/67696] New: libbacktrace prints C++ demangled name for Fortran symbol

2015-09-23 Thread Joost.VandeVondele at mat dot ethz.ch
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67696 Bug ID: 67696 Summary: libbacktrace prints C++ demangled name for Fortran symbol Product: gcc Version: 5.2.0 Status: UNCONFIRMED Severity: normal Prio

[Bug c++/67697] New: [concepts] ICE when using non-constexpr in requires expression

2015-09-23 Thread ryan.burn at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67697 Bug ID: 67697 Summary: [concepts] ICE when using non-constexpr in requires expression Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal P

[Bug target/54412] Request for 32-byte stack alignment with -mavx on Windows

2015-09-23 Thread roland at rschulz dot eu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54412 --- Comment #13 from Roland Schulz --- But this problem is limited to GCC. ICC, Clang and MSVC don't have the problem with compiling 64bit AVX code. Thus they must have some kind of work-around for ABI and GCC should be able to use a work-around

[Bug go/67695] Please improve POSIX shell compatibility of libgo/mksysinfo.sh

2015-09-23 Thread ian at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67695 --- Comment #1 from ian at gcc dot gnu.org --- Author: ian Date: Wed Sep 23 20:43:46 2015 New Revision: 228064 URL: https://gcc.gnu.org/viewcvs?rev=228064&root=gcc&view=rev Log: PR go/67695 mksysinfo.sh: Use = with test rather than =

[Bug go/67695] Please improve POSIX shell compatibility of libgo/mksysinfo.sh

2015-09-23 Thread ian at airs dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67695 Ian Lance Taylor changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug rtl-optimization/64164] [4.9/5/6 Regression] one more stack slot used due to one less inlining level

2015-09-23 Thread aoliva at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64164 Alexandre Oliva changed: What|Removed |Added Depends on||67597, 67490 --- Comment #54 from Alex

[Bug sanitizer/64888] ubsan doesn't work with openmp

2015-09-23 Thread mikulas at artax dot karlin.mff.cuni.cz
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64888 --- Comment #3 from mikulas at artax dot karlin.mff.cuni.cz --- I think you should treat these artifical variables as private, not shared. If you treated them as shared, threads would race with each other when accessing them.

[Bug other/67698] New: internal compiler error: in maybe_record_trace_start, at dwarf2cfi.c:2297

2015-09-23 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67698 Bug ID: 67698 Summary: internal compiler error: in maybe_record_trace_start, at dwarf2cfi.c:2297 Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal

[Bug c++/67699] New: Segfault compiling a constexpr array with -fmerge-all-constants -flto

2015-09-23 Thread gcc at norgg dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67699 Bug ID: 67699 Summary: Segfault compiling a constexpr array with -fmerge-all-constants -flto Product: gcc Version: 5.2.1 Status: UNCONFIRMED Severity: major

[Bug tree-optimization/67700] New: [graphite] miscompile due to wrong codegen

2015-09-23 Thread hiraditya at msn dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67700 Bug ID: 67700 Summary: [graphite] miscompile due to wrong codegen Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree

[Bug tree-optimization/67700] [graphite] miscompile due to wrong codegen

2015-09-23 Thread hiraditya at msn dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67700 --- Comment #1 from AK --- The problem seems to be in static void canonicalize_loop_closed_ssa (loop_p loop) which generates phi node at a wrong place in this case.

[Bug c++/67699] Segfault compiling a constexpr array with -fmerge-all-constants -flto

2015-09-23 Thread gcc at norgg dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67699 --- Comment #1 from Norgg --- Created attachment 36381 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36381&action=edit Reduced testcase with const instead of constexpr Futher testing by slowriot found that you can change the constexpr to

[Bug c++/67699] Segfault compiling a constexpr array with -fmerge-all-constants -flto

2015-09-23 Thread gcc at norgg dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67699 --- Comment #2 from Norgg --- It seems the -fmerge-all-constants isn't necessary to cause the segfault either any more, although it was in an earlier larger test case. Minimal command line to reproduce is now: $ g++ const_crash.cpp -flto const_c

[Bug c++/67699] Segfault compiling a const array with -flto

2015-09-23 Thread gcc at norgg dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67699 --- Comment #3 from Norgg --- Created attachment 36382 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36382&action=edit Preprocessed file

[Bug fortran/67614] ICE on using arithmetic if with null

2015-09-23 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67614 kargl at gcc dot gnu.org changed: What|Removed |Added CC||kargl at gcc dot gnu.org --- C

[Bug c/67701] New: Unnecessary/bad instructions for u32-casted access to external symbol (assumes misaligned, superfluous load)

2015-09-23 Thread jwerner at chromium dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67701 Bug ID: 67701 Summary: Unnecessary/bad instructions for u32-casted access to external symbol (assumes misaligned, superfluous load) Product: gcc Version: 5.2.0 Status: UN

[Bug c++/67702] New: Internal compiler error: Segmentation fault

2015-09-23 Thread david.ok8 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67702 Bug ID: 67702 Summary: Internal compiler error: Segmentation fault Product: gcc Version: 4.9.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug c/67701] Unnecessary/bad instructions for u32-casted access to external symbol (assumes misaligned, superfluous load)

2015-09-23 Thread jwerner at chromium dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67701 Julius Werner changed: What|Removed |Added Target||armv7a --- Comment #1 from Julius Werner

[Bug c++/67702] Internal compiler error: Segmentation fault

2015-09-23 Thread david.ok8 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67702 --- Comment #1 from david.ok8 at gmail dot com --- I would like to add that I did not have this problem with gcc version 4.8.4 and 4.9.1 which are shipped in ubuntu 14.04 and 14.10.

[Bug other/67698] internal compiler error: in maybe_record_trace_start, at dwarf2cfi.c:2297

2015-09-23 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67698 H.J. Lu changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug target/67701] Unnecessary/bad instructions for u32-casted access to external symbol (assumes misaligned, superfluous load)

2015-09-23 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67701 Andrew Pinski changed: What|Removed |Added Component|c |target --- Comment #2 from Andrew Pinski

[Bug target/67391] [SH] Convert clrt addc to normal add insn

2015-09-23 Thread kkojima at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67391 --- Comment #11 from Kazumoto Kojima --- (In reply to Oleg Endo from comment #10) > The core issue should be fixed. I'd like to keep this PR open though for a > while. I've got /exp/ldroot/dodes/INTEST/trunk/gcc/testsuite/gfortran.dg/matmul_6.

[Bug c/67661] Wrong warning when declare VLAs: operation on 'x' may be undefined [-Wsequence-point]

2015-09-23 Thread leechung at 126 dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67661 --- Comment #2 from leechung --- (In reply to jos...@codesourcery.com from comment #1) > You'll need to give a full testcase (complete compilable file and options > used to compile it). What you gave isn't a compilable testcase; it gives > "er

[Bug target/67391] [SH] Convert clrt addc to normal add insn

2015-09-23 Thread olegendo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67391 --- Comment #12 from Oleg Endo --- I already thought that something like this might happen. I will have a look.

[Bug target/67701] Unnecessary/bad instructions for u32-casted access to external symbol (assumes misaligned, superfluous load)

2015-09-23 Thread jwerner at chromium dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67701 --- Comment #3 from Julius Werner --- > I suspect this is an armv7 issue only where there is missing support for > misaligned load/stores. Did a quick test on aarch64 and you're right, neither of the two issues appears there. > Also testvalue

[Bug c++/67703] New: assert after placement new

2015-09-23 Thread piotrekpad at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67703 Bug ID: 67703 Summary: assert after placement new Product: gcc Version: 5.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee

[Bug c++/67703] assert after placement new

2015-09-23 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67703 --- Comment #1 from Andrew Pinski --- > A* b = new(&a) B; I think that is wrong. it should have been "new(a) B;" Otherwise you are allocating the new object with the space for the variable a instead of what a points to.

[Bug c++/67703] assert after placement new

2015-09-23 Thread piotrekpad at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67703 Piotr Padlewski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/67704] New: [concepts] requirements not being applied to aliases

2015-09-23 Thread ryan.burn at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67704 Bug ID: 67704 Summary: [concepts] requirements not being applied to aliases Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component

[Bug c++/67702] [4.9/5/6 Regression] Internal compiler error: Segmentation fault

2015-09-23 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67702 Markus Trippelsdorf changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug lto/67699] ICE (segfault) compiling a const array with -flto

2015-09-23 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67699 Markus Trippelsdorf changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c/67680] Seg Fault in gcc 4.9.3 compiling libiberty/floatformat.c when building gcc 5.2.1 on Cygwin 64 on Windows

2015-09-23 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67680 --- Comment #5 from Marek Polacek --- Hmm, I couldn't reproduce this on Linux.