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

2012-10-18 Thread dj at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54952 DJ Delorie dj at redhat dot com changed: What|Removed |Added CC||dj at redhat dot

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

2012-10-18 Thread vincenzo.innocente at cern dot ch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54966 Bug #: 54966 Summary: Does LTO requires a larger inline-unit-growth? Classification: Unclassified Product: gcc Version: 4.7.2 Status: UNCONFIRMED Severity: normal

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

2012-10-18 Thread sch...@linux-m68k.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54964 --- Comment #3 from Andreas Schwab sch...@linux-m68k.org 2012-10-18 06:57:50 UTC --- The dependency file is created by the preprocessor, which isn't even run for a .s file.

[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 ami at fischman dot org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED

[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 m.galante at centrosistemi dot it changed: What|Removed |Added See Also|

[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 dominiq at lps dot ens.fr 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

[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 dominiq at lps dot ens.fr changed: What|Removed |Added Status|UNCONFIRMED

[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 Joost.VandeVondele at mat dot ethz.ch changed: What|Removed |Added Status|NEW

[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

[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

[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 dominiq at lps dot ens.fr changed: What|Removed |Added Status|UNCONFIRMED

[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 pinskia at gcc dot gnu.org 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 jakub at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED

[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 jakub at gcc dot gnu.org 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 jakub at gcc dot gnu.org changed: What|Removed |Added Attachment #28478|0 |1

[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 rguenth at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW

[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 rguenth at gcc dot gnu.org changed: What|Removed |Added Keywords||lto

[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 rguenth at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW

[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 rguenth at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW

[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 rguenth at gcc dot gnu.org changed: What|Removed |Added Target|*86*-*-*

[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 suckfish at ihug dot co.nz 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

[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 rguenth at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW

[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 rguenth at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED

[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 rguenth at gcc dot gnu.org 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]

[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 jakub at gcc dot gnu.org 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

[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 paolo.carlini at oracle dot com changed: What|Removed |Added CC|gcc-bugs at gcc dot gnu.org |

[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 mpolacek at gcc dot gnu.org 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 manu at gcc dot gnu.org 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.

[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 rguenth at gcc dot gnu.org 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

[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 siarhei.siamashka at gmail dot com 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 =

[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 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

[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 sch...@linux-m68k.org 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

[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 redi at gcc dot gnu.org 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

[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 manu at gcc dot gnu.org 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

[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 tetra2005 at gmail dot com 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 tetra2005 at gmail dot com changed: What|Removed |Added CC||tetra2005

[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 random at adriver dot ru 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:

[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 bren at ragh dot us changed: What|Removed |Added CC||bren at

[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 bernds at gcc dot gnu.org 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 sch...@linux-m68k.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED

[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 redi at gcc dot gnu.org 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 random at adriver dot ru 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:

[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 LpSolit at netscape dot net 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

[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 redi at gcc dot gnu.org 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

[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 mans at mansr dot com 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

[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 doko at gcc dot gnu.org changed: What|Removed |Added Keywords|

[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 mikpe at it dot uu.se changed: What|Removed |Added CC||mikpe at

[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 redi at gcc dot gnu.org 2012-10-18 13:26:49 UTC --- Here's a rubbishy mock up misusing fieldset and an existing CSS class, but it makes it much easier to notice

[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

[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 jakub at gcc dot gnu.org 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

[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 LpSolit at netscape dot net 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 francesco.zappa.nardelli at gmail dot com 2012-10-18 13:39:30 UTC --- gcc version 4.8.0 20121018 (experimental) - which includes revision 192548 - compiles this example correctly. It also

[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

[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 redi at gcc dot gnu.org 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

[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 paolo.carlini at oracle dot com 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

[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 mpolacek at gcc dot gnu.org 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

[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 matz at gcc dot gnu.org changed: What|Removed |Added CC||matz at gcc

[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 paolo.carlini at oracle dot com changed: What|Removed |Added Status|NEW

[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 jakub at gcc dot gnu.org 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 as

[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 paolo.carlini at oracle dot com changed: What|Removed |Added CC|gcc-bugs at gcc dot gnu.org |

[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 paolo.carlini at oracle dot com changed: What|Removed |Added Status|UNCONFIRMED

[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 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=gccview=revrev=192570 Log:

[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 paolo.carlini at oracle dot com changed: What|Removed |Added Status|NEW

[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 burnus at gcc dot gnu.org 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=gccview=revrev=192571 Log: 2012-10-18

[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 jamborm at gcc dot gnu.org 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

[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:

[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 ararunprasad at gmail dot com changed: What|Removed |Added CC|

[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 pinskia at gcc dot gnu.org changed: What|Removed |Added CC||pinskia

[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 zsojka at seznam dot cz 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

[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 redi at gcc dot gnu.org 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 dominiq at lps dot ens.fr 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

[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 olegendo at gcc dot gnu.org 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

[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 olegendo at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED

[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 mikpe at it dot uu.se 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

[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 manu at gcc dot gnu.org changed: What|Removed |Added Keywords||diagnostic

[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 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=gccview=revrev=192592 Log: /cp

[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 paolo.carlini at oracle dot com changed: What|Removed |Added Status|ASSIGNED

[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 paolo.carlini at oracle dot com changed: What|Removed |Added CC|gcc-bugs at gcc dot gnu.org

[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 dimhen at gmail dot com 2012-10-18 23:05:38 UTC --- 192502 OK $ g++ -v Using built-in specs. COLLECT_GCC=g++

[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:

[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 aldyh at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED

[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 aldyh at gcc dot gnu.org 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:

[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 dimhen at gmail dot com 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;

[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 dimhen at gmail dot com 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 ();

[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 siarhei.siamashka at gmail dot com 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

[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