[Bug tree-optimization/57230] [4.7/4.8/4.9 Regression] tree-ssa-strlen incorrectly optimizes a strlen to 0

2013-05-10 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57230 Andrew Pinski pinskia at gcc dot gnu.org changed: What|Removed |Added Keywords||wrong-code

[Bug target/55036] Compiler fails with message internal compiler error: in reg_save_code, at caller-save.c:158

2013-05-10 Thread segher at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55036 Segher Boessenkool segher at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Last

[Bug tree-optimization/57230] [4.7/4.8/4.9 Regression] tree-ssa-strlen incorrectly optimizes a strlen to 0

2013-05-10 Thread mpolacek at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57230 --- Comment #2 from Marek Polacek mpolacek at gcc dot gnu.org --- Seems like there's some wrongdoing in handle_char_store; we have else if (si != NULL) { si = unshare_strinfo (si); si-length = build_int_cst

[Bug tree-optimization/57214] [4.9 Regression] ice: tree check: expected ssa_name, have integer_cst in coalesce_partitions, at tree-ssa-coalesce.c:1194

2013-05-10 Thread mpolacek at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57214 --- Comment #6 from Marek Polacek mpolacek at gcc dot gnu.org --- (In reply to Marek Polacek from comment #4) Seems that only skipping coalescing if we aren't coalescing SSA_NAMEs works. ... but it doesn't pass the testsuite.

[Bug preprocessor/42014] Inconsistent column number display for In file incuded from

2013-05-10 Thread skannan at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42014 Shakthi Kannan skannan at redhat dot com changed: What|Removed |Added CC||skannan at

[Bug tree-optimization/57230] [4.7/4.8/4.9 Regression] tree-ssa-strlen incorrectly optimizes a strlen to 0

2013-05-10 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57230 Jakub Jelinek jakub at gcc dot gnu.org changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug c++/57232] New: wcstol.c:213:1: internal compiler error

2013-05-10 Thread daniel.calcoen at cern dot ch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57232 Bug ID: 57232 Summary: wcstol.c:213:1: internal compiler error Product: gcc Version: 4.8.1 Status: UNCONFIRMED Severity: blocker Priority: P3 Component: c++

[Bug c++/57232] wcstol.c:213:1: internal compiler error

2013-05-10 Thread daniel.calcoen at cern dot ch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57232 --- Comment #1 from daniel.calcoen at cern dot ch --- Created attachment 30082 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=30082action=edit zip with the different configure.out and make.out zip with the different configure.out and make.out

[Bug debug/57232] wcstol.c:213:1: internal compiler error

2013-05-10 Thread mpolacek at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57232 Marek Polacek mpolacek at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |WAITING

[Bug debug/57232] wcstol.c:213:1: internal compiler error

2013-05-10 Thread daniel.calcoen at cern dot ch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57232 --- Comment #3 from daniel.calcoen at cern dot ch --- Created attachment 30083 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=30083action=edit my touched configure.host for newlib I added some switches I need to configure.host for newlib this

[Bug debug/57232] wcstol.c:213:1: internal compiler error

2013-05-10 Thread daniel.calcoen at cern dot ch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57232 --- Comment #4 from daniel.calcoen at cern dot ch --- Hi, Any file in particular?. I did a git pull on Wednesday on the 4.8 branch. (and binutils and newlib) I attached the sh I use to build my cross compiler and the only file I touched. Daniel

[Bug debug/57232] wcstol.c:213:1: internal compiler error

2013-05-10 Thread mpolacek at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57232 --- Comment #5 from Marek Polacek mpolacek at gcc dot gnu.org --- (In reply to daniel.calcoen from comment #4) Hi, Any file in particular?. The one where the ICE occurs, i.e. preprocessed wcstol.c in this case.

[Bug debug/57232] wcstol.c:213:1: internal compiler error

2013-05-10 Thread daniel.calcoen at cern dot ch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57232 --- Comment #6 from daniel.calcoen at cern dot ch --- The sources I use wcstol.c http://sourceware.org/git/?p=newlib.git;a=blob;f=newlib/libc/stdlib/wcstol.c;h=e23254dc217854801d1c8be76cfc6501c505cc61;hb=053c8948b774d92ab009b30e70a9e65c11bbd5c3

[Bug debug/57232] wcstol.c:213:1: internal compiler error

2013-05-10 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57232 --- Comment #7 from Richard Biener rguenth at gcc dot gnu.org --- The file /home/dcalcoen/gitMirror/newlib/newlib/libc/stdlib/wcstol.c preprocessed by appending -save-temps to the command-line that crashes the compiler. The preprocessed source

[Bug tree-optimization/57233] New: Vector lowering of LROTATE_EXPR pessimizes code

2013-05-10 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57233 Bug ID: 57233 Summary: Vector lowering of LROTATE_EXPR pessimizes code Product: gcc Version: 4.9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug tree-optimization/57203] [4.9 Regression] verify_gimple failed after SLSR

2013-05-10 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57203 Richard Biener rguenth at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED

[Bug c/57216] error: definition in block 255 does not dominate use in block 252

2013-05-10 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57216 Richard Biener rguenth at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED

[Bug tree-optimization/57214] [4.9 Regression] ice: tree check: expected ssa_name, have integer_cst in coalesce_partitions, at tree-ssa-coalesce.c:1194

2013-05-10 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57214 Richard Biener rguenth at gcc dot gnu.org changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug tree-optimization/57233] Vector lowering of LROTATE_EXPR pessimizes code

2013-05-10 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57233 Richard Biener rguenth at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Last

[Bug other/57195] Mode attributes with specific mode iterator can not be used as mode iterators in *.md files

2013-05-10 Thread ubizjak at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57195 --- Comment #2 from Uros Bizjak ubizjak at gmail dot com --- Created attachment 30084 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=30084action=edit Proposed x86 patch that triggers the problem Attached x86 patch triggers the problem,

[Bug debug/57232] wcstol.c:213:1: internal compiler error

2013-05-10 Thread daniel.calcoen at cern dot ch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57232 --- Comment #8 from daniel.calcoen at cern dot ch --- Created attachment 30085 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=30085action=edit wcstol.i

[Bug tree-optimization/57230] [4.7/4.8/4.9 Regression] tree-ssa-strlen incorrectly optimizes a strlen to 0

2013-05-10 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57230 --- Comment #4 from Jakub Jelinek jakub at gcc dot gnu.org --- Created attachment 30086 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=30086action=edit gcc49-pr57230.patch And untested improvement for 4.9+ only.

[Bug tree-optimization/57218] [4.8/4.9 Regression] Excessive inlining even at -Os

2013-05-10 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57218 Richard Biener rguenth at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Last

[Bug preprocessor/39080] -MF writes dependencies for last file only

2013-05-10 Thread skannan at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39080 Shakthi Kannan skannan at redhat dot com changed: What|Removed |Added CC||skannan at

[Bug gcov-profile/57234] New: gcov 4.7.3 segfaults when reading Clang's .gc* files.

2013-05-10 Thread magnus.reftel at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57234 Bug ID: 57234 Summary: gcov 4.7.3 segfaults when reading Clang's .gc* files. Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3

[Bug gcov-profile/57234] gcov 4.7.3 segfaults when reading Clang's .gc* files.

2013-05-10 Thread magnus.reftel at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57234 --- Comment #1 from Magnus Reftel magnus.reftel at gmail dot com --- For reference: the Clang bug got ID 15954.

[Bug tree-optimization/57218] [4.8/4.9 Regression] Excessive inlining even at -Os

2013-05-10 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57218 --- Comment #2 from Jan Hubicka hubicka at gcc dot gnu.org --- Yep, it is just heuristic here. We may get more cureful at -Os (i.e. not so optimistic about the optimization oppurtunities), but last time I played with this it actually resulted in

[Bug gcov-profile/57234] gcov 4.7.3 segfaults when reading Clang's .gc* files.

2013-05-10 Thread steven at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57234 Steven Bosscher steven at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED

[Bug rtl-optimization/57231] Hoist zero-extend operations when possible

2013-05-10 Thread steven at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57231 Steven Bosscher steven at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Last

[Bug tree-optimization/57214] [4.9 Regression] ice: tree check: expected ssa_name, have integer_cst in coalesce_partitions, at tree-ssa-coalesce.c:1194

2013-05-10 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57214 Richard Biener rguenth at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[Bug rtl-optimization/57231] Hoist zero-extend operations when possible

2013-05-10 Thread jasonwucj at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57231 Chung-Ju Wu jasonwucj at gmail dot com changed: What|Removed |Added CC||jasonwucj at

[Bug tree-optimization/57235] New: ICE verify_ssa failied

2013-05-10 Thread rmansfield at qnx dot com
version 4.9.0 20130510 (experimental) [trunk revision 198772] (GCC) $ ./xgcc -B. -O2 ~/ice.ii /home/ryan/ice.ii: In member function 'bool google::protobuf::DescriptorBuilder::OptionInterpreter::SetAggregateOption(const google::protobuf::FieldDescriptor*, google::protobuf::UnknownFieldSet*)': /home

[Bug tree-optimization/57236] New: Missed optimization: weird pointer update after the loop

2013-05-10 Thread petschy at gmail dot com
: posix gcc version 4.9.0 20130510 (experimental) (GCC) Regards, Peter

[Bug tree-optimization/57236] Missed optimization: weird pointer update after the loop

2013-05-10 Thread petschy at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57236 --- Comment #1 from petschy at gmail dot com --- Created attachment 30089 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=30089action=edit preprocessed source

[Bug tree-optimization/57236] Missed optimization: weird pointer update after the loop

2013-05-10 Thread petschy at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57236 --- Comment #2 from petschy at gmail dot com --- Created attachment 30090 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=30090action=edit original source

[Bug tree-optimization/57236] Missed optimization: weird pointer update after the loop

2013-05-10 Thread petschy at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57236 --- Comment #3 from petschy at gmail dot com --- Created attachment 30091 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=30091action=edit 4.8.1 generated code of write2()

[Bug tree-optimization/57236] Missed optimization: weird pointer update after the loop

2013-05-10 Thread petschy at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57236 --- Comment #4 from petschy at gmail dot com --- Created attachment 30092 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=30092action=edit clang 3.4 generated code of write2()

[Bug middle-end/57235] [4.9 Regression] ICE verify_ssa failied

2013-05-10 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57235 Richard Biener rguenth at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED

[Bug tree-optimization/57230] [4.7/4.8/4.9 Regression] tree-ssa-strlen incorrectly optimizes a strlen to 0

2013-05-10 Thread zackw at panix dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57230 --- Comment #5 from Zack Weinberg zackw at panix dot com --- It might be good to include stores to nonzero offsets in the test case, and stores to bytes that used to be internal NULs, something like int main(void) { char s[] =

[Bug lto/57084] 483. xalancbmk run fails with -O2 -flto for i686

2013-05-10 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57084 Martin Jambor jamborm at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[Bug tree-optimization/57230] [4.7/4.8/4.9 Regression] tree-ssa-strlen incorrectly optimizes a strlen to 0

2013-05-10 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57230 --- Comment #6 from Jakub Jelinek jakub at gcc dot gnu.org --- We have just one strlen pass instance, and even if we optimize the first strlen there, having strlen pass duplicate constant propagation functionality just to handle this weird

[Bug c/57237] New: Upstreaming the rtems multilib gcc patch

2013-05-10 Thread cynt6007 at vandals dot uidaho.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57237 Bug ID: 57237 Summary: Upstreaming the rtems multilib gcc patch Product: gcc Version: 4.8.1 Status: UNCONFIRMED Severity: enhancement Priority: P3 Component: c

[Bug c/57237] Upstreaming the rtems v850 multilib gcc patch

2013-05-10 Thread joel at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57237 Joel Sherrill joel at gcc dot gnu.org changed: What|Removed |Added Target||v850*-*-rtems*

[Bug tree-optimization/57230] [4.7/4.8/4.9 Regression] tree-ssa-strlen incorrectly optimizes a strlen to 0

2013-05-10 Thread mpolacek at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57230 --- Comment #7 from Marek Polacek mpolacek at gcc dot gnu.org --- I've thought more like: int main () { char p[] = foobar; int len = strlen (p); p[1] = 'O'; p[6] = 'R'; int len2 = strlen (p); foo (len, len2); } thus, there shouldn't be

[Bug c/57237] Upstreaming the rtems v850 multilib gcc patch

2013-05-10 Thread joel at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57237 --- Comment #1 from Joel Sherrill joel at gcc dot gnu.org --- This patch cannot be merged as is. It includes at least 4 separate issues. + v850 multilibs + sparc64-rtems definining SVR4 + WCHAR issues + stddef.h issue Patches can only be single

[Bug c/57237] Upstreaming the rtems v850 multilib gcc patch

2013-05-10 Thread joel at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57237 --- Comment #2 from Joel Sherrill joel at gcc dot gnu.org --- Testing with this patch for just the v850: 2013-03-26 Ralf Corsépius ralf.corsep...@rtems.org * config/v850/t-rtems: Use multilibs from gcc 4.8.0. diff -Naur

[Bug tree-optimization/57230] [4.7/4.8/4.9 Regression] tree-ssa-strlen incorrectly optimizes a strlen to 0

2013-05-10 Thread zackw at panix dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57230 --- Comment #8 from Zack Weinberg zackw at panix dot com --- (In reply to Jakub Jelinek from comment #6) We have just one strlen pass instance, and even if we optimize the first strlen there, having strlen pass duplicate constant propagation

[Bug c++/55149] capturing VLA in lambda

2013-05-10 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55149 Jason Merrill jason at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED

[Bug c++/57196] [4.8 regression] Bogus aggregate ... has incomplete type and cannot be defined

2013-05-10 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57196 Jason Merrill jason at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last

[Bug tree-optimization/57230] [4.7/4.8/4.9 Regression] tree-ssa-strlen incorrectly optimizes a strlen to 0

2013-05-10 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57230 --- Comment #9 from Jakub Jelinek jakub at gcc dot gnu.org --- That case is for the if (idx 0) { si = get_strinfo (idx); ... } block in there, and si != NULL si-length != NULL_TREE TREE_CODE (si-length) == INTEGER_CST is what

[Bug c++/57047] [4.7/4.8/4.9 Regression] [C++11] stl_pair.h:137:64: internal compiler error: Segmentation fault in constexpr constructor

2013-05-10 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57047 Jason Merrill jason at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED

[Bug rtl-optimization/57231] Hoist zero-extend operations when possible

2013-05-10 Thread josh.m.conner at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57231 --- Comment #3 from Joshua Conner josh.m.conner at gmail dot com --- Exactly - there's no need to truncate every iteration, we should be able to safely do it when the loop is complete.

[Bug c++/54320] [c++11] range access to VLA

2013-05-10 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54320 Paolo Carlini paolo.carlini at oracle dot com changed: What|Removed |Added CC|

[Bug c++/55149] capturing VLA in lambda

2013-05-10 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55149 --- Comment #8 from Paolo Carlini paolo.carlini at oracle dot com --- Thanks!

[Bug c/57237] Upstreaming the rtems v850 multilib gcc patch

2013-05-10 Thread joel at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57237 Joel Sherrill joel at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED

[Bug driver/57238] New: GCC passes --gdwarf2 to assembler despite -gdwarf-4 on command line

2013-05-10 Thread ppluzhnikov at google dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57238 Bug ID: 57238 Summary: GCC passes --gdwarf2 to assembler despite -gdwarf-4 on command line Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug driver/57238] GCC passes --gdwarf2 to assembler despite -gdwarf-4 on command line

2013-05-10 Thread ppluzhnikov at google dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57238 Paul Pluzhnikov ppluzhnikov at google dot com changed: What|Removed |Added CC||ccoutant

[Bug libstdc++/54577] dequeT::erase() still takes iterator instead of const_iterator

2013-05-10 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54577 Paolo Carlini paolo.carlini at oracle dot com changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[Bug c/57237] Upstreaming the rtems v850 multilib gcc patch

2013-05-10 Thread corsepiu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57237 Ralf Corsepius corsepiu at gcc dot gnu.org changed: What|Removed |Added CC||corsepiu at

[Bug c++/57239] New: GCC cannot handle inner/nested class templates with non-type parameter packs that were declared in the outer/containing class

2013-05-10 Thread scottbaldwin at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57239 Bug ID: 57239 Summary: GCC cannot handle inner/nested class templates with non-type parameter packs that were declared in the outer/containing class Product: gcc

[Bug c++/57239] GCC cannot handle inner/nested class templates with non-type parameter packs that were declared in the outer/containing class

2013-05-10 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57239 Paolo Carlini paolo.carlini at oracle dot com changed: What|Removed |Added Severity|major |normal

[Bug tree-optimization/57230] [4.7/4.8/4.9 Regression] tree-ssa-strlen incorrectly optimizes a strlen to 0

2013-05-10 Thread mpolacek at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57230 --- Comment #10 from Marek Polacek mpolacek at gcc dot gnu.org --- (In reply to Jakub Jelinek from comment #9) That case is for the if (idx 0) { si = get_strinfo (idx); ... } block in there, and si != NULL si-length !=

[Bug driver/57238] GCC passes --gdwarf2 to assembler despite -gdwarf-4 on command line

2013-05-10 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57238 --- Comment #2 from Andrew Pinski pinskia at gcc dot gnu.org --- I don't see how this is wrong. Mixing dwarf4 and dwarf2 should be ok.

[Bug c++/57240] New: decltype() on a template non-type parameter causes internal compiler error

2013-05-10 Thread scottbaldwin at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57240 Bug ID: 57240 Summary: decltype() on a template non-type parameter causes internal compiler error Product: gcc Version: 4.8.1 Status: UNCONFIRMED Severity:

[Bug c++/57240] decltype() on a template non-type parameter causes internal compiler error

2013-05-10 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57240 Paolo Carlini paolo.carlini at oracle dot com changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED

[Bug c++/57092] [4.8/4.9 Regression] Using decltype of function pointer type to define a data member causes compiler crash

2013-05-10 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57092 Paolo Carlini paolo.carlini at oracle dot com changed: What|Removed |Added CC|

[Bug target/57237] Upstreaming the rtems v850 multilib gcc patch

2013-05-10 Thread cynt6007 at vandals dot uidaho.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57237 --- Comment #5 from cynt6007 at vandals dot uidaho.edu --- (In reply to Ralf Corsepius from comment #4) (In reply to Joel Sherrill from comment #3) Patch committed to 4.7, 4.8, and head. It would have been nice if you'd give the author of a

[Bug c++/57241] New: GCC still issues -Wmultichar warnings despite a #pragma diagnostic ignored -Wmultichar directive

2013-05-10 Thread scottbaldwin at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57241 Bug ID: 57241 Summary: GCC still issues -Wmultichar warnings despite a #pragma diagnostic ignored -Wmultichar directive Product: gcc Version: 4.8.1 Status: UNCONFIRMED

[Bug driver/57238] GCC passes --gdwarf2 to assembler despite -gdwarf-4 on command line

2013-05-10 Thread ppluzhnikov at google dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57238 --- Comment #3 from Paul Pluzhnikov ppluzhnikov at google dot com --- (In reply to Andrew Pinski from comment #2) I don't see how this is wrong. It's wrong to emit dwarf2 because I asked for dwarf4 explicitly. Mixing dwarf4 and dwarf2 should

[Bug c++/57241] GCC still issues -Wmultichar warnings despite a #pragma diagnostic ignored -Wmultichar directive

2013-05-10 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57241 --- Comment #1 from Paolo Carlini paolo.carlini at oracle dot com --- In general, it's safe to say that #pragma diagnostic ignored is very buggy (in C++ at least), we have got many long standing PRs.

[Bug pch/57242] New: gcc ignores precompiled headers unless the .gch and TU's are compiled with certain combinations of -g flag

2013-05-10 Thread scottbaldwin at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57242 Bug ID: 57242 Summary: gcc ignores precompiled headers unless the .gch and TU's are compiled with certain combinations of -g flag Product: gcc Version: 4.8.1 Status:

[Bug rtl-optimization/57231] Hoist zero-extend operations when possible

2013-05-10 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57231 --- Comment #4 from Andrew Pinski pinskia at gcc dot gnu.org --- I think there are other bugs about promoting things and then truncating only when needed. I also think Kai is working on a pass that does that.

[Bug pch/57242] gcc ignores precompiled headers unless the .gch and TU's are compiled with certain combinations of -g flag

2013-05-10 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57242 --- Comment #1 from Andrew Pinski pinskia at gcc dot gnu.org --- This is by design as -g changes the information produced by the front-end and maybe even predefines too.

[Bug pch/57242] gcc ignores precompiled headers unless the .gch and TU's are compiled with certain combinations of -g flag

2013-05-10 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57242 --- Comment #2 from Andrew Pinski pinskia at gcc dot gnu.org --- (In reply to etherice from comment #0) I put a #warning in the my_pch.hpp file to be sure of when PCH were being ignored (though, the long delay also made it quite obvious). You

[Bug fortran/57217] [4.7/4.8/4.9 Regression][OOP] Accepts invalid TBP overriding - lacking arguments check

2013-05-10 Thread burnus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57217 --- Comment #2 from Tobias Burnus burnus at gcc dot gnu.org --- See draft patch at http://gcc.gnu.org/ml/fortran/2013-05/msg00035.html (see patch review for what is missing).

[Bug c++/57241] GCC still issues -Wmultichar warnings despite a #pragma diagnostic ignored -Wmultichar directive

2013-05-10 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57241 --- Comment #2 from Andrew Pinski pinskia at gcc dot gnu.org --- (In reply to Paolo Carlini from comment #1) In general, it's safe to say that #pragma diagnostic ignored is very buggy (in C++ at least), we have got many long standing PRs. Well

[Bug pch/57242] gcc ignores precompiled headers unless the .gch and TU's are compiled with certain combinations of -g flag

2013-05-10 Thread scottbaldwin at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57242 --- Comment #3 from etherice scottbaldwin at gmail dot com --- (In reply to Andrew Pinski from comment #1) This is by design as -g changes the information produced by the front-end and maybe even predefines too. I think you may have read the

[Bug c++/57241] GCC still issues -Wmultichar warnings despite a #pragma diagnostic ignored -Wmultichar directive

2013-05-10 Thread scottbaldwin at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57241 --- Comment #3 from etherice scottbaldwin at gmail dot com --- (In reply to Andrew Pinski from comment #2) (In reply to Paolo Carlini from comment #1) In general, it's safe to say that #pragma diagnostic ignored is very buggy (in C++ at

[Bug c++/57243] New: Using auto in range based for with templated container in templated function requires extraneous template qualifier

2013-05-10 Thread w.shane.grant at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57243 Bug ID: 57243 Summary: Using auto in range based for with templated container in templated function requires extraneous template qualifier Product: gcc Version:

[Bug c++/57240] decltype() on a template non-type parameter causes internal compiler error

2013-05-10 Thread scottbaldwin at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57240 --- Comment #2 from etherice scottbaldwin at gmail dot com --- (In reply to Paolo Carlini from comment #1) Already fixed. *** This bug has been marked as a duplicate of bug 57092 *** Yep that's it, fixed 3 days after my April 27 version of

[Bug pch/57242] precompiled headers ignored unless the .gch and TU's are compiled with certain combinations of -g flag

2013-05-10 Thread scottbaldwin at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57242 --- Comment #4 from etherice scottbaldwin at gmail dot com --- (In reply to Andrew Pinski from comment #1) This is by design as -g changes the information produced by the front-end and maybe even predefines too. I created a simpler test to

[Bug driver/57238] GCC passes --gdwarf2 to assembler despite -gdwarf-4 on command line

2013-05-10 Thread ccoutant at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57238 Cary Coutant ccoutant at gcc dot gnu.org changed: What|Removed |Added CC||ccoutant at gcc

[Bug driver/57238] GCC passes --gdwarf2 to assembler despite -gdwarf-4 on command line

2013-05-10 Thread ppluzhnikov at google dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57238 Paul Pluzhnikov ppluzhnikov at google dot com changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED

[Bug lto/54095] Unnecessary static variable renaming

2013-05-10 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54095 Jan Hubicka hubicka at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|NEW

[Bug tree-optimization/57244] New: Missed optimization: dead register move before noreturn fn call unnecessary store/load or reg

2013-05-10 Thread petschy at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57244 Bug ID: 57244 Summary: Missed optimization: dead register move before noreturn fn call unnecessary store/load or reg Product: gcc Version: 4.8.1 Status: UNCONFIRMED

[Bug tree-optimization/57244] Missed optimization: dead register move before noreturn fn call unnecessary store/load of reg

2013-05-10 Thread petschy at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57244 --- Comment #1 from petschy at gmail dot com --- Created attachment 30093 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=30093action=edit preprocessed source

[Bug tree-optimization/57244] Missed optimization: dead register move before noreturn fn call unnecessary store/load of reg

2013-05-10 Thread petschy at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57244 --- Comment #2 from petschy at gmail dot com --- Created attachment 30094 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=30094action=edit original source

[Bug tree-optimization/57244] Missed optimization: dead register move before noreturn fn call unnecessary store/load of reg

2013-05-10 Thread petschy at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57244 --- Comment #3 from petschy at gmail dot com --- Created attachment 30095 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=30095action=edit disassembly dump

[Bug c++/54320] [c++11] range access to VLA

2013-05-10 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54320 Jason Merrill jason at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED

[Bug c++/54320] [c++11] range access to VLA

2013-05-10 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54320 --- Comment #12 from Jason Merrill jason at gcc dot gnu.org --- (In reply to vincenzo Innocente from comment #3) int foo2(int N) { int v[N]; for ( auto a : v) if (a) return a; return 0; } works, though was similar to

[Bug c++/54320] [c++11] range access to VLA

2013-05-10 Thread daniel.kruegler at googlemail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54320 --- Comment #13 from Daniel Krügler daniel.kruegler at googlemail dot com --- (In reply to Paolo Carlini from comment #10) FWIW, I fully agree with Jason: VLAs are very restricted and don't even allow for forming references to them, so that the

[Bug rtl-optimization/55278] [4.8/4.9 Regression] Botan performance regressions apparently due to LRA

2013-05-10 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55278 Jakub Jelinek jakub at gcc dot gnu.org changed: What|Removed |Added CC||hubicka at gcc

[Bug tree-optimization/57245] New: Floating-point constant truncation ignores -frounding-math

2013-05-10 Thread jsm28 at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57245 Bug ID: 57245 Summary: Floating-point constant truncation ignores -frounding-math Product: gcc Version: 4.9.0 Status: UNCONFIRMED Keywords: wrong-code

[Bug c++/57246] New: ICE on lambda in template function

2013-05-10 Thread dirkmoermans at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57246 Bug ID: 57246 Summary: ICE on lambda in template function Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug c++/57247] New: ICE when referencing 'this' in lambda function inside array

2013-05-10 Thread bryan.ostergaard at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57247 Bug ID: 57247 Summary: ICE when referencing 'this' in lambda function inside array Product: gcc Version: 4.7.3 Status: UNCONFIRMED Severity: normal

[Bug debug/49366] pointer-to-member-function not given value in DW_TAG_template_value_param

2013-05-10 Thread dblaikie at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49366 David Blaikie dblaikie at gmail dot com changed: What|Removed |Added CC||dblaikie at

[Bug c++/57247] ICE when referencing 'this' in lambda function inside array

2013-05-10 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57247 Paolo Carlini paolo.carlini at oracle dot com changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED

[Bug c++/57246] ICE on lambda in template function

2013-05-10 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57246 Paolo Carlini paolo.carlini at oracle dot com changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED

[Bug c++/57248] New: string parameter to constexpr functions

2013-05-10 Thread sutambe at yahoo dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57248 Bug ID: 57248 Summary: string parameter to constexpr functions Product: gcc Version: 4.9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug c++/57248] string parameter to constexpr functions

2013-05-10 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57248 Paolo Carlini paolo.carlini at oracle dot com changed: What|Removed |Added Status|UNCONFIRMED |NEW

  1   2   >