Wrong-code bug in execute_update_addresses_taken?

2011-02-05 Thread Ulrich Weigand
Hello, the following program seems to be miscompiled at -O or higher: int main (void) { int data = 1; struct ptr { int val; } *ptr = (struct ptr *) data; ptr-val = 0; return data; } This program should return 0, but actually returns 1. [ As far as I can tell, this

Re: Wrong-code bug in execute_update_addresses_taken?

2011-02-05 Thread H.J. Lu
On Sat, Feb 5, 2011 at 7:55 AM, Ulrich Weigand uweig...@de.ibm.com wrote: Hello, the following program seems to be miscompiled at -O or higher: int main (void) {  int data = 1;  struct ptr    {      int val;    } *ptr = (struct ptr *) data;  ptr-val = 0;  return data; } This

New libquadmath maintainers: Jakub and Tobias

2011-02-05 Thread Mark Mitchell
Jakub, Tobias -- The GCC SC has appointed you as maintainers of libquadmath within GCC. Please update the MAINTAINERS file to reflect your new positions. Congratulations! -- Mark Mitchell CodeSourcery m...@codesourcery.com (650) 331-3385 x713

gcc-4.6-20110205 is now available

2011-02-05 Thread gccadmin
Snapshot gcc-4.6-20110205 is now available on ftp://gcc.gnu.org/pub/gcc/snapshots/4.6-20110205/ and on various mirrors, see http://gcc.gnu.org/mirrors.html for details. This snapshot has been generated from the GCC 4.6 SVN branch with the following options: svn://gcc.gnu.org/svn/gcc/trunk

[Bug fortran/47616] New: ICE with allocate(a,source=(/1/))

2011-02-05 Thread tkoenig at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47616 Summary: ICE with allocate(a,source=(/1/)) Product: gcc Version: 4.6.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component:

[Bug fortran/47613] [4.6 Regression] namelist read with -static

2011-02-05 Thread janus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47613 --- Comment #2 from janus at gcc dot gnu.org 2011-02-05 10:32:44 UTC --- (In reply to comment #1) So, this is target specific. What target are you using? x86_64-unknown-linux-gnu I'll also note that in ios = -1 and 5010 are

[Bug fortran/47574] internal compiler error: in build2_stat, at tree.c:3795

2011-02-05 Thread tkoenig at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47574 --- Comment #14 from Thomas Koenig tkoenig at gcc dot gnu.org 2011-02-05 10:35:28 UTC --- Author: tkoenig Date: Sat Feb 5 10:35:24 2011 New Revision: 169850 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=169850 Log: 2001-02-05 Thomas

[Bug fortran/47574] internal compiler error: in build2_stat, at tree.c:3795

2011-02-05 Thread tkoenig at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47574 Thomas Koenig tkoenig at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED

[Bug rtl-optimization/42631] [4.5 Regression] -fcompare-debug failure with -O1 -funroll-loops

2011-02-05 Thread jiez at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42631 --- Comment #15 from Jie Zhang jiez at gcc dot gnu.org 2011-02-05 12:06:21 UTC --- Author: jiez Date: Sat Feb 5 12:06:18 2011 New Revision: 169851 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=169851 Log: PR debug/42631 * web.c

[Bug target/47558] 163267 breaks exception traceback in xplor-nih

2011-02-05 Thread iains at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47558 --- Comment #58 from Iain Sandoe iains at gcc dot gnu.org 2011-02-05 12:21:51 UTC --- The response from Nick indicates that the documentation for -flat_namespace and two-level namespaces is correct and up to date - so we should proceed with a

[Bug fortran/47613] [4.6 Regression] namelist read with -static

2011-02-05 Thread jvdelisle at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47613 Jerry DeLisle jvdelisle at gcc dot gnu.org changed: What|Removed |Added CC||jvdelisle at

[Bug libfortran/47567] Wrong output for small absolute values with F editing

2011-02-05 Thread jvdelisle at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47567 --- Comment #9 from Jerry DeLisle jvdelisle at gcc dot gnu.org 2011-02-05 13:15:08 UTC --- I completely understand your position on '*' vs '0' At the time we first implemented showing that special case with zero, we had a bit of discussion on

[Bug lto/47528] liblto_plugin.so not found should not to be an fatal error

2011-02-05 Thread ktietz at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47528 Kai Tietz ktietz at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last

[Bug fortran/47613] [4.6 Regression] namelist read with -static

2011-02-05 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47613 --- Comment #4 from H.J. Lu hjl.tools at gmail dot com 2011-02-05 14:48:07 UTC --- On Fedora 14/x86-64, I got [hjl@gnu-34 rrs]$ /usr/gcc-4.6/bin/gfortran pr47613.f90 -static [hjl@gnu-34 rrs]$ ./a.out -1 T [hjl@gnu-34 rrs]$

[Bug tree-optimization/47615] [4.6 Regression] ICE: too deep recursion in phi_translate/phi_translate_1 with -ftree-pre -fno-tree-fre -fno-tree-sra

2011-02-05 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47615 H.J. Lu hjl.tools at gmail dot com changed: What|Removed |Added Status|UNCONFIRMED |NEW Last

[Bug fortran/47613] [4.6 Regression] namelist read with -static

2011-02-05 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47613 --- Comment #5 from H.J. Lu hjl.tools at gmail dot com 2011-02-05 15:11:04 UTC --- Revision 169847 also works for me on Fedora 14.

[Bug tree-optimization/46188] [4.5 regression] -fipa-cp removes destructor call

2011-02-05 Thread mikpe at it dot uu.se
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46188 Mikael Pettersson mikpe at it dot uu.se changed: What|Removed |Added CC||hubicka at gcc

[Bug middle-end/47610] [4.6 Regression] cp-demangle.c:1970:1: error: cplus_demangle_builtin_types causes a section type conflict

2011-02-05 Thread danglin at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47610 --- Comment #6 from John David Anglin danglin at gcc dot gnu.org 2011-02-05 15:45:01 UTC --- I'm seeing the following new fail on hppa64-hp-hpux11.11: Executing on host: /test/gnu/gcc/objdir/gcc/xgcc -B/test/gnu/gcc/objdir/gcc/ /te

[Bug target/46779] wrong code generation for array access

2011-02-05 Thread avr at gjlay dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46779 Georg Lay avr at gjlay dot de changed: What|Removed |Added CC||avr at gjlay dot de ---

[Bug fortran/47571] [4.6 Regression] undefined reference to clock_gettime in Linux build of 02/01/2011

2011-02-05 Thread jb at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47571 --- Comment #22 from Janne Blomqvist jb at gcc dot gnu.org 2011-02-05 16:22:09 UTC --- Author: jb Date: Sat Feb 5 16:22:04 2011 New Revision: 169852 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=169852 Log: PR 47571 Fix HPUX bootstrap

[Bug middle-end/47610] [4.6 Regression] cp-demangle.c:1970:1: error: cplus_demangle_builtin_types causes a section type conflict

2011-02-05 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47610 --- Comment #7 from Jakub Jelinek jakub at gcc dot gnu.org 2011-02-05 16:57:10 UTC --- Can't reproduce that with a cross to hppa64-hp-hpux11.11, I get the expected error instantly.

[Bug fortran/47613] [4.6 Regression] namelist read with -static

2011-02-05 Thread janus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47613 --- Comment #6 from janus at gcc dot gnu.org 2011-02-05 17:06:20 UTC --- For completeness, I'm seeing this issue on openSUSE 11.3 (x86_64) with gfortran-4.6 -v Using built-in specs. COLLECT_GCC=gfortran-4.6

[Bug middle-end/47610] [4.6 Regression] cp-demangle.c:1970:1: error: cplus_demangle_builtin_types causes a section type conflict

2011-02-05 Thread dave at hiauly1 dot hia.nrc.ca
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47610 --- Comment #8 from dave at hiauly1 dot hia.nrc.ca 2011-02-05 17:09:48 UTC --- Can't reproduce that with a cross to hppa64-hp-hpux11.11, I get the expected error instantly. Sorry, this is my fault. I misapplied your patch. Dave

[Bug fortran/47616] ICE with allocate(a,source=(/1/))

2011-02-05 Thread tkoenig at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47616 --- Comment #1 from Thomas Koenig tkoenig at gcc dot gnu.org 2011-02-05 17:31:19 UTC --- Same error with mold: ig25@linux-fd1f:~/Krempel/Arr cat arr-3.f90 program main implicit none integer, dimension(:), allocatable :: a allocate (a,

[Bug fortran/47613] [4.6 Regression] namelist read with -static

2011-02-05 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47613 --- Comment #7 from H.J. Lu hjl.tools at gmail dot com 2011-02-05 17:50:43 UTC --- (In reply to comment #6) For completeness, I'm seeing this issue on openSUSE 11.3 (x86_64) with What else can I do to nail this down? Please show # strace

[Bug fortran/47613] [4.6 Regression] namelist read with -static

2011-02-05 Thread jvdelisle at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47613 --- Comment #8 from Jerry DeLisle jvdelisle at gcc dot gnu.org 2011-02-05 17:57:09 UTC --- Do you have environment variables set for buffering or non-buffering? I am on Fedora 14 and don't see it. Its puzzling. Have you tried clean bootstrap

[Bug libfortran/47567] Wrong output for small absolute values with F editing

2011-02-05 Thread jvdelisle at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47567 --- Comment #10 from Jerry DeLisle jvdelisle at gcc dot gnu.org 2011-02-05 17:58:51 UTC --- Author: jvdelisle Date: Sat Feb 5 17:58:48 2011 New Revision: 169853 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=169853 Log: 2011-02-05 Jerry

[Bug fortran/47613] [4.6 Regression] namelist read with -static

2011-02-05 Thread janus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47613 --- Comment #9 from janus at gcc dot gnu.org 2011-02-05 17:59:40 UTC --- (In reply to comment #7) What else can I do to nail this down? Please show # strace ./a.out Here you go: strace ./a.out execve(./a.out, [./a.out], [/* 91 vars

[Bug fortran/47613] [4.6 Regression] namelist read with -static

2011-02-05 Thread sgk at troutmask dot apl.washington.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47613 --- Comment #10 from Steve Kargl sgk at troutmask dot apl.washington.edu 2011-02-05 18:11:02 UTC --- On Sat, Feb 05, 2011 at 05:59:49PM +, janus at gcc dot gnu.org wrote: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47613 --- Comment #9

[Bug fortran/47613] [4.6 Regression] namelist read with -static

2011-02-05 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47613 --- Comment #11 from H.J. Lu hjl.tools at gmail dot com 2011-02-05 18:14:14 UTC --- On Fedora/14, I got execve(./a.out, [./a.out], [/* 34 vars */]) = 0 uname({sys=Linux, node=gnu-34.sc.intel.com, ...}) = 0 brk(0)

[Bug target/47558] 163267 breaks exception traceback in xplor-nih

2011-02-05 Thread howarth at nitro dot med.uc.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47558 --- Comment #59 from Jack Howarth howarth at nitro dot med.uc.edu 2011-02-05 18:40:15 UTC --- I can confirm that the patch in Comment 58 both eliminates the failure in the reduced test case from Comment 56 as well as the failure in the dipCoup

[Bug target/47558] 163267 breaks exception traceback in xplor-nih

2011-02-05 Thread iains at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47558 --- Comment #60 from Iain Sandoe iains at gcc dot gnu.org 2011-02-05 18:57:20 UTC --- (In reply to comment #59) I can confirm that the patch in Comment 58 both eliminates the failure in the reduced test case from Comment 56 as well as the

[Bug target/47558] 163267 breaks exception traceback in xplor-nih

2011-02-05 Thread howarth at nitro dot med.uc.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47558 --- Comment #61 from Jack Howarth howarth at nitro dot med.uc.edu 2011-02-05 19:04:18 UTC --- Actually the two issues are entirely intertwined. PR47558 was due to not prioritizing symbols from libSystem over those from libgcc_ext. FYI, I don't

[Bug target/47558] 163267 breaks exception traceback in xplor-nih

2011-02-05 Thread dominiq at lps dot ens.fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47558 --- Comment #62 from Dominique d'Humieres dominiq at lps dot ens.fr 2011-02-05 19:23:09 UTC --- ... FYI, I don't see why getting ___divdc3 fixed in time for Lion should be that difficult. From the audit trail of PR42333, this is not a bug but

[Bug fortran/42434] Documentation should provide advice about clock resolutions

2011-02-05 Thread jb at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42434 Janne Blomqvist jb at gcc dot gnu.org changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug fortran/42434] Documentation should provide advice about clock resolutions

2011-02-05 Thread jb at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42434 --- Comment #2 from Janne Blomqvist jb at gcc dot gnu.org 2011-02-05 20:20:52 UTC --- Author: jb Date: Sat Feb 5 20:20:48 2011 New Revision: 169854 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=169854 Log: PR 42434 Update SYSTEM_CLOCK

[Bug fortran/42434] Documentation should provide advice about clock resolutions

2011-02-05 Thread jb at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42434 Janne Blomqvist jb at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[Bug middle-end/47610] [4.6 Regression] cp-demangle.c:1970:1: error: cplus_demangle_builtin_types causes a section type conflict

2011-02-05 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47610 --- Comment #9 from Jakub Jelinek jakub at gcc dot gnu.org 2011-02-05 20:35:19 UTC --- Author: jakub Date: Sat Feb 5 20:35:16 2011 New Revision: 169855 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=169855 Log: PR middle-end/47610

[Bug rtl-optimization/47612] RTL crash when cc0 setter moved away from cc0 user

2011-02-05 Thread mikpe at it dot uu.se
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47612 Mikael Pettersson mikpe at it dot uu.se changed: What|Removed |Added CC||bernds at gcc

[Bug middle-end/47610] [4.6 Regression] cp-demangle.c:1970:1: error: cplus_demangle_builtin_types causes a section type conflict

2011-02-05 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47610 Jakub Jelinek jakub at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[Bug other/42333] complex division failure on darwin10 with -lm

2011-02-05 Thread howarth at nitro dot med.uc.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42333 --- Comment #51 from Jack Howarth howarth at nitro dot med.uc.edu 2011-02-05 21:11:30 UTC --- The __divdc3 in Snow Leopard come from the compiler-rt llvm project. Here are the tests they they use to validate their __divdc3...

[Bug other/42333] complex division failure on darwin10 with -lm

2011-02-05 Thread howarth at nitro dot med.uc.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42333 --- Comment #52 from Jack Howarth howarth at nitro dot med.uc.edu 2011-02-05 21:49:14 UTC --- Filed bug report upstream against compiler-rt with testcase... http://llvm.org/bugs/show_bug.cgi?id=9150

[Bug fortran/47613] [4.6 Regression] namelist read with -static

2011-02-05 Thread janus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47613 janus at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|

[Bug c/47617] New: SSE rounding mode works -g, not -O3

2011-02-05 Thread cck0011 at yahoo dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47617 Summary: SSE rounding mode works -g, not -O3 Product: gcc Version: 4.3.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo:

[Bug other/42333] complex division failure on darwin10 with -lm

2011-02-05 Thread mrs at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42333 m...@gcc.gnu.org mrs at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Last

[Bug lto/45375] [meta-bug] Issues with building Mozilla with LTO

2011-02-05 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45375 --- Comment #38 from Jan Hubicka hubicka at gcc dot gnu.org 2011-02-05 22:38:41 UTC --- Created attachment 23253 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=23253 failing testcase With current mainline and top of tree mozilla, things

[Bug gcov-profile/47618] New: Collecting multiple profiles and using all for PGO

2011-02-05 Thread roland at rschulz dot eu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47618 Summary: Collecting multiple profiles and using all for PGO Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: enhancement Priority: P3 Component: gcov-profile

[Bug target/47269] DSYMUTIL_SPEC doesn't handle -gtoggle

2011-02-05 Thread mikestump at comcast dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47269 --- Comment #2 from Mike Stump mikestump at comcast dot net 2011-02-06 01:10:06 UTC --- Luckily specs can do this: %{!fdump=*:%{!fsyntax-only:foo}} says to put in foo, if those two flags are not given; this is and.

[Bug target/47269] DSYMUTIL_SPEC doesn't handle -gtoggle

2011-02-05 Thread mikestump at comcast dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47269 --- Comment #3 from Mike Stump mikestump at comcast dot net 2011-02-06 01:31:52 UTC --- If I understand what they intend, though, the documentation isn't clear on this point: %{!gtoggle: %{gdwarf-2:%{!gstabs*:%{!g0: -idsym}}}\

[Bug c/47617] SSE rounding mode works -g, not -O3

2011-02-05 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47617 --- Comment #1 from Andrew Pinski pinskia at gcc dot gnu.org 2011-02-06 02:13:37 UTC --- I think you need to use -frounding-math. GCC assumes by default the rounding mode is round-to-nearest. See

[Bug target/47269] DSYMUTIL_SPEC doesn't handle -gtoggle

2011-02-05 Thread howarth at nitro dot med.uc.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47269 --- Comment #4 from Jack Howarth howarth at nitro dot med.uc.edu 2011-02-06 02:15:08 UTC --- Mike, I thought it was pretty clear in the man page... -gtoggle Turn off generation of debug info, if leaving out this option would

[Bug preprocessor/47047] Support for path translation in __FILE__

2011-02-05 Thread joerg at netbsd dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47047 --- Comment #4 from Joerg Sonnenberger joerg at netbsd dot org 2011-02-06 04:10:12 UTC --- (In reply to comment #3) Please fill in the form at http://gcc.gnu.org/wiki/CopyrightAssignment and send it to fsf-reco...@gnu.org and they will then

[Bug bootstrap/43073] libiberty fails to build when using gcc-core

2011-02-05 Thread laguest at archeia dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43073 Luke A. Guest laguest at archeia dot com changed: What|Removed |Added CC||laguest at