[Bug middle-end/59059] [4.9 Regression] internal compiler error: tree check: expected integer_cst, have nop_expr in tree_int_cst_lt, at tree.c:6931

2013-11-09 Thread Joost.VandeVondele at mat dot ethz.ch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59059

Joost VandeVondele Joost.VandeVondele at mat dot ethz.ch changed:

   What|Removed |Added

 CC||congh at google dot com,
   ||Joost.VandeVondele at mat dot 
ethz
   ||.ch

--- Comment #1 from Joost VandeVondele Joost.VandeVondele at mat dot ethz.ch 
---
has been reported on the list but not bugzilla I think:

http://gcc.gnu.org/ml/gcc-patches/2013-11/msg00946.html


[Bug tree-optimization/59058] wrong code at -O3 on x86_64-linux-gnu (affecting gcc 4.6 to trunk)

2013-11-09 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59058

--- Comment #1 from Marc Glisse glisse at gcc dot gnu.org ---
For the vectorizer issue on trunk, this is enough:

int printf (const char *, ...);

short b = 0; 

int 
main ()
{
  int c = 0;
l1:
  b++;
  c |= b;
  if (b)
goto l1;
  printf (%d\n, c);
  return 0;
}

This code relies on the gcc extension that casting to a shorter integer is done
modulo 2. Note that if we move the declaration of b inside the function, the
compiler (wrongly?) warns:
s.c:11:4: warning: iteration 32767u invokes undefined behavior
[-Waggressive-loop-optimizations]
   b++;
^
s.c:13:6: note: containing loop
   if (b)
  ^
(and the return value changes from 7 to 131071)


2 missed optimizations while looking at the dumps:

  stmp_var_.12_46 = _4 + 1;
  stmp_var_.12_47 = _4 + 2;
  stmp_var_.12_48 = _4 + 3;
  stmp_var_.12_49 = _4 + 4;
  stmp_var_.12_50 = _4 + 5;
  stmp_var_.12_51 = _4 + 6;
  stmp_var_.12_52 = _4 + 7;
  vect_cst_.13_53 = {_4, stmp_var_.12_46, stmp_var_.12_47, stmp_var_.12_48,
stmp_var_.12_49, stmp_var_.12_50, stmp_var_.12_51, stmp_var_.12_52};

This should really be:

  v = { _4, _4, ... };
  w = v + { 0, 1, 2, ... };

Also:

  vector(8) unsigned short vect_b.17;
  vector(8) short int vect_vec_iv_.16;
  vector(8) unsigned short vect_vec_iv_.15;
[...]
  vect_vec_iv_.16_57 = VIEW_CONVERT_EXPRvector(8) short
int(vect_vec_iv_.15_55);
  vect_vec_iv_.15_56 = vect_vec_iv_.15_55 + vect_cst_.14_54;
  vect_b.17_58 = VIEW_CONVERT_EXPRvector(8) unsigned
short(vect_vec_iv_.16_57);

vect_b.17_58 is vect_vec_iv_.15_55, not sure why we don't see through that.


[Bug sanitizer/59061] New: Port leaksanitizer

2013-11-09 Thread Joost.VandeVondele at mat dot ethz.ch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59061

Bug ID: 59061
   Summary: Port leaksanitizer
   Product: gcc
   Version: 4.9.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: sanitizer
  Assignee: unassigned at gcc dot gnu.org
  Reporter: Joost.VandeVondele at mat dot ethz.ch
CC: dodji at gcc dot gnu.org, dvyukov at gcc dot gnu.org,
jakub at gcc dot gnu.org, kcc at gcc dot gnu.org

Clearly an enhancement request, but it would be great to have leaksanitizer
ported to gcc. 

Will this make the 4.9 release ?


[Bug sanitizer/59061] Port leaksanitizer

2013-11-09 Thread Joost.VandeVondele at mat dot ethz.ch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59061

Joost VandeVondele Joost.VandeVondele at mat dot ethz.ch changed:

   What|Removed |Added

 CC||Joost.VandeVondele at mat dot 
ethz
   ||.ch
   Severity|normal  |enhancement


[Bug fortran/59060] Accepts invalid ? Missing component data value for component D1 of TYPE(T2)

2013-11-09 Thread burnus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59060

Tobias Burnus burnus at gcc dot gnu.org changed:

   What|Removed |Added

 CC||burnus at gcc dot gnu.org

--- Comment #2 from Tobias Burnus burnus at gcc dot gnu.org ---
There is in Fortran 2003:

 R457 structure-constructor  is  derived-type-spec ( [ component-spec-list ] )
 C485 (R457)  A component-spec shall be provided for a component unless it has
  default initialization or is inheritance associated with another
  component for which a component-spec is provided or that has
  default initialization.
 C488 (R457)  The type name and all components of the type for which a
  component-spec appears shall be accessible in the scoping unit
  containing the structure constructor.

Thus, it looks like valid Fortran 2003 to me.


[Bug fortran/59060] Accepts invalid ? Missing component data value for component D1 of TYPE(T2)

2013-11-09 Thread burnus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59060

--- Comment #3 from Tobias Burnus burnus at gcc dot gnu.org ---
For completeness, the feature was added 2008-05-16 in r135410.


[Bug fortran/59060] Accepts invalid ? Missing component data value for component D1 of TYPE(T2)

2013-11-09 Thread Joost.VandeVondele at mat dot ethz.ch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59060

--- Comment #4 from Joost VandeVondele Joost.VandeVondele at mat dot ethz.ch 
---
Thanks, I indeed start thinking gfortran has it right.

As a small variant:

MODULE M1
 TYPE T1
   INTEGER, PRIVATE :: I=0
 END TYPE T1
 TYPE T2
   TYPE(T1) :: D1
 END TYPE T2
 TYPE(T2), PARAMETER :: D2
END MODULE M1

All of cray, intel and pgi complain about this along the lines:

bug.f90(8): error #6557: An =initialization-expr is missing; an initialization
expression is required when using the PARAMETER attribute.   [D2]
 TYPE(T2), PARAMETER :: D2
^

gfortran accepts this... this could be right again, since all components
ultimately have a default initialization.


[Bug c/59039] Undocumented __builtin_longjmp/__builtin_setjmp

2013-11-09 Thread ebotcazou at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59039

--- Comment #24 from Eric Botcazou ebotcazou at gcc dot gnu.org ---
 Does it look OK?

Mostly, but I wouldn't go into full details about what contains the buffer,
this is machine-specific and not portable.  Maybe something like:

The @code{setjmp} buffer is an array of five @code{intptr_t}.  The buffer
will generally contain the frame address, the resume address and the stack
address.  The other elements may be used in a machine-specific way.


[Bug libstdc++/58982] [4.9 Regression] std::vectorstd::atomicint vai(10); does not compile anymore

2013-11-09 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58982

--- Comment #9 from Jonathan Wakely redi at gcc dot gnu.org ---
Author: redi
Date: Sat Nov  9 12:38:00 2013
New Revision: 204615

URL: http://gcc.gnu.org/viewcvs?rev=204615root=gccview=rev
Log:
PR libstdc++/58982
* include/bits/stl_algobase.h (__copy_move::__copy_m): Use assertion
to prevent using memmove() on non-assignable types.
(__copy_move_backward::__copy_move_b): Likewise.
* include/bits/stl_uninitialized.h (uninitialized_copy
uninitialized_copy_n, uninitialized_fill, uninitialized_fill_n,
__uninitialized_default, __uninitialized_default_n): Check for
assignable as well as trivial.
* testsuite/20_util/specialized_algorithms/uninitialized_copy/
58982.cc: New.
* testsuite/20_util/specialized_algorithms/uninitialized_copy_n/
58982.cc: New.
* testsuite/20_util/specialized_algorithms/uninitialized_fill/
58982.cc: New.
* testsuite/20_util/specialized_algorithms/uninitialized_fill_n/
58982.cc: New.
* testsuite/25_algorithms/copy/58982.cc: New.
* testsuite/25_algorithms/copy_n/58982.cc: New.

Added:
   
trunk/libstdc++-v3/testsuite/20_util/specialized_algorithms/uninitialized_copy/58982.cc
   
trunk/libstdc++-v3/testsuite/20_util/specialized_algorithms/uninitialized_copy_n/58982.cc
   
trunk/libstdc++-v3/testsuite/20_util/specialized_algorithms/uninitialized_fill/58982.cc
   
trunk/libstdc++-v3/testsuite/20_util/specialized_algorithms/uninitialized_fill_n/58982.cc
trunk/libstdc++-v3/testsuite/25_algorithms/copy/58982.cc
trunk/libstdc++-v3/testsuite/25_algorithms/copy_n/58982.cc
Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/include/bits/stl_algobase.h
trunk/libstdc++-v3/include/bits/stl_uninitialized.h


[Bug libstdc++/58982] [4.9 Regression] std::vectorstd::atomicint vai(10); does not compile anymore

2013-11-09 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58982

Jonathan Wakely redi at gcc dot gnu.org changed:

   What|Removed |Added

   Keywords||rejects-valid
 Status|ASSIGNED|RESOLVED
 CC|jwakely.gcc at gmail dot com   |
 Resolution|--- |FIXED

--- Comment #10 from Jonathan Wakely redi at gcc dot gnu.org ---
Fixed


[Bug c++/59056] enable_if turns a non-ambiguous template into an ambiguous one

2013-11-09 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59056

--- Comment #2 from Jonathan Wakely redi at gcc dot gnu.org ---
I must be misunderstanding something, because rewriting the class template
partial specializations as function templates (as per [temp.class.order]) shows
that one is more specialized than the other, as the functions are not
ambiguous:

#include type_traits

template class T class Foo {};

template class X
constexpr bool check()
{
  return true;
}

template class X, class Enable = void
struct Bar {};

templateclass X
void func(BarX, typename std::enable_if checkX() ::type) { }

templateclass T
int func(BarFooT) {  return 0; }

void instance()
{
  Bar Fooint  av;
  int i = func(av);
}

I thought if the partial specializations were ambiguous then these function
overloads should be too.


[Bug fortran/59060] Accepts invalid ? Missing component data value for component D1 of TYPE(T2)

2013-11-09 Thread Joost.VandeVondele at mat dot ethz.ch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59060

Joost VandeVondele Joost.VandeVondele at mat dot ethz.ch changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |INVALID

--- Comment #5 from Joost VandeVondele Joost.VandeVondele at mat dot ethz.ch 
---
(In reply to Joost VandeVondele from comment #4)
 gfortran accepts this... this could be right again, since all components
 ultimately have a default initialization.

must have been a pilot error... I'm closing this as invalid.


[Bug middle-end/59059] [4.9 Regression] internal compiler error: tree check: expected integer_cst, have nop_expr in tree_int_cst_lt, at tree.c:6931

2013-11-09 Thread dominiq at lps dot ens.fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59059

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

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |DUPLICATE

--- Comment #2 from Dominique d'Humieres dominiq at lps dot ens.fr ---
This is fixed by the patch for pr59050 at
http://gcc.gnu.org/ml/gcc-patches/2013-11/msg00944.html . Closing as duplicate
of pr59050.

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


[Bug tree-optimization/59050] [4.9 Regression] ICE: tree check: expected integer_cst, have nop_expr in tree_int_cst_lt, at tree.c:7083

2013-11-09 Thread dominiq at lps dot ens.fr
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59050

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

   What|Removed |Added

 CC||Joost.VandeVondele at mat dot 
ethz
   ||.ch

--- Comment #3 from Dominique d'Humieres dominiq at lps dot ens.fr ---
*** Bug 59059 has been marked as a duplicate of this bug. ***


[Bug sanitizer/59061] Port leaksanitizer

2013-11-09 Thread kcc at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59061

--- Comment #1 from Kostya Serebryany kcc at gcc dot gnu.org ---
It should be there already: 
http://gcc.gnu.org/viewcvs?rev=204368root=gccview=rev
Please check.

admittedly, the gcc tree lacks the tests for lsan.


[Bug tree-optimization/59062] New: poor code generated at -Os (affecting all gcc versions): 10+ sec vs. 1 sec at -O0

2013-11-09 Thread su at cs dot ucdavis.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59062

Bug ID: 59062
   Summary: poor code generated at -Os (affecting all gcc
versions): 10+ sec vs. 1 sec at -O0
   Product: gcc
   Version: 4.9.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: tree-optimization
  Assignee: unassigned at gcc dot gnu.org
  Reporter: su at cs dot ucdavis.edu

The current gcc trunk (as well as 4.6, 4.7, and 4.8) produces poor code for the
 following testcase on x86_64-linux-gnu at -Os in both 32-bit and 64-bit modes. 

The produced code has the same or very similar size. 

$ gcc-trunk -v
Using built-in specs.
COLLECT_GCC=gcc-trunk
COLLECT_LTO_WRAPPER=/usr/local/gcc-trunk/libexec/gcc/x86_64-unknown-linux-gnu/4.9.0/lto-wrapper
Target: x86_64-unknown-linux-gnu
Configured with: ../gcc-trunk/configure
--enable-languages=c,c++,objc,obj-c++,fortran,lto --disable-werror
--enable-checking=release --with-gmp=/usr/local/gcc-trunk
--with-mpfr=/usr/local/gcc-trunk --with-mpc=/usr/local/gcc-trunk
--with-cloog=/usr/local/gcc-trunk --prefix=/usr/local/gcc-trunk
Thread model: posix
gcc version 4.9.0 20131109 (experimental) [trunk revision 204611] (GCC) 
$ 
$ gcc-trunk -O0 small.c   
$ time a.out
1.02user 0.00system 0:01.05elapsed 97%CPU (0avgtext+0avgdata 1584maxresident)k
0inputs+0outputs (0major+142minor)pagefaults 0swaps
$ gcc-trunk -O1 small.c
$ time a.out
0.68user 0.00system 0:00.68elapsed 98%CPU (0avgtext+0avgdata 1568maxresident)k
0inputs+0outputs (0major+140minor)pagefaults 0swaps
$ gcc-trunk -Os small.c
$ time a.out
12.84user 0.00system 0:12.86elapsed 99%CPU (0avgtext+0avgdata 1568maxresident)k
0inputs+0outputs (0major+140minor)pagefaults 0swaps
$ 





#pragma pack(1)
struct 
{
  int f0:23;
  unsigned int f1:23;
  unsigned int f2:7;
} b, c; 

unsigned int a; 

int 
main ()
{
  for (; a != 14; a += 9)
c = b; 
  return 0;
}


[Bug sanitizer/59061] Port leaksanitizer

2013-11-09 Thread Joost.VandeVondele at mat dot ethz.ch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59061

--- Comment #2 from Joost VandeVondele Joost.VandeVondele at mat dot ethz.ch 
---
(In reply to Kostya Serebryany from comment #1)
 It should be there already: 

triggering my report was indeed some vague memory that the recent merge would
bring leaksanitizer... I didn't see it mentioned on the list or doc changes or
so.

So, how does it work, is it part of -fsanitize=address (doesn't seem to do
that) or is there a new option -fsanitize=leaks ?


[Bug sanitizer/59061] Port leaksanitizer

2013-11-09 Thread kcc at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59061

--- Comment #3 from Kostya Serebryany kcc at gcc dot gnu.org ---
https://code.google.com/p/address-sanitizer/wiki/LeakSanitizer

I agree, we need to update the gcc doc to mention the URL above.


[Bug sanitizer/59061] Port leaksanitizer

2013-11-09 Thread Joost.VandeVondele at mat dot ethz.ch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59061

--- Comment #4 from Joost VandeVondele Joost.VandeVondele at mat dot ethz.ch 
---
That's great... works even for Fortran code :-)

One more question the docs mention:

 In performance-critical scenarios, LSan can also be used without ASan
instrumentation. 

But it is unclear from that description how that would work.. any hints ?


[Bug regression/58985] [4.9 Regression]: gcc.dg/pr57518.c scan-rtl-dump-not ira REG_EQUIV...

2013-11-09 Thread mikpelinux at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58985

Mikael Pettersson mikpelinux at gmail dot com changed:

   What|Removed |Added

 CC||mikpelinux at gmail dot com

--- Comment #8 from Mikael Pettersson mikpelinux at gmail dot com ---
The version of the test case on 4.8 branch is still missing Marcus Shawcroft's
regex fix (r200720), causing it to fail on some targets (including at least
sparc).


[Bug sanitizer/59063] New: [4.9 Regression] ASAN: segfault in __interceptor_clock_gettime

2013-11-09 Thread Joost.VandeVondele at mat dot ethz.ch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59063

Bug ID: 59063
   Summary: [4.9 Regression] ASAN: segfault in
__interceptor_clock_gettime
   Product: gcc
   Version: 4.9.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: sanitizer
  Assignee: unassigned at gcc dot gnu.org
  Reporter: Joost.VandeVondele at mat dot ethz.ch
CC: dodji at gcc dot gnu.org, dvyukov at gcc dot gnu.org,
jakub at gcc dot gnu.org, kcc at gcc dot gnu.org

with -fsanitize=address the following code works on 4.8 branch bug segfaults
with 4.9

 cat test.f90 
  INTEGER, SAVE  :: count_max, count_rate
  CALL SYSTEM_CLOCK(count_rate=count_rate,count_max=count_max)
END 

 gfortran -fsanitize=address test.f90 ; ./a.out
ASAN:SIGSEGV
=
==48940==ERROR: AddressSanitizer: SEGV on unknown address 0x (pc
0x sp 0x7fff97430008 bp 0x7fff97430040 T0)
AddressSanitizer can not provide additional info.   
==48940==ABORTING

Under gdb the bt is:

Program received signal SIGSEGV, Segmentation fault.
0x in ?? ()
(gdb) bt
#0  0x in ?? ()
#1  0x76b76278 in __interceptor_clock_gettime (clk_id=optimized out,
tp=0x7fffd6e0)
at
../../../../gcc/libsanitizer/sanitizer_common/sanitizer_common_interceptors.inc:740
#2  0x76b1efbc in gf_gettime_mono (tck=synthetic pointer,
fracsecs=synthetic pointer, secs=synthetic pointer)
at ../../../gcc/libgfortran/intrinsics/system_clock.c:98
#3  _gfortran_system_clock_4 (count=0x0, count_rate=0x600f60 count_rate.1893,
count_max=0x600fa0 count_max.1892)
at ../../../gcc/libgfortran/intrinsics/system_clock.c:147
#4  0x0040089d in MAIN__ ()
#5  0x004008d3 in main ()


[Bug tree-optimization/15357] [tree-ssa] combing if statements

2013-11-09 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15357

Andrew Pinski pinskia at gcc dot gnu.org changed:

   What|Removed |Added

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

--- Comment #6 from Andrew Pinski pinskia at gcc dot gnu.org ---
Fixed by:
2013-10-29  Andrew Pinski apin...@cavium.com

* tree-ssa-ifcombine.c: Include rtl.h and tm_p.h.
(ifcombine_ifandif): Handle cases where maybe_fold_and_comparisons
fails, combining the branches anyways.
(tree_ssa_ifcombine): Inverse the order of the basic block walk,
increases the number of combinings.
* gimple.h (gsi_start_nondebug_after_labels_bb): New function.


[Bug tree-optimization/14052] Combiner weakness

2013-11-09 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14052

Bug 14052 depends on bug 15357, which changed state.

Bug 15357 Summary: [tree-ssa] combing if statements
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15357

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED


[Bug tree-optimization/15241] [tree-ssa] Convert a = 7 b = 7 into (a | b) = 7.

2013-11-09 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15241

Bug 15241 depends on bug 15357, which changed state.

Bug 15357 Summary: [tree-ssa] combing if statements
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15357

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED


[Bug tree-optimization/15352] [tree-ssa] missed jump threading opportunity due to lack of short circuit

2013-11-09 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15352

Bug 15352 depends on bug 15357, which changed state.

Bug 15357 Summary: [tree-ssa] combing if statements
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15357

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED


[Bug tree-optimization/15911] VRP/DOM does not like TRUTH_AND_EXPR

2013-11-09 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15911

Bug 15911 depends on bug 15357, which changed state.

Bug 15357 Summary: [tree-ssa] combing if statements
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15357

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED


[Bug tree-optimization/15353] [tree-ssa] Merge two ifs if one subsumes the other.

2013-11-09 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15353

Bug 15353 depends on bug 15357, which changed state.

Bug 15357 Summary: [tree-ssa] combing if statements
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15357

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED


[Bug tree-optimization/15348] [tree-ssa] Convert (x 0) || (y 0) into (x | y) 0.

2013-11-09 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15348

Bug 15348 depends on bug 15357, which changed state.

Bug 15357 Summary: [tree-ssa] combing if statements
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15357

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED


[Bug tree-optimization/13965] [tree-ssa] fold takes into account branch target information at tree level

2013-11-09 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13965

Bug 13965 depends on bug 15357, which changed state.

Bug 15357 Summary: [tree-ssa] combing if statements
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15357

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED


[Bug middle-end/23869] Missed optimization with integer booleans when compiling for pentium and higher

2013-11-09 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23869

Bug 23869 depends on bug 15357, which changed state.

Bug 15357 Summary: [tree-ssa] combing if statements
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15357

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED


[Bug tree-optimization/58956] [4.7/4.8/4.9 Regression] wrong code at -O1 and above (affecting gcc 4.6 to trunk)

2013-11-09 Thread mikpelinux at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58956

Mikael Pettersson mikpelinux at gmail dot com changed:

   What|Removed |Added

 CC||mikpelinux at gmail dot com

--- Comment #2 from Mikael Pettersson mikpelinux at gmail dot com ---
gcc 4.5.4 and 4.4.7 are also broken, but 4.3.6 is Ok.  Started with r142396.

The effect of that revision is that

{
  struct S *i = c;
  *i = foo ();

is compiled as if it had been written

{
  struct S tmp = foo ();
  *c = tmp;

which is wrong since foo may (and in this case does) change c.


[Bug tree-optimization/51988] value_replacement in PHIOPT should handle even the cases where there are other PHIs even with non equal value

2013-11-09 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51988

Andrew Pinski pinskia at gcc dot gnu.org changed:

   What|Removed |Added

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

--- Comment #9 from Andrew Pinski pinskia at gcc dot gnu.org ---
Fixed for a while now.


[Bug other/58996] [4.9 regression] build failure in libcilkrts

2013-11-09 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58996

Andrew Pinski pinskia at gcc dot gnu.org changed:

   What|Removed |Added

   Keywords||build
 Status|UNCONFIRMED |NEW
   Last reconfirmed||2013-11-09
 Ever confirmed|0   |1

--- Comment #1 from Andrew Pinski pinskia at gcc dot gnu.org ---
Confirmed.


[Bug target/57836] large constants evaluated inline

2013-11-09 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57836

Andrew Pinski pinskia at gcc dot gnu.org changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
   Last reconfirmed||2013-11-09
   Target Milestone|--- |4.7.4
 Ever confirmed|0   |1
   Severity|normal  |enhancement

--- Comment #1 from Andrew Pinski pinskia at gcc dot gnu.org ---
Confirmed.


[Bug c++/57883] Feature request: better diagnostic for unknown type

2013-11-09 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57883

Andrew Pinski pinskia at gcc dot gnu.org changed:

   What|Removed |Added

   Keywords||diagnostic
 Status|UNCONFIRMED |NEW
   Last reconfirmed||2013-11-09
 Ever confirmed|0   |1
   Severity|normal  |enhancement

--- Comment #1 from Andrew Pinski pinskia at gcc dot gnu.org ---
Confirmed.  There might be a dup bug about unknown types giving bad
diagnostics.


[Bug middle-end/57859] -ftrapv does not trap on signed overflows for struct fields (32-bit mode)

2013-11-09 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57859

Andrew Pinski pinskia at gcc dot gnu.org changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
   Last reconfirmed||2013-11-09
 Ever confirmed|0   |1

--- Comment #2 from Andrew Pinski pinskia at gcc dot gnu.org ---
-ftrapv is very broken right now.  There are some changes going to happen to
add -fundefined=overflow soon which should replace fully -ftrapv to be more
correct implementation.


[Bug target/57890] gcc 4.8.1 regression: loops become slower

2013-11-09 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57890

Andrew Pinski pinskia at gcc dot gnu.org changed:

   What|Removed |Added

 Target||x86_64-*-linux-gnu
  Component|tree-optimization   |target

--- Comment #4 from Andrew Pinski pinskia at gcc dot gnu.org ---
There have been some improvements of memset recently for x86_64.  Also note on
many other targets doing this transformation is actually a speed up.


[Bug c++/57946] [4.7/4.8/4.9 Regression] internal compiler error: Segmentation fault in int_fits_type_p

2013-11-09 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57946

Andrew Pinski pinskia at gcc dot gnu.org changed:

   What|Removed |Added

  Known to work||4.4.5
   Target Milestone|--- |4.7.4
Summary|internal compiler error:|[4.7/4.8/4.9 Regression]
   |Segmentation fault in   |internal compiler error:
   |int_fits_type_p |Segmentation fault in
   ||int_fits_type_p
  Known to fail||4.7.0, 4.9.0

--- Comment #1 from Andrew Pinski pinskia at gcc dot gnu.org ---
Confirmed.
4.4.5 shows:
t99.cc:1: error: conversion to incomplete type


[Bug target/57847] Compile ARM linux kernel with configuration of SLUB allocator, kernel failed to boot

2013-11-09 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57847

Andrew Pinski pinskia at gcc dot gnu.org changed:

   What|Removed |Added

 Status|WAITING |RESOLVED
 Resolution|--- |INVALID

--- Comment #5 from Andrew Pinski pinskia at gcc dot gnu.org ---
No feedback in 3 months so closing.


[Bug tree-optimization/57999] Missed constant propagation into trampolines

2013-11-09 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57999

Andrew Pinski pinskia at gcc dot gnu.org changed:

   What|Removed |Added

   Keywords||missed-optimization
 Status|UNCONFIRMED |NEW
   Last reconfirmed||2013-11-09
 Ever confirmed|0   |1
   Severity|normal  |enhancement

--- Comment #1 from Andrew Pinski pinskia at gcc dot gnu.org ---
Confirmed, we don't have any IPA based on optimizations on nested functions.


[Bug c++/58116] missed-optimization: const temporaries could be promoted to static

2013-11-09 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58116

--- Comment #1 from Andrew Pinski pinskia at gcc dot gnu.org ---
I think there is a duplicated bug of this already.


[Bug driver/25179] precedence of -fpie over -fpic

2013-11-09 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25179

Andrew Pinski pinskia at gcc dot gnu.org changed:

   What|Removed |Added

 Status|WAITING |RESOLVED
 Resolution|--- |FIXED
   Target Milestone|--- |4.8.0

--- Comment #2 from Andrew Pinski pinskia at gcc dot gnu.org ---
This has been fixed by:
2012-11-13  Ian Lance Taylor  i...@google.com

* common.opt (fPIC, fPIE, fpic, fpie): Create a Negative loop such
that any of these options disables the others.


[Bug target/24842] testsuite failure: gcc.dg/attr-weakref-1.c execution test

2013-11-09 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24842

Andrew Pinski pinskia at gcc dot gnu.org changed:

   What|Removed |Added

 Status|WAITING |RESOLVED
 Resolution|--- |FIXED

--- Comment #6 from Andrew Pinski pinskia at gcc dot gnu.org ---
No feedback in over a year so closing.


[Bug bootstrap/30775] Bootstrap segmentation faults checking for sqrtl declaration...

2013-11-09 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30775

Andrew Pinski pinskia at gcc dot gnu.org changed:

   What|Removed |Added

 Status|WAITING |RESOLVED
 Resolution|--- |INVALID

--- Comment #4 from Andrew Pinski pinskia at gcc dot gnu.org ---
No feedback in over a year now so closing.


[Bug bootstrap/34881] Bootstrap fails on building libstdc++: can't find file for: -lgcc_s.10.4

2013-11-09 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34881

Andrew Pinski pinskia at gcc dot gnu.org changed:

   What|Removed |Added

 Status|WAITING |RESOLVED
 Resolution|--- |INVALID

--- Comment #2 from Andrew Pinski pinskia at gcc dot gnu.org ---
No feedback in over a year now so closing.


[Bug middle-end/34803] wrong code for dereferencing type-punned pointer

2013-11-09 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34803

Andrew Pinski pinskia at gcc dot gnu.org changed:

   What|Removed |Added

 Status|WAITING |RESOLVED
 Resolution|--- |INVALID

--- Comment #8 from Andrew Pinski pinskia at gcc dot gnu.org ---
Closing as invalid as there have been no feedback in over a year now.


[Bug c/56584] _int_free assertion failed

2013-11-09 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56584

Andrew Pinski pinskia at gcc dot gnu.org changed:

   What|Removed |Added

 Status|WAITING |RESOLVED
 Resolution|--- |INVALID

--- Comment #3 from Andrew Pinski pinskia at gcc dot gnu.org ---
No feedback in over 6 months so closing.


[Bug other/53489] suggest a feature for gcc.

2013-11-09 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53489

Andrew Pinski pinskia at gcc dot gnu.org changed:

   What|Removed |Added

 Status|WAITING |RESOLVED
 Resolution|--- |INVALID

--- Comment #3 from Andrew Pinski pinskia at gcc dot gnu.org ---
There has no movement in either money or interest in adding a C# front-end to
GCC so closing as invalid.


[Bug other/53969] internal compiler error: Segmentation fault on Android(use NDK)

2013-11-09 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53969

Andrew Pinski pinskia at gcc dot gnu.org changed:

   What|Removed |Added

 Status|WAITING |RESOLVED
 Resolution|--- |INVALID

--- Comment #6 from Andrew Pinski pinskia at gcc dot gnu.org ---
No feedback in over a year so closing.


[Bug tree-optimization/53092] ICE using -ftree-loop-if-convert-stores -O3

2013-11-09 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53092

Andrew Pinski pinskia at gcc dot gnu.org changed:

   What|Removed |Added

 Status|WAITING |RESOLVED
 Resolution|--- |INVALID

--- Comment #2 from Andrew Pinski pinskia at gcc dot gnu.org ---
NO feedback in over a year so closing as invalid.


[Bug middle-end/52334] The user of zero register is wrong

2013-11-09 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52334

Andrew Pinski pinskia at gcc dot gnu.org changed:

   What|Removed |Added

 Status|WAITING |RESOLVED
 Resolution|--- |INVALID

--- Comment #7 from Andrew Pinski pinskia at gcc dot gnu.org ---
No testcase in the last year so closing as invalid.


[Bug middle-end/49435] get_z.c:46: MPFR assertion failed: exp 0 || exp = ((mpfr_prec_t)((mpfr_uprec_t)(~(mpfr_uprec_t)0)1))

2013-11-09 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49435

Andrew Pinski pinskia at gcc dot gnu.org changed:

   What|Removed |Added

 Status|WAITING |RESOLVED
 Resolution|--- |INVALID

--- Comment #11 from Andrew Pinski pinskia at gcc dot gnu.org ---
No feedback on information about mpfr/gmp so closing as invalid.  This target
is known to work and does for others.


[Bug middle-end/50397] openssl crash due to incorrect codegen when using LTO

2013-11-09 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50397

Andrew Pinski pinskia at gcc dot gnu.org changed:

   What|Removed |Added

 Status|WAITING |RESOLVED
 Resolution|--- |INVALID

--- Comment #4 from Andrew Pinski pinskia at gcc dot gnu.org ---
No feedback in over a year so closing.


[Bug middle-end/59049] Two VOIDmode constant in comparison passed to cstoresi4

2013-11-09 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59049

--- Comment #4 from Andrew Pinski pinskia at gcc dot gnu.org ---
We do have a missed optimization due to fab being done so late.


[Bug target/57890] gcc 4.8.1 regression: loops become slower

2013-11-09 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57890

--- Comment #5 from Andrew Pinski pinskia at gcc dot gnu.org ---
*** Bug 55953 has been marked as a duplicate of this bug. ***


[Bug target/55953] hand loop faster then builtin memset

2013-11-09 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55953

Andrew Pinski pinskia at gcc dot gnu.org changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |DUPLICATE

--- Comment #6 from Andrew Pinski pinskia at gcc dot gnu.org ---
Dup.

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


[Bug lto/58723] [4.9 Regression] ICE in lto_output_edge, at lto-cgraph.c:300 for OpenMP's simd reduction

2013-11-09 Thread reichelt at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58723

Volker Reichelt reichelt at gcc dot gnu.org changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
   Last reconfirmed||2013-11-10
 CC||reichelt at gcc dot gnu.org
  Known to work||4.5.0, 4.6.0, 4.7.0, 4.8.0
Summary|ICE in lto_output_edge, at  |[4.9 Regression] ICE in
   |lto-cgraph.c:300 for|lto_output_edge, at
   |OpenMP's simd reduction |lto-cgraph.c:300 for
   ||OpenMP's simd reduction
 Ever confirmed|0   |1
  Known to fail||4.9.0

--- Comment #2 from Volker Reichelt reichelt at gcc dot gnu.org ---
Confirmed.

Even shorter testcase (compile with -O -flto -fopenmp):

===
void foo(int n)
{
  int i;
  #pragma omp simd reduction(+:n)
  for (i = 0; i  99; ++i) ;
}
===

The regression appeared between 4.9-20131005 and 4.9.0-20131012.


[Bug sanitizer/59061] Port leaksanitizer

2013-11-09 Thread kcc at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59061

--- Comment #5 from Kostya Serebryany kcc at gcc dot gnu.org ---
(In reply to Joost VandeVondele from comment #4)
 That's great... works even for Fortran code :-)
Wow! 
 
 One more question the docs mention:
 
  In performance-critical scenarios, LSan can also be used without ASan
 instrumentation. 
 
 But it is unclear from that description how that would work.. any hints ?

Clang supports -fsanitize=leak which simply links a standalone lsan library
(no instrumentation at compile time required). 
Perhaps gcc can add such option too. 

But: we do not test -fsanitize=leak on anything other than tiny tests,
so we truly support only the lsan+asan use case.

We'll need to update the wiki page to have this all explained in detail, 
thanks for raising these questions.


[Bug libfortran/38199] [4.7/4.8/4.9 Regression] missed optimization: I/O performance

2013-11-09 Thread jvdelisle at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38199

--- Comment #26 from Jerry DeLisle jvdelisle at gcc dot gnu.org ---
Test case from Comment #22

ifort:

real0m0.608s
user0m0.464s
sys0m0.080s


gfortran:

real0m22.893s
user0m21.059s
sys0m0.152s

Obviously we could do better.


[Bug target/47740] new specs function to avoid vxworks cross compiler requiring environment variable to compile

2013-11-09 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47740

--- Comment #1 from Andrew Pinski pinskia at gcc dot gnu.org ---
Patches should goto gcc-patches@ rather than here.


[Bug preprocessor/47756] Warning for #include instead of

2013-11-09 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47756

Andrew Pinski pinskia at gcc dot gnu.org changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |INVALID

--- Comment #3 from Andrew Pinski pinskia at gcc dot gnu.org ---
Using  will work anyways as  is defined to look at the same directory of 
after looking at the ones for .  So Again how do you define that?  Since
there have been no real definition of this warning in over 2 years closing as
invalid.


[Bug target/47842] gcc forces 16-byte stack alignment on Solaris i386, when SYSV requires word alignment

2013-11-09 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47842

Andrew Pinski pinskia at gcc dot gnu.org changed:

   What|Removed |Added

 Status|WAITING |RESOLVED
 Resolution|--- |INVALID

--- Comment #4 from Andrew Pinski pinskia at gcc dot gnu.org ---
(In reply to Yuri from comment #3)
 The problem is that gcc assumes that stack is 16 aligned and creates code
 based on this. For example it places instruction like this 'movdqa %xmm0,
 0x10(%esp)' which assumes 16 byte alignment. As a result, gcc compiled
 procedure crashes when called by ABI compliant code.

We need a testcase and one has not been forth coming in the last 2 years so
closing as invalid.


[Bug c++/47929] unclear prototype for '...' does not match any in class diagnostic for templates

2013-11-09 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47929

Andrew Pinski pinskia at gcc dot gnu.org changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
   Last reconfirmed||2013-11-10
 Ever confirmed|0   |1

--- Comment #1 from Andrew Pinski pinskia at gcc dot gnu.org ---
Confirmed.


[Bug c++/47960] dlopen call during DSO initialization breaks C++ RTTI

2013-11-09 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47960

Andrew Pinski pinskia at gcc dot gnu.org changed:

   What|Removed |Added

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

--- Comment #7 from Andrew Pinski pinskia at gcc dot gnu.org ---
Fixed so closing as such.


[Bug middle-end/48099] Evaluation order of arguments in a call expression

2013-11-09 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48099

--- Comment #3 from Andrew Pinski pinskia at gcc dot gnu.org ---
What front-end requires flag_evaluation_order now?


[Bug target/47779] Problem cross-compiling trunk for bfin

2013-11-09 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47779

Andrew Pinski pinskia at gcc dot gnu.org changed:

   What|Removed |Added

   Keywords||build
 Target||bfin-uclinux
   Severity|major   |normal


[Bug bootstrap/48474] gcc fails to bootstrap

2013-11-09 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48474

--- Comment #3 from Andrew Pinski pinskia at gcc dot gnu.org ---
Also don't patches goto gcc-patches@ .


[Bug middle-end/48782] unused-but-set static variables are not optimized out

2013-11-09 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48782

Andrew Pinski pinskia at gcc dot gnu.org changed:

   What|Removed |Added

   Keywords||missed-optimization
 Status|UNCONFIRMED |NEW
   Last reconfirmed||2013-11-10
  Component|c   |middle-end
 Ever confirmed|0   |1

--- Comment #1 from Andrew Pinski pinskia at gcc dot gnu.org ---
Confirmed.


[Bug target/47930] -marm is undocumented; driver accepts -mno-thumb

2013-11-09 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47930

Andrew Pinski pinskia at gcc dot gnu.org changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED
   Target Milestone|--- |4.7.0

--- Comment #2 from Andrew Pinski pinskia at gcc dot gnu.org ---
Fixed.


[Bug target/49046] code fragment with inline assembly seg faults gcc

2013-11-09 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49046

Andrew Pinski pinskia at gcc dot gnu.org changed:

   What|Removed |Added

 Status|WAITING |RESOLVED
 Resolution|--- |INVALID

--- Comment #4 from Andrew Pinski pinskia at gcc dot gnu.org ---
Invalid as this is a bug in the assembler and not GCC.


[Bug rtl-optimization/49034] ARM optimizer generating incorrect code (causing bad pointer dereference)

2013-11-09 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49034

Andrew Pinski pinskia at gcc dot gnu.org changed:

   What|Removed |Added

 Status|WAITING |RESOLVED
 Resolution|--- |INVALID

--- Comment #3 from Andrew Pinski pinskia at gcc dot gnu.org ---
No testcase forth coming in the last 2 years so closing.


[Bug middle-end/49207] Instruction scheduling error in GCC mips cross-compiler

2013-11-09 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49207

Andrew Pinski pinskia at gcc dot gnu.org changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
  Component|c   |middle-end
 Resolution|--- |INVALID

--- Comment #5 from Andrew Pinski pinskia at gcc dot gnu.org ---
(In reply to hanib from comment #4)
 (In reply to comment #3)
  I think you have an aliasing problem in your code.
 
 The code I am compiling is the Perlbench benchmark from SPEC-CPU2006. If I
 compile the code for an Intel machine using -O2 there is no problem. This
 problem only appears when I use the GCC MIPS cross-compiler with the -O2
 switch. I also traced through the code and the sequence of these two
 instructions should be reversed.

Perl in SPEC CPU 2006 has known aliasing bugs in it; just use
-fno-strict-aliasing.


[Bug target/47739] gcc 4.4.5 with target powerpc-wrs-vxworks fails to compile

2013-11-09 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47739

Andrew Pinski pinskia at gcc dot gnu.org changed:

   What|Removed |Added

   Keywords||build
 Target||*-vxworks

--- Comment #2 from Andrew Pinski pinskia at gcc dot gnu.org ---
/* Both kernels and RTPs have the facilities required by this macro.  */
#define TARGET_POSIX_IO


That is the comment from vxworks.h.  I bet this is due to vxworks support not
being maintained at all.


[Bug target/49376] ICE when compiling linux kernel on mipsel

2013-11-09 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49376

Andrew Pinski pinskia at gcc dot gnu.org changed:

   What|Removed |Added

 Status|UNCONFIRMED |WAITING
   Last reconfirmed||2013-11-10
 Ever confirmed|0   |1

--- Comment #1 from Andrew Pinski pinskia at gcc dot gnu.org ---
Does this work in a latter version of the compiler?


[Bug driver/49370] flags implemented in the specs file but undocumented

2013-11-09 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49370

Andrew Pinski pinskia at gcc dot gnu.org changed:

   What|Removed |Added

   Keywords||documentation
 Status|UNCONFIRMED |NEW
   Last reconfirmed||2013-11-10
  Component|other   |driver
 Ever confirmed|0   |1

--- Comment #1 from Andrew Pinski pinskia at gcc dot gnu.org ---
Confirmed.


[Bug libmudflap/49449] -fmudflapth -lmudflapth problems with -fvisibility=hidden, missing posix_memalign wrapper and pointers in varargs

2013-11-09 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49449

Andrew Pinski pinskia at gcc dot gnu.org changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |WONTFIX
   Target Milestone|--- |4.9.0

--- Comment #2 from Andrew Pinski pinskia at gcc dot gnu.org ---
fmudflap has been removed.


[Bug libmudflap/24830] Duplicate constructors with -fmudflap

2013-11-09 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24830

Andrew Pinski pinskia at gcc dot gnu.org changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |WONTFIX
   Target Milestone|--- |4.9.0

--- Comment #4 from Andrew Pinski pinskia at gcc dot gnu.org ---
fmudflap support has been removed.


[Bug libmudflap/27526] mudflap mishandles mmap when compiled -D_FILE_OFFSET_BITS=64

2013-11-09 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27526

Andrew Pinski pinskia at gcc dot gnu.org changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |WONTFIX
   Target Milestone|--- |4.9.0

--- Comment #1 from Andrew Pinski pinskia at gcc dot gnu.org ---
fmudflap support has been removed.


[Bug libmudflap/29691] libmudflap misses buffer overrun in sprintf

2013-11-09 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29691

Andrew Pinski pinskia at gcc dot gnu.org changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |WONTFIX
   Target Milestone|--- |4.9.0

--- Comment #2 from Andrew Pinski pinskia at gcc dot gnu.org ---
fmudflap support has been removed.


[Bug libmudflap/28536] Reading or assigning global h_errno variable causes a memory violation report

2013-11-09 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28536

Andrew Pinski pinskia at gcc dot gnu.org changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |WONTFIX
   Target Milestone|--- |4.9.0

--- Comment #1 from Andrew Pinski pinskia at gcc dot gnu.org ---
fmudflap support has been removed.


[Bug libmudflap/24839] Mudflap not registering unreferenced globals

2013-11-09 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24839

Andrew Pinski pinskia at gcc dot gnu.org changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |WONTFIX
   Target Milestone|--- |4.9.0

--- Comment #1 from Andrew Pinski pinskia at gcc dot gnu.org ---
fmudflap support has been removed.


[Bug libmudflap/28188] dynamic linkage error for shared libraries compiled and linked against libmudflapth

2013-11-09 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28188

Andrew Pinski pinskia at gcc dot gnu.org changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |WONTFIX
   Target Milestone|--- |4.9.0

--- Comment #2 from Andrew Pinski pinskia at gcc dot gnu.org ---
fmudflap support has been removed.


[Bug libmudflap/41559] fgetc_unlocked fails with -fmudflap -O1

2013-11-09 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41559

Andrew Pinski pinskia at gcc dot gnu.org changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |WONTFIX
   Target Milestone|--- |4.9.0

--- Comment #2 from Andrew Pinski pinskia at gcc dot gnu.org ---
fmudflap support has been removed.


[Bug c/30592] -fmudflap and -Wnested-externs conflict

2013-11-09 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30592

Andrew Pinski pinskia at gcc dot gnu.org changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |WONTFIX
   Target Milestone|--- |4.9.0

--- Comment #1 from Andrew Pinski pinskia at gcc dot gnu.org ---
fmudflap support has been removed.


[Bug libmudflap/38766] mudflap cannot detect errors on stack of nptl thread

2013-11-09 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38766

Andrew Pinski pinskia at gcc dot gnu.org changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |WONTFIX
   Target Milestone|--- |4.9.0

--- Comment #3 from Andrew Pinski pinskia at gcc dot gnu.org ---
fmudflap support has been removed.


[Bug libmudflap/43063] libmudflap: errors when accessing struct lconv members

2013-11-09 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43063

Andrew Pinski pinskia at gcc dot gnu.org changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |WONTFIX
   Target Milestone|--- |4.9.0

--- Comment #1 from Andrew Pinski pinskia at gcc dot gnu.org ---
fmudflap support has been removed.


[Bug libmudflap/18885] linker does not link libmudflap automatically with -fmudflap

2013-11-09 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18885

Andrew Pinski pinskia at gcc dot gnu.org changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |WONTFIX
   Target Milestone|--- |4.9.0

--- Comment #5 from Andrew Pinski pinskia at gcc dot gnu.org ---
fmudflap support has been removed.


[Bug libmudflap/48485] mudflap don't discover mistake - negative one index on static array i.e. a[-1]=b;

2013-11-09 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48485

Andrew Pinski pinskia at gcc dot gnu.org changed:

   What|Removed |Added

 Status|WAITING |RESOLVED
 Resolution|--- |WONTFIX
   Target Milestone|--- |4.9.0

--- Comment #6 from Andrew Pinski pinskia at gcc dot gnu.org ---
fmudflap support has been removed.


[Bug c/42885] -fmudflap prevents 'conflicting types' warning

2013-11-09 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42885

Andrew Pinski pinskia at gcc dot gnu.org changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |WONTFIX
   Target Milestone|--- |4.9.0

--- Comment #2 from Andrew Pinski pinskia at gcc dot gnu.org ---
fmudflap support has been removed.


[Bug middle-end/51764] mudflap does not work with LTO

2013-11-09 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51764

Andrew Pinski pinskia at gcc dot gnu.org changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |WONTFIX
   Target Milestone|--- |4.9.0

--- Comment #3 from Andrew Pinski pinskia at gcc dot gnu.org ---
fmudflap support has been removed.


[Bug libmudflap/33591] mudflap gives warnings exceeding bounds on valid code, when using readdir(2) on large directories

2013-11-09 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33591

Andrew Pinski pinskia at gcc dot gnu.org changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |WONTFIX
   Target Milestone|--- |4.9.0

--- Comment #3 from Andrew Pinski pinskia at gcc dot gnu.org ---
fmudflap support has been removed.


[Bug libmudflap/24420] mudflap doesnt work with DSOs?

2013-11-09 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24420

Andrew Pinski pinskia at gcc dot gnu.org changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |WONTFIX
   Target Milestone|--- |4.9.0

--- Comment #6 from Andrew Pinski pinskia at gcc dot gnu.org ---
fmudflap support has been removed.


[Bug libmudflap/56105] [static const array + array on stack] - Mudflap false violation

2013-11-09 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56105

Andrew Pinski pinskia at gcc dot gnu.org changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |WONTFIX
   Target Milestone|--- |4.9.0

--- Comment #1 from Andrew Pinski pinskia at gcc dot gnu.org ---
fmudflap support has been removed.


[Bug libmudflap/26446] Running large program compiled with mudflap aborts even before reaching main()

2013-11-09 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26446

Andrew Pinski pinskia at gcc dot gnu.org changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |WONTFIX
   Target Milestone|--- |4.9.0

--- Comment #10 from Andrew Pinski pinskia at gcc dot gnu.org ---
fmudflap support has been removed.


[Bug libmudflap/56390] [setjmp/longjmp] Mudflap false violation

2013-11-09 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56390

Andrew Pinski pinskia at gcc dot gnu.org changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |WONTFIX
   Target Milestone|--- |4.9.0

--- Comment #1 from Andrew Pinski pinskia at gcc dot gnu.org ---
fmudflap support has been removed.


[Bug libmudflap/44661] Link order (?) might cause threaded libmudflap to assert

2013-11-09 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44661

Andrew Pinski pinskia at gcc dot gnu.org changed:

   What|Removed |Added

 Status|REOPENED|RESOLVED
 Resolution|--- |WONTFIX
   Target Milestone|--- |4.9.0

--- Comment #7 from Andrew Pinski pinskia at gcc dot gnu.org ---
fmudflap support has been removed.


[Bug libmudflap/37927] Mudflap : invalid reads when accessing static objects in shared libraries

2013-11-09 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37927

Andrew Pinski pinskia at gcc dot gnu.org changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |WONTFIX
   Target Milestone|--- |4.9.0

--- Comment #5 from Andrew Pinski pinskia at gcc dot gnu.org ---
fmudflap support has been removed.


[Bug libmudflap/41253] mudflap complains about c++ temporary passed in to global ctor

2013-11-09 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41253

Andrew Pinski pinskia at gcc dot gnu.org changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |WONTFIX
   Target Milestone|--- |4.9.0

--- Comment #3 from Andrew Pinski pinskia at gcc dot gnu.org ---
fmudflap support has been removed.


[Bug libmudflap/31845] Need to adjust libmudflap timeout values in testsuite.

2013-11-09 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31845

Andrew Pinski pinskia at gcc dot gnu.org changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |WONTFIX
   Target Milestone|--- |4.9.0

--- Comment #9 from Andrew Pinski pinskia at gcc dot gnu.org ---
fmudflap support has been removed.


[Bug libmudflap/27348] mudflap produces a bogus error with memcmp that goes over the size

2013-11-09 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27348

Andrew Pinski pinskia at gcc dot gnu.org changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |WONTFIX
   Target Milestone|--- |4.9.0

--- Comment #7 from Andrew Pinski pinskia at gcc dot gnu.org ---
fmudflap support has been removed.


  1   2   >