[Bug rtl-optimization/47138] backport r158175: replace dominated uses in loop-invariant

2011-01-03 Thread ebotcazou at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47138

Eric Botcazou ebotcazou at gcc dot gnu.org changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||WONTFIX

--- Comment #5 from Eric Botcazou ebotcazou at gcc dot gnu.org 2011-01-03 
08:05:07 UTC ---
Let's be conservative.


[Bug c++/47153] g++ with -O3 enters infinite loop

2011-01-03 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47153

Jakub Jelinek jakub at gcc dot gnu.org changed:

   What|Removed |Added

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

--- Comment #6 from Jakub Jelinek jakub at gcc dot gnu.org 2011-01-03 
08:41:00 UTC ---
Thus invalid.


[Bug tree-optimization/47155] likely wrong code bug

2011-01-03 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47155

Jakub Jelinek jakub at gcc dot gnu.org changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
   Last reconfirmed||2011.01.03 09:13:19
 CC||jakub at gcc dot gnu.org
  Component|c   |tree-optimization
   Target Milestone|--- |4.6.0
 Ever Confirmed|0   |1

--- Comment #1 from Jakub Jelinek jakub at gcc dot gnu.org 2011-01-03 
09:13:19 UTC ---
Indeed, caused by my PR47140 patch.


[Bug tree-optimization/47155] [4.6 Regression] ccp caused miscompilation

2011-01-03 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47155

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 2011-01-03 
09:31:27 UTC ---
Created attachment 22884
  -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=22884
gcc46-pr47155.patch

Untested fix.


[Bug rtl-optimization/47157] New: [4.6 Regression] ICE: in calc_dfs_tree, at dominance.c:395 with -O

2011-01-03 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47157

   Summary: [4.6 Regression] ICE: in calc_dfs_tree, at
dominance.c:395 with -O
   Product: gcc
   Version: 4.6.0
   URL: http://gcc.gnu.org/ml/gcc-patches/2010-12/msg01416.htm
l
Status: UNCONFIRMED
  Keywords: ice-on-valid-code, patch
  Severity: normal
  Priority: P3
 Component: rtl-optimization
AssignedTo: unassig...@gcc.gnu.org
ReportedBy: ja...@gcc.gnu.org
CC: ja...@gcc.gnu.org, ste...@gcc.gnu.org,
reg...@cs.utah.edu, zso...@seznam.cz
Depends on: 46755
  Host: x86_64-pc-linux-gnu
Target: x86_64-pc-linux-gnu


+++ This bug was initially created as a clone of Bug #46755 +++

PR46755#c8 is unrelated bug to the original one, so creating a separate PR for
it:

Not sure if this is still useful, but here's a fairly small failure-inducing
testcase for this bug for today's GCC.

[reg...@gamow tmp437]$ current-gcc -O2 -c small.c

small.c: In function 'func':
small.c:32:1: internal compiler error: in calc_dfs_tree, at dominance.c:395
Please submit a full bug report,
with preprocessed source if appropriate.
See http://gcc.gnu.org/bugs.html for instructions.

[reg...@gamow tmp437]$ current-gcc -v

Using built-in specs.
COLLECT_GCC=current-gcc
COLLECT_LTO_WRAPPER=/uusoc/exports/scratch/regehr/z/compiler-install/gcc-r168402-install/bin/../libexec/gcc/x86_64-unknown-linux-gnu/4.6.0/lto-wrapper
Target: x86_64-unknown-linux-gnu
Configured with: ../configure --with-libelf=/usr/local --enable-lto
--prefix=/home/regehr/z/compiler-install/gcc-r168402-install
--program-prefix=r168402- --enable-languages=c,c++
Thread model: posix
gcc version 4.6.0 20110102 (experimental) (GCC) 

[reg...@gamow tmp437]$ cat small.c


static int
foo (int si1, short si2)
{
  return ((si1 ^ si2)  ((si1 ^ (si1 ^ si2)  ~2147483647) - si2 ^ si2)) 
0 ? si1 : si1 - si2;
}

struct S0
{
  const unsigned f3:1;
  const unsigned f8:1;
};
struct S0 g_111 = {
  1
};

struct S0 g_139 = {
  1
};

unsigned long int g_22;

void safe (int);
int func_42 (void);

void func (void)
{
  safe (foo (func_42 () != (g_139.f3 | g_111.f8), -1L));
  for (g_22 = 0; g_22; g_22 = 1)
{
}
}

This is caused by revision 164431:

http://gcc.gnu.org/ml/gcc-cvs/2010-09/msg00727.html


[Bug rtl-optimization/46755] ICE: in calc_dfs_tree, at dominance.c:395 with -O

2011-01-03 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46755

Jakub Jelinek jakub at gcc dot gnu.org changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution||FIXED

--- Comment #10 from Jakub Jelinek jakub at gcc dot gnu.org 2011-01-03 
10:19:08 UTC ---
The #c6 issue has been fixed by
http://gcc.gnu.org/viewcvs?root=gccview=revrev=168167
For #c8 issue a new PR, PR47157, has been created.


[Bug rtl-optimization/47157] [4.6 Regression] ICE: in calc_dfs_tree, at dominance.c:395 with -O

2011-01-03 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47157

Jakub Jelinek jakub at gcc dot gnu.org changed:

   What|Removed |Added

 Status|UNCONFIRMED |ASSIGNED
   Last reconfirmed||2011.01.03 10:33:41
 AssignedTo|unassigned at gcc dot   |jakub at gcc dot gnu.org
   |gnu.org |
 Ever Confirmed|0   |1

--- Comment #1 from Jakub Jelinek jakub at gcc dot gnu.org 2011-01-03 
10:33:40 UTC ---
Created attachment 22885
  -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=22885
gcc46-pr47157.patch

Untested fix.


[Bug libfortran/47154] [4.6 Regression] END= does not work in namelist read

2011-01-03 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47154

Jakub Jelinek jakub at gcc dot gnu.org changed:

   What|Removed |Added

   Priority|P3  |P4
 CC||jakub at gcc dot gnu.org


[Bug c/47150] [4.5/4.6 Regression] ICE in gimplify_expr at gimplify.c

2011-01-03 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47150

Jakub Jelinek jakub at gcc dot gnu.org changed:

   What|Removed |Added

 CC||jakub at gcc dot gnu.org

--- Comment #4 from Jakub Jelinek jakub at gcc dot gnu.org 2011-01-03 
11:16:35 UTC ---
The problem is in save_expr called by convert_to_complex when converting
non-COMPLEX_EXPR _Complex float expression to _Complex double.  As this is not
c_save_expr that is called there (and can't, because convert_to_complex is used
in non-Cish FEs), c_fully_fold is not called on the argument and as further
c_fully_fold doesn't dive into SAVE_EXPRs, nothing afterwards fully folds it
either, which means it survives until gimplification and crashes there.

An ugly fix would be duplicate the problematic part of convert_to_complex in
c-convert.c (if converting COMPLEX_TYPE to a different COMPLEX_TYPE and
expression is not COMPLEX_EXPR) and use c_save_expr there instead.


[Bug fortran/45777] Alias analysis broken for arrays where LHS or RHS is a component ref

2011-01-03 Thread tkoenig at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45777

Thomas Koenig tkoenig at gcc dot gnu.org changed:

   What|Removed |Added

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

--- Comment #10 from Thomas Koenig tkoenig at gcc dot gnu.org 2011-01-03 
11:49:53 UTC ---
I'm working on it.


[Bug target/46685] [4.6 Regression] New stack alignment failures with -fpic

2011-01-03 Thread ebotcazou at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46685

--- Comment #15 from Eric Botcazou ebotcazou at gcc dot gnu.org 2011-01-03 
12:06:23 UTC ---
Author: ebotcazou
Date: Mon Jan  3 12:06:19 2011
New Revision: 168418

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=168418
Log:
Backport from mainline
2010-12-30  Eric Botcazou  ebotca...@adacore.com

PR target/47038
* config/sparc/sparc.c (sparc_file_end): Call resolve_unique_section
on the GOT helper if USE_HIDDEN_LINKONCE.

2010-12-02  Eric Botcazou  ebotca...@adacore.com

PR target/46685
* config/sparc/sparc.c (can_use_mov_pic_label_ref): New predicate.
(sparc_expand_move): Call it to decide whether to emit the special
mov{si,di}_pic_label_ref patterns.
(sparc_legitimize_pic_address): Call it to decide whether to emit
the regular PIC sequence for labels.  Fix long line.
(sparc_file_end): Set is_thunk for the PIC helper.

Modified:
branches/gcc-4_5-branch/gcc/ChangeLog
branches/gcc-4_5-branch/gcc/config/sparc/sparc.c


[Bug target/47038] [4.6 Regression] failure of gcc.dg/pr46685.c

2011-01-03 Thread ebotcazou at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47038

--- Comment #6 from Eric Botcazou ebotcazou at gcc dot gnu.org 2011-01-03 
12:06:23 UTC ---
Author: ebotcazou
Date: Mon Jan  3 12:06:19 2011
New Revision: 168418

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=168418
Log:
Backport from mainline
2010-12-30  Eric Botcazou  ebotca...@adacore.com

PR target/47038
* config/sparc/sparc.c (sparc_file_end): Call resolve_unique_section
on the GOT helper if USE_HIDDEN_LINKONCE.

2010-12-02  Eric Botcazou  ebotca...@adacore.com

PR target/46685
* config/sparc/sparc.c (can_use_mov_pic_label_ref): New predicate.
(sparc_expand_move): Call it to decide whether to emit the special
mov{si,di}_pic_label_ref patterns.
(sparc_legitimize_pic_address): Call it to decide whether to emit
the regular PIC sequence for labels.  Fix long line.
(sparc_file_end): Set is_thunk for the PIC helper.

Modified:
branches/gcc-4_5-branch/gcc/ChangeLog
branches/gcc-4_5-branch/gcc/config/sparc/sparc.c


[Bug fortran/46448] [4.6 Regression] [OOP] symbol `__copy_...' is already defined

2011-01-03 Thread janus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46448

janus at gcc dot gnu.org changed:

   What|Removed |Added

 Status|UNCONFIRMED |ASSIGNED
   Last reconfirmed||2011.01.03 12:12:22
 AssignedTo|unassigned at gcc dot   |janus at gcc dot gnu.org
   |gnu.org |
 Ever Confirmed|0   |1

--- Comment #4 from janus at gcc dot gnu.org 2011-01-03 12:12:22 UTC ---
Got a patch. Regtesting right now ...


[Bug driver/47137] [4.6 Regression] gcc incorrectly combines assembly inputs

2011-01-03 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47137

Jakub Jelinek jakub at gcc dot gnu.org changed:

   What|Removed |Added

 CC||jakub at gcc dot gnu.org

--- Comment #7 from Jakub Jelinek jakub at gcc dot gnu.org 2011-01-03 
12:31:43 UTC ---
It broke bootstrap in libgo as well:
gccgo: fatal error: cannot specify -o with -c, -S or -E with multiple files


[Bug fortran/45827] [4.6 Regression] [OOP] mio_component_ref(): Component not found

2011-01-03 Thread boschmann at tp1 dot physik.uni-siegen.de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45827

--- Comment #44 from Hans-Werner Boschmann boschmann at tp1 dot 
physik.uni-siegen.de 2011-01-03 12:55:53 UTC ---
I've run my project on R168414, there are no error messages so far. Thank you
all for making this fix, this bug has bothered me for a long time.


[Bug tree-optimization/46984] [4.6 Regression] g++.dg/torture/pr45699.C FAILs with -fno-early-inlining -flto

2011-01-03 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46984

--- Comment #3 from Martin Jambor jamborm at gcc dot gnu.org 2011-01-03 
13:06:58 UTC ---
Author: jamborm
Date: Mon Jan  3 13:06:54 2011
New Revision: 168420

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=168420
Log:
2011-01-03  Martin Jambor  mjam...@suse.cz

PR tree-optimization/46984
* cgraph.h (cgraph_indirect_call_info): make field thunk_delta
HOST_WIDE_INT.
(cgraph_create_indirect_edge): Fixed line length.
(cgraph_indirect_call_info): Declare.
(cgraph_make_edge_direct) Update declaration.
* cgraph.c (cgraph_allocate_init_indirect_info): New function.
(cgraph_create_indirect_edge): Use it.
(cgraph_make_edge_direct): Made delta HOST_WIDE_INT.  Updated all
callees.
* cgraphunit.c (cgraph_redirect_edge_call_stmt_to_callee): Update for
the new thunk_delta representation.
* ipa-prop.c (ipa_make_edge_direct_to_target): Convert delta to
HOST_WIDE_INT.
(ipa_write_indirect_edge_info): Remove streaming of thunk_delta.
(ipa_read_indirect_edge_info): Likewise.
* lto-cgraph.c (output_edge_opt_summary): New function.
(output_node_opt_summary): Call it on all outgoing edges.
(input_edge_opt_summary): New function.
(input_node_opt_summary): Call it on all outgoing edges.

* testsuite/g++.dg/ipa/pr46984.C: New test.


Added:
trunk/gcc/testsuite/g++.dg/ipa/pr46984.C
Modified:
trunk/gcc/ChangeLog
trunk/gcc/cgraph.c
trunk/gcc/cgraph.h
trunk/gcc/cgraphunit.c
trunk/gcc/ipa-prop.c
trunk/gcc/lto-cgraph.c
trunk/gcc/testsuite/ChangeLog


[Bug tree-optimization/46984] [4.6 Regression] g++.dg/torture/pr45699.C FAILs with -fno-early-inlining -flto

2011-01-03 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46984

Martin Jambor jamborm at gcc dot gnu.org changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution||FIXED

--- Comment #4 from Martin Jambor jamborm at gcc dot gnu.org 2011-01-03 
13:08:54 UTC ---
Fixed.


[Bug fortran/45827] [4.6 Regression] [OOP] mio_component_ref(): Component not found

2011-01-03 Thread janus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45827

janus at gcc dot gnu.org changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution||FIXED

--- Comment #45 from janus at gcc dot gnu.org 2011-01-03 13:14:13 UTC ---
(In reply to comment #44)
 I've run my project on R168414, there are no error messages so far.

Great, thanks for checking. I'm closing this bug as fixed.


[Bug driver/47137] [4.6 Regression] gcc incorrectly combines assembly inputs

2011-01-03 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47137

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

   What|Removed |Added

URL||http://gcc.gnu.org/ml/gcc/2
   ||011-01/msg00028.html

--- Comment #8 from H.J. Lu hjl.tools at gmail dot com 2011-01-03 13:24:08 
UTC ---
A patch is posted at

http://gcc.gnu.org/ml/gcc/2011-01/msg00028.html


[Bug libstdc++/47145] [4.6 Regression] cross-compilation fails with cannot check for file existence when cross compiling

2011-01-03 Thread ktietz at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47145

Kai Tietz ktietz at gcc dot gnu.org changed:

   What|Removed |Added

 CC||ktietz at gcc dot gnu.org

--- Comment #2 from Kai Tietz ktietz at gcc dot gnu.org 2011-01-03 13:32:53 
UTC ---
This issue breaks cross-compile for me on cygwin


[Bug libstdc++/47052] make: *** [configure-target-libstdc++-v3] Error 1 Cross compile GCC for Alpha Architecture

2011-01-03 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47052

Paolo Carlini paolo.carlini at oracle dot com changed:

   What|Removed |Added

 Status|UNCONFIRMED |WAITING
   Last reconfirmed||2011.01.03 13:36:39
 Ever Confirmed|0   |1


[Bug libstdc++/46922] Missing exported symbols from libstdc++

2011-01-03 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46922

Paolo Carlini paolo.carlini at oracle dot com changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
   Last reconfirmed||2011.01.03 13:37:38
 AssignedTo|unassigned at gcc dot   |paolo.carlini at oracle dot
   |gnu.org |com
   Target Milestone|--- |4.6.0
 Ever Confirmed|0   |1

--- Comment #1 from Paolo Carlini paolo.carlini at oracle dot com 2011-01-03 
13:37:38 UTC ---
Looking into it (if nobody beats me)


[Bug driver/47137] [4.6 Regression] gcc incorrectly combines assembly inputs

2011-01-03 Thread joseph at codesourcery dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47137

--- Comment #9 from joseph at codesourcery dot com joseph at codesourcery dot 
com 2011-01-03 13:54:28 UTC ---
Does reverting the r168407 commit and instead applying Jie's first patch 
from http://gcc.gnu.org/ml/gcc/2010-12/msg00517.html fix all the present 
problems?  If so, then please do that.  It seems a lot safer at the 
present stage than more complicated fixes involving the Go driver.


[Bug libstdc++/47145] [4.6 Regression] cross-compilation fails with cannot check for file existence when cross compiling

2011-01-03 Thread ktietz at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47145

--- Comment #3 from Kai Tietz ktietz at gcc dot gnu.org 2011-01-03 14:18:45 
UTC ---
The issue here is AC_CHECK_FILE, which is documented to not work for
cross-compiling scenario. By replacing this to test -f, it should working for
native and cross-compile.
The following patch should solve this. I can't regenerate at the moment the
configure for testing. I'll do it later this eveing at home. But maybe someone
else could check it before.

Index: configure.ac
===
--- configure.ac(revision 168422)
+++ configure.ac(working copy)
@@ -343,9 +343,12 @@
 # Check for docbook
 AC_CHECK_PROG([XSLTPROC], xsltproc, yes, no)
 AC_CHECK_PROG([XMLLINT], xmllint, yes, no)
-AC_CHECK_FILE([/usr/share/sgml/docbook/xsl-ns-stylesheets/VERSION],
- [glibcxx_stylesheets=yes], [glibcxx_stylesheets=no])

+glibcxx_stylesheets=no;
+if test -f /usr/share/sgml/docbook/xsl-ns-stylesheets/VERSION; then
+  glibcxx_stylesheets=yes;
+fi
+
 # Check for xml/html dependencies.
 AM_CONDITIONAL(BUILD_XML,
   test $ac_cv_prog_DOXYGEN = yes 


[Bug target/46942] x86_64 parameter passing unnecessary sign/zero extends

2011-01-03 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46942

--- Comment #7 from H.J. Lu hjl.tools at gmail dot com 2011-01-03 14:23:05 
UTC ---
For

void f1(char c, char d, char e, char f, char g, char h, char i);

char x;

void f2()
{
f1(x, x, x, x, x, x, x);
}

ICC generates this assembly, where we only store 8 bits to the stack
for the final parameter.

f2:
pushq %rsi
addq  $-16, %rsp
movsblx(%rip), %edi
movb  %dil, (%rsp)
movl  %edi, %esi
movl  %edi, %edx
movl  %edi, %ecx
movl  %edi, %r8d
movl  %edi, %r9d
call  f1
addq  $16, %rsp
popq  %rcx
ret


[Bug libfortran/47154] [4.6 Regression] END= does not work in namelist read

2011-01-03 Thread jvdelisle at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47154

Jerry DeLisle jvdelisle at gcc dot gnu.org changed:

   What|Removed |Added

 CC||jvdelisle at gcc dot
   ||gnu.org
 AssignedTo|unassigned at gcc dot   |jvdelisle at gcc dot
   |gnu.org |gnu.org

--- Comment #2 from Jerry DeLisle jvdelisle at gcc dot gnu.org 2011-01-03 
14:40:26 UTC ---
I will work on this one.


[Bug libstdc++/47145] [4.6 Regression] cross-compilation fails with cannot check for file existence when cross compiling

2011-01-03 Thread ktietz at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47145

--- Comment #4 from Kai Tietz ktietz at gcc dot gnu.org 2011-01-03 14:46:05 
UTC ---
(In reply to comment #3)
 The issue here is AC_CHECK_FILE, which is documented to not work for
 cross-compiling scenario. By replacing this to test -f, it should working for
 native and cross-compile.
 The following patch should solve this. I can't regenerate at the moment the
 configure for testing. I'll do it later this eveing at home. But maybe someone
 else could check it before.
 

Sorry had a typo with semicolon ...

Index: configure.ac
===
--- configure.ac(revision 168422)
+++ configure.ac(working copy)
@@ -343,9 +343,12 @@
 # Check for docbook
 AC_CHECK_PROG([XSLTPROC], xsltproc, yes, no)
 AC_CHECK_PROG([XMLLINT], xmllint, yes, no)
-AC_CHECK_FILE([/usr/share/sgml/docbook/xsl-ns-stylesheets/VERSION],
- [glibcxx_stylesheets=yes], [glibcxx_stylesheets=no])

+glibcxx_stylesheets=no;
+if test -f /usr/share/sgml/docbook/xsl-ns-stylesheets/VERSION; then
+  glibcxx_stylesheets=yes;
+fi
+
 # Check for xml/html dependencies.
 AM_CONDITIONAL(BUILD_XML,
   test $ac_cv_prog_DOXYGEN = yes 


[Bug driver/47137] [4.6 Regression] gcc incorrectly combines assembly inputs

2011-01-03 Thread hjl at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47137

--- Comment #10 from hjl at gcc dot gnu.org hjl at gcc dot gnu.org 2011-01-03 
15:03:08 UTC ---
Author: hjl
Date: Mon Jan  3 15:03:05 2011
New Revision: 168429

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=168429
Log:
Revert revision 168407.

2011-01-03  H.J. Lu  hongjiu...@intel.com

PR driver/47137
* gcc.c (main): Revert revision 168407.

Modified:
trunk/gcc/ChangeLog
trunk/gcc/gcc.c


[Bug libstdc++/47145] [4.6 Regression] cross-compilation fails with cannot check for file existence when cross compiling

2011-01-03 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47145

Paolo Carlini paolo.carlini at oracle dot com changed:

   What|Removed |Added

 CC||rwild at gcc dot gnu.org

--- Comment #5 from Paolo Carlini paolo.carlini at oracle dot com 2011-01-03 
15:15:49 UTC ---
Let's add Ralf in CC.


[Bug tree-optimization/46469] [4.6 Regression] ICE: verify_cgraph_node failed: inline clone is needed at -O

2011-01-03 Thread dcb314 at hotmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46469

dcb dcb314 at hotmail dot com changed:

   What|Removed |Added

 CC||dcb314 at hotmail dot com

--- Comment #2 from dcb dcb314 at hotmail dot com 2011-01-03 15:26:01 UTC ---
(In reply to comment #1)
 It is caused by revision 165972:
 
 http://gcc.gnu.org/ml/gcc-cvs/2010-10/msg01159.html

This still seems to be broken in the 20110101 4.6 snapshot.

I've found about a dozen duplicates in the Fedora rawhide source
code tree, so it looks pretty important to me.


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

2011-01-03 Thread Denis.Excoffier at airbus dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44455

--- Comment #20 from Denis Excoffier Denis.Excoffier at airbus dot com 
2011-01-03 15:33:08 UTC ---
I confirm that it is fixed in 4.5.2.


[Bug tree-optimization/46801] [4.6 Regression] FAIL: gnat.dg/pack9.adb scan-tree-dump-not optimized gnat_rcheck

2011-01-03 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46801

--- Comment #9 from Martin Jambor jamborm at gcc dot gnu.org 2011-01-03 
15:43:25 UTC ---
Author: jamborm
Date: Mon Jan  3 15:43:23 2011
New Revision: 168431

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=168431
Log:
2011-01-03  Martin Jambor  mjam...@suse.cz

PR tree-optimization/46801
* tree-sra.c (type_internals_preclude_sra_p): Check whether
aggregate fields start at byte boundary instead of the bit-field flag.

* testsuite/gnat.dg/pack9.adb: Remove xfail.


Modified:
trunk/gcc/ChangeLog
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/gnat.dg/pack9.adb
trunk/gcc/tree-sra.c


[Bug tree-optimization/46801] [4.6 Regression] FAIL: gnat.dg/pack9.adb scan-tree-dump-not optimized gnat_rcheck

2011-01-03 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46801

Martin Jambor jamborm at gcc dot gnu.org changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED

--- Comment #10 from Martin Jambor jamborm at gcc dot gnu.org 2011-01-03 
15:46:26 UTC ---
Fixed.


[Bug fortran/47054] Compilation error when cray pointers are declared in both host and internal subroutines

2011-01-03 Thread deji_aking at yahoo dot ca
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47054

Deji Akingunola deji_aking at yahoo dot ca changed:

   What|Removed |Added

Version|unknown |4.5.1

--- Comment #3 from Deji Akingunola deji_aking at yahoo dot ca 2011-01-03 
15:50:58 UTC ---
(In reply to comment #1)
 What compilation error?

Sorry I missed stating the actual error earlier. It is the same as in comment
#2 above.


[Bug libstdc++/47145] [4.6 Regression] cross-compilation fails with cannot check for file existence when cross compiling

2011-01-03 Thread joseph at codesourcery dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47145

--- Comment #6 from joseph at codesourcery dot com joseph at codesourcery dot 
com 2011-01-03 16:11:45 UTC ---
On Mon, 3 Jan 2011, ktietz at gcc dot gnu.org wrote:

 The issue here is AC_CHECK_FILE, which is documented to not work for
 cross-compiling scenario. By replacing this to test -f, it should working for
 native and cross-compile.

There were also comments that the path is sometimes wrong.  Using test -f 
should fix the immediate regression - but it would be better not to 
hardcode paths at all.  Presumably the issue is that some particular 
stylesheets are needed *in the path searched by the tools being tested 
for*, which may depend on how those tools were configured and may not be 
in /usr at all.  So it would be better to have a feature test - run the 
tools (if found) on a suitable document to see if they can find the 
required stylesheets.  Perhaps the libstdc++ maintainers could comment on 
what the actual feature required is for which a path test is being used as 
a bad proxy?


[Bug bootstrap/47147] gcc 4.6 fails to compile on NetBSD

2011-01-03 Thread js-gcc at webkeks dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47147

--- Comment #2 from js-gcc at webkeks dot org js-gcc at webkeks dot org 
2011-01-03 16:13:14 UTC ---
/home/js/gcc-trunk/configure --enable-long-long --disable-multilib
--enable-threads --disable-symvers --enable-__cxa_atexit
--enable-languages=c,c++,objc,obj-c++ --with-mpfr=/usr/local
--with-mpc=/usr/local --with-gmp=/usr/local


[Bug c/47150] [4.5/4.6 Regression] ICE in gimplify_expr at gimplify.c

2011-01-03 Thread joseph at codesourcery dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47150

--- Comment #5 from joseph at codesourcery dot com joseph at codesourcery dot 
com 2011-01-03 16:22:17 UTC ---
On Mon, 3 Jan 2011, jakub at gcc dot gnu.org wrote:

 The problem is in save_expr called by convert_to_complex when converting
 non-COMPLEX_EXPR _Complex float expression to _Complex double.  As this is not
 c_save_expr that is called there (and can't, because convert_to_complex is 
 used
 in non-Cish FEs), c_fully_fold is not called on the argument and as further

The non-C-family front ends seems generally to be using it in their 
implementations of convert, the legacy magic-name langhook.  If this 
could be eliminated (making remaining users in the language-independent 
compiler use fold_convert unless they really need language-specific 
semantics) then quite possibly the convert functions in those front ends 
could go away and much of convert.c could move into c-family code (it does 
checks for invalid conversions and gives errors for them, which is clearly 
something that belongs in front ends) - while some of those front ends use 
their own convert functions internally, they may well not need special 
semantics for complex types that fold_convert doesn't have.  But this 
certainly isn't a Stage 4 fix

 c_fully_fold doesn't dive into SAVE_EXPRs, nothing afterwards fully folds it
 either, which means it survives until gimplification and crashes there.
 
 An ugly fix would be duplicate the problematic part of convert_to_complex in
 c-convert.c (if converting COMPLEX_TYPE to a different COMPLEX_TYPE and
 expression is not COMPLEX_EXPR) and use c_save_expr there instead.

In view of the above and the notion that convert_to_complex really belongs 
in the front ends, this seems reasonable.


[Bug libstdc++/46922] Missing exported symbols from libstdc++

2011-01-03 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46922

--- Comment #2 from Paolo Carlini paolo.carlini at oracle dot com 2011-01-03 
16:33:46 UTC ---
Jakub, I'll commit momentarily the fix for std::bad_function_call. Can you take
care of the max_digits10 vs long double thing? You know it much better than me
and I don't know how to test the change. Patch pre-approved of course.


[Bug libstdc++/47145] [4.6 Regression] cross-compilation fails with cannot check for file existence when cross compiling

2011-01-03 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47145

--- Comment #7 from Paolo Carlini paolo.carlini at oracle dot com 2011-01-03 
16:37:12 UTC ---
Benjamin knows...


[Bug rtl-optimization/47157] [4.6 Regression] ICE: in calc_dfs_tree, at dominance.c:395 with -O

2011-01-03 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47157

Richard Guenther rguenth at gcc dot gnu.org changed:

   What|Removed |Added

   Target Milestone|--- |4.6.0


[Bug tree-optimization/47021] graphite branch fails to bootstrap

2011-01-03 Thread spop at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47021

--- Comment #3 from Sebastian Pop spop at gcc dot gnu.org 2011-01-03 17:01:39 
UTC ---
Author: spop
Date: Mon Jan  3 17:01:36 2011
New Revision: 168433

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=168433
Log:
Fix PR47021: ADDR_EXPRs don't contain SCoP parameters.

2011-01-03  Sebastian Pop  sebastian@amd.com

PR tree-optimization/47021
* graphite-sese-to-poly.c (scan_tree_for_params): Handle ADDR_EXPR.

Modified:
trunk/gcc/ChangeLog
trunk/gcc/ChangeLog.graphite
trunk/gcc/graphite-sese-to-poly.c


[Bug tree-optimization/47021] graphite branch fails to bootstrap

2011-01-03 Thread spop at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47021

Sebastian Pop spop at gcc dot gnu.org changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution||FIXED

--- Comment #4 from Sebastian Pop spop at gcc dot gnu.org 2011-01-03 17:02:15 
UTC ---
Fixed.


[Bug libstdc++/46922] Missing exported symbols from libstdc++

2011-01-03 Thread paolo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46922

--- Comment #3 from paolo at gcc dot gnu.org paolo at gcc dot gnu.org 
2011-01-03 17:09:14 UTC ---
Author: paolo
Date: Mon Jan  3 17:09:12 2011
New Revision: 168435

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=168435
Log:
2011-01-03  Paolo Carlini  paolo.carl...@oracle.com

PR libstdc++/46922
* config/abi/pre/gnu.ver: Export std::bad_function_call symbols.

Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/config/abi/pre/gnu.ver


[Bug c/47146] Floating point to integer conversions

2011-01-03 Thread babelart at yahoo dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47146

--- Comment #3 from Pierre Innocent babelart at yahoo dot com 2011-01-03 
17:12:05 UTC ---
Dear kargl:

Sorry, I was not specific enough. It is the integer conversion that seem
to be wrong,for example the following two lines:

fprintf( stdout, Float 100.0 * 0.3894949=%d\n, 100.0 * elapsed );
fprintf( stdout, Float 100 * 0.3894949=%d\n, 100 * elapsed );

both produce the value '-536870912'.

I also downloaded the C99 integer to float conversion test code; and they
generated two many failures. I also believe the compiler should round resulting
integer values when stripping decimals off.

Regards,
Pierre Innocent


--- On Sat, 1/1/11, kargl at gcc dot gnu.org gcc-bugzi...@gcc.gnu.org wrote:

 From: kargl at gcc dot gnu.org gcc-bugzi...@gcc.gnu.org
 Subject: [Bug c/47146] Floating point to integer conversions
 To: babel...@yahoo.com
 Received: Saturday, January 1, 2011, 4:15 PM
 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47146
 
 kargl at gcc dot gnu.org changed:
 
            What 
   |Removed           
          |Added
 
          
    Status|UNCONFIRMED     
            |RESOLVED
              
    CC|         
                
   |kargl at gcc dot gnu.org
          Resolution| 
                
           |INVALID
 
 --- Comment #2 from kargl at gcc dot gnu.org 2011-01-01
 21:15:30 UTC ---
 (In reply to comment #0)
  #include stdio.h
  #include stdlib.h
  
 
 //-
  int32_t main(int argc, char **argv)
 
 //-
  {
      float elapsed = 0.3894949;
  
      fprintf( stdout, Float
 0.3894949=%f\n, elapsed );
      fprintf( stdout, Float
 0.3894949 * 100.0=%f\n, elapsed * 100.0 );
      fprintf( stdout, Integer Cast
 0.3894949 * 100.0=%d\n, (int32_t) (elapsed
  * 100.0) );
  
 
 If you change all your floating point constants to include
 a f
 suffix (e.g., 100.0f, 0.3894949f, etc), then you get
 
 laptop:kargl[149] cc -o z a.c -ffloat-store  ./z
 Float 0.3894949=0.389495
 Float 0.3894949 * 100.0=38.949490
 Integer Cast 0.3894949 * 100.0=38
 Float=38.949490
 Integer=38
 --
 Float 0.39=0.39
 Float 0.39 * 100.0=39.00
 Integer Cast 0.39 * 100.0=39
 Float=39.00
 Integer=39
 
 which looks like the desired output.  As Jonathan
 mentions, you
 have several intermediate results that are double not
 float.
 Add the fact that 0.39 is not exactly representable, which
 your output of Float 0.39 * 100.0=38.99 clearly
 shows,
 you've miss interpreted your results.
 
 -- 
 Configure bugmail: http://gcc.gnu.org/bugzilla/userprefs.cgi?tab=email
 --- You are receiving this mail because: ---
 You reported the bug.



[Bug ada/47131] [4.6 Regression] internal error for ACATS C34011B on SJLJ targets

2011-01-03 Thread ebotcazou at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47131

--- Comment #3 from Eric Botcazou ebotcazou at gcc dot gnu.org 2011-01-03 
17:20:10 UTC ---
Created attachment 22886
  -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=22886
Tentative fix (for gcc/ada)


[Bug c/47146] Floating point to integer conversions

2011-01-03 Thread sch...@linux-m68k.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47146

--- Comment #4 from Andreas Schwab sch...@linux-m68k.org 2011-01-03 17:40:24 
UTC ---
 fprintf( stdout, Float 100.0 * 0.3894949=%d\n, 100.0 * elapsed );
 fprintf( stdout, Float 100 * 0.3894949=%d\n, 100 * elapsed );
 
 both produce the value '-536870912'.

Undefined behaviour: you pass a double value to a format that expects a value
of type int.


[Bug middle-end/46823] [4.6 Regression] ICE: edge points to wrong declaration

2011-01-03 Thread jamborm at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46823

--- Comment #7 from Martin Jambor jamborm at gcc dot gnu.org 2011-01-03 
17:40:57 UTC ---
The aforementioned patch did not do type comparisons correctly and so
only hid the problem.  I have already committed a subsequent patch
that addresses this (http://gcc.gnu.org/ml/gcc-patches/2010-12/msg01781.html)
and the issue resurfaced.  I'll go on looking into it tomorrow or on
Wednesday.


[Bug c/47146] Floating point to integer conversions

2011-01-03 Thread sgk at troutmask dot apl.washington.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47146

--- Comment #5 from Steve Kargl sgk at troutmask dot apl.washington.edu 
2011-01-03 18:01:11 UTC ---
On Mon, Jan 03, 2011 at 05:12:10PM +, babelart at yahoo dot com wrote:
 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47146
 
 Sorry, I was not specific enough. It is the integer conversion that seem
 to be wrong,for example the following two lines:
 
 fprintf( stdout, Float 100.0 * 0.3894949=%d\n, 100.0 * elapsed );
 fprintf( stdout, Float 100 * 0.3894949=%d\n, 100 * elapsed );
 
 both produce the value '-536870912'.
 
 I also downloaded the C99 integer to float conversion test code; and they
 generated two many failures. I also believe the compiler should round 
 resulting
 integer values when stripping decimals off.
 
 Regards,
 Pierre Innocent
 

Compile the code with -Wall and fix all the warnings.

#include stdio.h
int
main (void)
{
   float elapsed;
   elapsed = 0.3894949;  /* Note, the rhs is a double! */
   printf(Float 100.0 * 0.3894949=%d\n, 100.0 * elapsed );
   printf(Float 100 * 0.3894949=%d\n, 100 * elapsed );
   return 0;
}

troutmask:kargl[208] cc -o z -Wall a.c
a.c: In function 'main':
a.c:7: warning: format '%d' expects type 'int', but argument 2 has type
'double'
a.c:8: warning: format '%d' expects type 'int', but argument 2 has type
'double'

Your printf statements are using the first 4 bytes of
the 8 byte double argument.


[Bug libstdc++/47145] [4.6 Regression] cross-compilation fails with cannot check for file existence when cross compiling

2011-01-03 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47145

--- Comment #8 from Jonathan Wakely redi at gcc dot gnu.org 2011-01-03 
18:04:04 UTC ---
There's a suggestion at http://gcc.gnu.org/ml/libstdc++/2011-01/msg1.html
to use a URL and let the catalog resolve that to a local file, which would mean
no need to test for the file (I'm not sure how to test for the feature in that
case though)


[Bug rtl-optimization/43653] ICE: in reload, at reload1.c:1188 with -O1 -ftree-vectorize and empty struct

2011-01-03 Thread devurandom at gmx dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43653

--- Comment #4 from devurandom at gmx dot net 2011-01-03 18:24:15 UTC ---
(In reply to comment #3)
 4.5.1 shows the same issue when building Clang 2.8.
Persists with 4.5.2.


[Bug testsuite/46912] [4.6 Regression] Test failures for g++.dg/plugin/*plugin*.C on powerpc-apple-darwin9

2011-01-03 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46912

Richard Guenther rguenth at gcc dot gnu.org changed:

   What|Removed |Added

   Target Milestone|--- |4.6.0


[Bug debug/46102] [4.3/4.4/4.5/4.6 Regression] ICE: SIGSEGV in dwarf2out_finish (dwarf2out.c:8490) with -feliminate-dwarf2-dups when using precompiled headers

2011-01-03 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46102

Richard Guenther rguenth at gcc dot gnu.org changed:

   What|Removed |Added

   Target Milestone|--- |4.3.6


[Bug rtl-optimization/45051] [4.6 Regression]: gcc.c-torture/execute/builtins/abs-2.c and abs-3.c due to track subwords of DImode allocnos

2011-01-03 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45051

Richard Guenther rguenth at gcc dot gnu.org changed:

   What|Removed |Added

   Target Milestone|--- |4.6.0


[Bug rtl-optimization/43653] [4.3/4.4/4.5/4.6 Regression] ICE: in reload, at reload1.c:1188 with -O1 -ftree-vectorize and empty struct

2011-01-03 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43653

Richard Guenther rguenth at gcc dot gnu.org changed:

   What|Removed |Added

   Target Milestone|--- |4.3.6


[Bug rtl-optimization/43653] [4.3/4.4/4.5/4.6 Regression] ICE: in reload, at reload1.c:1188 with -O1 -ftree-vectorize and empty struct

2011-01-03 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43653

Richard Guenther rguenth at gcc dot gnu.org changed:

   What|Removed |Added

   Priority|P3  |P2


[Bug rtl-optimization/45051] [4.6 Regression]: gcc.c-torture/execute/builtins/abs-2.c and abs-3.c due to track subwords of DImode allocnos

2011-01-03 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45051

Richard Guenther rguenth at gcc dot gnu.org changed:

   What|Removed |Added

 Status|REOPENED|RESOLVED
 Resolution||FIXED

--- Comment #10 from Richard Guenther rguenth at gcc dot gnu.org 2011-01-03 
20:01:41 UTC ---
Original problem was fixed.  Please open a new bug for any other issues.


[Bug middle-end/46240] [4.6 Regression] ice in maybe_register_def

2011-01-03 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46240

Richard Guenther rguenth at gcc dot gnu.org changed:

   What|Removed |Added

   Priority|P3  |P1


[Bug tree-optimization/46523] [4.6 Regression] ICE: error: inlined_to pointer set for noninline callers, multiple inline callers

2011-01-03 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46523

Richard Guenther rguenth at gcc dot gnu.org changed:

   What|Removed |Added

   Keywords||ice-checking
   Priority|P3  |P1


[Bug tree-optimization/46535] [4.6 Regression] Endless loop during inlining

2011-01-03 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46535

Richard Guenther rguenth at gcc dot gnu.org changed:

   What|Removed |Added

   Priority|P3  |P1


[Bug tree-optimization/46537] [4.6 Regression] ICE: SIGSEGV in simplify_replace_fn_rtx (simplify-rtx.c:362) with -g -O -fipa-cp -fipa-cp-clone -freorder-blocks

2011-01-03 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46537

Richard Guenther rguenth at gcc dot gnu.org changed:

   What|Removed |Added

   Priority|P3  |P1


[Bug tree-optimization/46557] [4.6 Regression] ICE in cgraph_will_be_removed_from_program_if_no_direct_calls, at cgraph.c:2820

2011-01-03 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46557

Richard Guenther rguenth at gcc dot gnu.org changed:

   What|Removed |Added

   Priority|P3  |P1


[Bug tree-optimization/46537] [4.6 Regression] ICE: SIGSEGV in simplify_replace_fn_rtx (simplify-rtx.c:362) with -g -O -fipa-cp -fipa-cp-clone -freorder-blocks

2011-01-03 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46537

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

   What|Removed |Added

 Status|UNCONFIRMED |WAITING
   Last reconfirmed||2011.01.03 20:20:18
 CC||hjl.tools at gmail dot com
 Ever Confirmed|0   |1

--- Comment #2 from H.J. Lu hjl.tools at gmail dot com 2011-01-03 20:20:18 
UTC ---
I can't reproduce it on Linux/x86-64 with revision 166868
nor revision 168409.


[Bug c++/46394] [C++0X] [4.6 Regression] no matching function with default template parameter

2011-01-03 Thread dodji at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46394

Dodji Seketeli dodji at gcc dot gnu.org changed:

   What|Removed |Added

 Status|NEW |ASSIGNED
 CC|dseketel at redhat dot com  |dodji at gcc dot gnu.org
 AssignedTo|unassigned at gcc dot   |dodji at gcc dot gnu.org
   |gnu.org |


[Bug tree-optimization/46590] [4.5/4.6 Regression] long compile time with -O2 and many loops

2011-01-03 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46590

Richard Guenther rguenth at gcc dot gnu.org changed:

   What|Removed |Added

   Priority|P3  |P2


[Bug tree-optimization/46639] [4.6 Regression] Missing optimization

2011-01-03 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46639

Richard Guenther rguenth at gcc dot gnu.org changed:

   What|Removed |Added

   Priority|P3  |P2


[Bug c++/46658] [4.6 Regression] internal compiler error on cp/init.c

2011-01-03 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46658

Richard Guenther rguenth at gcc dot gnu.org changed:

   What|Removed |Added

   Priority|P3  |P1


[Bug c++/46688] [4.6 Regression] g++ requires a function declaration when it should not

2011-01-03 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46688

Richard Guenther rguenth at gcc dot gnu.org changed:

   What|Removed |Added

   Priority|P3  |P1


[Bug target/46716] [4.3/4.4/4.5/4.6 Regression] bad code generated with -mno-sse2 -m64

2011-01-03 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46716

Richard Guenther rguenth at gcc dot gnu.org changed:

   What|Removed |Added

   Priority|P3  |P2


[Bug tree-optimization/46728] [4.6 Regression] GCC no longer generates fmadd for pow (x, 0.75)+y on powerpc

2011-01-03 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46728

Richard Guenther rguenth at gcc dot gnu.org changed:

   What|Removed |Added

   Severity|enhancement |normal


[Bug tree-optimization/46537] [4.6 Regression] ICE: SIGSEGV in simplify_replace_fn_rtx (simplify-rtx.c:362) with -g -O -fipa-cp -fipa-cp-clone -freorder-blocks

2011-01-03 Thread zsojka at seznam dot cz
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46537

--- Comment #3 from Zdenek Sojka zsojka at seznam dot cz 2011-01-03 20:30:40 
UTC ---
Indeed seems to be fixed now, even the original testcase doen't crash anymore.


[Bug tree-optimization/46781] [4.6 Regression] Missing optimization

2011-01-03 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46781

--- Comment #4 from Richard Guenther rguenth at gcc dot gnu.org 2011-01-03 
20:31:55 UTC ---
(In reply to comment #3)
 Comment on attachment 22612 [details]
 Code produced by GCC 4.6.0
 
 (In reply to comment #2)
  Where did you get this testcase from?
 
 May I know why do you ask?

To see if the change indeed causes important regressions in real-world
code.  The change was done to be less surprising when doing TBAA based
disambiguations as people regularly expect void * to be similar to char *
and also do not really handle multiple-indirect pointers the correct
way.  Thus, we now miscompile less not strictly conforming programs.

 IIRC, it was distilled from some large program. There was a difference when
 compiling it with and without LTO, and I reported it as a bug 43201.

Ah, that explains it (LTO did the pointer TBAA thing for a long time).


[Bug c++/46791] [4.6 Regression] GCC fails on for(struct { } f;;) ;, incorrectly treating it as a range-based for loop

2011-01-03 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46791

Richard Guenther rguenth at gcc dot gnu.org changed:

   What|Removed |Added

   Priority|P3  |P1


[Bug middle-end/46823] [4.6 Regression] ICE: edge points to wrong declaration

2011-01-03 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46823

Richard Guenther rguenth at gcc dot gnu.org changed:

   What|Removed |Added

   Priority|P3  |P1


[Bug tree-optimization/46537] [4.6 Regression] ICE: SIGSEGV in simplify_replace_fn_rtx (simplify-rtx.c:362) with -g -O -fipa-cp -fipa-cp-clone -freorder-blocks

2011-01-03 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46537

Jakub Jelinek jakub at gcc dot gnu.org changed:

   What|Removed |Added

 Status|WAITING |RESOLVED
 Resolution||FIXED

--- Comment #4 from Jakub Jelinek jakub at gcc dot gnu.org 2011-01-03 
20:38:16 UTC ---
That kind of checking has been removed altogether in PR46867, as it was
unreliable.


[Bug rtl-optimization/43653] [4.3/4.4/4.5/4.6 Regression] ICE: in reload, at reload1.c:1188 with -O1 -ftree-vectorize and empty struct

2011-01-03 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43653

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

   What|Removed |Added

 CC||hubicka at gcc dot gnu.org

--- Comment #5 from H.J. Lu hjl.tools at gmail dot com 2011-01-03 20:42:33 
UTC ---
It is triggered by revision 124324:

http://gcc.gnu.org/ml/gcc-cvs/2007-05/msg00015.html


[Bug c++/46890] [4.6 Regression] Failed to compile scummvm's player_v4a.cpp

2011-01-03 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46890

Richard Guenther rguenth at gcc dot gnu.org changed:

   What|Removed |Added

   Priority|P3  |P1


[Bug c++/46903] [4.6 Regression][C++0x] ICE unexpected expression of kind template_id_expr

2011-01-03 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46903

Richard Guenther rguenth at gcc dot gnu.org changed:

   What|Removed |Added

   Priority|P3  |P1


[Bug c++/46904] [4.6 Regression] g++.dg/tree-prof/(indir-call-prof.C|inline_mismatch_args.C) fail on powerpc-apple-darwin9

2011-01-03 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46904

Richard Guenther rguenth at gcc dot gnu.org changed:

   What|Removed |Added

 Status|NEW |WAITING

--- Comment #3 from Richard Guenther rguenth at gcc dot gnu.org 2011-01-03 
20:56:42 UTC ---
Fixed?


[Bug rtl-optimization/47157] [4.6 Regression] ICE: in calc_dfs_tree, at dominance.c:395 with -O

2011-01-03 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47157

--- Comment #2 from Jakub Jelinek jakub at gcc dot gnu.org 2011-01-03 
20:59:25 UTC ---
Author: jakub
Date: Mon Jan  3 20:59:20 2011
New Revision: 168439

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=168439
Log:
PR rtl-optimization/47157
* combine.c (try_combine): If undobuf.other_insn becomes
(set (pc) (pc)) jump, call update_cfg_for_uncondjump on it
and set *new_direct_jump_p too.

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

Added:
trunk/gcc/testsuite/gcc.c-torture/compile/pr47157.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/combine.c
trunk/gcc/testsuite/ChangeLog


[Bug testsuite/46912] [4.6 Regression] Test failures for g++.dg/plugin/*plugin*.C on powerpc-apple-darwin9

2011-01-03 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46912

--- Comment #7 from Richard Guenther rguenth at gcc dot gnu.org 2011-01-03 
20:59:41 UTC ---
(In reply to comment #5)
 On Dec 16, 2010, at 2:06 PM, iains at gcc dot gnu.org wrote:
  gcc/system.h :
 
  # define bool unsigned char
 
 This is wrong.  The solution is simple:
 
   #define bool _Bool
 
 on darwin.  Arguably, this is correct for every non-broken system as well.

We can't rely on GCC or C99 support.  The correct fix is to define
bool to unsigned int for darwin then (and pay the space efficience loss
price).

Richard.


[Bug c++/46933] [4.6 Regression] Revision 167781 failed g++.dg/other/first-global.C

2011-01-03 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46933

Richard Guenther rguenth at gcc dot gnu.org changed:

   What|Removed |Added

   Priority|P3  |P1


[Bug tree-optimization/46970] [4.3/4.4/4.5/4.6 Regression] wrong code with -Os -ftree-loop-linear

2011-01-03 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46970

Richard Guenther rguenth at gcc dot gnu.org changed:

   What|Removed |Added

   Priority|P3  |P2


[Bug c++/46791] [4.6 Regression] GCC fails on for(struct { } f;;) ;, incorrectly treating it as a range-based for loop

2011-01-03 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46791

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

   What|Removed |Added

 Status|UNCONFIRMED |WAITING
   Last reconfirmed||2011.01.03 21:01:10
 Ever Confirmed|0   |1

--- Comment #1 from H.J. Lu hjl.tools at gmail dot com 2011-01-03 21:01:10 
UTC ---
Works for me with revision 168409.


[Bug tree-optimization/47155] [4.6 Regression] ccp caused miscompilation

2011-01-03 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47155

--- Comment #3 from Jakub Jelinek jakub at gcc dot gnu.org 2011-01-03 
21:01:18 UTC ---
Author: jakub
Date: Mon Jan  3 21:01:14 2011
New Revision: 168440

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=168440
Log:
PR tree-optimization/47155
* tree-ssa-ccp.c (bit_value_binop_1): Use r1type instead of type
when computing uns.

* gcc.c-torture/execute/pr47155.c: New test.

Added:
trunk/gcc/testsuite/gcc.c-torture/execute/pr47155.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/testsuite/ChangeLog
trunk/gcc/tree-ssa-ccp.c


[Bug c++/46977] [4.6 Regression] [C++0x] ICE: SIGSEGV in htab_find_slot_with_hash (hashtab.c:650)

2011-01-03 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46977

Richard Guenther rguenth at gcc dot gnu.org changed:

   What|Removed |Added

   Priority|P3  |P1


[Bug target/47148] [4.6 Regression] likely wrong code bug

2011-01-03 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47148

--- Comment #7 from Jakub Jelinek jakub at gcc dot gnu.org 2011-01-03 
21:10:33 UTC ---
Author: jakub
Date: Mon Jan  3 21:10:31 2011
New Revision: 168441

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=168441
Log:
PR tree-optimization/47148
* ipa-split.c (split_function): Convert arguments to
DECL_ARG_TYPE if possible.

* gcc.c-torture/execute/pr47148.c: New test.

Added:
trunk/gcc/testsuite/gcc.c-torture/execute/pr47148.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/ipa-split.c
trunk/gcc/testsuite/ChangeLog


[Bug tree-optimization/47009] [4.6 Regression] ICE: SIGSEGV (too deep recursion) in cgraph_clone_inlined_nodes with -O

2011-01-03 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47009

Richard Guenther rguenth at gcc dot gnu.org changed:

   What|Removed |Added

   Priority|P3  |P1


[Bug rtl-optimization/47157] [4.6 Regression] ICE: in calc_dfs_tree, at dominance.c:395 with -O

2011-01-03 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47157

Jakub Jelinek jakub at gcc dot gnu.org changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution||FIXED

--- Comment #3 from Jakub Jelinek jakub at gcc dot gnu.org 2011-01-03 
21:11:29 UTC ---
Fixed.


[Bug c++/47020] [4.6 Regression] [C++0x] ICE: unexpected expression 'foo' of kind overload when storing address of overloaded function

2011-01-03 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47020

Richard Guenther rguenth at gcc dot gnu.org changed:

   What|Removed |Added

   Priority|P3  |P1


[Bug tree-optimization/47155] [4.6 Regression] ccp caused miscompilation

2011-01-03 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47155

Jakub Jelinek jakub at gcc dot gnu.org changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution||FIXED

--- Comment #4 from Jakub Jelinek jakub at gcc dot gnu.org 2011-01-03 
21:12:02 UTC ---
Fixed.


[Bug c++/47022] [4.6 Regression] ICE: in tsubst_copy, at cp/pt.c:11682

2011-01-03 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47022

Richard Guenther rguenth at gcc dot gnu.org changed:

   What|Removed |Added

   Priority|P3  |P1


[Bug target/47148] [4.6 Regression] likely wrong code bug

2011-01-03 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47148

Jakub Jelinek jakub at gcc dot gnu.org changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution||FIXED

--- Comment #8 from Jakub Jelinek jakub at gcc dot gnu.org 2011-01-03 
21:13:00 UTC ---
Fixed.


[Bug tree-optimization/46523] [4.6 Regression] ICE: error: inlined_to pointer set for noninline callers, multiple inline callers

2011-01-03 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46523

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

   What|Removed |Added

 Status|UNCONFIRMED |NEW
   Last reconfirmed||2011.01.03 21:34:08
 Ever Confirmed|0   |1

--- Comment #3 from H.J. Lu hjl.tools at gmail dot com 2011-01-03 21:34:08 
UTC ---
ICE disappeared after revision 168271:

http://gcc.gnu.org/ml/gcc-cvs/2010-12/msg00956.html


[Bug tree-optimization/47053] [4.5/4.6 Regression] ICE: verify_flow_info failed: BB 2 can not throw but has an EH edge with -O -fnon-call-exceptions

2011-01-03 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47053

Richard Guenther rguenth at gcc dot gnu.org changed:

   What|Removed |Added

   Priority|P3  |P2


[Bug c++/47067] [4.6 Regression] [c++0x] ICE in cxx_eval_bare_aggregate, at cp/semantics.c:6352

2011-01-03 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47067

Richard Guenther rguenth at gcc dot gnu.org changed:

   What|Removed |Added

   Priority|P3  |P1


[Bug tree-optimization/47086] [4.5/4.6 Regression] ICE: verify_flow_info failed: BB 3 can not throw but has an EH edge with -O -fexceptions -fnon-call-exceptions -ftrapv

2011-01-03 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47086

Richard Guenther rguenth at gcc dot gnu.org changed:

   What|Removed |Added

   Priority|P3  |P2


[Bug tree-optimization/47087] [4.5/4.6 Regression] ICE: verify_stmts failed: statement marked for throw, but doesn't with -O -fexceptions -fnon-call-exceptions -ftrapv

2011-01-03 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47087

Richard Guenther rguenth at gcc dot gnu.org changed:

   What|Removed |Added

   Priority|P3  |P2


[Bug c++/47125] [4.5/4.6 Regression] ICE occurs in combination with partial specialization and invalid template function.

2011-01-03 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47125

Richard Guenther rguenth at gcc dot gnu.org changed:

   What|Removed |Added

   Keywords||error-recovery
   Priority|P3  |P5


[Bug tree-optimization/46523] [4.6 Regression] ICE: error: inlined_to pointer set for noninline callers, multiple inline callers

2011-01-03 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46523

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

   What|Removed |Added

 CC||jason at redhat dot com

--- Comment #4 from H.J. Lu hjl.tools at gmail dot com 2011-01-03 21:42:11 
UTC ---
It is caused by revision 166167:

http://gcc.gnu.org/ml/gcc-cvs/2010-11/msg00053.html

I think it is a dup of PR 46626.


[Bug driver/47137] [4.6 Regression] gcc incorrectly combines assembly inputs

2011-01-03 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47137

Richard Guenther rguenth at gcc dot gnu.org changed:

   What|Removed |Added

   Priority|P3  |P1


  1   2   >