[Bug c/46286] ICE in do_complex_constraint, at tree-ssa-structalias.c:1882

2010-11-03 Thread dominiq at lps dot ens.fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46286

--- Comment #1 from Dominique d'Humieres dominiq at lps dot ens.fr 2010-11-03 
06:46:57 UTC ---
Created attachment 22244
  -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=22244
preprocessed file sched-rgn.i


[Bug c/46286] ICE in do_complex_constraint, at tree-ssa-structalias.c:1882

2010-11-03 Thread dominiq at lps dot ens.fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46286

--- Comment #2 from Dominique d'Humieres dominiq at lps dot ens.fr 2010-11-03 
06:50:38 UTC ---
Confirmed (attached preprocessed file). This is due to revision 166204
(bootstrap is restored if this revision is reverted).


[Bug gcov-profile/46266] gcov generates data for non-existing file built-in

2010-11-03 Thread dominiq at lps dot ens.fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46266

Dominique d'Humieres dominiq at lps dot ens.fr changed:

   What|Removed |Added

 CC||rguenther at suse dot de

--- Comment #1 from Dominique d'Humieres dominiq at lps dot ens.fr 2010-11-03 
06:54:46 UTC ---
Revision 166204

Jump to revision: 
Author:rguenth
Date:Tue Nov 2 17:00:09 2010 UTC (13 hours, 52 minutes ago)
Changed paths:4
Log Message:
2010-11-02  Richard Guenther  rguent...@suse.de

PR tree-optimization/46149
* tree-ssa-structalias.c (get_constraint_for_1): Properly handle
non-indirect MEM_REF variants.

* g++.dg/torture/pr46149.C: New testcase.
Changed paths:

PathDetails
trunk/gcc/ChangeLogmodified , text changed
trunk/gcc/testsuite/ChangeLogmodified , text changed
trunk/gcc/testsuite/g++.dg/torture/pr46149.Cadded
trunk/gcc/tree-ssa-structalias.cmodified , text changed


[Bug gcov-profile/46266] gcov generates data for non-existing file built-in

2010-11-03 Thread dominiq at lps dot ens.fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46266

--- Comment #2 from Dominique d'Humieres dominiq at lps dot ens.fr 2010-11-03 
06:58:06 UTC ---
Comment #1 attached to the wrong PR. Sorry!


[Bug tree-optimization/46286] ICE in do_complex_constraint, at tree-ssa-structalias.c:1882

2010-11-03 Thread dominiq at lps dot ens.fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46286

Dominique d'Humieres dominiq at lps dot ens.fr changed:

   What|Removed |Added

 CC||rguenther at suse dot de

--- Comment #3 from Dominique d'Humieres dominiq at lps dot ens.fr 2010-11-03 
06:59:27 UTC ---
Revision 166204

Jump to revision: 
Author:rguenth
Date:Tue Nov 2 17:00:09 2010 UTC (13 hours, 52 minutes ago)
Changed paths:4
Log Message:
2010-11-02  Richard Guenther  rguent...@suse.de

PR tree-optimization/46149
* tree-ssa-structalias.c (get_constraint_for_1): Properly handle
non-indirect MEM_REF variants.

* g++.dg/torture/pr46149.C: New testcase.
Changed paths:

PathDetails
trunk/gcc/ChangeLogmodified , text changed
trunk/gcc/testsuite/ChangeLogmodified , text changed
trunk/gcc/testsuite/g++.dg/torture/pr46149.Cadded
trunk/gcc/tree-ssa-structalias.cmodified , text changed


[Bug tree-optimization/46286] [4.6 Regression] ICE in do_complex_constraint, at tree-ssa-structalias.c:1882

2010-11-03 Thread burnus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46286

Tobias Burnus burnus at gcc dot gnu.org changed:

   What|Removed |Added

 CC||burnus at gcc dot gnu.org
   Target Milestone|--- |4.6.0
Summary|ICE in  |[4.6 Regression] ICE in
   |do_complex_constraint, at   |do_complex_constraint, at
   |tree-ssa-structalias.c:1882 |tree-ssa-structalias.c:1882


[Bug tree-optimization/46286] [4.6 Regression] ICE in do_complex_constraint, at tree-ssa-structalias.c:1882

2010-11-03 Thread burnus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46286

--- Comment #4 from Tobias Burnus burnus at gcc dot gnu.org 2010-11-03 
07:37:54 UTC ---
I did some debugging and found out that I only see the ICE on x86-64-linux if I
use:
  export MALLOC_PERTURB_=$(($RANDOM % 255 + 1))
(current value: 191)

If I do not set that variable, xgcc compiles gcc/sched-rgn.c without an ICE. I
tried valgrind, but it shows no error.


[Bug target/46128] There is no mechanism for detecting VFP revisions in ARM GCC.

2010-11-03 Thread Jacob.Bramley at arm dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46128

--- Comment #4 from Jacob Bramley Jacob.Bramley at arm dot com 2010-11-03 
07:59:30 UTC ---
(In reply to comment #3)
 Please complete the Known to work, Known to fail, Version and Target
 Milestone and any other useful details you can add.  I can then move this 
 onto
 the NEW status.

This bug applies to all current versions of GCC, and is a design issue rather
than an implementation issue. I can't fill in Known to work and Known to
fail because Bugzilla won't accept values such as All current versions.

The Target Milestone is up to you. Sooner is obviously better, but you have
your own priorities, and I don't know anything about the feature-freeze dates
and the like.


[Bug rtl-optimization/46248] [4.6 regression] crash+infinite recursion in combine

2010-11-03 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46248

--- Comment #5 from Jakub Jelinek jakub at gcc dot gnu.org 2010-11-03 
08:30:29 UTC ---
Author: jakub
Date: Wed Nov  3 08:30:21 2010
New Revision: 166231

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=166231
Log:
PR rtl-optimization/46034
PR rtl-optimization/46212
PR rtl-optimization/46248
* combine.c (try_combine): If added_sets_2 where i0dest_in_i0src
and i0 feeds i1 and i1 feeds i2 or i0 feeds i2, make a copy of i1src
before i0dest - i0src substitution and pass 1 instead of 0 as last
argument to subst on i2pat.

* gcc.c-torture/compile/pr46034.c: New test.
* gcc.c-torture/compile/pr46248.c: New test.
* gcc.dg/pr46212.c: New test.

Added:
trunk/gcc/testsuite/gcc.c-torture/compile/pr46034.c
trunk/gcc/testsuite/gcc.c-torture/compile/pr46248.c
trunk/gcc/testsuite/gcc.dg/pr46212.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/combine.c
trunk/gcc/testsuite/ChangeLog


[Bug rtl-optimization/46034] [4.6 regression] internal compiler error: segmentation fault

2010-11-03 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46034

--- Comment #13 from Jakub Jelinek jakub at gcc dot gnu.org 2010-11-03 
08:30:30 UTC ---
Author: jakub
Date: Wed Nov  3 08:30:21 2010
New Revision: 166231

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=166231
Log:
PR rtl-optimization/46034
PR rtl-optimization/46212
PR rtl-optimization/46248
* combine.c (try_combine): If added_sets_2 where i0dest_in_i0src
and i0 feeds i1 and i1 feeds i2 or i0 feeds i2, make a copy of i1src
before i0dest - i0src substitution and pass 1 instead of 0 as last
argument to subst on i2pat.

* gcc.c-torture/compile/pr46034.c: New test.
* gcc.c-torture/compile/pr46248.c: New test.
* gcc.dg/pr46212.c: New test.

Added:
trunk/gcc/testsuite/gcc.c-torture/compile/pr46034.c
trunk/gcc/testsuite/gcc.c-torture/compile/pr46248.c
trunk/gcc/testsuite/gcc.dg/pr46212.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/combine.c
trunk/gcc/testsuite/ChangeLog


[Bug rtl-optimization/46212] [4.6 regression] segfault in reg_nonzero_bits_for_combine

2010-11-03 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46212

--- Comment #7 from Jakub Jelinek jakub at gcc dot gnu.org 2010-11-03 
08:30:29 UTC ---
Author: jakub
Date: Wed Nov  3 08:30:21 2010
New Revision: 166231

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=166231
Log:
PR rtl-optimization/46034
PR rtl-optimization/46212
PR rtl-optimization/46248
* combine.c (try_combine): If added_sets_2 where i0dest_in_i0src
and i0 feeds i1 and i1 feeds i2 or i0 feeds i2, make a copy of i1src
before i0dest - i0src substitution and pass 1 instead of 0 as last
argument to subst on i2pat.

* gcc.c-torture/compile/pr46034.c: New test.
* gcc.c-torture/compile/pr46248.c: New test.
* gcc.dg/pr46212.c: New test.

Added:
trunk/gcc/testsuite/gcc.c-torture/compile/pr46034.c
trunk/gcc/testsuite/gcc.c-torture/compile/pr46248.c
trunk/gcc/testsuite/gcc.dg/pr46212.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/combine.c
trunk/gcc/testsuite/ChangeLog


[Bug rtl-optimization/46248] [4.6 regression] crash+infinite recursion in combine

2010-11-03 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46248

Jakub Jelinek jakub at gcc dot gnu.org changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED

--- Comment #6 from Jakub Jelinek jakub at gcc dot gnu.org 2010-11-03 
08:38:55 UTC ---
Fixed.


[Bug debug/46252] [4.6 Regression] -fcompare-debug failure (length) with -O -frerun-cse-after-loop -fno-tree-loop-optimize -funroll-loops

2010-11-03 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46252

--- Comment #4 from Jakub Jelinek jakub at gcc dot gnu.org 2010-11-03 
08:38:45 UTC ---
Author: jakub
Date: Wed Nov  3 08:38:42 2010
New Revision: 166232

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=166232
Log:
PR debug/46252
* reload1.c (delete_dead_insn): Use prev_active_insn instead of
prev_real_insn.
* gcse.c (insert_insn_end_basic_block): Likewise.

* gcc.dg/pr46252.c: New test.

Added:
trunk/gcc/testsuite/gcc.dg/pr46252.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/gcse.c
trunk/gcc/reload1.c
trunk/gcc/testsuite/ChangeLog


[Bug rtl-optimization/46212] [4.6 regression] segfault in reg_nonzero_bits_for_combine

2010-11-03 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46212

Jakub Jelinek jakub at gcc dot gnu.org changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||jakub at gcc dot gnu.org
 Resolution||FIXED

--- Comment #8 from Jakub Jelinek jakub at gcc dot gnu.org 2010-11-03 
08:45:28 UTC ---
Fixed.


[Bug debug/46252] [4.6 Regression] -fcompare-debug failure (length) with -O -frerun-cse-after-loop -fno-tree-loop-optimize -funroll-loops

2010-11-03 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46252

Jakub Jelinek jakub at gcc dot gnu.org changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution||FIXED

--- Comment #5 from Jakub Jelinek jakub at gcc dot gnu.org 2010-11-03 
08:46:12 UTC ---
Fixed.


[Bug target/46275] -masm=intel -fPIC causes global offset table issues

2010-11-03 Thread ubizjak at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46275

--- Comment #7 from Uros Bizjak ubizjak at gmail dot com 2010-11-03 08:47:48 
UTC ---
For some reason, the addend in R_386_GOTPC reloc is missing when compiled with
-masm=intel. The objdump difference between -masm=att [hello.o] that works and
-masm=intel [hello_.o] that fails is:

@@ -1,5 +1,5 @@

-hello.o: file format elf32-i386
+hello_.o: file format elf32-i386


 Disassembly of section .text:
@@ -12,7 +12,7 @@
7:83 ec 1c sub$0x1c,%esp
a:e8 fc ff ff ff   call   b main+0xb
 b: R_386_PC32__i686.get_pc_thunk.bx
-   f:81 c3 02 00 00 00add$0x2,%ebx
+   f:81 c3 00 00 00 00add$0x0,%ebx
 11: R_386_GOTPC_GLOBAL_OFFSET_TABLE_
   15:8d 83 00 00 00 00lea0x0(%ebx),%eax
 17: R_386_GOTOFF.rodata


[Bug tree-optimization/46142] [4.6 Regression] FMA test failures

2010-11-03 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46142

Jakub Jelinek jakub at gcc dot gnu.org changed:

   What|Removed |Added

 CC||jakub at gcc dot gnu.org

--- Comment #10 from Jakub Jelinek jakub at gcc dot gnu.org 2010-11-03 
08:48:16 UTC ---
I don't see any *fma* failures on current trunk, neither i686-linux nor
x86_64-linux.  Can this be closed now?


[Bug tree-optimization/46142] [4.6 Regression] FMA test failures

2010-11-03 Thread ubizjak at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46142

Uros Bizjak ubizjak at gmail dot com changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution||FIXED

--- Comment #11 from Uros Bizjak ubizjak at gmail dot com 2010-11-03 08:52:57 
UTC ---
Fixed again.


[Bug bootstrap/44455] GCC fails to build if MPFR 3.0.0 (Release Candidate) is used

2010-11-03 Thread gcc at abeckmann dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44455

Andreas Beckmann gcc at abeckmann dot de changed:

   What|Removed |Added

 CC||gcc at abeckmann dot de

--- Comment #18 from Andreas Beckmann gcc at abeckmann dot de 2010-11-03 
09:08:14 UTC ---
Is there a chance to get this trivial fix backported to 4.4 and 4.3, too?


[Bug lto/46273] [4.6 Regression] Failed to bootstrap

2010-11-03 Thread davek at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46273

--- Comment #7 from Dave Korn davek at gcc dot gnu.org 2010-11-03 09:14:36 
UTC ---
Author: davek
Date: Wed Nov  3 09:14:32 2010
New Revision: 166233

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=166233
Log:
ChangeLog:

2010-11-03  Ian Lance Taylor  i...@google.com
Dave Korn  dave.korn.cyg...@gmail.com

PR lto/46273
* configure.ac: Remove libelf tests.  Build lto-plugin on ELF always
and on other supported platforms whenever LTO is enabled.
* configure: Rebuild.

gcc/ChangeLog:

2010-11-03  Ian Lance Taylor  i...@google.com

PR lto/46273
* gcc/config.gcc: Don't set lto_binary_reader.
* doc/install.texi (Prerequisites): Remove libelf paragraphs.
(Configuration): Mention --disable-lto.  Remove --with-libelf
paragraph.

lto-plugin/ChangeLog:

2010-11-03  Dave Korn  dave.korn.cyg...@gmail.com

PR lto/46273
* lto-plugin.h: Delete.
* lto-plugin-elf.c: Likewise.
* lto-plugin-coff.c: Likewise.
* configure.ac: Don't use libelf, don't source config.gcc.
(LIBELFLIBS): Delete.
(LIBELFINC): Delete.
(LTO_FORMAT): Delete.
(SYM_STYLE): Add AC_DEFINE var, set based on $target.
(config.h): Add AC_CONFIG_HEADERS directive.
* Makefile.am (LIBELFLIBS): Delete.
(LIBELFINC): Delete.
(LTO_FORMAT): Delete.
(DEFS): Import.
(AM_CPPFLAGS): Use it.  Don't use LIBELFINC.
(liblto_plugin_la_SOURCES): Don't use LTO_FORMAT, don't include
any object-format-specific source file in the link.
(liblto_plugin_la_LIBADD): Don't use LIBELFLIBS.
* config.h.in: Generate.
* configure: Regenerate.
* Makefile.in: Likewise.
* lto-plugin.c (O_BINARY): Definition moved here from lto-plugin.h.
(LTO_SEGMENT_NAME): New definition.
(LTO_SECTION_PREFIX): Definition moved here from lto-plugin.h.
(LTO_SECTION_PREFIX_LEN): New definition.
(struct sym_aux): Struct definition moved here from lto-plugin.h.
(struct plugin_symtab): Likewise.
(struct plugin_objfile): Likewise.
(struct plugin_objfile): New struct def.
(enum symbol_style): New enum type.
(add_symbols): Make static.
(claimed_files): Likewise.
(num_claimed_files): Likewise.
(sym_style): New global.
(check): Make static.
(parse_table_entry): Likewise.  Respect sym_style when extracting
symbol from symtab entry.
(translate): Make static.
(resolve_conflicts): Likewise.
(process_symtab): New function, per-section callback version of
old object-format-specific handling from deleted lto-plugin-elf.c.
(claim_file_handler): Convert ELF-specific version from deleted
lto-plugin-elf.c to simple_object interface and move here.
(process_options): Allow new '-sym-style=' option.
(onload): Don't call deleted onload_format_checks hook.


Added:
trunk/lto-plugin/config.h.in
Removed:
trunk/lto-plugin/lto-plugin-coff.c
trunk/lto-plugin/lto-plugin-elf.c
trunk/lto-plugin/lto-plugin.h
Modified:
trunk/ChangeLog
trunk/configure
trunk/configure.ac
trunk/gcc/ChangeLog
trunk/gcc/config.gcc
trunk/gcc/doc/install.texi
trunk/lto-plugin/ChangeLog
trunk/lto-plugin/Makefile.am
trunk/lto-plugin/Makefile.in
trunk/lto-plugin/configure
trunk/lto-plugin/configure.ac
trunk/lto-plugin/lto-plugin.c


[Bug fortran/39427] F2003: Procedures with same name as types/type constructors

2010-11-03 Thread burnus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39427

--- Comment #22 from Tobias Burnus burnus at gcc dot gnu.org 2010-11-03 
09:14:59 UTC ---
Last draft patch: http://gcc.gnu.org/ml/fortran/2010-10/msg00274.html


[Bug fortran/46174] [OOP] ALLOCATE with SOURCE: Deep copy missing

2010-11-03 Thread burnus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46174

--- Comment #5 from Tobias Burnus burnus at gcc dot gnu.org 2010-11-03 
09:18:32 UTC ---
Draft patch for $free/$copy (w/o FINALize, cf. PR 37336):
  http://gcc.gnu.org/ml/fortran/2010-11/msg00030.html


[Bug lto/46273] [4.6 Regression] Failed to bootstrap

2010-11-03 Thread davek at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46273

Dave Korn davek at gcc dot gnu.org changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution||FIXED

--- Comment #8 from Dave Korn davek at gcc dot gnu.org 2010-11-03 09:18:28 
UTC ---
Fix committed revision 166233, as mentioned above.


[Bug tree-optimization/46107] [4.6 Regression] -ftree-loop-distribute-patterns caused verify_loop_structure problem

2010-11-03 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46107

--- Comment #4 from Jakub Jelinek jakub at gcc dot gnu.org 2010-11-03 
09:49:21 UTC ---
Author: jakub
Date: Wed Nov  3 09:49:16 2010
New Revision: 166234

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=166234
Log:
PR tree-optimization/46107
* cfgloopmanip.c (loop_version): Set irred_flag back into entry-flags
if cfg_hook_duplicate_loop_to_header_edge failed.

* gcc.c-torture/compile/pr46107.c: New test.

Added:
trunk/gcc/testsuite/gcc.c-torture/compile/pr46107.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/cfgloopmanip.c
trunk/gcc/testsuite/ChangeLog


[Bug tree-optimization/46107] [4.6 Regression] -ftree-loop-distribute-patterns caused verify_loop_structure problem

2010-11-03 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46107

Jakub Jelinek jakub at gcc dot gnu.org changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution||FIXED

--- Comment #5 from Jakub Jelinek jakub at gcc dot gnu.org 2010-11-03 
09:50:00 UTC ---
Fixed.


[Bug middle-end/46251] ICE: in expand_expr_real_2, at expr.c:7276 with -funsafe-math-optimizations -mbionic and __builtin_sincosl()

2010-11-03 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46251

--- Comment #4 from Richard Guenther rguenth at gcc dot gnu.org 2010-11-03 
09:57:16 UTC ---
Author: rguenth
Date: Wed Nov  3 09:57:13 2010
New Revision: 166235

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=166235
Log:
2010-11-03  Richard Guenther  rguent...@suse.de

PR middle-end/46251
* builtins.c (expand_builtin_sincos): Properly build MEM_REFs,
not INDIRECT_REFs.

* gcc.dg/pr46251.c: New testcase.

Added:
trunk/gcc/testsuite/gcc.dg/pr46251.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/builtins.c
trunk/gcc/testsuite/ChangeLog


[Bug middle-end/46251] ICE: in expand_expr_real_2, at expr.c:7276 with -funsafe-math-optimizations -mbionic and __builtin_sincosl()

2010-11-03 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46251

Richard Guenther rguenth at gcc dot gnu.org changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution||FIXED

--- Comment #5 from Richard Guenther rguenth at gcc dot gnu.org 2010-11-03 
09:57:37 UTC ---
Fixed.


[Bug tree-optimization/46216] [4.6 Regression] ICE: SSA corruption

2010-11-03 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46216

Richard Guenther rguenth at gcc dot gnu.org changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution||FIXED

--- Comment #5 from Richard Guenther rguenth at gcc dot gnu.org 2010-11-03 
09:58:38 UTC ---
Fixed.


[Bug target/46128] There is no mechanism for detecting VFP revisions in ARM GCC.

2010-11-03 Thread rearnsha at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46128

Richard Earnshaw rearnsha at gcc dot gnu.org changed:

   What|Removed |Added

 Status|WAITING |NEW
   Severity|minor   |enhancement

--- Comment #5 from Richard Earnshaw rearnsha at gcc dot gnu.org 2010-11-03 
10:26:11 UTC ---
This is really an enhancement request...


[Bug tree-optimization/46165] [4.3/4.4/4.5/4.6 Regression] ICE: verify_flow_info failed when casting-out attribute noreturn with -fno-tree-ccp -fno-tree-copy-prop -fno-tree-dce

2010-11-03 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46165

--- Comment #3 from Jakub Jelinek jakub at gcc dot gnu.org 2010-11-03 
10:34:38 UTC ---
Author: jakub
Date: Wed Nov  3 10:34:34 2010
New Revision: 166236

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=166236
Log:
PR tree-optimization/46165
* tree-ssa-pre.c (eliminate): Return TODO_cleanup_cfg if changing
a normal call into noreturn call.

* gcc.dg/pr46165.c: New test.

Added:
trunk/gcc/testsuite/gcc.dg/pr46165.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/testsuite/ChangeLog
trunk/gcc/tree-ssa-pre.c


[Bug tree-optimization/46165] [4.3/4.4/4.5 Regression] ICE: verify_flow_info failed when casting-out attribute noreturn with -fno-tree-ccp -fno-tree-copy-prop -fno-tree-dce

2010-11-03 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46165

Jakub Jelinek jakub at gcc dot gnu.org changed:

   What|Removed |Added

  Known to work||4.6.0
Summary|[4.3/4.4/4.5/4.6|[4.3/4.4/4.5 Regression]
   |Regression] ICE:|ICE: verify_flow_info
   |verify_flow_info failed |failed when casting-out
   |when casting-out attribute  |attribute noreturn with
   |noreturn with -fno-tree-ccp |-fno-tree-ccp
   |-fno-tree-copy-prop |-fno-tree-copy-prop
   |-fno-tree-dce   |-fno-tree-dce
  Known to fail|4.6.0   |

--- Comment #4 from Jakub Jelinek jakub at gcc dot gnu.org 2010-11-03 
10:35:27 UTC ---
Fixed on the trunk so far.


[Bug bootstrap/44335] [4.6 regression] gcc-4.6-20100529 java bootstrap failure on arm-linux-gnueabi

2010-11-03 Thread amylaar at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44335

--- Comment #9 from Jorn Wolfgang Rennecke amylaar at gcc dot gnu.org 
2010-11-03 10:45:46 UTC ---
Author: amylaar
Date: Wed Nov  3 10:45:40 2010
New Revision: 166238

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=166238
Log:
PR bootstrap/44335
gcc:
* targhooks.c (targhook_words_big_endian): New function.
(targhook_float_words_big_endian): Likewise.
* targhooks.h (targhook_words_big_endian): Declare.
(targhook_float_words_big_endian): Likewise.
* target.def (words_big_endian, float_words_big_endian): New hooks.
gcc/java:
* jfc-parse.c (target.h): Include.
(handle_constant): Use targetm.words_big_endian and
targetm.float_words_big_endian.
(get_constant): Use targetm.float_words_big_endian.

Modified:
trunk/gcc/ChangeLog
trunk/gcc/java/ChangeLog
trunk/gcc/java/jcf-parse.c
trunk/gcc/target.def
trunk/gcc/targhooks.c
trunk/gcc/targhooks.h


[Bug target/46195] r165965 regresses i386 darwin

2010-11-03 Thread ebotcazou at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46195

Eric Botcazou ebotcazou at gcc dot gnu.org changed:

   What|Removed |Added

 CC||ebotcazou at gcc dot
   ||gnu.org

--- Comment #27 from Eric Botcazou ebotcazou at gcc dot gnu.org 2010-11-03 
10:47:37 UTC ---
   Hi HJ, I'm getting a ton of failures caused by this same warning message at
 r166110 on i686-pc-cygwin:

Same on i586-suse-linux.


[Bug bootstrap/44335] [4.6 regression] gcc-4.6-20100529 java bootstrap failure on arm-linux-gnueabi

2010-11-03 Thread amylaar at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44335

Jorn Wolfgang Rennecke amylaar at gcc dot gnu.org changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED

--- Comment #10 from Jorn Wolfgang Rennecke amylaar at gcc dot gnu.org 
2010-11-03 10:51:31 UTC ---
Patch has been applied to trunk.


[Bug testsuite/46274] testsuite/gcc.dg: operator precedence

2010-11-03 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46274

Richard Guenther rguenth at gcc dot gnu.org changed:

   What|Removed |Added

 Status|UNCONFIRMED |ASSIGNED
   Last reconfirmed||2010.11.03 10:55:53
 AssignedTo|unassigned at gcc dot   |rguenth at gcc dot gnu.org
   |gnu.org |
 Ever Confirmed|0   |1

--- Comment #1 from Richard Guenther rguenth at gcc dot gnu.org 2010-11-03 
10:55:53 UTC ---
Mine.


[Bug tree-optimization/46190] [4.6 Regression] ICE in vect_enhance_data_refs_alignment when building fma3d

2010-11-03 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46190

Richard Guenther rguenth at gcc dot gnu.org changed:

   What|Removed |Added

 Status|WAITING |ASSIGNED

--- Comment #5 from Richard Guenther rguenth at gcc dot gnu.org 2010-11-03 
10:57:03 UTC ---
Confirmed.


[Bug rtl-optimization/46279] cmov not hoisted out of the loop

2010-11-03 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46279

Richard Guenther rguenth at gcc dot gnu.org changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
   Last reconfirmed||2010.11.03 10:58:33
 Ever Confirmed|0   |1

--- Comment #6 from Richard Guenther rguenth at gcc dot gnu.org 2010-11-03 
10:58:33 UTC ---
Store sinking.


[Bug target/46280] [4.6 regression] Several testcases FAIL with 16byte alignment ABI warning on Solaris 8/9 x86

2010-11-03 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46280

Richard Guenther rguenth at gcc dot gnu.org changed:

   What|Removed |Added

   Target Milestone|--- |4.6.0


[Bug tree-optimization/46281] Inefficient unswitching (too many copies)

2010-11-03 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46281

Richard Guenther rguenth at gcc dot gnu.org changed:

   What|Removed |Added

   Severity|normal  |enhancement


[Bug c++/46282] [4.6 Regression] [C++0x] ICE: SIGSEGV in grokbitfield (decl2.c:1054)

2010-11-03 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46282

Richard Guenther rguenth at gcc dot gnu.org changed:

   What|Removed |Added

   Target Milestone|--- |4.6.0


[Bug tree-optimization/46217] [4.6 Regression] store to volatile is removed

2010-11-03 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46217

--- Comment #4 from Richard Guenther rguenth at gcc dot gnu.org 2010-11-03 
11:05:43 UTC ---
Author: rguenth
Date: Wed Nov  3 11:05:39 2010
New Revision: 166239

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=166239
Log:
2010-11-03  Richard Guenther  rguent...@suse.de

PR tree-optimization/46217
* tree-ssa.c (non_rewritable_mem_ref_base): Check if volatile
flag matches.
(execute_update_addresses_taken): Likewise.

* gcc.dg/pr46217.c: New testcase.

Added:
trunk/gcc/testsuite/gcc.dg/pr46217.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/testsuite/ChangeLog
trunk/gcc/tree-ssa.c


[Bug tree-optimization/46217] [4.6 Regression] store to volatile is removed

2010-11-03 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46217

Richard Guenther rguenth at gcc dot gnu.org changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution||FIXED

--- Comment #5 from Richard Guenther rguenth at gcc dot gnu.org 2010-11-03 
11:06:26 UTC ---
Fixed.


[Bug tree-optimization/46009] ?: vectorized, very similar if is not

2010-11-03 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46009

Jakub Jelinek jakub at gcc dot gnu.org changed:

   What|Removed |Added

 Status|UNCONFIRMED |ASSIGNED
   Last reconfirmed||2010.11.03 11:11:40
 AssignedTo|unassigned at gcc dot   |jakub at gcc dot gnu.org
   |gnu.org |
 Ever Confirmed|0   |1

--- Comment #2 from Jakub Jelinek jakub at gcc dot gnu.org 2010-11-03 
11:11:40 UTC ---
Created attachment 22245
  -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=22245
gcc46-pr46009.patch

Untested fix.

As discussed on IRC, this is something that can be handled either in store
sinking pass, or in cselim (which has some infrastructure for it), or both.

This patch implements it in cselim.


[Bug tree-optimization/46286] [4.6 Regression] ICE in do_complex_constraint, at tree-ssa-structalias.c:1882

2010-11-03 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46286

Richard Guenther rguenth at gcc dot gnu.org changed:

   What|Removed |Added

 Status|UNCONFIRMED |ASSIGNED
   Last reconfirmed||2010.11.03 11:11:51
 AssignedTo|unassigned at gcc dot   |rguenth at gcc dot gnu.org
   |gnu.org |
 Ever Confirmed|0   |1

--- Comment #5 from Richard Guenther rguenth at gcc dot gnu.org 2010-11-03 
11:11:51 UTC ---
Testing a fix.


[Bug tree-optimization/46286] [4.6 Regression] ICE in do_complex_constraint, at tree-ssa-structalias.c:1882

2010-11-03 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46286

--- Comment #6 from Richard Guenther rguenth at gcc dot gnu.org 2010-11-03 
11:14:24 UTC ---
Created attachment 22246
  -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=22246
patch

FYI


[Bug tree-optimization/46172] [4.3/4.4/4.5/4.6 Regression] ICE: in expand_widen_pattern_expr, at optabs.c:522 with -ftree-vectorize -fno-tree-dce

2010-11-03 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46172

Jakub Jelinek jakub at gcc dot gnu.org changed:

   What|Removed |Added

 Status|ASSIGNED|NEW
 AssignedTo|jakub at gcc dot gnu.org|unassigned at gcc dot
   ||gnu.org

--- Comment #7 from Jakub Jelinek jakub at gcc dot gnu.org 2010-11-03 
11:18:57 UTC ---
Seems richi prefers a solution in the vectorizer, see
http://gcc.gnu.org/ml/gcc-patches/2010-11/msg00263.html


[Bug target/46280] [4.6 regression] Several testcases FAIL with 16byte alignment ABI warning on Solaris 8/9 x86

2010-11-03 Thread ro at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46280

Rainer Orth ro at gcc dot gnu.org changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
   Last reconfirmed||2010.11.03 11:25:49
 CC||ubizjak at gmail dot com
 Ever Confirmed|0   |1

--- Comment #2 from Rainer Orth ro at gcc dot gnu.org 2010-11-03 11:25:49 UTC 
---
I can go either way.  Which one would you prefer?

Rainer


[Bug target/46280] [4.6 regression] Several testcases FAIL with 16byte alignment ABI warning on Solaris 8/9 x86

2010-11-03 Thread ubizjak at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46280

--- Comment #3 from Uros Bizjak ubizjak at gmail dot com 2010-11-03 11:35:01 
UTC ---
(In reply to comment #2)
 I can go either way.  Which one would you prefer?

Please add -msse for all x86 targets for tests that deal with vectors.


[Bug tree-optimization/46009] ?: vectorized, very similar if is not

2010-11-03 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46009

Jakub Jelinek jakub at gcc dot gnu.org changed:

   What|Removed |Added

  Attachment #22245|0   |1
is obsolete||

--- Comment #3 from Jakub Jelinek jakub at gcc dot gnu.org 2010-11-03 
12:01:18 UTC ---
Created attachment 22247
  -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=22247
gcc46-pr46009.patch

Updated patch for richi's comments on IRC.


[Bug target/46285] ICE: in final_scan_insn, at final.c:2642 with -mavx -fsplit-stack

2010-11-03 Thread hjl at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46285

--- Comment #3 from hjl at gcc dot gnu.org hjl at gcc dot gnu.org 2010-11-03 
12:02:09 UTC ---
Author: hjl
Date: Wed Nov  3 12:02:06 2010
New Revision: 166240

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=166240
Log:
Generate avx_vzeroupper after reload is completed.

gcc/

2010-11-03  H.J. Lu  hongjiu...@intel.com

PR target/46285
* config/i386/i386.c (ix86_expand_call): Conditionally decorate
calls with UNSPEC_CALL_NEEDS_VZEROUPPER unspec before reload
is completed.

gcc/testsuite/

2010-11-03  H.J. Lu  hongjiu...@intel.com

PR target/46285
* gcc.target/i386/pr46285.c.

Added:
trunk/gcc/testsuite/gcc.target/i386/pr46285.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/i386/i386.c
trunk/gcc/testsuite/ChangeLog


[Bug target/46285] ICE: in final_scan_insn, at final.c:2642 with -mavx -fsplit-stack

2010-11-03 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46285

H.J. Lu hjl.tools at gmail dot com changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED

--- Comment #4 from H.J. Lu hjl.tools at gmail dot com 2010-11-03 12:09:31 
UTC ---
Fixed


[Bug target/46195] r165965 regresses i386 darwin

2010-11-03 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46195

--- Comment #28 from H.J. Lu hjl.tools at gmail dot com 2010-11-03 12:10:12 
UTC ---
(In reply to comment #27)
Hi HJ, I'm getting a ton of failures caused by this same warning message 
  at
  r166110 on i686-pc-cygwin:
 
 Same on i586-suse-linux.

See PR 46280.


[Bug target/44749] mep-elf fails to build

2010-11-03 Thread amylaar at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44749

--- Comment #4 from Jorn Wolfgang Rennecke amylaar at gcc dot gnu.org 
2010-11-03 12:15:16 UTC ---
mep-elf still doesn't build when configured with --enable-werror-always.

gcc -c   -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE  -W -Wall -Wwrite-strings
-Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute
-pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Werror
-Wold-style-definition -Wc++-compat -fno-common  -DHAVE_CONFIG_H -I. -I.
-I../../gcc/gcc -I../../gcc/gcc/. -I../../gcc/gcc/../include
-I../../gcc/gcc/../libcpp/include  -I../../gcc/gcc/../libdecnumber
-I../../gcc/gcc/../libdecnumber/dpd -I../libdecnumber  -DCLOOG_PPL_BACKEND  
../../gcc/gcc/combine.c -o combine.o
../../gcc/gcc/combine.c: In function ‘subst’:
../../gcc/gcc/combine.c:5056:12: error: enum conversion when passing argument 3
of ‘mep_cannot_change_mode_class’ is invalid in C++ [-Werror=c++-compat]
../../gcc/gcc/config/mep/mep-protos.h:104:13: note: expected ‘enum reg_class’
but argument is of type ‘int’
../../gcc/gcc/combine.c: In function ‘simplify_set’:
../../gcc/gcc/combine.c:6372:9: error: enum conversion when passing argument 3
of ‘mep_cannot_change_mode_class’ is invalid in C++ [-Werror=c++-compat]
../../gcc/gcc/config/mep/mep-protos.h:104:13: note: expected ‘enum reg_class’
but argument is of type ‘int’

combine uses REG_CANNOT_CHANGE_MODE_P, which is defined in hard-reg-set.h:

#define REG_CANNOT_CHANGE_MODE_P(REGN, FROM, TO)  \
 CANNOT_CHANGE_MODE_CLASS (FROM, TO, REGNO_REG_CLASS (REGN))

these macros are defined in mep.h like this:
#define REGNO_REG_CLASS(REGNO) mep_regno_reg_class (REGNO)

#define CANNOT_CHANGE_MODE_CLASS(FROM, TO, CLASS) \
  mep_cannot_change_mode_class (FROM, TO, CLASS)

Unfortunately, argument three of mep_cannot_change_mode_class doesn't
accept (in C++) the result of mep_regno_reg_class:

extern bool mep_cannot_change_mode_class (enum machine_mode, enum machine_mode,
  enum reg_class);

extern int mep_regno_reg_class (int);

it would be better if the two functions could agree on using reg_class_t .

Of course, when fixing this, we later run into PR44765.


[Bug tree-optimization/46286] [4.6 Regression] ICE in do_complex_constraint, at tree-ssa-structalias.c:1882

2010-11-03 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46286

--- Comment #7 from Richard Guenther rguenth at gcc dot gnu.org 2010-11-03 
12:20:32 UTC ---
Author: rguenth
Date: Wed Nov  3 12:20:28 2010
New Revision: 166241

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=166241
Log:
2010-11-03  Richard Guenther  rguent...@suse.de

PR tree-optimization/46286
* tree-ssa-structalias.c (get_constraint_for_1): Avoid referencing
re-allocated vector data.

Modified:
trunk/gcc/ChangeLog
trunk/gcc/tree-ssa-structalias.c


[Bug tree-optimization/46286] [4.6 Regression] ICE in do_complex_constraint, at tree-ssa-structalias.c:1882

2010-11-03 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46286

Richard Guenther rguenth at gcc dot gnu.org changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution||FIXED

--- Comment #8 from Richard Guenther rguenth at gcc dot gnu.org 2010-11-03 
12:20:53 UTC ---
Fixed.


[Bug rtl-optimization/45352] ICE: in reset_sched_cycles_in_current_ebb, at sel-sched.c:7058

2010-11-03 Thread abel at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45352

Andrey Belevantsev abel at gcc dot gnu.org changed:

   What|Removed |Added

  Attachment #22050|0   |1
is obsolete||

--- Comment #17 from Andrey Belevantsev abel at gcc dot gnu.org 2010-11-03 
12:23:09 UTC ---
Created attachment 22248
  -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=22248
Updated patch

The updated patch is posted at
http://gcc.gnu.org/ml/gcc-patches/2010-11/msg00273.html.  It is simpler as we
now agreed that the scheduler should not issue more than issue_rate insns, so
we fix the resetting loop itself instead of the core scheduler, retaining the
needed bits from the previous patch.


[Bug rtl-optimization/46238] s390x bootstrap problem: wrong code generated in cfgcleanup/crossjumping

2010-11-03 Thread krebbel at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46238

Andreas Krebbel krebbel at gcc dot gnu.org changed:

   What|Removed |Added

   Priority|P2  |P1
   Severity|critical|blocker

--- Comment #1 from Andreas Krebbel krebbel at gcc dot gnu.org 2010-11-03 
12:36:56 UTC ---
I've raised the prio and severity. This problem currently prevents our GCC
daily build system from doing proper testing. That way we will not get aware of
other potential problems introduced in the meantime.


[Bug c++/46282] [4.6 Regression] [C++0x] ICE: SIGSEGV in grokbitfield (decl2.c:1054)

2010-11-03 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46282

Jakub Jelinek jakub at gcc dot gnu.org changed:

   What|Removed |Added

   Keywords||error-recovery
   Priority|P3  |P4
 CC||jakub at gcc dot gnu.org


[Bug tree-optimization/46286] [4.6 Regression] ICE in do_complex_constraint, at tree-ssa-structalias.c:1882

2010-11-03 Thread ro at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46286

--- Comment #9 from Rainer Orth ro at gcc dot gnu.org 2010-11-03 12:55:41 UTC 
---
Also affects i386-pc-solaris2.10, sparc-sun-solaris2.10, mips-sgi-irix6.5.

Proposed patch allows bootstrap to continue on Solaris 10/x86, but later rans
into
another ICE:

/vol/gcc/src/hg/trunk/local/gcc/config/i386/i386.md: In function 'split_insns':
/vol/gcc/src/hg/trunk/local/gcc/config/i386/i386.md:11856:1: internal compiler
error: in dwarf2out_frame_debug_adjust_cfa, at dwarf2out.c:1881

(maybe related to PR bootstrap/46018).


[Bug middle-end/46287] New: No thunk info on call graph edges leads to miscompilations

2010-11-03 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46287

   Summary: No thunk info on call graph edges leads to
miscompilations
   Product: gcc
   Version: 4.6.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: middle-end
AssignedTo: unassig...@gcc.gnu.org
ReportedBy: jamb...@gcc.gnu.org


Created attachment 22249
  -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=22249
Testcase

Compiling the attached testcase with -O3 leads to a run-time abort.
(This is on i686 but I suspect it happens on all platforms).


[Bug middle-end/46287] No thunk info on call graph edges leads to miscompilations

2010-11-03 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46287

Martin Jambor jamborm at gcc dot gnu.org changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
   Last reconfirmed||2010.11.03 12:57:39
 AssignedTo|unassigned at gcc dot   |jamborm at gcc dot gnu.org
   |gnu.org |
 Ever Confirmed|0   |1

--- Comment #1 from Martin Jambor jamborm at gcc dot gnu.org 2010-11-03 
12:57:39 UTC ---
Mine.


[Bug bootstrap/46018] [4.6 Regression] Bootstrap fails on i386-pc-solaris2.10

2010-11-03 Thread ro at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46018

--- Comment #14 from Rainer Orth ro at gcc dot gnu.org 2010-11-03 13:11:19 
UTC ---
Created attachment 22250
  -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=22250
preprocessed insn-recog.c


[Bug bootstrap/46018] [4.6 Regression] Bootstrap fails on i386-pc-solaris2.10

2010-11-03 Thread ro at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46018

--- Comment #15 from Rainer Orth ro at gcc dot gnu.org 2010-11-03 13:12:51 
UTC ---
After the fix for PR tree-optimization/46286 went in, I'm seeing this ICE, too:

Running

$ cc1 -fpreprocessed insn-recog.i -quiet -dumpbase insn-recog.c -mtune=generic
-march=pentium4 -auxbase-strip insn-recog.o -g -O2 -Wextra -Wall
-Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros
-Wno-overlength-strings -Werror -Wold-style-definition -Wc++-compat -version
-fno-common -o insn-recog.s

Breakpoint 1, fancy_abort (file=0xa44117c error reading variable, line=1881,
function=0xa448460 error reading variable) at
/vol/gcc/src/hg/trunk/local/gcc/diagnostic.c:881
(gdb) where
#0  fancy_abort (file=0xa44117c error reading variable, line=1881,
function=0xa448460 error reading variable) at
/vol/gcc/src/hg/trunk/local/gcc/diagnostic.c:881
#1  0x08578396 in dwarf2out_frame_debug_adjust_cfa (pat=0xfa6a7e04,
label=0xa765edc error reading variable) at
/vol/gcc/src/hg/trunk/local/gcc/dwarf2out.c:1881
#2  0x08579e13 in dwarf2out_frame_debug (insn=0xf8395d38, after_p=1 'error
reading variable) at /vol/gcc/src/hg/trunk/local/gcc/dwarf2out.c:2779
#3  0x08687db0 in final_scan_insn (insn=0xf8395d38, file=0xa87d6d8,
optimize_p=2, nopeepholes=0, seen=0x8047144) at
/vol/gcc/src/hg/trunk/local/gcc/final.c:2706
#4  0x0868673a in final (first=0xfb9a8cc0, file=0xa87d6d8, optimize_p=2) at
/vol/gcc/src/hg/trunk/local/gcc/final.c:1719
#5  0x0868a13b in rest_of_handle_final () at
/vol/gcc/src/hg/trunk/local/gcc/final.c:4231
#6  0x08b2cce0 in execute_one_pass (pass=0xa75cd20) at
/vol/gcc/src/hg/trunk/local/gcc/passes.c:1560
#7  0x08b2ceaf in execute_pass_list (pass=0xa75cd20) at
/vol/gcc/src/hg/trunk/local/gcc/passes.c:1615
#8  0x08b2cecf in execute_pass_list (pass=0xa75d480) at
/vol/gcc/src/hg/trunk/local/gcc/passes.c:1616
#9  0x08b2cecf in execute_pass_list (pass=0xa75d440) at
/vol/gcc/src/hg/trunk/local/gcc/passes.c:1616
#10 0x090ee195 in tree_rest_of_compilation (fndecl=0xfea21b00) at
/vol/gcc/src/hg/trunk/local/gcc/tree-optimize.c:422
#11 0x09a5c00d in cgraph_expand_function (node=0xfd6bfa50) at
/vol/gcc/src/hg/trunk/local/gcc/cgraphunit.c:1493
#12 0x09a5c1ac in cgraph_expand_all_functions () at
/vol/gcc/src/hg/trunk/local/gcc/cgraphunit.c:1552
#13 0x09a5c757 in cgraph_optimize () at
/vol/gcc/src/hg/trunk/local/gcc/cgraphunit.c:1808
#14 0x09a5a7bf in cgraph_finalize_compilation_unit () at
/vol/gcc/src/hg/trunk/local/gcc/cgraphunit.c:1016
#15 0x081095a0 in c_write_global_declarations () at
/vol/gcc/src/hg/trunk/local/gcc/c-decl.c:9827
#16 0x08e48ef5 in compile_file () at
/vol/gcc/src/hg/trunk/local/gcc/toplev.c:931
#17 0x08e4b05c in do_compile () at
/vol/gcc/src/hg/trunk/local/gcc/toplev.c:2359
#18 0x08e4b187 in toplev_main (argc=30, argv=0x8047408) at
/vol/gcc/src/hg/trunk/local/gcc/toplev.c:2419
#19 0x082a6cee in main (argc=30, argv=0x8047408) at
/vol/gcc/src/hg/trunk/local/gcc/main.c:36

This gcc_assert triggers (in dwarf2out.c (dwarf2out_frame_debug_adjust_cfa)):

  switch (GET_CODE (src))
{
case PLUS:
  gcc_assert (REGNO (XEXP (src, 0)) == cfa.reg);
  cfa.offset -= INTVAL (XEXP (src, 1));
  break;


[Bug testsuite/46274] testsuite/gcc.dg: operator precedence

2010-11-03 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46274

--- Comment #2 from Richard Guenther rguenth at gcc dot gnu.org 2010-11-03 
13:16:05 UTC ---
Author: rguenth
Date: Wed Nov  3 13:16:02 2010
New Revision: 166243

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=166243
Log:
2010-11-03  Richard Guenther  rguent...@suse.de

PR testsuite/46274
* gcc.dg/tree-ssa/gen-vect-11a.c: Fix operator precedence.
* gcc.dg/vect/vect-19.c: Likewise.
* gcc.dg/vect/vect-17.c: Likewise.

Modified:
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/gcc.dg/tree-ssa/gen-vect-11a.c
trunk/gcc/testsuite/gcc.dg/vect/vect-17.c
trunk/gcc/testsuite/gcc.dg/vect/vect-19.c


[Bug debug/45997] [4.6 Regression] __unknown__ type name for typedef'd int

2010-11-03 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45997

Jakub Jelinek jakub at gcc dot gnu.org changed:

   What|Removed |Added

 CC||dodji at gcc dot gnu.org,
   ||jakub at gcc dot gnu.org

--- Comment #2 from Jakub Jelinek jakub at gcc dot gnu.org 2010-11-03 
13:20:55 UTC ---
The DWARF standard requires a name to be emitted and that's why we do emit
there something, to follow the standard.  There are talks about changing this,
but no changes have been made yet.

That said, ideally we wouldn't be emitting nameless base types or __unknown__
named base types in this case, I guess the problem is just that we try to
remove const/volatile in a fixed order and your testcase has it exactly in the
opposite order.  With:

typedef int my_int;
typedef volatile my_int volatile_my_int;
typedef const volatile_my_int const_volatile_my_int;

my_int v_my_int = 0;
volatile_my_int v_volatile_my_int = 1;
const_volatile_my_int v_const_volatile_my_int = 4;

int
main ()
{
  return 0;
}

the result is expected, always refering to the previous typedef DIE.


[Bug tree-optimization/46190] [4.6 Regression] ICE in vect_enhance_data_refs_alignment when building fma3d

2010-11-03 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46190

--- Comment #6 from Richard Guenther rguenth at gcc dot gnu.org 2010-11-03 
13:30:52 UTC ---
Author: rguenth
Date: Wed Nov  3 13:30:48 2010
New Revision: 166244

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=166244
Log:
2010-11-03  Richard Guenther  rguent...@suse.de

PR tree-optimization/46190
* tree-vect-data-refs.c (vect_enhance_data_refs_alignment):
Properly compute peel iterations.

* gfortran.dg/pr46190.f90: New testcase.

Added:
trunk/gcc/testsuite/gfortran.dg/pr46190.f90
Modified:
trunk/gcc/ChangeLog
trunk/gcc/testsuite/ChangeLog
trunk/gcc/tree-vect-data-refs.c


[Bug debug/46241] ice in dwarf2out.c

2010-11-03 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46241

--- Comment #4 from Richard Guenther rguenth at gcc dot gnu.org 2010-11-03 
13:31:45 UTC ---
Author: rguenth
Date: Wed Nov  3 13:31:40 2010
New Revision: 166245

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=166245
Log:
2010-11-03  Richard Guenther  rguent...@suse.de

PR middle-end/46241
* dwarf2out.c (scope_die_for): Properly detect global scope.

* g++.dg/debug/pr46241.C: New testcase.

Added:
trunk/gcc/testsuite/g++.dg/debug/pr46241.C
Modified:
trunk/gcc/ChangeLog
trunk/gcc/dwarf2out.c
trunk/gcc/testsuite/ChangeLog


[Bug tree-optimization/46190] [4.6 Regression] ICE in vect_enhance_data_refs_alignment when building fma3d

2010-11-03 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46190

Richard Guenther rguenth at gcc dot gnu.org changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution||FIXED

--- Comment #7 from Richard Guenther rguenth at gcc dot gnu.org 2010-11-03 
13:32:26 UTC ---
Fixed.


[Bug debug/46241] ice in dwarf2out.c

2010-11-03 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46241

Richard Guenther rguenth at gcc dot gnu.org changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution||FIXED

--- Comment #5 from Richard Guenther rguenth at gcc dot gnu.org 2010-11-03 
13:32:31 UTC ---
Fixed.


[Bug testsuite/46274] testsuite/gcc.dg: operator precedence

2010-11-03 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46274

Richard Guenther rguenth at gcc dot gnu.org changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution||FIXED
   Target Milestone|--- |4.6.0

--- Comment #3 from Richard Guenther rguenth at gcc dot gnu.org 2010-11-03 
13:33:21 UTC ---
Fixed.


[Bug target/43231] Vectorizer patterns missing for AVX

2010-11-03 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43231

Richard Guenther rguenth at gcc dot gnu.org changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution||FIXED
   Target Milestone|--- |4.6.0

--- Comment #1 from Richard Guenther rguenth at gcc dot gnu.org 2010-11-03 
13:41:09 UTC ---
Fixed.


[Bug tree-optimization/46288] New: ICE: SIGSEGV in walk_gimple_op (gimple.c:2857) with -O -fno-tree-dce and __builtin_expect()

2010-11-03 Thread zsojka at seznam dot cz
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46288

   Summary: ICE: SIGSEGV in walk_gimple_op (gimple.c:2857) with -O
-fno-tree-dce and __builtin_expect()
   Product: gcc
   Version: 4.6.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: tree-optimization
AssignedTo: unassig...@gcc.gnu.org
ReportedBy: zso...@seznam.cz


- testcase.c -
void foo (int i)
{
  __builtin_expect (i, i);
}
--

Valgrind output (4.6 and 4.5):
$ gcc -O -fno-tree-dce testcase.c
==12204== Invalid read of size 8
==12204==at 0x6E6CF6: walk_gimple_op (gimple.c:2857)
==12204==by 0x89C342: verify_stmts (tree-cfg.c:4143)
==12204==by 0x9B943C: verify_ssa (tree-ssa.c:878)
==12204==by 0x794CCC: execute_function_todo (passes.c:1248)
==12204==by 0x79536E: execute_todo (passes.c:1277)
==12204==by 0x7979D9: execute_one_pass (passes.c:1583)
==12204==by 0x797C04: execute_pass_list (passes.c:1615)
==12204==by 0x797C16: execute_pass_list (passes.c:1616)
==12204==by 0x8E3FD5: tree_rest_of_compilation (tree-optimize.c:422)
==12204==by 0xAB0C31: cgraph_expand_function (cgraphunit.c:1494)
==12204==by 0xAB31F9: cgraph_optimize (cgraphunit.c:1553)
==12204==by 0xAB3759: cgraph_finalize_compilation_unit (cgraphunit.c:1016)
==12204==  Address 0x10 is not stack'd, malloc'd or (recently) free'd
==12204== 
testcase.c: In function 'foo':
testcase.c:1:6: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See http://gcc.gnu.org/bugs.html for instructions.

Compiler output (4.4):
$ gcc -O -fno-tree-dce testcase.c
testcase.c: In function 'foo':
testcase.c:1: internal compiler error: in gimple_assign_set_lhs, at
gimple.h:1687
Please submit a full bug report,
with preprocessed source if appropriate.
See http://gcc.gnu.org/bugs.html for instructions.

Tested revisions:
r166218 - crash
4.5 r165781 - crash
4.4 r165781 - different crash


[Bug target/46275] -masm=intel -fPIC causes global offset table issues

2010-11-03 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46275

H.J. Lu hjl.tools at gmail dot com changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
URL||http://sourceware.org/bugzi
   ||lla/show_bug.cgi?id=12186
 Resolution||INVALID

--- Comment #8 from H.J. Lu hjl.tools at gmail dot com 2010-11-03 14:03:34 
UTC ---
It is an assembler bug. Intel syntax isn't well tested. I will
try to fix it:

http://sourceware.org/bugzilla/show_bug.cgi?id=12186

But you may run into more Intel syntax bugs.


[Bug debug/45997] [4.6 Regression] __unknown__ type name for typedef'd int

2010-11-03 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45997

Jakub Jelinek jakub at gcc dot gnu.org changed:

   What|Removed |Added

 Status|NEW |ASSIGNED
 AssignedTo|unassigned at gcc dot   |jakub at gcc dot gnu.org
   |gnu.org |

--- Comment #3 from Jakub Jelinek jakub at gcc dot gnu.org 2010-11-03 
14:08:21 UTC ---
Created attachment 22251
  -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=22251
gcc46-pr45997.patch

That said, I think this patch should fix this case (while of course not ruling
out other possibilities to get __unknown__ base type; but that really is a
matter of the DWARF wording being relaxed or not) and is IMHO the right thing
to do.


[Bug target/46275] -masm=intel -fPIC causes global offset table issues

2010-11-03 Thread hezekiahehud at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46275

--- Comment #9 from hezekiahehud at gmail dot com 2010-11-03 14:12:57 UTC ---
Thank you. :-)

(In reply to comment #8)
 It is an assembler bug. Intel syntax isn't well tested. I will
 try to fix it:
 
 http://sourceware.org/bugzilla/show_bug.cgi?id=12186
 
 But you may run into more Intel syntax bugs.


[Bug c++/46289] New: [4.6 regression] ICE in build_constexpr_constructor_member_initializers, at cp/semantics.c:5513

2010-11-03 Thread ro at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46289

   Summary: [4.6 regression] ICE in
build_constexpr_constructor_member_initializers, at
cp/semantics.c:5513
   Product: gcc
   Version: 4.6.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: c++
AssignedTo: unassig...@gcc.gnu.org
ReportedBy: r...@gcc.gnu.org
  Host: sparc-sun-solaris2.10
Target: sparc-sun-solaris2.10
 Build: sparc-sun-solaris2.10


Created attachment 22252
  -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=22252
preprocessed input

As of rev. 166242, building libstdc++ fails on Solaris 10/SPARC:

$ /var/gcc/regression/trunk/10-gcc-gas/build/./gcc/xgcc -shared-libgcc
-B/var/gcc/regression/trunk/10-gcc-gas/build/./gcc -nostdinc++
-L/var/gcc/regression/trunk/10-gcc-gas/build/sparc-sun-solaris2.10/libstdc++-v3/src
-L/var/gcc/regression/trunk/10-gcc-gas/build/sparc-sun-solaris2.10/libstdc++-v3/src/.libs
-B/vol/gcc/sparc-sun-solaris2.10/bin/ -B/vol/gcc/sparc-sun-solaris2.10/lib/
-isystem /vol/gcc/sparc-sun-solaris2.10/include -isystem
/vol/gcc/sparc-sun-solaris2.10/sys-include-x c++-header -nostdinc++ -g -O2
-I/var/gcc/regression/trunk/10-gcc-gas/build/sparc-sun-solaris2.10/libstdc++-v3/include/sparc-sun-solaris2.10
-I/var/gcc/regression/trunk/10-gcc-gas/build/sparc-sun-solaris2.10/libstdc++-v3/include
-I/vol/gcc/src/hg/trunk/local/libstdc++-v3/libsupc++ -O2 -g -std=gnu++0x
/vol/gcc/src/hg/trunk/local/libstdc++-v3/include/precompiled/stdc++.h -o
sparc-sun-solaris2.10/bits/stdc++.h.gch/O2ggnu++0x.gch
In file included from
/var/gcc/regression/trunk/10-gcc-gas/build/sparc-sun-solaris2.10/libstdc++-v3/include/condition_variable:39:0,
 from
/vol/gcc/src/hg/trunk/local/libstdc++-v3/include/precompiled/stdc++.h:101:
/var/gcc/regression/trunk/10-gcc-gas/build/sparc-sun-solaris2.10/libstdc++-v3/include/mutex:
In constructor 'constexpr std::mutex::mutex()':
/var/gcc/regression/trunk/10-gcc-gas/build/sparc-sun-solaris2.10/libstdc++-v3/include/mutex:71:54:
error: could not convert '{{0, 0, 0, 0, 19800}, {{{0}}}, 0}' to
'std::mutex::__native_type'
/var/gcc/regression/trunk/10-gcc-gas/build/sparc-sun-solaris2.10/libstdc++-v3/include/mutex:71:58:
internal compiler error: in build_constexpr_constructor_member_initializers, at
cp/semantics.c:5513

$ cc1plus -fpreprocessed stdc++.ii -quiet -dumpbase stdc++.h -mcpu=v9 -auxbase
stdc++ -g -g -O2 -O2 -std=gnu++0x -version -o stdc++.s --output-pch=
sparc-sun-solaris2.10/bits/stdc++.h.gch/O2ggnu++0x.gch


[Bug c++/46289] [4.6 regression] ICE in build_constexpr_constructor_member_initializers, at cp/semantics.c:5513

2010-11-03 Thread ro at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46289

--- Comment #1 from Rainer Orth ro at gcc dot gnu.org 2010-11-03 14:29:48 UTC 
---
Btw., I saw the same issue on i386-pc-solaris2.10, but this is now hidden by
PR bootstrap/46018.


[Bug c++/46289] [4.6 regression] ICE in build_constexpr_constructor_member_initializers, at cp/semantics.c:5513

2010-11-03 Thread ro at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46289

Rainer Orth ro at gcc dot gnu.org changed:

   What|Removed |Added

 CC||jason at redhat dot com

--- Comment #2 from Rainer Orth ro at gcc dot gnu.org 2010-11-03 14:34:32 UTC 
---
This is almost certainly caused by this patch:

2010-11-01  Gabriel Dos Reis  g...@cse.tamu.edu
Jason Merrill  ja...@redhat.com

* call.c (null_ptr_cst_p): Use maybe_constant_value.
(set_up_extended_ref_temp): Support constant initialization.
(initialize_reference): Adjust.
[...]
* semantics.c (constexpr_fundef): New datatype.
(constexpr_fundef_table): New global table.
(constexpr_fundef_equal): New.
(constexpr_fundef_hash): Likewise.
(retrieve_constexpr_fundef): Likewise.
(validate_constexpr_fundecl): Store in the table.
(build_data_member_initialization): New fn.
(build_constexpr_constructor_member_initializers): New.
(register_constexpr_fundef): Define.
(is_this_parameter): New.
(get_function_named_in_call): Likewise.
(get_nth_callarg): Likewise.
(check_automatic_or_tls): New.
(morally_constexpr_builtin_function_p): New.
(potential_constant_expression): New.


[Bug c++/46289] [4.6 regression] ICE in build_constexpr_constructor_member_initializers, at cp/semantics.c:5513

2010-11-03 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46289

Jonathan Wakely redi at gcc dot gnu.org changed:

   What|Removed |Added

 CC||redi at gcc dot gnu.org

--- Comment #3 from Jonathan Wakely redi at gcc dot gnu.org 2010-11-03 
14:39:33 UTC ---
Ah, I wondered about that syntax.  We now initialize the pthread_mutex_t member
like so:

mutex() : _M_mutex(PTHREAD_MUTEX_INIT) { }

which is not portable.  We could add config checks to determine where the INIT
macro is valid, and for some platforms we could use:

mutex() : _M_mutex PTHREAD_MUTEX_INIT { }

But the ideal solution is to get brace-or-equal-initializers implemented for
non-static class members, then we can do:

native_type _M_mutex = PTHREAD_MUTEX_INIT;
mutex() { }


[Bug c++/46001] [4.6 Regression] diagnostic refers to type '__java_boolean'

2010-11-03 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46001

Jakub Jelinek jakub at gcc dot gnu.org changed:

   What|Removed |Added

 Status|NEW |ASSIGNED
 AssignedTo|unassigned at gcc dot   |jakub at gcc dot gnu.org
   |gnu.org |

--- Comment #2 from Jakub Jelinek jakub at gcc dot gnu.org 2010-11-03 
14:41:07 UTC ---
Created attachment 22253
  -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=22253
gcc46-pr46001.patch

Caused by my PR43516 patch -
http://gcc.gnu.org/viewcvs?root=gccview=revrev=158062

Untested fix attached.


[Bug tree-optimization/46009] ?: vectorized, very similar if is not

2010-11-03 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46009

--- Comment #4 from Jakub Jelinek jakub at gcc dot gnu.org 2010-11-03 
15:18:55 UTC ---
Author: jakub
Date: Wed Nov  3 15:18:50 2010
New Revision: 166251

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=166251
Log:
PR tree-optimization/46009
* tree-ssa-phiopt.c (tree_ssa_phiopt_worker): Call
cond_if_else_store_replacement if bb1 and bb2 have the same
single successor.
(cond_store_replacement): Use gimple_assign_single_p, don't
check if rhs is SSA_NAME or invariant.  Call release_defs for
assign.
(cond_if_else_store_replacement): New function.

* gcc.dg/vect/pr46009.c: New function.

Added:
trunk/gcc/testsuite/gcc.dg/vect/pr46009.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/testsuite/ChangeLog
trunk/gcc/tree-ssa-phiopt.c


[Bug tree-optimization/46288] ICE: SIGSEGV in walk_gimple_op (gimple.c:2857) with -O -fno-tree-dce and __builtin_expect()

2010-11-03 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46288

Richard Guenther rguenth at gcc dot gnu.org changed:

   What|Removed |Added

 Status|UNCONFIRMED |ASSIGNED
   Last reconfirmed||2010.11.03 15:18:58
 AssignedTo|unassigned at gcc dot   |rguenth at gcc dot gnu.org
   |gnu.org |
 Ever Confirmed|0   |1

--- Comment #1 from Richard Guenther rguenth at gcc dot gnu.org 2010-11-03 
15:18:58 UTC ---
(gdb) call debug_gimple_stmt (stmt)
 = D.2683_3;

err ...

I have a fix.


[Bug fortran/43899] Wrong unused-variable warning with NAMELISTs

2010-11-03 Thread jvdelisle at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43899

--- Comment #7 from Jerry DeLisle jvdelisle at gcc dot gnu.org 2010-11-03 
15:22:29 UTC ---
Author: jvdelisle
Date: Wed Nov  3 15:22:25 2010
New Revision: 166252

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=166252
Log:
2010-11-03  Jerry DeLisle  jvdeli...@gcc.gnu.org

PR libgfortran/43899
* runtime/error.c (generate_warning): New function to generate a run
time warning message. Fix some whitespace.
* libgfortran.h: Add prototype for new function.
* io/list_read.c (nml_read_obj): Use new function to warn when a
character namelist object is truncated.  Only warn if compiled
with -fbounds-check.

Modified:
trunk/libgfortran/ChangeLog
trunk/libgfortran/io/list_read.c
trunk/libgfortran/libgfortran.h
trunk/libgfortran/runtime/error.c


[Bug c/45985] [trans-mem] internal compiler error: verify_cgraph_node failed

2010-11-03 Thread aldyh at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45985

Aldy Hernandez aldyh at gcc dot gnu.org changed:

   What|Removed |Added

 Status|UNCONFIRMED |ASSIGNED
   Last reconfirmed||2010.11.03 15:24:59
 AssignedTo|unassigned at gcc dot   |aldyh at gcc dot gnu.org
   |gnu.org |
 Ever Confirmed|0   |1


[Bug fortran/43899] Wrong unused-variable warning with NAMELISTs

2010-11-03 Thread jvdelisle at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43899

--- Comment #8 from Jerry DeLisle jvdelisle at gcc dot gnu.org 2010-11-03 
15:27:53 UTC ---
Author: jvdelisle
Date: Wed Nov  3 15:27:48 2010
New Revision: 166253

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=166253
Log:
2010-11-03  Jerry DeLisle  jvdeli...@gcc.gnu.org

PR libgfortran/43899
* gfortran.dg/namelist_67.f90: New test.

Added:
trunk/gcc/testsuite/gfortran.dg/namelist_67.f90
Modified:
trunk/gcc/testsuite/ChangeLog


[Bug c++/46290] New: explicit instantiation: inconsistant behaviour between constructor and member functions

2010-11-03 Thread stephane at magnenat dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46290

   Summary: explicit instantiation: inconsistant behaviour between
constructor and member functions
   Product: gcc
   Version: 4.5.1
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: c++
AssignedTo: unassig...@gcc.gnu.org
ReportedBy: steph...@magnenat.net


Created attachment 22254
  -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=22254
minimal test case

Let a templated outer class and an inner class. When the outer class is
explicitly instantiated before the implementation of the members of the inner
class, the code for the constructor of the inner class is not generated, but
the code for its other members is. When the explicit instantiation is after the
implementation, all methods including the constructor have associated code.

This difference of behaviour seems rather strange to me. Is it done on purpose
or is it a bug?


[Bug c++/46277] [4.6 Regression] Revision 166167 failed to build 252.eon in SPEC CPU 2000

2010-11-03 Thread jason at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46277

--- Comment #5 from Jason Merrill jason at gcc dot gnu.org 2010-11-03 
15:33:08 UTC ---
Author: jason
Date: Wed Nov  3 15:33:05 2010
New Revision: 166254

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=166254
Log:
PR c++/46277
* init.c (expand_default_init): Avoid ICE if we can't figure out
which function is being called.

Added:
trunk/gcc/testsuite/g++.dg/template/new9.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/init.c


[Bug middle-end/45838] [4.6 Regression] FAIL: libgomp.c/pr34513.c execution test

2010-11-03 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45838

Richard Guenther rguenth at gcc dot gnu.org changed:

   What|Removed |Added

   Target Milestone|--- |4.6.0


[Bug rtl-optimization/46114] [4.6 regression] g++ SEGV when built with gld on Solaris 10+/x86

2010-11-03 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46114

Richard Guenther rguenth at gcc dot gnu.org changed:

   What|Removed |Added

   Target Milestone|--- |4.6.0


[Bug fortran/46262] [4.6 Regression] [OOP] tree check: expected function_type or method_type, have pointer_type

2010-11-03 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46262

Richard Guenther rguenth at gcc dot gnu.org changed:

   What|Removed |Added

   Target Milestone|--- |4.6.0


[Bug c++/46289] [4.6 regression] ICE in build_constexpr_constructor_member_initializers, at cp/semantics.c:5513

2010-11-03 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46289

Richard Guenther rguenth at gcc dot gnu.org changed:

   What|Removed |Added

   Target Milestone|--- |4.6.0


[Bug tree-optimization/45965] [4.6 Regression] ICE on powerpc-apple-darwin9: gfortran.dg/subref_array_pointer_4.f90

2010-11-03 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45965

Richard Guenther rguenth at gcc dot gnu.org changed:

   What|Removed |Added

   Target Milestone|--- |4.6.0


[Bug c++/46170] [4.4/4.5/4.6 Regression] g++ wrongly rejects pointer-to-member in template arguments

2010-11-03 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46170

Richard Guenther rguenth at gcc dot gnu.org changed:

   What|Removed |Added

   Target Milestone|--- |4.4.6


[Bug middle-end/45962] [4.6 Regression]: many c/c++ failures on cris-elf, in r165236:165242

2010-11-03 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45962

Richard Guenther rguenth at gcc dot gnu.org changed:

   What|Removed |Added

   Target Milestone|--- |4.6.0


[Bug tree-optimization/46232] [4.6 regression] 64-bit gcc.dg/tree-ssa/pr14814.c FAILs on SPARC

2010-11-03 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46232

Richard Guenther rguenth at gcc dot gnu.org changed:

   What|Removed |Added

   Target Milestone|--- |4.6.0


[Bug target/46022] [4.6 regression] gcc.dg/vect/vect-double-reduc-5.c FAILs on Solaris 10/x86 with gas

2010-11-03 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46022

Richard Guenther rguenth at gcc dot gnu.org changed:

   What|Removed |Added

   Target Milestone|--- |4.6.0


[Bug rtl-optimization/46257] [Meta] [4.6 Regression] ifcvt/crossjump failure

2010-11-03 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46257

Richard Guenther rguenth at gcc dot gnu.org changed:

   What|Removed |Added

   Target Milestone|--- |4.6.0


[Bug target/46191] [4.5/4.6 regression] Non-absolute names in libgcc_s.so

2010-11-03 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46191

Richard Guenther rguenth at gcc dot gnu.org changed:

   What|Removed |Added

   Target Milestone|--- |4.5.2


[Bug driver/45936] [4.6 regression] cc1 enters infinite loop within combine_simplify_rtx()

2010-11-03 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45936

Richard Guenther rguenth at gcc dot gnu.org changed:

   What|Removed |Added

   Target Milestone|--- |4.6.0


[Bug middle-end/46234] [4.6 Regression] ICE in expand_expr_real_2 for va-arg-XXX tescases

2010-11-03 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46234

Richard Guenther rguenth at gcc dot gnu.org changed:

   What|Removed |Added

   Target Milestone|--- |4.6.0


  1   2   3   >