[Bug driver/54964] -MMD is silently ignored with -x assembler (or inferred language from .s extension)

2012-10-18 Thread ami at fischman dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54964 Ami Fischman changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|

[Bug target/54952] Program crash on M32C when stack frame is more then 128 bytes

2012-10-18 Thread m.galante at centrosistemi dot it
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54952 Michele Galante changed: What|Removed |Added See Also||http://sourceware.org/bugzi

[Bug lto/54966] Does LTO requires a larger inline-unit-growth?

2012-10-18 Thread dominiq at lps dot ens.fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54966 --- Comment #1 from Dominique d'Humieres 2012-10-18 07:47:15 UTC --- This seems related to pr48636. Could you try the patch in comment #20: http://gcc.gnu.org/bugzilla/attachment.cgi?id=28456 ?

[Bug tree-optimization/54967] New: [4.8 Regression] ICE in check_loop_closed_ssa_use, at tree-ssa-loop-manip.c:55

2012-10-18 Thread Joost.VandeVondele at mat dot ethz.ch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54967 Bug #: 54967 Summary: [4.8 Regression] ICE in check_loop_closed_ssa_use, at tree-ssa-loop-manip.c:55 Classification: Unclassified Product: gcc Version: 4.8.0 Status:

[Bug tree-optimization/54967] [4.8 Regression] ICE in check_loop_closed_ssa_use, at tree-ssa-loop-manip.c:55

2012-10-18 Thread dominiq at lps dot ens.fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54967 Dominique d'Humieres changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug tree-optimization/54967] [4.8 Regression] ICE in check_loop_closed_ssa_use, at tree-ssa-loop-manip.c:55

2012-10-18 Thread Joost.VandeVondele at mat dot ethz.ch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54967 Joost VandeVondele changed: What|Removed |Added Status|NEW |UNCONFIRMED

[Bug c++/54968] New: spurious constexpr error, 20_util/tuple/comparison_operators/35480_neg.cc

2012-10-18 Thread bkoz at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54968 Bug #: 54968 Summary: spurious constexpr error, 20_util/tuple/comparison_operators/35480_neg.cc Classification: Unclassified Product: gcc Version: 4.8.0 Sta

[Bug middle-end/54969] New: Bitfield test not optimised at -Os.

2012-10-18 Thread suckfish at ihug dot co.nz
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54969 Bug #: 54969 Summary: Bitfield test not optimised at -Os. Classification: Unclassified Product: gcc Version: 4.7.2 Status: UNCONFIRMED Severity: normal Pri

[Bug tree-optimization/54967] [4.8 Regression] ICE in check_loop_closed_ssa_use, at tree-ssa-loop-manip.c:55

2012-10-18 Thread dominiq at lps dot ens.fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54967 Dominique d'Humieres changed: What|Removed |Added Status|UNCONFIRMED |NEW CC|

[Bug debug/54970] New: Missing DW_OP_GNU_implicit_pointer in debuginfo

2012-10-18 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54970 Bug #: 54970 Summary: Missing DW_OP_GNU_implicit_pointer in debuginfo Classification: Unclassified Product: gcc Version: 4.7.1 Status: UNCONFIRMED Severity: normal

[Bug middle-end/54969] Bitfield test not optimised at -Os.

2012-10-18 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54969 --- Comment #1 from Andrew Pinski 2012-10-18 08:45:04 UTC --- I think this is just the standard copy-header not running at -Os issue.

[Bug debug/54970] Missing DW_OP_GNU_implicit_pointer in debuginfo

2012-10-18 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54970 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug debug/54970] Missing DW_OP_GNU_implicit_pointer in debuginfo

2012-10-18 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54970 --- Comment #1 from Jakub Jelinek 2012-10-18 08:55:02 UTC --- Created attachment 28478 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=28478 gcc48-pr54970.patch Untested fix.

[Bug debug/54970] Missing DW_OP_GNU_implicit_pointer in debuginfo

2012-10-18 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54970 Jakub Jelinek changed: What|Removed |Added Attachment #28478|0 |1 is obsolete|

[Bug middle-end/54969] Bitfield test not optimised at -Os.

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

[Bug lto/54966] Does LTO requires a larger inline-unit-growth?

2012-10-18 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54966 Richard Biener changed: What|Removed |Added Keywords||lto CC|

[Bug debug/54971] New: SRA pessimizes debug info by not creating debug stmts for fields without replacements

2012-10-18 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54971 Bug #: 54971 Summary: SRA pessimizes debug info by not creating debug stmts for fields without replacements Classification: Unclassified Product: gcc Version: 4.8.0

[Bug tree-optimization/54965] [4.6 Regression] sorry, unimplemented: inlining failed in call to 'foo': function not considered for inlining

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

[Bug lto/54962] Strange-looking diagnostics from diagnostic_report_current_module() from warnings emitted during LTO

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

[Bug middle-end/54961] [4.8 Regression] FAIL: gfortran.dg/pr48757.f -O (internal compiler error) after revision 192440

2012-10-18 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54961 Richard Biener changed: What|Removed |Added Target|*86*-*-*|i?86-*-* Status|UNC

[Bug middle-end/54969] Bitfield test not optimised at -Os.

2012-10-18 Thread suckfish at ihug dot co.nz
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54969 --- Comment #3 from Ralph Loader 2012-10-18 09:56:36 UTC --- Re copy-header: adding -ftree-ch to the command line does not improve the code. Replacing the bitwise test 'f & 1' with a numeric test 'f < 27', gcc -Os optimises properly.

[Bug plugins/54959] current_pass == NULL during invocation of pass->gate within execute_ipa_summary_passes()

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

[Bug c/54954] malloc optimizations not disabled by -fno-builtin

2012-10-18 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54954 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug middle-end/54945] Too strong non-aliasing analysis?

2012-10-18 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54945 --- Comment #6 from Richard Biener 2012-10-18 10:15:37 UTC --- i_6 = (intptr_t) &MEM[(void *)&x + 4B]; j_7 = (intptr_t) &y; _8 = i_6 == j_7; forwprop will call fold with (intptr_t) &MEM[(void *)&x + 4B] == (intptr_t) &y But

[Bug middle-end/54945] Too strong non-aliasing analysis?

2012-10-18 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54945 --- Comment #7 from Jakub Jelinek 2012-10-18 10:19:20 UTC --- (In reply to comment #6) > i_6 = (intptr_t) &MEM[(void *)&x + 4B]; > j_7 = (intptr_t) &y; > _8 = i_6 == j_7; > > forwprop will call fold with (intptr_t) &MEM[(vo

[Bug c++/25466] typeid expression fails to throw bad_typeid according to 5.2.8p2

2012-10-18 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25466 Paolo Carlini changed: What|Removed |Added CC|gcc-bugs at gcc dot gnu.org | Known to fail|

[Bug middle-end/54945] Too strong non-aliasing analysis?

2012-10-18 Thread mpolacek at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54945 --- Comment #8 from Marek Polacek 2012-10-18 10:29:50 UTC --- Yep, this is exactly the patch I have right now. It passed testing/bootstrap. Will post to ML today for review.

[Bug lto/54962] Strange-looking diagnostics from diagnostic_report_current_module() from warnings emitted during LTO

2012-10-18 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54962 --- Comment #3 from Manuel López-Ibáñez 2012-10-18 10:39:08 UTC --- (In reply to comment #2) > > This is called by default_tree_diagnostic_starter FWIW; perhaps lto1 needs > > its > > own implementation of this? > > Maybe yes. LTO should prin

[Bug lto/54962] Strange-looking diagnostics from diagnostic_report_current_module() from warnings emitted during LTO

2012-10-18 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54962 --- Comment #4 from Richard Biener 2012-10-18 10:40:34 UTC --- (In reply to comment #3) > (In reply to comment #2) > > > This is called by default_tree_diagnostic_starter FWIW; perhaps lto1 > > > needs its > > > own implementation of thi

[Bug tree-optimization/54965] [4.6 Regression] sorry, unimplemented: inlining failed in call to 'foo': function not considered for inlining

2012-10-18 Thread siarhei.siamashka at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54965 --- Comment #3 from Siarhei Siamashka 2012-10-18 10:47:51 UTC --- (In reply to comment #2) > void combine_conjoint_xor_ca_float () > { > combine_channel_t j = pd_combine_conjoint_xor, k = > pd_combine_conjoint_xor; > a[0] = k (0

[Bug tree-optimization/54965] [4.6 Regression] sorry, unimplemented: inlining failed in call to 'foo': function not considered for inlining

2012-10-18 Thread rguenther at suse dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54965 --- Comment #4 from rguenther at suse dot de 2012-10-18 10:58:56 UTC --- On Thu, 18 Oct 2012, siarhei.siamashka at gmail dot com wrote: > > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54965 > > --- Comment #3 from Siarhei Siamashka

[Bug c++/54972] New: O2 breaks something in 4.6.3

2012-10-18 Thread random at adriver dot ru
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54972 Bug #: 54972 Summary: O2 breaks something in 4.6.3 Classification: Unclassified Product: gcc Version: 4.6.3 Status: UNCONFIRMED Severity: normal Priority:

[Bug c++/54972] O2 breaks something in 4.6.3

2012-10-18 Thread sch...@linux-m68k.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54972 --- Comment #1 from Andreas Schwab 2012-10-18 11:25:00 UTC --- lzo_gcc_test.cpp: In function ‘int main(int, char**)’: lzo_gcc_test.cpp:44:44: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] lzo_gcc

[Bug c++/54972] O2 breaks something in 4.6.3

2012-10-18 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54972 --- Comment #2 from Jonathan Wakely 2012-10-18 11:31:59 UTC --- Apparently you didn't read http://gcc.gnu.org/bugs/ Before reporting that GCC compiles your code incorrectly, compile it with gcc -Wall -Wextra and see whether this sh

[Bug lto/54962] Strange-looking diagnostics from diagnostic_report_current_module() from warnings emitted during LTO

2012-10-18 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54962 --- Comment #5 from Manuel López-Ibáñez 2012-10-18 11:38:33 UTC --- (In reply to comment #4) > > We stream the expanded location and allocate new line-map entries at LTO > read time. Where? I guess this precludes any knowledge of what is inc

[Bug c/41809] escaping address of packed field should trigger warning

2012-10-18 Thread tetra2005 at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41809 --- Comment #3 from Yuri Gribov 2012-10-18 11:38:45 UTC --- Created attachment 28481 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=28481 Another testcase Testcase which demonstrates more issues.

[Bug c/41809] escaping address of packed field should trigger warning

2012-10-18 Thread tetra2005 at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41809 Yuri Gribov changed: What|Removed |Added CC||tetra2005 at gmail dot com --- Co

[Bug c++/54972] O2 breaks something in 4.6.3

2012-10-18 Thread random at adriver dot ru
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54972 --- Comment #3 from Seva Potapov 2012-10-18 11:46:19 UTC --- thanks for input guys, but for some reason I don't get same warnings as you: $ g++-4.6 -Wall -Wextra lzo_gcc_test.cpp -llzo2 lzo_gcc_test.cpp:27:5: warning: unused parameter ‘argc’ [-

[Bug c/54954] malloc optimizations not disabled by -fno-builtin

2012-10-18 Thread bren at ragh dot us
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54954 Brendan Chandler changed: What|Removed |Added CC||bren at ragh dot us --- Comm

[Bug rtl-optimization/54850] [4.8 Regression] FAIL: gcc.c-torture/execute/20041113-1.c execution, -Os

2012-10-18 Thread bernds at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54850 --- Comment #9 from Bernd Schmidt 2012-10-18 11:54:34 UTC --- Created attachment 28482 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=28482 Candidate patch. Could you both please test this patch?

[Bug c++/54972] O2 breaks something in 4.6.3

2012-10-18 Thread sch...@linux-m68k.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54972 Andreas Schwab changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|

[Bug c++/54972] O2 breaks something in 4.6.3

2012-10-18 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54972 --- Comment #5 from Jonathan Wakely 2012-10-18 12:01:22 UTC --- (In reply to comment #4) > You need -Wstrict-aliasing=2. And -O2 If the optimization passes don't run then they can't produce warnings.

[Bug c++/54972] O2 breaks something in 4.6.3

2012-10-18 Thread random at adriver dot ru
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54972 --- Comment #6 from Seva Potapov 2012-10-18 12:07:40 UTC --- thanks, guys, it seems that -Wstrict-aliasing=2 is not part of -Wall or -Wextra i'll keep that in mind next time I encounter "bug" with gcc :)

[Bug web/54973] New: [bugzilla] make "Before reporting a bug" notice more prominent

2012-10-18 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54973 Bug #: 54973 Summary: [bugzilla] make "Before reporting a bug" notice more prominent Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONF

[Bug web/54973] [bugzilla] make "Before reporting a bug" notice more prominent

2012-10-18 Thread LpSolit at netscape dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54973 --- Comment #1 from Frédéric Buclin 2012-10-18 12:51:28 UTC --- If you attach a mockup, I can easily write the corresponding code. This new big notice should only be visible to users with no privileges, right? I guess that all users with editbu

[Bug target/54974] New: [ARM] Incorrect placement of constant pools

2012-10-18 Thread mans at mansr dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54974 Bug #: 54974 Summary: [ARM] Incorrect placement of constant pools Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: normal

[Bug web/54973] [bugzilla] make "Before reporting a bug" notice more prominent

2012-10-18 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54973 --- Comment #2 from Jonathan Wakely 2012-10-18 13:00:34 UTC --- I was assuming it would be visible to everyone because it's harmless and can be ignored (I'm sure many users will still ignore it!) but if other privileged users don't want to

[Bug target/54974] [ARM] Incorrect placement of constant pools

2012-10-18 Thread mans at mansr dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54974 --- Comment #1 from Mans Rullgard 2012-10-18 13:00:48 UTC --- Created attachment 28484 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=28484 Hack patch This hack patch validates the analysis. A proper fix probably looks different.

[Bug target/54974] [4.8 Regression] [ARM] Incorrect placement of constant pools

2012-10-18 Thread doko at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54974 Matthias Klose changed: What|Removed |Added Keywords||wrong-code Target|

[Bug target/54974] [4.8 Regression] [ARM] Incorrect placement of constant pools

2012-10-18 Thread mikpe at it dot uu.se
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54974 Mikael Pettersson changed: What|Removed |Added CC||mikpe at it dot uu.se --- C

[Bug web/54973] [bugzilla] make "Before reporting a bug" notice more prominent

2012-10-18 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54973 --- Comment #3 from Jonathan Wakely 2012-10-18 13:26:49 UTC --- Here's a rubbishy mock up misusing and an existing CSS class, but it makes it much easier to notice http://www.kayari.plus.com/gcc/enter_bug.cgi-1.html

[Bug c++/54975] New: [C++11] cv-qualifiers of typedef-name are ignored in lambda expression

2012-10-18 Thread ai.azuma at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54975 Bug #: 54975 Summary: [C++11] cv-qualifiers of typedef-name are ignored in lambda expression Classification: Unclassified Product: gcc Version: 4.8.0 Status

[Bug debug/54971] SRA pessimizes debug info by not creating debug stmts for fields without replacements

2012-10-18 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54971 --- Comment #1 from Jakub Jelinek 2012-10-18 13:35:05 UTC --- >From quick skimming of tree-sra.c, I'd say we could add another bool flag like grp_to_be_replaced (say grp_to_be_debug_replaced), and in the else block of if (allow_replaceme

[Bug web/54973] [bugzilla] make "Before reporting a bug" notice more prominent

2012-10-18 Thread LpSolit at netscape dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54973 --- Comment #4 from Frédéric Buclin 2012-10-18 13:37:50 UTC --- If everybody is happy with this mockup, I can push it live later today. Does it need any formal approval?

[Bug rtl-optimization/54900] write introduction incorrect wrt the C11 memory model (2)

2012-10-18 Thread francesco.zappa.nardelli at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54900 --- Comment #4 from Francesco Zappa Nardelli 2012-10-18 13:39:30 UTC --- gcc version 4.8.0 20121018 (experimental) - which includes revision 192548 - compiles this example correctly. It also fixes http://gcc.gnu.org/bugzilla

[Bug c/54954] malloc optimizations not disabled by -fno-builtin

2012-10-18 Thread swalter at lexmark dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54954 --- Comment #5 from swalter at lexmark dot com 2012-10-18 13:41:13 UTC --- Thanks for looking into this, Richard. I should have mentioned that you'll need to build with optimization turned on. Expected behavior: test.c built with -O -fno

[Bug web/54973] [bugzilla] make "Before reporting a bug" notice more prominent

2012-10-18 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54973 --- Comment #5 from Jonathan Wakely 2012-10-18 13:48:34 UTC --- I'm certainly not able to approve the change, it'll need some kind of agreement from the lead maintainers, which is why I raised it on the mailing list. I don't know if anyo

[Bug c++/53181] static_assert sees as non constant the comparison between a constexpr and a template argument

2012-10-18 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53181 --- Comment #2 from Paolo Carlini 2012-10-18 14:45:00 UTC --- In the case of wrong_string, fold_comparison (called from cp_build_binary_op via fold_if_not_in_template) cannot fold the comparison to a constant: base0 != base1. Most likely t

[Bug middle-end/54945] Too strong non-aliasing analysis?

2012-10-18 Thread mpolacek at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54945 --- Comment #9 from Marek Polacek 2012-10-18 15:42:22 UTC --- Hmm, the fix isn't enough: int main (void) { int x = 30; int y = 31; int *p = &x + 1; int *q = &y; return p == q; } $ gcc -O2 pr54945.c && ./a.out ; echo

[Bug middle-end/54945] Too strong non-aliasing analysis?

2012-10-18 Thread matz at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54945 Michael Matz changed: What|Removed |Added CC||matz at gcc dot gnu.org --- Comm

[Bug c++/14430] constructors with retroactively declared default argument not considered for conversions

2012-10-18 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14430 Paolo Carlini changed: What|Removed |Added Status|NEW |RESOLVED Known to work|

[Bug middle-end/54945] Too strong non-aliasing analysis?

2012-10-18 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54945 --- Comment #11 from Jakub Jelinek 2012-10-18 15:51:56 UTC --- Yeah, the #c9 testcase definitely isn't valid C.

[Bug middle-end/54945] Too strong non-aliasing analysis?

2012-10-18 Thread gcc at robbertkrebbers dot nl
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54945 --- Comment #12 from gcc at robbertkrebbers dot nl 2012-10-18 15:59:00 UTC --- What do you mean by invalid? It is certainly not undefined behavior. The pointer "&x + 1" is allowed by (6.5.6p8 of C11), and the equality operator should behave

[Bug tree-optimization/54976] New: FAIL: gcc.dg/torture/pr47975.c (internal compiler error)

2012-10-18 Thread gretay at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54976 Bug #: 54976 Summary: FAIL: gcc.dg/torture/pr47975.c (internal compiler error) Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED

[Bug c++/29633] syntax error in do/while condition with templates reports incorrect line number

2012-10-18 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29633 Paolo Carlini changed: What|Removed |Added CC|gcc-bugs at gcc dot gnu.org | Known to fail|

[Bug c++/32322] pointers to overloaded methods not correctly resolved

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

[Bug c++/29633] syntax error in do/while condition with templates reports incorrect line number

2012-10-18 Thread paolo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29633 --- Comment #4 from paolo at gcc dot gnu.org 2012-10-18 17:02:21 UTC --- Author: paolo Date: Thu Oct 18 17:02:10 2012 New Revision: 192570 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=192570 Log: 2012-10-18 Paolo Carlini

[Bug c++/29633] syntax error in do/while condition with templates reports incorrect line number

2012-10-18 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29633 Paolo Carlini changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug fortran/54884] [4.8 Regression] Externally used PRIVATE module procedure wrongly marked as TREE_PUBLIC()=0

2012-10-18 Thread burnus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54884 --- Comment #5 from Tobias Burnus 2012-10-18 17:09:19 UTC --- Author: burnus Date: Thu Oct 18 17:09:13 2012 New Revision: 192571 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=192571 Log: 2012-10-18 Tobias Burnus

[Bug tree-optimization/54977] New: example3 not vectorized

2012-10-18 Thread wbrana at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54977 Bug #: 54977 Summary: example3 not vectorized Classification: Unclassified Product: gcc Version: 4.7.2 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug debug/54971] SRA pessimizes debug info by not creating debug stmts for fields without replacements

2012-10-18 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54971 --- Comment #2 from Martin Jambor 2012-10-18 17:37:25 UTC --- I already have a work-in-progress patch based on your suggestions that works for the testcase but need to think a bit more about less obvious cases that might happen. However,

[Bug tree-optimization/54978] New: Add ability to provide vectorized functions

2012-10-18 Thread ddesics at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54978 Bug #: 54978 Summary: Add ability to provide vectorized functions Classification: Unclassified Product: gcc Version: unknown Status: UNCONFIRMED Severity: enhancement

[Bug c++/3187] gcc lays down two copies of constructors

2012-10-18 Thread ararunprasad at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3187 Arunprasad changed: What|Removed |Added CC||ararunprasad at gmail dot

[Bug target/54974] [4.8 Regression] [ARM] Incorrect placement of constant pools

2012-10-18 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54974 Andrew Pinski changed: What|Removed |Added CC||pinskia at gcc dot gnu.org Tar

[Bug middle-end/54838] [4.8 Regression] ICE: in merge_latch_edges, at cfgloop.c:678 with -O2 -ftracer -fno-tree-dce -fno-tree-sra

2012-10-18 Thread zsojka at seznam dot cz
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54838 --- Comment #3 from Zdenek Sojka 2012-10-18 18:24:42 UTC --- Created attachment 28486 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=28486 another testcase This ICE seems to happen quite often when testing with 'random' flags... -

[Bug c++/54930] Add warning switch for "returning reference to temporary" and similar

2012-10-18 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54930 --- Comment #4 from Jonathan Wakely 2012-10-18 18:30:40 UTC --- patch posted for review http://gcc.gnu.org/ml/gcc-patches/2012-10/msg01737.html

[Bug tree-optimization/54967] [4.8 Regression] ICE in check_loop_closed_ssa_use, at tree-ssa-loop-manip.c:55

2012-10-18 Thread dominiq at lps dot ens.fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54967 --- Comment #4 from Dominique d'Humieres 2012-10-18 19:01:34 UTC --- The ICE appears at revision 192538 and requires gcc to be configured with --enable-checking=yes (default). I don't see it for gcc configured with --enable-checking=releas

[Bug target/54830] [SH] Unnecessary exts.w before extu.b

2012-10-18 Thread olegendo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54830 --- Comment #1 from Oleg Endo 2012-10-18 19:24:36 UTC --- Created attachment 28487 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=28487 Reduced test case This is the reduced test case. It shows that there are actually two redundan

[Bug target/54830] [SH] Unnecessary exts.w before extu.b

2012-10-18 Thread olegendo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54830 Oleg Endo changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug target/54974] [4.8 Regression] [ARM] Incorrect placement of constant pools

2012-10-18 Thread mikpe at it dot uu.se
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54974 --- Comment #4 from Mikael Pettersson 2012-10-18 19:43:02 UTC --- The test case started failing with r189790: http://gcc.gnu.org/ml/gcc-cvs/2012-07/msg00695.html That patch merely enabled insn splitting at -O0, so I suspect it exposed a latent

[Bug c/54979] New: no warning for useless comparison

2012-10-18 Thread tromey at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54979 Bug #: 54979 Summary: no warning for useless comparison Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: enhancement

[Bug c/54979] no warning for useless comparison

2012-10-18 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54979 Manuel López-Ibáñez changed: What|Removed |Added Keywords||diagnostic Status|UNCO

[Bug c++/54501] infinite recursion on illegal code

2012-10-18 Thread paolo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54501 --- Comment #3 from paolo at gcc dot gnu.org 2012-10-18 22:48:49 UTC --- Author: paolo Date: Thu Oct 18 22:48:35 2012 New Revision: 192592 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=192592 Log: /cp 2012-10-18 Paolo Carlin

[Bug c++/54501] infinite recursion on illegal code

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

[Bug lto/54980] New: [4.8 regression] gimple check: expected gimple_cond(error_mark), have gimple_call() in gimple_cond_set_lhs, at gimple.h:2578

2012-10-18 Thread dimhen at gmail dot com
-object --enable-linker-build-id --enable-languages=c,c++,lto --enable-plugin --enable-version-specific-runtime-libs --with-tune=generic Thread model: posix gcc version 4.8.0 20121018 (experimental) [trunk revision 192560] (GCC) $ g++ -flto -fpreprocessed -c 1.ii -o 1.o $ g++ -flto -O1

[Bug c++/3187] gcc lays down two copies of constructors

2012-10-18 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3187 Paolo Carlini changed: What|Removed |Added CC|gcc-bugs at gcc dot gnu.org |jakub at gcc dot gnu.org --- Com

[Bug lto/54980] [4.8 regression] gimple check: expected gimple_cond(error_mark), have gimple_call() in gimple_cond_set_lhs, at gimple.h:2578

2012-10-18 Thread dimhen at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54980 --- Comment #1 from Dmitry G. Dyachenko 2012-10-18 23:05:38 UTC --- 192502 OK $ g++ -v Using built-in specs. COLLECT_GCC=g++ COLLECT_LTO_WRAPPER=/usr/local/gcc_current_192502/bin/../libexec/gcc/x86_64-unknown-linux-gnu/4.8.0/lto-wrappe

[Bug tree-optimization/54981] New: [4.8 Regression] Different code generated with / without `-g'

2012-10-18 Thread d.g.gorbachev at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54981 Bug #: 54981 Summary: [4.8 Regression] Different code generated with / without `-g' Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFI

[Bug tree-optimization/54906] write introduction incorrect wrt the C++11 memory model (case with atomic accesses)

2012-10-18 Thread aldyh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54906 Aldy Hernandez changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug rtl-optimization/54900] write introduction incorrect wrt the C11 memory model (2)

2012-10-18 Thread aldyh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54900 --- Comment #5 from Aldy Hernandez 2012-10-18 23:46:04 UTC --- I am leaving this PR open while I address the corner case presented by Jakub somewhere in this thread: http://gcc.gnu.org/ml/gcc-patches/2012-10/msg01763.html ...though te

[Bug lto/54980] [4.8 regression] gimple check: expected gimple_cond(error_mark), have gimple_call() in gimple_cond_set_lhs, at gimple.h:2578

2012-10-18 Thread dimhen at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54980 --- Comment #2 from Dmitry G. Dyachenko 2012-10-18 23:51:33 UTC --- more reduced $ cat 1.ii extern "C" class A { }; template < int (*t_parser) () > class B { virtual int parse () { A a; t_parser ();

[Bug lto/54980] [4.8 regression] gimple check: expected gimple_cond(error_mark), have gimple_call() in gimple_cond_set_lhs, at gimple.h:2578

2012-10-18 Thread dimhen at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54980 --- Comment #3 from Dmitry G. Dyachenko 2012-10-19 00:08:54 UTC --- and more $ cat 1.ii class A { }; template < int (*t_parser) () > class B { virtual int parse () { A a; t_parser (); } }; extern

[Bug tree-optimization/54965] [4.6 Regression] sorry, unimplemented: inlining failed in call to 'foo': function not considered for inlining

2012-10-18 Thread siarhei.siamashka at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54965 --- Comment #5 from Siarhei Siamashka 2012-10-19 00:17:13 UTC --- (In reply to comment #4) > In the above case you probably want big_function_a to have all > calls inlined. You can then conveniently use the flatten attribute: > > void

[Bug tree-optimization/54982] New: Uninitialised variable store_flag in tree-ssa-loop-im.c

2012-10-18 Thread clintonmead at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54982 Bug #: 54982 Summary: Uninitialised variable store_flag in tree-ssa-loop-im.c Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED

[Bug c++/3187] gcc lays down two copies of constructors

2012-10-18 Thread ararunprasad at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3187 --- Comment #40 from Arunprasad 2012-10-19 06:41:04 UTC --- Thank you.Is there any way to find it from nm output.?