[Bug target/45701] [4.6 Regression] Fail to prefer using r3 for padding a push/pop multiple to 8-byte alignment

2010-09-17 Thread rguenth at gcc dot gnu dot org


-- 

rguenth at gcc dot gnu dot org changed:

   What|Removed |Added

Summary|[regression 4.5] Fail to|[4.6 Regression] Fail to
   |prefer using r3 for padding |prefer using r3 for padding
   |a push/pop multiple to 8-   |a push/pop multiple to 8-
   |byte alignment  |byte alignment
   Target Milestone|--- |4.6.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45701



[Bug rtl-optimization/45678] [4.4/4.5/4.6 Regression] crash on vector code with -m32 -msse

2010-09-17 Thread rguenth at gcc dot gnu dot org


--- Comment #23 from rguenth at gcc dot gnu dot org  2010-09-17 13:57 
---
Subject: Bug 45678

Author: rguenth
Date: Fri Sep 17 13:57:04 2010
New Revision: 164369

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=164369
Log:
2010-09-17  Richard Guenther  rguent...@suse.de

PR middle-end/45678
* gcc.dg/torture/pr45678-1.c: New testcase.

Added:
trunk/gcc/testsuite/gcc.dg/torture/pr45678-1.c
Modified:
trunk/gcc/testsuite/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45678



[Bug tree-optimization/44776] FAIL: gcc.dg/matrix/transpose-3.c execution, -fprofile-use -fipa-matrix-reorg -fdump-ipa-matrix-reorg -O3 -fwhole-program -combine

2010-09-17 Thread rguenth at gcc dot gnu dot org


--- Comment #6 from rguenth at gcc dot gnu dot org  2010-09-17 15:13 ---
(In reply to comment #5)
 Should we just XFAIL this on darwin then?

You mean it still fails?


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44776



[Bug middle-end/45705] [4.3/4.4/4.5/4.6 Regression] Useless store not optimized away

2010-09-17 Thread rguenth at gcc dot gnu dot org


--- Comment #1 from rguenth at gcc dot gnu dot org  2010-09-17 15:18 ---
Eventually predicated value-numbering will fix this as part of the
redundant store removal eliminate() performs.

A similar thing can be added to DOM, which already can do the predication.
I'll give that a quick try.


-- 

rguenth at gcc dot gnu dot org changed:

   What|Removed |Added

 CC||rguenth at gcc dot gnu dot
   ||org, matz at gcc dot gnu dot
   ||org
 Status|UNCONFIRMED |NEW
 Ever Confirmed|0   |1
   Last reconfirmed|-00-00 00:00:00 |2010-09-17 15:18:08
   date||


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45705



[Bug middle-end/45705] [4.3/4.4/4.5/4.6 Regression] Useless store not optimized away

2010-09-17 Thread rguenth at gcc dot gnu dot org


--- Comment #3 from rguenth at gcc dot gnu dot org  2010-09-17 15:39 ---
Index: tree-ssa-dom.c
===
--- tree-ssa-dom.c  (revision 164371)
+++ tree-ssa-dom.c  (working copy)
@@ -1804,6 +1804,37 @@ eliminate_redundant_computations (gimple

   tree def = gimple_get_lhs (stmt);

+  if (gimple_assign_single_p (stmt)
+   TREE_CODE (def) != SSA_NAME)
+{
+  tree rhs = gimple_assign_rhs1 (stmt);
+  gimple new_stmt;
+  /* Build a new statement with the RHS and LHS exchanged.  */
+  if (TREE_CODE (rhs) == SSA_NAME)
+{
+  gimple defstmt = SSA_NAME_DEF_STMT (rhs);
+  new_stmt = gimple_build_assign (rhs, def);
+  SSA_NAME_DEF_STMT (rhs) = defstmt;
+}
+  else
+new_stmt = gimple_build_assign (rhs, def);
+  gimple_set_vuse (new_stmt, gimple_vuse (stmt));
+  cached_lhs = lookup_avail_expr (new_stmt, false);
+  if (cached_lhs
+  (rhs == cached_lhs
+ || (TREE_CODE (rhs) == SSA_NAME
+  SSA_NAME_VALUE (rhs) == cached_lhs)))
+   {
+ gimple_stmt_iterator gsi = gsi_for_stmt (stmt);
+ basic_block bb = gimple_bb (stmt);
+ unlink_stmt_vdef (stmt);
+ gsi_remove (gsi, true);
+ if (gimple_purge_dead_eh_edges (bb))
+   ;
+ return;
+   }
+}
+
   /* Certain expressions on the RHS can be optimized away, but can not
  themselves be entered into the hash tables.  */
   if (! def


works for both constants and SSA names.  Need to clean the patch up
(removing stmts at that point is probably going to wreck dom, removing
EH edges for sure I guess).


-- 

rguenth at gcc dot gnu dot org changed:

   What|Removed |Added

 AssignedTo|unassigned at gcc dot gnu   |rguenth at gcc dot gnu dot
   |dot org |org
 Status|NEW |ASSIGNED
   Keywords|missed-optimization |
   Last reconfirmed|2010-09-17 15:18:08 |2010-09-17 15:39:14
   date||
   Target Milestone|4.3.6   |---


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45705



[Bug middle-end/45705] [4.3/4.4/4.5/4.6 Regression] Useless store not optimized away

2010-09-17 Thread rguenth at gcc dot gnu dot org


-- 

rguenth at gcc dot gnu dot org changed:

   What|Removed |Added

   Target Milestone|--- |4.3.6


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45705



[Bug tree-optimization/45704] [4.5 Regression] load byte instruction is used for volatile int

2010-09-17 Thread rguenth at gcc dot gnu dot org


--- Comment #1 from rguenth at gcc dot gnu dot org  2010-09-17 15:45 ---
Confirmed.  Mine.


-- 

rguenth at gcc dot gnu dot org changed:

   What|Removed |Added

 AssignedTo|unassigned at gcc dot gnu   |rguenth at gcc dot gnu dot
   |dot org |org
 Status|UNCONFIRMED |ASSIGNED
 Ever Confirmed|0   |1
   Last reconfirmed|-00-00 00:00:00 |2010-09-17 15:45:01
   date||
   Target Milestone|--- |4.5.2


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45704



[Bug tree-optimization/44776] FAIL: gcc.dg/matrix/transpose-3.c execution, -fprofile-use -fipa-matrix-reorg -fdump-ipa-matrix-reorg -O3 -fwhole-program -combine

2010-09-17 Thread rguenth at gcc dot gnu dot org


--- Comment #8 from rguenth at gcc dot gnu dot org  2010-09-17 15:46 ---
Reopen.


-- 

rguenth at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|RESOLVED|UNCONFIRMED
 Resolution|WONTFIX |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44776



[Bug c++/43085] Make profiledbootstrap fails with cc1plus catching SIGSEGV

2010-09-16 Thread rguenth at gcc dot gnu dot org


--- Comment #6 from rguenth at gcc dot gnu dot org  2010-09-16 09:30 ---
With seeing .clone in fn names I suppose this is ipa-cp or ipa-sra.


-- 

rguenth at gcc dot gnu dot org changed:

   What|Removed |Added

 CC||hubicka at gcc dot gnu dot
   ||org, jamborm at gcc dot gnu
   ||dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43085



[Bug rtl-optimization/45678] [4.4/4.5/4.6 Regression] crash on vector code with -m32 -msse

2010-09-16 Thread rguenth at gcc dot gnu dot org


--- Comment #3 from rguenth at gcc dot gnu dot org  2010-09-16 10:17 ---
DECL_ALIGN of d is set to 128 (but appearantly it isn't ensured it'll end up
that way).  DECL_ALIGN is adjusted here:

Old value = 32
New value = 128
expand_one_stack_var_at (decl=0x75ae90a0, offset=-16)
at /space/rguenther/src/svn/trunk/gcc/cfgexpand.c:739
739   DECL_USER_ALIGN (decl) = 0;

so on trunk get_object_alignment of the MEM_REF will return 128 and thus
we do not run into unaligned move expansion here:

if (mode != BLKmode
 (unsigned) align  GET_MODE_ALIGNMENT (mode)
/* If the target does not have special handling for unaligned
   loads of mode then it can use regular moves for them.  */
 ((icode = optab_handler (movmisalign_optab, mode))
!= CODE_FOR_nothing))

manually setting alignment back to 32 in gdb results in ok asm.

movlps  (%esp), %xmm0
movhps  8(%esp), %xmm0
mulps   .LC4, %xmm0

instead of

mulps   (%esp), %xmm0

Appearantly stack alignment code doesn't work.


-- 

rguenth at gcc dot gnu dot org changed:

   What|Removed |Added

 CC||hjl at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45678



[Bug rtl-optimization/45678] [4.4/4.5/4.6 Regression] crash on vector code with -m32 -msse

2010-09-16 Thread rguenth at gcc dot gnu dot org


--- Comment #4 from rguenth at gcc dot gnu dot org  2010-09-16 10:18 ---
Created an attachment (id=21809)
 -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21809action=view)
patch to fix half STRICT_ALIGNMENT targets memcpy folding

Might need this patch to fix as well.  i?86 / x86_64 isn't really
!STRICT_ALIGNMENT.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45678



[Bug rtl-optimization/45678] [4.4/4.5/4.6 Regression] crash on vector code with -m32 -msse

2010-09-16 Thread rguenth at gcc dot gnu dot org


--- Comment #6 from rguenth at gcc dot gnu dot org  2010-09-16 10:50 ---
Missing some else indeed.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45678



[Bug tree-optimization/45623] [4.5/4.6 Regression] GCC 4.5.[01] breaks our ffi on Linux64. ABI break?

2010-09-16 Thread rguenth at gcc dot gnu dot org


--- Comment #26 from rguenth at gcc dot gnu dot org  2010-09-16 11:06 
---
Subject: Bug 45623

Author: rguenth
Date: Thu Sep 16 11:06:25 2010
New Revision: 164333

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=164333
Log:
2010-09-16  Richard Guenther  rguent...@suse.de

PR tree-optimization/45623
* tree-ssa-structalias.c (get_constraint_for_ptr_offset): Adjust.
(get_constraint_for_component_ref): If computing a constraint
for the rhs handle type punning through unions.
(get_constraint_for_address_of): Adjust.
(get_constraint_for_1): Likewise.
(get_constraint_for): Likewise.
(get_constraint_for_rhs): New function.
(do_structure_copy): Adjust.
(make_constraint_to): Likewise.
(handle_const_call): Likewise.
(find_func_aliases): Likewise.
(process_ipa_clobber): Likewise.
(create_variable_info_for): Likewise.

* gcc.dg/torture/pr45623.c: New testcase.

Added:
trunk/gcc/testsuite/gcc.dg/torture/pr45623.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/testsuite/ChangeLog
trunk/gcc/tree-ssa-structalias.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45623



[Bug tree-optimization/45623] [4.5 Regression] GCC 4.5.[01] breaks our ffi on Linux64. ABI break?

2010-09-16 Thread rguenth at gcc dot gnu dot org


--- Comment #27 from rguenth at gcc dot gnu dot org  2010-09-16 11:07 
---
Fixed for trunk sofar.


-- 

rguenth at gcc dot gnu dot org changed:

   What|Removed |Added

  Known to work||4.6.0
Summary|[4.5/4.6 Regression] GCC|[4.5 Regression] GCC
   |4.5.[01] breaks our ffi on  |4.5.[01] breaks our ffi on
   |Linux64. ABI break? |Linux64. ABI break?


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45623



[Bug rtl-optimization/45678] [4.4/4.5/4.6 Regression] crash on vector code with -m32 -msse

2010-09-16 Thread rguenth at gcc dot gnu dot org


--- Comment #13 from rguenth at gcc dot gnu dot org  2010-09-16 13:39 
---
(In reply to comment #12)
 (In reply to comment #4)
  Created an attachment (id=21809)
 -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21809action=view) [edit]
  patch to fix half STRICT_ALIGNMENT targets memcpy folding
  
  Might need this patch to fix as well.  i?86 / x86_64 isn't really
  !STRICT_ALIGNMENT.
  
 
 We need a HARD_ALIGNMENT which depends on type for x86.

With that patch the assignment generated from memcpy doesn't need more
that int alignment, but still cfgexpand.c sets DECL_ALIGN of the
decl to 128 so expand uses aligned instructions.

cfgexpand.c should not increase alignment and not set 'needs stack
alignment' then, based on your comment #10.  So this _is_ about
stack alignment (but maybe not exclusively).


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45678



[Bug rtl-optimization/45678] [4.4/4.5/4.6 Regression] crash on vector code with -m32 -msse

2010-09-16 Thread rguenth at gcc dot gnu dot org


--- Comment #18 from rguenth at gcc dot gnu dot org  2010-09-16 14:13 
---
(In reply to comment #16)
 (In reply to comment #13)
 
  With that patch the assignment generated from memcpy doesn't need more
  that int alignment, but still cfgexpand.c sets DECL_ALIGN of the
  decl to 128 so expand uses aligned instructions.
  
  cfgexpand.c should not increase alignment and not set 'needs stack
  alignment' then, based on your comment #10.  So this _is_ about
  stack alignment (but maybe not exclusively).
  
 
 When we do
 
 float d[4];
 __m128 *p = (__m128 *) d;
 
 
 all bets are off.

?


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45678



[Bug rtl-optimization/45678] [4.4/4.5/4.6 Regression] crash on vector code with -m32 -msse

2010-09-16 Thread rguenth at gcc dot gnu dot org


--- Comment #20 from rguenth at gcc dot gnu dot org  2010-09-16 14:22 
---
The patch in comment #4 makes memcpy folding not lie about alignment.

cfgexpand still lies about alignment though.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45678



[Bug c++/45605] Missed devirtualization

2010-09-16 Thread rguenth at gcc dot gnu dot org


--- Comment #15 from rguenth at gcc dot gnu dot org  2010-09-16 14:55 
---
Like

Index: gimplify.c
===
--- gimplify.c  (revision 164333)
+++ gimplify.c  (working copy)
@@ -2477,10 +2477,13 @@ gimplify_call_expr (tree *expr_p, gimple
  gimplify_modify_expr.  */
   if (!want_value)
 {
+  gimple_stmt_iterator gsi;
   /* The CALL_EXPR in *EXPR_P is already in GIMPLE form, so all we
 have to do is replicate it as a GIMPLE_CALL tuple.  */
   call = gimple_build_call_from_tree (*expr_p);
   gimplify_seq_add_stmt (pre_p, call);
+  gsi = gsi_last (*pre_p);
+  fold_stmt (gsi);
   *expr_p = NULL_TREE;
 }


but gimple_fold_obj_type_ref_known_binfo returns NULL.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45605



[Bug bootstrap/45680] [4.6 regression] cc1 fails to link on Solaris 9/x86 with Sun as: min_insn_size missing

2010-09-15 Thread rguenth at gcc dot gnu dot org


-- 

rguenth at gcc dot gnu dot org changed:

   What|Removed |Added

   Target Milestone|--- |4.6.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45680



[Bug fortran/45676] Move array assignments out of loop

2010-09-15 Thread rguenth at gcc dot gnu dot org


--- Comment #2 from rguenth at gcc dot gnu dot org  2010-09-15 09:47 ---
We can't hoist invariant control flow.  Also print *,c is surely thought
to be an escape point for c and thus may clobber it.

I'd rate this impossible to do for the middle-end (and generally not worth
the hassle to implement).  Better fix your sources ;)


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45676



[Bug middle-end/45663] [4.6 regression] New test failures

2010-09-15 Thread rguenth at gcc dot gnu dot org


-- 

rguenth at gcc dot gnu dot org changed:

   What|Removed |Added

   Target Milestone|--- |4.6.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45663



[Bug debug/45673] -fcompare-debug failure with minor difference in dumps

2010-09-15 Thread rguenth at gcc dot gnu dot org


--- Comment #2 from rguenth at gcc dot gnu dot org  2010-09-15 09:49 ---
Another dumping artifact probably.  At some point I'd like to dump all
MEM_REFs as MEM[(...)p + cst] and drop the fancy ways.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45673



[Bug bootstrap/45672] [4.6 Regression] Bootstrap failure for powerpc-apple-darwin9: 'rs6000_units_per_simd_word' defined but not used

2010-09-15 Thread rguenth at gcc dot gnu dot org


--- Comment #3 from rguenth at gcc dot gnu dot org  2010-09-15 09:49 ---
Fixed.


-- 

rguenth at gcc dot gnu dot org changed:

   What|Removed |Added

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


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45672



[Bug target/45623] GCC 4.5.[01] breaks our ffi on Linux64. ABI break?

2010-09-15 Thread rguenth at gcc dot gnu dot org


--- Comment #13 from rguenth at gcc dot gnu dot org  2010-09-15 12:16 
---
Confirmed and investigating.


-- 

rguenth at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|WAITING |NEW
 Ever Confirmed|0   |1
   Last reconfirmed|-00-00 00:00:00 |2010-09-15 12:16:05
   date||


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45623



[Bug tree-optimization/45623] [4.5/4.6 Regression] GCC 4.5.[01] breaks our ffi on Linux64. ABI break?

2010-09-15 Thread rguenth at gcc dot gnu dot org


--- Comment #14 from rguenth at gcc dot gnu dot org  2010-09-15 12:31 
---
You are accessing a pointer of type char *s1 via an lvalue of type void *
(*data).  Or speaking in C++, you are accessing an object of dynamic type
void * (stored to via *data) by an lvalue of type char * (s1).

Thus your testcase invokes undefined behavior.

That it is miscompiled at -O1 is a bug.

With GCC 4.6 we now assign the same alias-set to all pointers, hiding
this issue.

data_4 is a non-pointer variable,ignoring constraint:*data_4 = s2.1_5
data_4, points-to vars: { }

oops.  I will have a look at the points-to bug.


-- 

rguenth at gcc dot gnu dot org changed:

   What|Removed |Added

 AssignedTo|unassigned at gcc dot gnu   |rguenth at gcc dot gnu dot
   |dot org |org
 Status|NEW |ASSIGNED
  Component|target  |tree-optimization
   Keywords||wrong-code
   Last reconfirmed|2010-09-15 12:16:05 |2010-09-15 12:31:16
   date||
Summary|GCC 4.5.[01] breaks our ffi |[4.5/4.6 Regression] GCC
   |on Linux64. ABI break?  |4.5.[01] breaks our ffi on
   ||Linux64. ABI break?
   Target Milestone|--- |4.5.2


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45623



[Bug tree-optimization/45623] [4.5/4.6 Regression] GCC 4.5.[01] breaks our ffi on Linux64. ABI break?

2010-09-15 Thread rguenth at gcc dot gnu dot org


--- Comment #17 from rguenth at gcc dot gnu dot org  2010-09-15 13:03 
---
points-to analysis does not honor GCCs type-punning through union extension
(it works on x86_64 because ptr and asBits match in size and thus SRA
cleans the code up before pointer-analysis).  So PTA sees

  ss1.0_1 = ss1;
  l.ptr = ss1.0_1;
  D.3244_2 = l.asBits;
  m.asBits = D.3244_2;
  D.3245_3 = m.ptr;
  data_4 = (void * *) D.3245_3;

and it considers both D.3244_2 = l.asBits and m.asBits = D.3244_2 as
irrelevant (as they do not involve pointers).  Thus, m.ptr is never
assigned to and the points-to set of data_4 ends up as empty which
makes us remove the store *data_4 = s2.1_5.

Thus, as a workaround you should make sure the asBits field matches
pointer-size (so for example use uintptr_t isntead of uint64_t).


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45623



[Bug tree-optimization/45623] [4.5/4.6 Regression] GCC 4.5.[01] breaks our ffi on Linux64. ABI break?

2010-09-15 Thread rguenth at gcc dot gnu dot org


--- Comment #19 from rguenth at gcc dot gnu dot org  2010-09-15 13:24 
---
Another workaround is to use -fno-tree-pta.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45623



[Bug tree-optimization/45623] [4.5/4.6 Regression] GCC 4.5.[01] breaks our ffi on Linux64. ABI break?

2010-09-15 Thread rguenth at gcc dot gnu dot org


--- Comment #21 from rguenth at gcc dot gnu dot org  2010-09-15 13:50 
---
(In reply to comment #20)
 (In reply to comment #19)
  Another workaround is to use -fno-tree-pta.
 
 Doesn't work here.

For the original code?  Then your reduced testcase is different from the
original problem.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45623



[Bug tree-optimization/45623] [4.5/4.6 Regression] GCC 4.5.[01] breaks our ffi on Linux64. ABI break?

2010-09-15 Thread rguenth at gcc dot gnu dot org


--- Comment #24 from rguenth at gcc dot gnu dot org  2010-09-15 13:59 
---
Created an attachment (id=21801)
 -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21801action=view)
patch

I am testing this patch (for 4.5 branch).


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45623



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

2010-09-14 Thread rguenth at gcc dot gnu dot org


--- Comment #11 from rguenth at gcc dot gnu dot org  2010-09-14 10:17 
---
Fixed.


-- 

rguenth at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45470



[Bug c++/45665] [4.4/4.5/4.6 Regression] ICE: tree check: expected class 'type', have 'exceptional' (error_mark) in grokdeclarator, at cp/decl.c:8797 on invalid code

2010-09-14 Thread rguenth at gcc dot gnu dot org


-- 

rguenth at gcc dot gnu dot org changed:

   What|Removed |Added

   Target Milestone|--- |4.4.5


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45665



[Bug testsuite/45664] All ifunc tests fail on Solaris 2

2010-09-14 Thread rguenth at gcc dot gnu dot org


--- Comment #2 from rguenth at gcc dot gnu dot org  2010-09-14 10:19 ---
They also fail on old glibc systems.  Nathan, you need to add some
dg-effective-target machinery and check availability of runtime support.


-- 

rguenth at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
 Ever Confirmed|0   |1
   Last reconfirmed|-00-00 00:00:00 |2010-09-14 10:19:38
   date||


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45664



[Bug middle-end/45663] [4.6 regression] New test failures

2010-09-14 Thread rguenth at gcc dot gnu dot org


--- Comment #1 from rguenth at gcc dot gnu dot org  2010-09-14 10:20 ---
Confirmed.


-- 

rguenth at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
 Ever Confirmed|0   |1
   Last reconfirmed|-00-00 00:00:00 |2010-09-14 10:20:40
   date||
   Target Milestone|--- |4.6.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45663



[Bug middle-end/45662] [4.6 regression] New x86 test failures

2010-09-14 Thread rguenth at gcc dot gnu dot org


--- Comment #1 from rguenth at gcc dot gnu dot org  2010-09-14 10:20 ---
Confirmed.


-- 

rguenth at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
 Ever Confirmed|0   |1
   Last reconfirmed|-00-00 00:00:00 |2010-09-14 10:20:55
   date||


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45662



[Bug tree-optimization/45661] sincos opportunity missed

2010-09-14 Thread rguenth at gcc dot gnu dot org


--- Comment #2 from rguenth at gcc dot gnu dot org  2010-09-14 10:21 ---
Confirmed.


-- 

rguenth at gcc dot gnu dot org changed:

   What|Removed |Added

   Severity|normal  |enhancement
 Status|UNCONFIRMED |NEW
 Ever Confirmed|0   |1
   Last reconfirmed|-00-00 00:00:00 |2010-09-14 10:21:41
   date||


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45661



[Bug debug/45660] [4.5/4.6 Regression] ICE in dwarf2out_finish

2010-09-14 Thread rguenth at gcc dot gnu dot org


-- 

rguenth at gcc dot gnu dot org changed:

   What|Removed |Added

   Target Milestone|--- |4.5.2


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45660



[Bug lto/45667] [4.6 Regression] ICE: verify_stmts failed: type mismatch in address expression with -flto

2010-09-14 Thread rguenth at gcc dot gnu dot org


-- 

rguenth at gcc dot gnu dot org changed:

   What|Removed |Added

   Target Milestone|--- |4.6.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45667



[Bug bootstrap/45611] [4.6 regression] SIGBUS in generate_option_input_file on Solaris 2/SPARC

2010-09-13 Thread rguenth at gcc dot gnu dot org


--- Comment #8 from rguenth at gcc dot gnu dot org  2010-09-13 09:35 ---
I have a patch.


-- 

rguenth at gcc dot gnu dot org changed:

   What|Removed |Added

 AssignedTo|unassigned at gcc dot gnu   |rguenth at gcc dot gnu dot
   |dot org |org
 Status|WAITING |ASSIGNED
   Last reconfirmed|2010-09-09 12:43:28 |2010-09-13 09:35:04
   date||


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45611



[Bug bootstrap/45611] [4.6 regression] SIGBUS in generate_option_input_file on Solaris 2/SPARC

2010-09-13 Thread rguenth at gcc dot gnu dot org


--- Comment #9 from rguenth at gcc dot gnu dot org  2010-09-13 10:47 ---
Subject: Bug 45611

Author: rguenth
Date: Mon Sep 13 10:47:28 2010
New Revision: 164244

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=164244
Log:
2010-09-13  Richard Guenther  rguent...@suse.de

PR tree-optimization/45611
* tree-ssa-loop-ivopts.c (rewrite_use_nonlinear_expr): Fix typo.
(copy_ref_info): Likewise.

Modified:
trunk/gcc/ChangeLog
trunk/gcc/tree-ssa-loop-ivopts.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45611



[Bug bootstrap/45611] [4.6 regression] SIGBUS in generate_option_input_file on Solaris 2/SPARC

2010-09-13 Thread rguenth at gcc dot gnu dot org


--- Comment #10 from rguenth at gcc dot gnu dot org  2010-09-13 10:48 
---
Should be fixed now.


-- 

rguenth at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution||FIXED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45611



[Bug bootstrap/45658] [4.6 regression] Comparison failure in gcc/ada/ali.o on Solaris 2/SPARC

2010-09-13 Thread rguenth at gcc dot gnu dot org


-- 

rguenth at gcc dot gnu dot org changed:

   What|Removed |Added

   Target Milestone|--- |4.6.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45658



[Bug rtl-optimization/45354] [4.5/4.6 Regression] ICE: verify_flow_info failed: fallthru edge crosses section boundary (bb 6) with gcc.dg/tree-prof/update-cunroll-2.c

2010-09-13 Thread rguenth at gcc dot gnu dot org


-- 

rguenth at gcc dot gnu dot org changed:

   What|Removed |Added

   Priority|P3  |P2


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45354



[Bug target/45363] [4.5 Regression] libgcc fails to configure: cc1: internal compiler error: Illegal instruction: 4

2010-09-13 Thread rguenth at gcc dot gnu dot org


-- 

rguenth at gcc dot gnu dot org changed:

   What|Removed |Added

   Priority|P3  |P4


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45363



[Bug middle-end/45566] [4.5/4.6 Regression] ICE: in convert_to_eh_region_ranges, at except.c:2446 with -freorder-blocks-and-partition -fnon-call-exceptions -fprofile-use

2010-09-13 Thread rguenth at gcc dot gnu dot org


-- 

rguenth at gcc dot gnu dot org changed:

   What|Removed |Added

   Priority|P3  |P2


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45566



[Bug middle-end/45567] [4.5/4.6 Regression] __builtin_popcountl ICEs with -ftree-ter

2010-09-13 Thread rguenth at gcc dot gnu dot org


--- Comment #5 from rguenth at gcc dot gnu dot org  2010-09-13 15:53 ---
Looks kindof obvious.


-- 

rguenth at gcc dot gnu dot org changed:

   What|Removed |Added

   Priority|P3  |P2


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45567



[Bug middle-end/45569] [4.5 Regression] ICE: verify_stmts failed: statement marked for throw in middle of block with -fnon-call-exceptions

2010-09-13 Thread rguenth at gcc dot gnu dot org


-- 

rguenth at gcc dot gnu dot org changed:

   What|Removed |Added

   Priority|P3  |P2


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45569



[Bug rtl-optimization/45593] [4.5/4.6 regression] segfault with -Os

2010-09-13 Thread rguenth at gcc dot gnu dot org


-- 

rguenth at gcc dot gnu dot org changed:

   What|Removed |Added

   Priority|P3  |P2


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45593



[Bug c++/45606] [4.5/4.6 Regression] match a method prototyped a typedef alias with the original type (using stdlib)

2010-09-13 Thread rguenth at gcc dot gnu dot org


-- 

rguenth at gcc dot gnu dot org changed:

   What|Removed |Added

   Priority|P3  |P2


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45606



[Bug target/45650] [4.3/4.4/4.5/4.6 regression] FreeBSD/ia64 builds fails: hidden symbol `_Unwind_FindTableEntry' isn't defined

2010-09-13 Thread rguenth at gcc dot gnu dot org


-- 

rguenth at gcc dot gnu dot org changed:

   What|Removed |Added

   Priority|P3  |P4


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45650



[Bug c++/45651] [4.3/4.4/4.5/4.6 Regression] ICE in import_export_decl, at cp/decl2.c:2344

2010-09-13 Thread rguenth at gcc dot gnu dot org


-- 

rguenth at gcc dot gnu dot org changed:

   What|Removed |Added

   Priority|P3  |P2


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45651



[Bug fortran/45659] LTO / function pointers with iso_c_binding

2010-09-13 Thread rguenth at gcc dot gnu dot org


--- Comment #1 from rguenth at gcc dot gnu dot org  2010-09-13 16:12 ---
It works for me.  I suppose you have older gold with known bugs?  I have

GNU gold (GNU Binutils; SUSE:openSUSE 11.1 2.20.51.20091013-0.1) 1.9
Copyright 2008 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or (at your option) a later version.
This program has absolutely no warranty.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45659



[Bug tree-optimization/45653] [4.6 Regression] ICE: in cgraph_decide_inlining_of_small_functions, at ipa-inline.c:1241 with -fno-early-inlining -fno-ipa-cp -fno-ipa-pure-const

2010-09-12 Thread rguenth at gcc dot gnu dot org


-- 

rguenth at gcc dot gnu dot org changed:

   What|Removed |Added

   Target Milestone|--- |4.6.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45653



[Bug rtl-optimization/45652] [4.6 Regression] gcc.dg/compat/scalar-by-value-3 FAILs with -O2 -fselective-scheduling2

2010-09-12 Thread rguenth at gcc dot gnu dot org


-- 

rguenth at gcc dot gnu dot org changed:

   What|Removed |Added

   Target Milestone|--- |4.6.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45652



[Bug c++/45651] [4.3/4.4/4.5/4.6 Regression] ICE in import_export_decl, at cp/decl2.c:2344

2010-09-12 Thread rguenth at gcc dot gnu dot org


-- 

rguenth at gcc dot gnu dot org changed:

   What|Removed |Added

   Target Milestone|--- |4.3.6


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45651



[Bug target/45650] [4.3/4.4/4.5/4.6 regression] FreeBSD/ia64 builds fails: hidden symbol `_Unwind_FindTableEntry' isn't defined

2010-09-12 Thread rguenth at gcc dot gnu dot org


-- 

rguenth at gcc dot gnu dot org changed:

   What|Removed |Added

 GCC target triplet||ia64-unknown-freebsd9.0
   Target Milestone|--- |4.3.6


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45650



[Bug c/45647] compiler segfault when building coreutils-8.5 head program with -Os, -O2 or -O3

2010-09-11 Thread rguenth at gcc dot gnu dot org


--- Comment #2 from rguenth at gcc dot gnu dot org  2010-09-11 10:51 ---
Please attach head.i here, pastes usually vanish after some time.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45647



[Bug middle-end/45567] [4.5/4.6 Regression] __builtin_popcountl ICEs with -ftree-ter

2010-09-11 Thread rguenth at gcc dot gnu dot org


-- 

rguenth at gcc dot gnu dot org changed:

   What|Removed |Added

Summary|[4.6/4.5 Regression]|[4.5/4.6 Regression]
   |__builtin_popcountl ICEs|__builtin_popcountl ICEs
   |with -ftree-ter |with -ftree-ter
   Target Milestone|4.6.0   |4.5.2


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45567



[Bug middle-end/45632] const function pointer propagation issues with inlining

2010-09-10 Thread rguenth at gcc dot gnu dot org


-- 

rguenth at gcc dot gnu dot org changed:

   What|Removed |Added

 CC||rguenth at gcc dot gnu dot
   ||org, hubicka at gcc dot gnu
   ||dot org, jamborm at gcc dot
   ||gnu dot org
   Severity|normal  |enhancement
   Keywords||missed-optimization


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45632



[Bug bootstrap/45630] [4.6 Regression] Revision 164050 breaks bootstrap on powerpc-apple-darwin9

2010-09-10 Thread rguenth at gcc dot gnu dot org


-- 

rguenth at gcc dot gnu dot org changed:

   What|Removed |Added

   Target Milestone|--- |4.6.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45630



[Bug tree-optimization/45626] [4.6 Regression] Segfault in fold_const_aggregate_ref

2010-09-10 Thread rguenth at gcc dot gnu dot org


-- 

rguenth at gcc dot gnu dot org changed:

   What|Removed |Added

Summary|Segfault in |[4.6 Regression] Segfault in
   |fold_const_aggregate_ref|fold_const_aggregate_ref
   Target Milestone|--- |4.6.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45626



[Bug web/43011] Upgrade gcc.gnu.org/bugzilla to Bugzilla 3.6

2010-09-10 Thread rguenth at gcc dot gnu dot org


--- Comment #41 from rguenth at gcc dot gnu dot org  2010-09-10 09:33 
---
(In reply to comment #40)
 A test installation based on a copy of the GCC Bugzilla database (snapshot
 taken today, September 9) and upgraded to Bugzilla 3.6.2 is now live at
 http://gcc.gnu.org/bugzilla-test/.
 
 Please give it a look, and file bugs related to missing or broken
 customizations in the new Bugzilla product on the test installation, i.e.
 using this link:
 http://gcc.gnu.org/bugzilla-test/enter_bug.cgi?product=Bugzilla
 
 Note that I didn't port *any* customization yet, so you probably have a lot to
 say. ;)

You probably should announce this on g...@gcc.gnu.org.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43011



[Bug rtl-optimization/45621] [4.6 Regression] ICE: verify_cgraph_node failed: inlined_to pointer is set but no predecessors found with -fipa-cp-clone -flto

2010-09-10 Thread rguenth at gcc dot gnu dot org


-- 

rguenth at gcc dot gnu dot org changed:

   What|Removed |Added

 CC||hubicka at gcc dot gnu dot
   ||org, jamborm at gcc dot gnu
   ||dot org
   Target Milestone|--- |4.6.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45621



[Bug tree-optimization/45633] [4.6 regression] internal compiler error: verify_stmts failed

2010-09-10 Thread rguenth at gcc dot gnu dot org


--- Comment #2 from rguenth at gcc dot gnu dot org  2010-09-10 11:29 ---
Are you really using the fortran-dev branch?


-- 

rguenth at gcc dot gnu dot org changed:

   What|Removed |Added

   Target Milestone|--- |4.6.0
Version|fortran-dev |4.6.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45633



[Bug middle-end/45634] [4.6 regression] Revision 163973 faild to compile 191.fma3d in SPEC CPU 2K

2010-09-10 Thread rguenth at gcc dot gnu dot org


-- 

rguenth at gcc dot gnu dot org changed:

   What|Removed |Added

   Target Milestone|--- |4.6.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45634



[Bug bootstrap/45612] [4.6 regression] Reference to undefined label building libada no Solaris 2/SPARC

2010-09-10 Thread rguenth at gcc dot gnu dot org


-- 

rguenth at gcc dot gnu dot org changed:

   What|Removed |Added

   Target Milestone|--- |4.6.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45612



[Bug c++/45606] [4.5/4.6 Regression] match a method prototyped a typedef alias with the original type (using stdlib)

2010-09-10 Thread rguenth at gcc dot gnu dot org


-- 

rguenth at gcc dot gnu dot org changed:

   What|Removed |Added

   Target Milestone|--- |4.5.2


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45606



[Bug rtl-optimization/45593] [4.5/4.6 regression] segfault with -Os

2010-09-10 Thread rguenth at gcc dot gnu dot org


-- 

rguenth at gcc dot gnu dot org changed:

   What|Removed |Added

   Target Milestone|--- |4.5.2


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45593



[Bug fortran/45577] [4.6 Regression] Bogus(?) ... type incompatible with source-expr ... error

2010-09-10 Thread rguenth at gcc dot gnu dot org


-- 

rguenth at gcc dot gnu dot org changed:

   What|Removed |Added

   Target Milestone|--- |4.6.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45577



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

2010-09-10 Thread rguenth at gcc dot gnu dot org


-- 

rguenth at gcc dot gnu dot org changed:

   What|Removed |Added

   Target Milestone|--- |4.3.6


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45470



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

2010-09-10 Thread rguenth at gcc dot gnu dot org


--- Comment #8 from rguenth at gcc dot gnu dot org  2010-09-10 13:26 ---
(In reply to comment #6)
 (In reply to comment #5)
  I see before SLP:
  
  bb 2:
MEM[(struct A *)this_1(D)].a = 0;
MEM[(struct A *)this_1(D)].b = 0;
MEM[(struct A *)this_1(D)].c = 0;
[LP 2] MEM[(struct A *)this_1(D) + 12B].a = 0;
  
  and after:
  
  bb 2:
vect_cst_.1_16 = { 0, 0, 0, 0 };
vect_p.5_17 = MEM[(struct A *)this_1(D)].a;
M*vect_p.5_17{misalignment: 0} = vect_cst_.1_16;
  
  so EH info has not been properly transfered.  
 
 How should it be done? Is it ok to assume that if one of the old stmts can
 throw, then we can set TREE_THIS_NOTRAP for the new access to 0? (and then we
 can call maybe_duplicate_eh_stmt (new_stmt, old_stmt)).
 
 Or maybe it's better to avoid vectorization?...

I think it's best to avoid vectorization if one of the old stmts can
throw.

Richard.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45470



[Bug debug/44115] gcc.dg/guality/sra-1.c failure

2010-09-10 Thread rguenth at gcc dot gnu dot org


--- Comment #3 from rguenth at gcc dot gnu dot org  2010-09-10 14:22 ---
Subject: Bug 44115

Author: rguenth
Date: Fri Sep 10 14:22:22 2010
New Revision: 164179

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=164179
Log:
2010-09-10  Richard Guenther  rguent...@suse.de

PR debug/44115
* tree.c (free_lang_data_in_decl): Do not clear DECL_DEBUG_EXPR.
* lto-streamer-out.c (lto_output_ts_decl_common_tree_pointers):
Output DECL_DEBUG_EXPR.
* lto-streamer-in.c (lto_input_ts_decl_common_tree_pointers):
Input DECL_DEBUG_EXPR.

Modified:
trunk/gcc/ChangeLog
trunk/gcc/lto-streamer-in.c
trunk/gcc/lto-streamer-out.c
trunk/gcc/tree.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44115



[Bug c++/45635] [4.6 regression] Failed to bootstrap on Linux/ia64

2010-09-10 Thread rguenth at gcc dot gnu dot org


-- 

rguenth at gcc dot gnu dot org changed:

   What|Removed |Added

 CC||hubicka at gcc dot gnu dot
   ||org
   Target Milestone|--- |4.6.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45635



[Bug debug/44115] gcc.dg/guality/sra-1.c failure

2010-09-10 Thread rguenth at gcc dot gnu dot org


--- Comment #4 from rguenth at gcc dot gnu dot org  2010-09-10 14:38 ---
Fixed for 4.6.


-- 

rguenth at gcc dot gnu dot org changed:

   What|Removed |Added

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


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44115



[Bug lto/45638] No rule to make target `check-lto', needed by `check'. Stop.

2010-09-10 Thread rguenth at gcc dot gnu dot org


--- Comment #1 from rguenth at gcc dot gnu dot org  2010-09-10 15:35 ---
Confirmed.


-- 

rguenth at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
  Component|testsuite   |lto
 Ever Confirmed|0   |1
   Last reconfirmed|-00-00 00:00:00 |2010-09-10 15:35:19
   date||


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45638



[Bug c++/45607] [4.3/4.4 Regression] Confusing error message

2010-09-09 Thread rguenth at gcc dot gnu dot org


--- Comment #1 from rguenth at gcc dot gnu dot org  2010-09-09 09:47 ---
4.5 prints

t.C:2:13: error: 'A::A' has the same name as the class in which it is declared

3.4

t.C:2: error: `enum A::A' has the same name as the class in which it is
declared

which is nicest.  4.0 to 4.4 exhibit the behavior as described in this bug.


-- 

rguenth at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
 Ever Confirmed|0   |1
  Known to work||3.4.6 4.5.1 4.6.0
   Last reconfirmed|-00-00 00:00:00 |2010-09-09 09:47:36
   date||
Summary|Inappropriate error message |[4.3/4.4 Regression]
   ||Confusing error message
   Target Milestone|--- |4.4.5


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45607



[Bug testsuite/45604] [4.6 regression] New test failures

2010-09-09 Thread rguenth at gcc dot gnu dot org


-- 

rguenth at gcc dot gnu dot org changed:

   What|Removed |Added

   Target Milestone|--- |4.6.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45604



[Bug c++/45603] cc1plus crashes in build_addr_func

2010-09-09 Thread rguenth at gcc dot gnu dot org


--- Comment #10 from rguenth at gcc dot gnu dot org  2010-09-09 09:51 
---
Confirmed.


-- 

rguenth at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
 Ever Confirmed|0   |1
   Last reconfirmed|-00-00 00:00:00 |2010-09-09 09:51:17
   date||


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45603



[Bug middle-end/45589] [4.6 Regression] 200.sixtrack in SPEC CPU 2000 is miscompiled

2010-09-09 Thread rguenth at gcc dot gnu dot org


--- Comment #6 from rguenth at gcc dot gnu dot org  2010-09-09 09:52 ---
Was a dup (fixed).

*** This bug has been marked as a duplicate of 45578 ***


-- 

rguenth at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution||DUPLICATE


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45589



[Bug tree-optimization/45578] [4.6 Regression] The polyhedron test mdbx is miscompiled with -O2 -ftree-vectorize at revision 163915

2010-09-09 Thread rguenth at gcc dot gnu dot org


--- Comment #10 from rguenth at gcc dot gnu dot org  2010-09-09 09:52 
---
*** Bug 45589 has been marked as a duplicate of this bug. ***


-- 

rguenth at gcc dot gnu dot org changed:

   What|Removed |Added

 CC||hjl dot tools at gmail dot
   ||com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45578



[Bug bootstrap/45611] [4.6 regression] SIGBUS in generate_option_input_file on Solaris 2/SPARC

2010-09-09 Thread rguenth at gcc dot gnu dot org


--- Comment #4 from rguenth at gcc dot gnu dot org  2010-09-09 13:27 ---
(In reply to comment #3)
 Richard, could you please have a look?

I don't have access to sparc-sun-solaris2*, so I can't bootstrap it (but
at most build a cross cc1).

So please attach a testcase (easiest is probably in a non-bootstrapped
tree run make check and pick a simple one that fails from the C testsuite).

Is sparc-sun-solaris2* a STRICT_ALIGNMENT target?  What's the clr instruction?
Is it a store or a load?

The revision in question is supposed to make alignment less strict and I
can't see how this can break anything.


-- 

rguenth at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|NEW |WAITING
   Target Milestone|--- |4.6.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45611



[Bug tree-optimization/44328] switch/case optimization produces an invalid lookup table index

2010-09-09 Thread rguenth at gcc dot gnu dot org


-- 

rguenth at gcc dot gnu dot org changed:

   What|Removed |Added

   Target Milestone|--- |4.4.5


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44328



[Bug c++/45594] g++ incorrectly treats inline function redefinition

2010-09-08 Thread rguenth at gcc dot gnu dot org


--- Comment #1 from rguenth at gcc dot gnu dot org  2010-09-08 09:20 ---
You are violating the ODR.


-- 

rguenth at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution||INVALID


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45594



[Bug testsuite/45590] FAIL: gcc.dg/graphite/pr44391.c: unrecognized command line option '-m32'

2010-09-08 Thread rguenth at gcc dot gnu dot org


--- Comment #2 from rguenth at gcc dot gnu dot org  2010-09-08 09:22 ---
Fixed.


-- 

rguenth at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution||FIXED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45590



[Bug testsuite/45590] FAIL: gcc.dg/graphite/pr44391.c: unrecognized command line option '-m32'

2010-09-08 Thread rguenth at gcc dot gnu dot org


--- Comment #3 from rguenth at gcc dot gnu dot org  2010-09-08 09:22 ---
Subject: Bug 45590

Author: rguenth
Date: Wed Sep  8 09:22:35 2010
New Revision: 163995

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=163995
Log:
2010-09-08  Richard Guenther  rguent...@suse.de

PR testsuite/45590
* gcc.dg/graphite/pr44391.c: Remove -m32 option.

Modified:
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/gcc.dg/graphite/pr44391.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45590



[Bug middle-end/45589] [4.6 Regression] 200.sixtrack in SPEC CPU 2000 is miscompiled

2010-09-08 Thread rguenth at gcc dot gnu dot org


--- Comment #5 from rguenth at gcc dot gnu dot org  2010-09-08 09:22 ---
Mine.


-- 

rguenth at gcc dot gnu dot org changed:

   What|Removed |Added

 AssignedTo|unassigned at gcc dot gnu   |rguenth at gcc dot gnu dot
   |dot org |org
 Status|UNCONFIRMED |ASSIGNED
 Ever Confirmed|0   |1
   Last reconfirmed|-00-00 00:00:00 |2010-09-08 09:22:58
   date||


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45589



[Bug lto/45586] [4.6 Regression] ICE non-trivial conversion at assignment

2010-09-08 Thread rguenth at gcc dot gnu dot org


--- Comment #3 from rguenth at gcc dot gnu dot org  2010-09-08 09:36 ---
Confirmed.  We have two different array3_real(kind=8) record types that are
not considered compatible.  One data pointer member is restrict qualified
while the other one is not.

Why do we have an aggregate assignment of an array descriptor anyway?

  struct array3_real(kind=8) y;
  struct realspace_grid_type * D.2157;

bb 2:
  y.data = 0B;
  D.2157_5 = *x_4(D);
  y = D.2157_5-r;
  D.2172_6 = y.data;

The issue here is of course that LTO re-computes TYPE_CANONICAL and the FE
sets it in a way that the above situation is not detected as non-trivial
conversion.


-- 

rguenth at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
 Ever Confirmed|0   |1
   Keywords||lto
   Last reconfirmed|-00-00 00:00:00 |2010-09-08 09:36:18
   date||


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45586



[Bug middle-end/45585] [4.6 Regression] ICE on powerpc-apple-darwin9 for gfortran.dg/transfer_simplify_2.f90 with -O2 -m64

2010-09-08 Thread rguenth at gcc dot gnu dot org


-- 

rguenth at gcc dot gnu dot org changed:

   What|Removed |Added

   Target Milestone|--- |4.6.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45585



[Bug c/45584] typeof with casting from const to non-const does not work properly

2010-09-08 Thread rguenth at gcc dot gnu dot org


--- Comment #1 from rguenth at gcc dot gnu dot org  2010-09-08 09:37 ---
Confirmed.


-- 

rguenth at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
 Ever Confirmed|0   |1
   Last reconfirmed|-00-00 00:00:00 |2010-09-08 09:37:55
   date||


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45584



[Bug c++/45594] g++ incorrectly treats inline function redefinition

2010-09-08 Thread rguenth at gcc dot gnu dot org


--- Comment #3 from rguenth at gcc dot gnu dot org  2010-09-08 10:34 ---
(In reply to comment #2)
 The case that apply here is discussed in point 3:
 
 #3: ... For a given entity, each definition
 must be the same. ...


-- 

rguenth at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution||INVALID


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45594



[Bug c++/45594] g++ incorrectly treats inline function redefinition

2010-09-08 Thread rguenth at gcc dot gnu dot org


--- Comment #5 from rguenth at gcc dot gnu dot org  2010-09-08 10:42 ---
(In reply to comment #4)
 (In reply to comment #3)
  (In reply to comment #2)
   The case that apply here is discussed in point 3:
   
   #3: ... For a given entity, each definition
   must be the same. ...
  
 
 But this applies only to [...] types, templates, and extern inline 
 functions.
 
 My case is about non-extern inline functions, which in different translation
 units are different entities, even if their names and types are the same.

Your inline functions are extern, not static.  Make them static and it
will work.


-- 

rguenth at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution||INVALID


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45594



[Bug tree-optimization/45578] [4.6 Regression] The polyhedron test mdbx is miscompiled with -O2 -ftree-vectorize at revision 163915

2010-09-08 Thread rguenth at gcc dot gnu dot org


--- Comment #7 from rguenth at gcc dot gnu dot org  2010-09-08 11:17 ---
Subject: Bug 45578

Author: rguenth
Date: Wed Sep  8 11:17:31 2010
New Revision: 163997

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=163997
Log:
2010-09-08  Richard Guenther  rguent...@suse.de

PR tree-optimization/45578
* tree-ssa-loop-ivopts.c (rewrite_use_nonlinear_expr):
Be more careful when transfering alignment information to
the new induction variable.
(copy_ref_info): Likewise.

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

Added:
trunk/gcc/testsuite/gfortran.dg/pr45578.f90
Modified:
trunk/gcc/ChangeLog
trunk/gcc/testsuite/ChangeLog
trunk/gcc/tree-ssa-loop-ivopts.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45578



[Bug tree-optimization/45578] [4.6 Regression] The polyhedron test mdbx is miscompiled with -O2 -ftree-vectorize at revision 163915

2010-09-08 Thread rguenth at gcc dot gnu dot org


--- Comment #8 from rguenth at gcc dot gnu dot org  2010-09-08 11:21 ---
Fixed.


-- 

rguenth at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution||FIXED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45578



[Bug tree-optimization/45598] [4.6 Regression] ICE; in build_int_cst_wide, at tree.c:1218

2010-09-08 Thread rguenth at gcc dot gnu dot org


--- Comment #1 from rguenth at gcc dot gnu dot org  2010-09-08 13:53 ---
#4  0x00b25f5e in fold_const_aggregate_ref (t=0x77f0cc18)
at /space/rguenther/src/svn/trunk/gcc/tree-ssa-ccp.c:1444
1444return build_int_cst_type (TREE_TYPE (t),
(gdb) l
1439   == TYPE_MODE (TREE_TYPE (TREE_TYPE (ctor
1440   (GET_MODE_CLASS (TYPE_MODE (TREE_TYPE (TREE_TYPE
(ctor
1441  == MODE_INT)
1442   GET_MODE_SIZE (TYPE_MODE (TREE_TYPE (TREE_TYPE
(ctor == 1
1443   double_int_cmp (index_cst, length_cst, signed_p)  0)
1444return build_int_cst_type (TREE_TYPE (t),
1445   (TREE_STRING_POINTER (ctor)
1446[double_int_to_uhwi
(index_cst)]));
1447  return NULL_TREE;
1448}
(gdb) p t-common.type-base.code
$2 = ARRAY_TYPE


-- 

rguenth at gcc dot gnu dot org changed:

   What|Removed |Added

 CC||hubicka at gcc dot gnu dot
   ||org
 Status|UNCONFIRMED |NEW
 Ever Confirmed|0   |1
   Last reconfirmed|-00-00 00:00:00 |2010-09-08 13:53:34
   date||
   Target Milestone|--- |4.6.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45598



[Bug tree-optimization/45572] [4.6 Regression] various ICEs with -finline-small-functions -findirect-inlining -finline-functions

2010-09-07 Thread rguenth at gcc dot gnu dot org


-- 

rguenth at gcc dot gnu dot org changed:

   What|Removed |Added

 CC||jamborm at gcc dot gnu dot
   ||org, hubicka at gcc dot gnu
   ||dot org
   Target Milestone|--- |4.6.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45572



[Bug rtl-optimization/45570] [4.6 Regression] ICE: in cfg_preds_1, at sel-sched-ir.c:4584

2010-09-07 Thread rguenth at gcc dot gnu dot org


-- 

rguenth at gcc dot gnu dot org changed:

   What|Removed |Added

   Target Milestone|--- |4.6.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45570



[Bug middle-end/45569] [4.5/4.6 Regression] ICE: verify_stmts failed: statement marked for throw in middle of block with -fnon-call-exceptions

2010-09-07 Thread rguenth at gcc dot gnu dot org


--- Comment #2 from rguenth at gcc dot gnu dot org  2010-09-07 08:37 ---
Hm, that expr shouldn't throw.  I'll have a look.


-- 

rguenth at gcc dot gnu dot org changed:

   What|Removed |Added

 AssignedTo|unassigned at gcc dot gnu   |rguenth at gcc dot gnu dot
   |dot org |org
 Status|UNCONFIRMED |ASSIGNED
 Ever Confirmed|0   |1
   Last reconfirmed|-00-00 00:00:00 |2010-09-07 08:37:40
   date||
   Target Milestone|--- |4.5.2


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45569



[Bug ada/45568] [4.6 Regression] [prj-nmsc.o] raised STORAGE_ERROR : stack overflow (or erroneous memory access)

2010-09-07 Thread rguenth at gcc dot gnu dot org


-- 

rguenth at gcc dot gnu dot org changed:

   What|Removed |Added

  Component|bootstrap   |ada
   Keywords||build
   Target Milestone|--- |4.6.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45568



[Bug fortran/45567] [4.6 Regression] gfortran.dg/popcnt_poppar_2.F90 ICEs in emit_library_call_value_1, at calls.c:3485 with -ftree-ter

2010-09-07 Thread rguenth at gcc dot gnu dot org


-- 

rguenth at gcc dot gnu dot org changed:

   What|Removed |Added

   Target Milestone|--- |4.6.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45567



[Bug c++/45571] [4.6 Regression] ICE: verify_stmts failed: Invalid address operand in MEM_REF. on invalid C++ code

2010-09-07 Thread rguenth at gcc dot gnu dot org


--- Comment #1 from rguenth at gcc dot gnu dot org  2010-09-07 08:37 ---
I'll have a look.


-- 

rguenth at gcc dot gnu dot org changed:

   What|Removed |Added

 AssignedTo|unassigned at gcc dot gnu   |rguenth at gcc dot gnu dot
   |dot org |org
 Status|UNCONFIRMED |ASSIGNED
 Ever Confirmed|0   |1
   Last reconfirmed|-00-00 00:00:00 |2010-09-07 08:37:30
   date||
   Target Milestone|--- |4.6.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45571



[Bug middle-end/45566] [4.5/4.6 Regression] ICE: in convert_to_eh_region_ranges, at except.c:2446 with -freorder-blocks-and-partition -fnon-call-exceptions -fprofile-use

2010-09-07 Thread rguenth at gcc dot gnu dot org


-- 

rguenth at gcc dot gnu dot org changed:

   What|Removed |Added

   Target Milestone|--- |4.5.2


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45566



<    1   2   3   4   5   6   7   8   9   10   >