[Bug tree-optimization/64269] [4.8/4.9/5 Regression] ICE with -O3 enabled on Ubuntu 14.04

2014-12-13 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64269

--- Comment #7 from Jakub Jelinek jakub at gcc dot gnu.org ---
Author: jakub
Date: Sat Dec 13 08:43:09 2014
New Revision: 218703

URL: https://gcc.gnu.org/viewcvs?rev=218703root=gccview=rev
Log:
Backported from mainline
2014-12-12  Jakub Jelinek  ja...@redhat.com

PR tree-optimization/64269
* tree-ssa-forwprop.c (simplify_builtin_call): Bail out if
len2 or diff are too large.

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

Added:
branches/gcc-4_9-branch/gcc/testsuite/gcc.c-torture/compile/pr64269.c
Modified:
branches/gcc-4_9-branch/gcc/ChangeLog
branches/gcc-4_9-branch/gcc/testsuite/ChangeLog
branches/gcc-4_9-branch/gcc/tree-ssa-forwprop.c


[Bug tree-optimization/64269] [4.8/4.9/5 Regression] ICE with -O3 enabled on Ubuntu 14.04

2014-12-13 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64269

--- Comment #8 from Jakub Jelinek jakub at gcc dot gnu.org ---
Author: jakub
Date: Sat Dec 13 08:57:05 2014
New Revision: 218704

URL: https://gcc.gnu.org/viewcvs?rev=218704root=gccview=rev
Log:
Backported from mainline
2014-12-12  Jakub Jelinek  ja...@redhat.com

PR tree-optimization/64269
* tree-ssa-forwprop.c (simplify_builtin_call): Bail out if
len2 or diff are too large.

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

Added:
branches/gcc-4_8-branch/gcc/testsuite/gcc.c-torture/compile/pr64269.c
Modified:
branches/gcc-4_8-branch/gcc/ChangeLog
branches/gcc-4_8-branch/gcc/testsuite/ChangeLog
branches/gcc-4_8-branch/gcc/tree-ssa-forwprop.c


[Bug tree-optimization/64269] [4.8/4.9/5 Regression] ICE with -O3 enabled on Ubuntu 14.04

2014-12-13 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64269

Jakub Jelinek jakub at gcc dot gnu.org changed:

   What|Removed |Added

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

--- Comment #9 from Jakub Jelinek jakub at gcc dot gnu.org ---
Fixed.


[Bug tree-optimization/64295] New: [5 Regression] ICE: SIGSEGV (infinite recursion) with -frounding-math -funsafe-math-optimizations

2014-12-13 Thread zsojka at seznam dot cz
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64295

Bug ID: 64295
   Summary: [5 Regression] ICE: SIGSEGV (infinite recursion) with
-frounding-math -funsafe-math-optimizations
   Product: gcc
   Version: 5.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: tree-optimization
  Assignee: unassigned at gcc dot gnu.org
  Reporter: zsojka at seznam dot cz

Created attachment 34273
  -- https://gcc.gnu.org/bugzilla/attachment.cgi?id=34273action=edit
reduced testcase

Compiler output:
$ gcc -O -frounding-math -funsafe-math-optimizations testcase.c
gcc: internal compiler error: Segmentation fault (program cc1)
0x40c085 execute
/mnt/svn/gcc-trunk/gcc/gcc.c:2912
0x40c319 do_spec_1
/mnt/svn/gcc-trunk/gcc/gcc.c:4845
0x40e917 process_brace_body
/mnt/svn/gcc-trunk/gcc/gcc.c:6128
0x40e917 handle_braces
/mnt/svn/gcc-trunk/gcc/gcc.c:6042
0x40d317 do_spec_1
/mnt/svn/gcc-trunk/gcc/gcc.c:5499
0x40e917 process_brace_body
/mnt/svn/gcc-trunk/gcc/gcc.c:6128
0x40e917 handle_braces
/mnt/svn/gcc-trunk/gcc/gcc.c:6042
0x40d317 do_spec_1
/mnt/svn/gcc-trunk/gcc/gcc.c:5499
0x40c6a3 do_spec_1
/mnt/svn/gcc-trunk/gcc/gcc.c:5614
0x40e917 process_brace_body
/mnt/svn/gcc-trunk/gcc/gcc.c:6128
0x40e917 handle_braces
/mnt/svn/gcc-trunk/gcc/gcc.c:6042
0x40d317 do_spec_1
/mnt/svn/gcc-trunk/gcc/gcc.c:5499
0x40e917 process_brace_body
/mnt/svn/gcc-trunk/gcc/gcc.c:6128
0x40e917 handle_braces
/mnt/svn/gcc-trunk/gcc/gcc.c:6042
0x40d317 do_spec_1
/mnt/svn/gcc-trunk/gcc/gcc.c:5499
0x40e917 process_brace_body
/mnt/svn/gcc-trunk/gcc/gcc.c:6128
0x40e917 handle_braces
/mnt/svn/gcc-trunk/gcc/gcc.c:6042
0x40d317 do_spec_1
/mnt/svn/gcc-trunk/gcc/gcc.c:5499
0x40e917 process_brace_body
/mnt/svn/gcc-trunk/gcc/gcc.c:6128
0x40e917 handle_braces
/mnt/svn/gcc-trunk/gcc/gcc.c:6042
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See http://gcc.gnu.org/bugs.html for instructions.

Tested revisions:
r218658 - ICE
4_9 r218177 - OK


[Bug tree-optimization/63551] [4.9/5 Regression] wrong code (segfaults) at -Os on x86_64-linux-gnu

2014-12-13 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63551

--- Comment #11 from Jakub Jelinek jakub at gcc dot gnu.org ---
The gcc.dg/ipa/pr63551.c test fails on the 4.9 branch on 32-bit targets (i386,
arm, s390):
gcc.dg/ipa/pr63551.c:24:9: warning: this decimal constant is unsigned only in
ISO C90
Seems the test is equally miscompiled before r218205 and works after the fix if
4294967286 is replaced with 4294967286U .
Are you ok with that change?


[Bug middle-end/64028] [5 Regression] r211599 caused many vectorizer test failures with -fPIC

2014-12-13 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64028

Uroš Bizjak ubizjak at gmail dot com changed:

   What|Removed |Added

 Target||i686
 Status|UNCONFIRMED |NEW
   Last reconfirmed||2014-12-13
 Ever confirmed|0   |1

--- Comment #2 from Uroš Bizjak ubizjak at gmail dot com ---
Confirmed.

[Bug middle-end/64028] [5 Regression] r211599 caused many vectorizer test failures with -fPIC

2014-12-13 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64028

--- Comment #3 from Uroš Bizjak ubizjak at gmail dot com ---
(In reply to Uroš Bizjak from comment #2)
 Confirmed.

Still happens on trunk [1].

[1] https://gcc.gnu.org/ml/gcc-testresults/2014-12/msg01629.html

[Bug middle-end/58624] gcc internal compiler error: Segmentaion fault in insert_to_assembler_name_hash

2014-12-13 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58624

Jakub Jelinek jakub at gcc dot gnu.org changed:

   What|Removed |Added

 CC||jakub at gcc dot gnu.org

--- Comment #13 from Jakub Jelinek jakub at gcc dot gnu.org ---
Note the thread_local10.C test fails on the 4.8 branch.
The problem is that the 4.8 branch doesn't contain the
https://gcc.gnu.org/viewcvs/gcc/trunk/gcc/testsuite/g%2B%2B.dg/plugin/plugin.exp?r1=208416r2=208415pathrev=208416limit_changes=0view=patch
the change and thus if plugin.exp is run before tls.exp, the default flags
include -ansi.
Jason, do you think that change (just the plugin.exp one) is ok for 4.8.4, or
alternatively we can add something like
// { dg-options  }
to the test.


[Bug jit/64296] New: link failure of libgccjit.so for in tree gmp/mpc/mpfr/isl

2014-12-13 Thread alfred.minarik.1 at aon dot at
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64296

Bug ID: 64296
   Summary: link failure of libgccjit.so for in tree
gmp/mpc/mpfr/isl
   Product: gcc
   Version: 5.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: jit
  Assignee: dmalcolm at gcc dot gnu.org
  Reporter: alfred.minarik.1 at aon dot at

using in tree gmp/mpc/mpfr/isl (as following contrib/download_prerequisites)
does not work with building jit.

gcc is correctly configured with --enable-host-shared but this information is
obviously not transferd into (or ignored by ?) gmp/mpc/mpfr/isl. Those static
libraries are still build without -fPIC,resulting in relocation failures while
linking libgccjit.so.

am@linux:~/tools/gcc LANG=C gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/local2/gcc_4.9.2/lib/gcc/x86_64-unknown-linux-gnu/4.9.2/lto-wrapper
Target: x86_64-unknown-linux-gnu
Configured with: /home/am/tools/gcc/gcc/configure
--prefix=/usr/local2/gcc_4.9.2 --enable-languages=all,ada,go,obj-c++
Thread model: posix
gcc version 4.9.2 (GCC) 

LANG=C $GCCSRC_/configure --prefix=/usr/local2/gcc_exp
--enable-languages=c,c++,jit --disable-multilib --enable-checking=release
--enable-host-shared


[Bug bootstrap/64023] [5 Regression] r216964 breaks bootstrap on darwin when using gcc as the bootstrap compiler.

2014-12-13 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64023

--- Comment #6 from Jakub Jelinek jakub at gcc dot gnu.org ---
Author: jakub
Date: Sat Dec 13 11:24:37 2014
New Revision: 218705

URL: https://gcc.gnu.org/viewcvs?rev=218705root=gccview=rev
Log:
PR bootstrap/64023
* Makefile.tpl (EXTRA_TARGET_FLAGS): Set STAGE1_LDFLAGS
to POSTSTAGE1_LDFLAGS and STAGE1_LIBS to POSTSTAGE1_LIBS.
Add -B to libstdc++-v3/src/.libs and libstdc++-v3/libsupc++/.libs
to CXX.
* Makefile.in: Regenerated.

Modified:
trunk/ChangeLog
trunk/Makefile.in
trunk/Makefile.tpl


[Bug target/53513] [SH] Add support for fschg and fpchg insns and improve fenv support

2014-12-13 Thread olegendo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53513

--- Comment #44 from Oleg Endo olegendo at gcc dot gnu.org ---
Author: olegendo
Date: Sat Dec 13 13:17:55 2014
New Revision: 218707

URL: https://gcc.gnu.org/viewcvs?rev=218707root=gccview=rev
Log:
gcc/testsuite/
PR target/53513
* gcc.target/sh/attr-isr-nosave_low_regs.c: Fix matching of expected
register push/pop sequences.
* gcc.target/sh/attr-isr.c: Likewise.
* gcc.target/sh/attr-isr-trapa.c: Likewise.
* gcc.target/sh/pragma-isr-nosave_low_regs.c: Likewise.
* gcc.target/sh/pragma-isr-trapa.c: Likewise.
* gcc.target/sh/pragma-isr-trapa2.c: Likewise.

Modified:
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/gcc.target/sh/attr-isr-nosave_low_regs.c
trunk/gcc/testsuite/gcc.target/sh/attr-isr-trapa.c
trunk/gcc/testsuite/gcc.target/sh/attr-isr.c
trunk/gcc/testsuite/gcc.target/sh/pragma-isr-nosave_low_regs.c
trunk/gcc/testsuite/gcc.target/sh/pragma-isr-trapa.c
trunk/gcc/testsuite/gcc.target/sh/pragma-isr-trapa2.c


[Bug c++/64297] New: [5 Regression] ICE: canonical types differ for identical types

2014-12-13 Thread reichelt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64297

Bug ID: 64297
   Summary: [5 Regression] ICE: canonical types differ for
identical types
   Product: gcc
   Version: 5.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: c++
  Assignee: unassigned at gcc dot gnu.org
  Reporter: reichelt at gcc dot gnu.org

The followiong valid testcase triggers an ICE on trunk:

=
#include functional

struct A
{
  typedef bool X;
  templateint X foo() const;
};

std::functionbool(const A*) b(A::foo0);
=

bug.cc:9:43: internal compiler error: canonical types differ for identical
types bool() const and A::X() const {aka bool() const}
 std::functionbool(const A*) b(A::foo0);
   ^
0x74279e comptypes(tree_node*, tree_node*, int)
../../gcc/gcc/cp/typeck.c:1419
0x6b4c31 resolve_address_of_overloaded_function
../../gcc/gcc/cp/class.c:7490
0x5fc3a6 standard_conversion
../../gcc/gcc/cp/call.c:1124
0x609528 implicit_conversion
../../gcc/gcc/cp/call.c:1785
0x60ada2 add_function_candidate
../../gcc/gcc/cp/call.c:2092
0x60bb88 add_template_candidate_real
../../gcc/gcc/cp/call.c:3090
0x60c27c add_template_candidate
../../gcc/gcc/cp/call.c:3132
0x60c27c add_candidates
../../gcc/gcc/cp/call.c:5263
0x608351 build_user_type_conversion_1
../../gcc/gcc/cp/call.c:3640
0x60982f implicit_conversion
../../gcc/gcc/cp/call.c:1844
0x6090e5 reference_binding
../../gcc/gcc/cp/call.c:1704
0x609544 implicit_conversion
../../gcc/gcc/cp/call.c:1783
0x60ada2 add_function_candidate
../../gcc/gcc/cp/call.c:2092
0x60c2c7 add_candidates
../../gcc/gcc/cp/call.c:5273
0x601d70 build_new_method_call_1
../../gcc/gcc/cp/call.c:8021
0x601d70 build_new_method_call(tree_node*, tree_node*, vectree_node*, va_gc,
vl_embed**, tree_node*, int, tree_node**, int)
../../gcc/gcc/cp/call.c:8217
0x603389 build_special_member_call(tree_node*, tree_node*, vectree_node*,
va_gc, vl_embed**, tree_node*, int, int)
../../gcc/gcc/cp/call.c:7761
0x76c059 expand_default_init
../../gcc/gcc/cp/init.c:1720
0x76c059 expand_aggr_init_1
../../gcc/gcc/cp/init.c:1821
0x76cd14 build_aggr_init(tree_node*, tree_node*, int, int)
../../gcc/gcc/cp/init.c:1573
Please submit a full bug report, [etc.]

The regression was introduced between 2014-10-24 and 2014-11-14.


[Bug c++/64297] [5 Regression] ICE: canonical types differ for identical types

2014-12-13 Thread reichelt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64297

Volker Reichelt reichelt at gcc dot gnu.org changed:

   What|Removed |Added

   Keywords||ice-on-valid-code
  Known to work||4.7.0, 4.8.0, 4.9.0
   Target Milestone|--- |5.0
  Known to fail||5.0


[Bug c++/57846] CRTP, templates, metaprogramming, forwarding and static member

2014-12-13 Thread harald at gigawatt dot nl
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57846

Harald van Dijk harald at gigawatt dot nl changed:

   What|Removed |Added

 CC||harald at gigawatt dot nl

--- Comment #3 from Harald van Dijk harald at gigawatt dot nl ---
Somewhat reduced:

template typename T
struct A
{
  template typename T2
  void f();
};

template typename T
struct B
{
  int f() const;

  template typename T2 = T, typename = decltype(AT2().template fT2(T2()))
  void f();

  void g() {
int *i = Bint().f();
  }
};

Accepted by clang 3.4.2, rejected by gcc 4.8.3 and 4.9.0 with:

test.cc: In member function ‘void BT::g()’:
test.cc:17:26: error: lvalue required as unary ‘’ operand

It seems to only happen when certain operators are used: there is no error when
doing e.g.

  int i = Bint().f();

[Bug ipa/64298] New: [5 Regression] ICE: Segmentation fault in get_binfo_at_offset at tree.c:11914

2014-12-13 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64298

Bug ID: 64298
   Summary: [5 Regression] ICE: Segmentation fault in
get_binfo_at_offset at tree.c:11914
   Product: gcc
   Version: 5.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: ipa
  Assignee: unassigned at gcc dot gnu.org
  Reporter: danglin at gcc dot gnu.org
  Host: hppa-unknown-linux-gnu
Target: hppa-unknown-linux-gnu
 Build: hppa-unknown-linux-gnu

In r218651, the following ICE occurs:

spawn /home/dave/gnu/gcc/objdir/gcc/testsuite/g++/../../xg++
-B/home/dave/gnu/gc
c/objdir/gcc/testsuite/g++/../../
/home/dave/gnu/gcc/gcc/gcc/testsuite/g++.dg/ip
a/pr64059.C -fno-diagnostics-show-caret -fdiagnostics-color=never -nostdinc++
-I/home/dave/gnu/gcc/objdir/hppa-linux-gnu/libstdc++-v3/include/hppa-linux-gnu
-I/
home/dave/gnu/gcc/objdir/hppa-linux-gnu/libstdc++-v3/include
-I/home/dave/gnu/gc
c/gcc/libstdc++-v3/libsupc++
-I/home/dave/gnu/gcc/gcc/libstdc++-v3/include/backw
ard -I/home/dave/gnu/gcc/gcc/libstdc++-v3/testsuite/util -fmessage-length=0
-std
=gnu++98 -r -nostdlib -O2 -flto -fno-devirtualize -S -o pr64059.s
/home/dave/gnu/gcc/gcc/gcc/testsuite/g++.dg/ipa/pr64059.C:56:1: internal
compiler error: Segmentation fault
0x685e57 crash_signal
../../gcc/gcc/toplev.c:358
0x894508 get_binfo_at_offset(tree_node*, long long, tree_node*)
../../gcc/gcc/tree.c:11914
0x4d044f possible_polymorphic_call_targets(tree_node*, long long,
ipa_polymorphi
c_call_context, bool*, void**, bool)
../../gcc/gcc/ipa-devirt.c:2404
0x5661db possible_polymorphic_call_targets(cgraph_edge*, bool*, void**, bool)
../../gcc/gcc/ipa-utils.h:109
0x5661db compute_ltrans_boundary(lto_symtab_encoder_d*)
../../gcc/gcc/lto-cgraph.c:952
0x5bfabb ipa_write_summaries(bool)
../../gcc/gcc/passes.c:2511
0x327e53 ipa_passes
../../gcc/gcc/cgraphunit.c:2093
0x327e53 symbol_table::compile()
../../gcc/gcc/cgraphunit.c:2189
0x32936b symbol_table::finalize_compilation_unit()
../../gcc/gcc/cgraphunit.c:2338
0x191527 cp_write_global_declarations()
../../gcc/gcc/cp/decl2.c:4688
Please submit a full bug report,


[Bug tree-optimization/64295] [5 Regression] ICE: SIGSEGV (infinite recursion) with -frounding-math -funsafe-math-optimizations

2014-12-13 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64295

Jakub Jelinek jakub at gcc dot gnu.org changed:

   What|Removed |Added

   Priority|P3  |P1
 Status|UNCONFIRMED |NEW
   Last reconfirmed||2014-12-13
 CC||jakub at gcc dot gnu.org
   Target Milestone|--- |5.0
 Ever confirmed|0   |1

--- Comment #1 from Jakub Jelinek jakub at gcc dot gnu.org ---
Started with r217545.


[Bug target/64299] New: [SH] improve FPSCR.PR mode switching by reordering insns

2014-12-13 Thread olegendo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64299

Bug ID: 64299
   Summary: [SH] improve FPSCR.PR mode switching by reordering
insns
   Product: gcc
   Version: 5.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: target
  Assignee: unassigned at gcc dot gnu.org
  Reporter: olegendo at gcc dot gnu.org
Target: sh*-*-*

Compiling the following function with -O2 results in 4 FPSCR.PR mode switches:

double test_0 (const float* a, const float* b, const double* c, float x)
{
  float aa = a[0] * b[0];  // single
  double cc = c[0] + c[1];  // double

  aa += b[1] * b[2];  // single
  cc += c[2] + c[3];  // double
  aa += b[3] * b[4];  // single

  return aa / cc; // double
}

Since the calculations are independent and FPSCR flags are not read between the
operations, the fp insns can be reordered to reduce the amount of mode
switches.  The resulting code should be the same as when doing the reordering
manually:

double test_1 (const float* a, const float* b, const double* c, float x)
{
  float aa = a[0] * b[0] + b[1] * b[2] + b[3] * b[4];  // single
  double cc = c[0] + c[1] + c[2] + c[3];  // double

  return aa / cc; // double
}

which results in only 2 FPSCR.PR mode switches.


Moreover, the following example

double test_2 (const float* x, const double* y, unsigned int c)
{
  float var0 = 0;
  double var1 = 0;

  while (c--)
  {
float xx = x[0] * x[1] + x[2] + 123.0f;
x += 3;

double yy = y[0] + y[1];
y += 2;

var0 += xx;
var1 += yy;
  }

  return var0 + var1;
}

is a good candidate for doing loop distribution.  Since var0 and var1 are
independent the loop can be replaced with a single precision loop and a double
precision loop, eliminating the FPSCR.PR mode switches inside the loop.


[Bug c++/64293] [C++14] explicit instantiation declaration suppresses instantiation of constexpr constructor

2014-12-13 Thread ville.voutilainen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64293

Ville Voutilainen ville.voutilainen at gmail dot com changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
   Last reconfirmed||2014-12-13
 CC||ville.voutilainen at gmail dot 
com
 Ever confirmed|0   |1


[Bug c++/63604] [C++11] A direct-initialization of a reference should use explicit conversion functions

2014-12-13 Thread ville.voutilainen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63604

Ville Voutilainen ville.voutilainen at gmail dot com changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
   Last reconfirmed||2014-12-13
 Ever confirmed|0   |1



[Bug c++/63296] g++ reports incomplete type for static template member of template class

2014-12-13 Thread ville.voutilainen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63296

Ville Voutilainen ville.voutilainen at gmail dot com changed:

   What|Removed |Added

   Keywords||rejects-valid
 Status|UNCONFIRMED |NEW
   Last reconfirmed||2014-12-13
 CC||ville.voutilainen at gmail dot 
com
 Ever confirmed|0   |1
  Known to fail||4.8.2, 4.9.1, 5.0

--- Comment #2 from Ville Voutilainen ville.voutilainen at gmail dot com ---
Clang accepts the code.


[Bug c++/63378] decltype and access control issues

2014-12-13 Thread ville.voutilainen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63378

Ville Voutilainen ville.voutilainen at gmail dot com changed:

   What|Removed |Added

   Keywords||rejects-valid
 Status|UNCONFIRMED |NEW
   Last reconfirmed||2014-12-13
 CC||ville.voutilainen at gmail dot 
com
 Ever confirmed|0   |1
  Known to fail||4.8.2, 4.9.1, 5.0


[Bug c++/63263] friend declaration of function template specialization gets confused when specialization was forward declared.

2014-12-13 Thread ville.voutilainen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63263

Ville Voutilainen ville.voutilainen at gmail dot com changed:

   What|Removed |Added

   Keywords||rejects-valid
 Status|UNCONFIRMED |NEW
   Last reconfirmed||2014-12-13
 CC||ville.voutilainen at gmail dot 
com
 Ever confirmed|0   |1
  Known to fail||4.8.2, 4.9.1, 5.0

--- Comment #3 from Ville Voutilainen ville.voutilainen at gmail dot com ---
Trunk no longer ICEs. Clang accepts the code.


[Bug c++/63217] template conversion operator returning const reference not used for conversion in some cases

2014-12-13 Thread ville.voutilainen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63217

Ville Voutilainen ville.voutilainen at gmail dot com changed:

   What|Removed |Added

   Keywords||rejects-valid
 Status|UNCONFIRMED |NEW
   Last reconfirmed||2014-12-13
 CC||ville.voutilainen at gmail dot 
com
 Ever confirmed|0   |1
  Known to fail||4.8.2, 4.9.1, 5.0


[Bug target/64300] New: s390x, ICE, unable to generate reloads, in curr_insn_transform, at lra-constraints.c

2014-12-13 Thread jan.kratochvil at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64300

Bug ID: 64300
   Summary: s390x, ICE, unable to generate reloads, in
curr_insn_transform, at lra-constraints.c
   Product: gcc
   Version: 5.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: target
  Assignee: unassigned at gcc dot gnu.org
  Reporter: jan.kratochvil at redhat dot com
  Host: x86_64-linux-gnu
Target: s390x-linux-gnu

Created attachment 34274
  -- https://gcc.gnu.org/bugzilla/attachment.cgi?id=34274action=edit
libgcc2.i

../gcchead/configure --prefix=/home/jkratoch/redhat/gccheads390x-root
--enable-languages=c --target=s390x-linux-gnu

I get the same ICE with:
CFLAGS=-g CXXFLAGS=-g CFLAGS_FOR_TARGET=-g CXXFLAGS_FOR_TARGET=-g
../gcchead/configure --prefix=/home/jkratoch/redhat/gccheads390x-root
--enable-languages=c --target=s390x-linux-gnu

r218702 | ian | 2014-12-13 02:58:46 +0100 (Sat, 13 Dec 2014) | 3 lines

/home/jkratoch/redhat/gccheads390x-build/./gcc/xgcc
-B/home/jkratoch/redhat/gccheads390x-build/./gcc/
-B/home/jkratoch/redhat/gccheads390x-root/s390x-linux-gnu/bin/
-B/home/jkratoch/redhat/gccheads390x-root/s390x-linux-gnu/lib/ -isystem
/home/jkratoch/redhat/gccheads390x-root/s390x-linux-gnu/include -isystem
/home/jkratoch/redhat/gccheads390x-root/s390x-linux-gnu/sys-include-g -O2
-m31 -O2  -g -O2 -DIN_GCC  -DCROSS_DIRECTORY_STRUCTURE  -W -Wall -Wno-narrowing
-Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes
-Wold-style-definition  -isystem ./include   -fPIC -mlong-double-128 -g
-DIN_LIBGCC2 -fbuilding-libgcc -fno-stack-protector -Dinhibit_libc  -fPIC
-mlong-double-128 -I. -I. -I../../.././gcc -I../../../../gcchead/libgcc
-I../../../../gcchead/libgcc/. -I../../../../gcchead/libgcc/../gcc
-I../../../../gcchead/libgcc/../include  -DHAVE_CC_TLS  -o _addvdi3.o -MT
_addvdi3.o -MD -MP -MF _addvdi3.dep -DL_addvdi3 -c
../../../../gcchead/libgcc/libgcc2.c -fvisibility=hidden -DHIDE_EXPORTS
-save-temps
../../../../gcchead/libgcc/libgcc2.c: In function ‘__addvdi3’:
../../../../gcchead/libgcc/libgcc2.c:109:1: error: unable to generate reloads
for:
 }
 ^
(insn 7 3 8 2 (parallel [
(set (reg/v:DI 48 [ w ])
(plus:DI (reg/v:DI 50 [ a ])
(reg/v:DI 51 [ b ])))
(clobber (reg:CC 33 %cc))
]) ../../../../gcchead/libgcc/libgcc2.c:103 324 {*adddi3_31}
 (expr_list:REG_UNUSED (reg:CC 33 %cc)
(nil)))
../../../../gcchead/libgcc/libgcc2.c:109:1: internal compiler error: in
curr_insn_transform, at lra-constraints.c:3383
0x9aa548 _fatal_insn(char const*, rtx_def const*, char const*, int, char
const*)
../../gcchead/gcc/rtl-error.c:110
0x8df546 curr_insn_transform
../../gcchead/gcc/lra-constraints.c:3383
0x8e026e lra_constraints(bool)
../../gcchead/gcc/lra-constraints.c:4324
0x8d0621 lra(_IO_FILE*)
../../gcchead/gcc/lra.c:2277
0x891909 do_reload
../../gcchead/gcc/ira.c:5391
0x891909 execute
../../gcchead/gcc/ira.c:5561
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See http://gcc.gnu.org/bugs.html for instructions.

[Bug c++/61648] g++ accepts literal operator friends for non-template classes but not for *template* classes

2014-12-13 Thread ville.voutilainen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61648

Ville Voutilainen ville.voutilainen at gmail dot com changed:

   What|Removed |Added

   Keywords||rejects-valid
 Status|UNCONFIRMED |NEW
   Last reconfirmed||2014-12-13
 CC||ville.voutilainen at gmail dot 
com
 Ever confirmed|0   |1
  Known to fail||4.8.2, 4.9.1, 5.0


[Bug c++/61936] template template friends fail to compile.

2014-12-13 Thread ville.voutilainen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61936

Ville Voutilainen ville.voutilainen at gmail dot com changed:

   What|Removed |Added

   Keywords||rejects-valid
 Status|UNCONFIRMED |NEW
   Last reconfirmed||2014-12-13
 CC||ville.voutilainen at gmail dot 
com
 Ever confirmed|0   |1
  Known to fail||4.8.2, 4.9.1, 5.0

--- Comment #2 from Ville Voutilainen ville.voutilainen at gmail dot com ---
Clang accepts the code.


[Bug c++/63149] wrong auto deduction from braced-init-list

2014-12-13 Thread ville.voutilainen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63149

Ville Voutilainen ville.voutilainen at gmail dot com changed:

   What|Removed |Added

   Keywords||rejects-valid
 Status|UNCONFIRMED |NEW
   Last reconfirmed||2014-12-13
 CC||ville.voutilainen at gmail dot 
com
 Ever confirmed|0   |1
  Known to fail||4.8.2, 4.9.1, 5.0


[Bug middle-end/64292] [5.0 regression] FAIL: g++.dg/torture/pr60474.C -O1 (internal compiler error)

2014-12-13 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64292

Marek Polacek mpolacek at gcc dot gnu.org changed:

   What|Removed |Added

 Status|UNCONFIRMED |ASSIGNED
   Last reconfirmed||2014-12-13
   Assignee|unassigned at gcc dot gnu.org  |mpolacek at gcc dot 
gnu.org
   Target Milestone|--- |5.0
 Ever confirmed|0   |1

--- Comment #1 from Marek Polacek mpolacek at gcc dot gnu.org ---
Mine.


[Bug c++/64301] New: TrinityCore error

2014-12-13 Thread jean...@redstone-city.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64301

Bug ID: 64301
   Summary: TrinityCore error
   Product: gcc
   Version: 4.7.2
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: c++
  Assignee: unassigned at gcc dot gnu.org
  Reporter: jean...@redstone-city.de

I cloned the source of TrinityCore using git (git clone
git://github.com/TrinityCore/TrinityCore.git)
After configuring with cmake ../ -DPREFIX=/home/wow/server
-DCONF_DIR=/home/wow/server/etc -DLIBSDIR=/home/wow/server/lib -DTOOLS=1
-DWITH_WARNINGS=1, I tried to make the project but it failed with the error
message: c++: internal compiler error: Segmentation fault (program cc1plus)


[Bug c++/64301] TrinityCore error

2014-12-13 Thread jean...@redstone-city.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64301

jean...@redstone-city.de changed:

   What|Removed |Added

  Component|middle-end  |c++

--- Comment #1 from jean...@redstone-city.de ---
OS: Linux Debian 7
CPU: unknown (only I know is, that it is a quad core)
RAM: 14GB

It is a virtual server


[Bug middle-end/64301] TrinityCore error

2014-12-13 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64301

Andrew Pinski pinskia at gcc dot gnu.org changed:

   What|Removed |Added

  Component|c++ |middle-end

--- Comment #2 from Andrew Pinski pinskia at gcc dot gnu.org ---
Can you read https://gcc.gnu.org/bugs/ and supply all the needed information
including the preprocessed source?


[Bug middle-end/64301] TrinityCore error

2014-12-13 Thread jean...@redstone-city.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64301

jean...@redstone-city.de changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |FIXED

--- Comment #3 from jean...@redstone-city.de ---
Nevermind...fixed itself when I re-cloned the project...thanks anyways


[Bug other/59242] Ensure correct FLAGS are used at various stages of the build

2014-12-13 Thread benedikt.morbach at googlemail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59242

Benedikt Morbach benedikt.morbach at googlemail dot com changed:

   What|Removed |Added

 CC||benedikt.morbach@googlemail
   ||.com

--- Comment #2 from Benedikt Morbach benedikt.morbach at googlemail dot com 
---
It seems issues 2 and 3 were fixed in 4.8.3 and 4.9.2 (and I assume trunk), but
I'm apparently unable to deprecate the patch.


[Bug middle-end/64301] TrinityCore error

2014-12-13 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64301

Jonathan Wakely redi at gcc dot gnu.org changed:

   What|Removed |Added

 Resolution|FIXED   |WORKSFORME


[Bug rtl-optimization/64294] invalid code, zero check gets optimized away

2014-12-13 Thread gcc at breakpoint dot cc
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64294

Sebastian Andrzej Siewior gcc at breakpoint dot cc changed:

   What|Removed |Added

  Attachment #34272|0   |1
is obsolete||

--- Comment #3 from Sebastian Andrzej Siewior gcc at breakpoint dot cc ---
Created attachment 34275
  -- https://gcc.gnu.org/bugzilla/attachment.cgi?id=34275action=edit
tc-macro version


[Bug rtl-optimization/64294] invalid code, zero check gets optimized away

2014-12-13 Thread gcc at breakpoint dot cc
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64294

--- Comment #4 from Sebastian Andrzej Siewior gcc at breakpoint dot cc ---
Created attachment 34276
  -- https://gcc.gnu.org/bugzilla/attachment.cgi?id=34276action=edit
tc-static function


[Bug rtl-optimization/64294] invalid code, zero check gets optimized away

2014-12-13 Thread gcc at breakpoint dot cc
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64294

Sebastian Andrzej Siewior gcc at breakpoint dot cc changed:

   What|Removed |Added

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

--- Comment #5 from Sebastian Andrzej Siewior gcc at breakpoint dot cc ---
I re-open it. This time I attached the whole .i twice:
- macro contains the second CLI_ISCONTAINED() invocation as a macro
- static contains the second CLI_ISCONTAINED() as a static function

The first one (macro) segfaults, the second one (static) works as a expected. 
The only obvious change I made in the static version is that the size argument
is not signed but unsigned. Changing the type of sb_size to signed int results
in the segfault again.

I saw this problem with gcc-4.8 and 4.9. gcc 4.7 seems not to miss compile it.

Comparing the disassemble between those two .i I see:

- macro
+ static
 label:
-   8b 44 24 44 mov0x44(%esp),%eax
-   89 c1   mov%eax,%ecx
+   8b 44 24 20 mov0x20(%esp),%eax
+   85 c0   test   %eax,%eax
+   0f 84 8c fb ff ff   je 3f0 petite_inflate2x_1to9+0x3f0
+   8b 4c 24 58 mov0x58(%esp),%ecx
+   8b 44 24 20 mov0x20(%esp),%eax

For me as a no-compiler guy it looks like the zero check has been removed
because for 
some reason the size argument has to be != 0.

I'm not sure if this is related but #26763 fixed a problem with the same macro.

Sebastian


[Bug libstdc++/64239] regex_iterator::operator= should copy match_results::position

2014-12-13 Thread timshen at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64239

--- Comment #5 from Tim Shen timshen at gcc dot gnu.org ---
Author: timshen
Date: Sat Dec 13 22:19:18 2014
New Revision: 218710

URL: https://gcc.gnu.org/viewcvs?rev=218710root=gccview=rev
Log:
PR libstdc++/64239
* include/bits/regex.h (match_results::match_results,
match_results::operator=, match_results::position,
match_results::swap): Remove match_results::_M_in_iterator.
Fix ctor/assign/swap.
* include/bits/regex.tcc: (__regex_algo_impl,
regex_iterator::operator++): Set match_results::_M_begin as
start position.
* testsuite/28_regex/iterators/regex_iterator/char/
string_position_01.cc: Test cases.


Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/include/bits/regex.h
trunk/libstdc++-v3/include/bits/regex.tcc
   
trunk/libstdc++-v3/testsuite/28_regex/iterators/regex_iterator/char/string_position_01.cc


[Bug libstdc++/64239] regex_iterator::operator= should copy match_results::position

2014-12-13 Thread timshen at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64239

--- Comment #6 from Tim Shen timshen at gcc dot gnu.org ---
Author: timshen
Date: Sat Dec 13 23:10:39 2014
New Revision: 218711

URL: https://gcc.gnu.org/viewcvs?rev=218711root=gccview=rev
Log:
PR libstdc++/64239
* include/bits/regex.h (match_results::match_results,
match_results::operator=, match_results::position,
match_results::swap): Fix ctor/assign/swap.
* include/bits/regex.tcc: (__regex_algo_impl,
regex_iterator::operator++): Set match_results::_M_begin as
start position.
* testsuite/28_regex/iterators/regex_iterator/char/
string_position_01.cc: Test cases.

Modified:
branches/gcc-4_9-branch/libstdc++-v3/ChangeLog
branches/gcc-4_9-branch/libstdc++-v3/include/bits/regex.h
branches/gcc-4_9-branch/libstdc++-v3/include/bits/regex.tcc
   
branches/gcc-4_9-branch/libstdc++-v3/testsuite/28_regex/iterators/regex_iterator/char/string_position_01.cc


[Bug c++/63192] non-mutable lambda capture by value on reference does not apply const

2014-12-13 Thread ville.voutilainen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63192

Ville Voutilainen ville.voutilainen at gmail dot com changed:

   What|Removed |Added

   Keywords||wrong-code
 Status|UNCONFIRMED |NEW
   Last reconfirmed||2014-12-13
 CC||ville.voutilainen at gmail dot 
com
 Ever confirmed|0   |1
  Known to fail||4.8.2, 4.9.1, 5.0

--- Comment #1 from Ville Voutilainen ville.voutilainen at gmail dot com ---
Clang produces the expected result. A reduced testcase without the use of
iostreams would be helpful.


[Bug c++/63192] non-mutable lambda capture by value on reference does not apply const

2014-12-13 Thread ville.voutilainen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63192

--- Comment #2 from Ville Voutilainen ville.voutilainen at gmail dot com ---
Reduced:

template class, class struct same {static constexpr bool value = false;};
template class T struct sameT, T {static constexpr bool value = true;};

int main() {
float x, r = x;
[=] { // x and r are not captured (appearance in a decltype operand is not
an odr-use)
static_assert(samedecltype(x), float::value, );
static_assert(samedecltype((x)), float const::value, );
static_assert(samedecltype(r), float::value, );
static_assert(samedecltype((r)), float const::value, );
}();
}


[Bug c++/63151] Accessibility error when brace-constructing base class with protected defaulted constructor and member variable

2014-12-13 Thread ville.voutilainen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63151

Ville Voutilainen ville.voutilainen at gmail dot com changed:

   What|Removed |Added

   Keywords||rejects-valid
 Status|UNCONFIRMED |NEW
   Last reconfirmed||2014-12-13
 CC||ville.voutilainen at gmail dot 
com
  Known to work||4.8.2
 Ever confirmed|0   |1
  Known to fail||4.9.1, 5.0


[Bug c++/62310] fails to consider default initializers (NSDMIs) when checking inheriting constructors

2014-12-13 Thread ville.voutilainen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62310

Ville Voutilainen ville.voutilainen at gmail dot com changed:

   What|Removed |Added

   Keywords||rejects-valid
 Status|UNCONFIRMED |NEW
   Last reconfirmed||2014-12-13
 CC||ville.voutilainen at gmail dot 
com
 Ever confirmed|0   |1
  Known to fail||4.8.2, 4.9.1, 5.0


[Bug c++/62276] ICE when non-variadic template template parameter is default argument of variadic template template parameter

2014-12-13 Thread ville.voutilainen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62276

Ville Voutilainen ville.voutilainen at gmail dot com changed:

   What|Removed |Added

   Keywords||ice-on-valid-code
 Status|UNCONFIRMED |NEW
   Last reconfirmed||2014-12-13
 CC||ville.voutilainen at gmail dot 
com
  Known to work||4.8.2, 4.9.0, 5.0
 Ever confirmed|0   |1
  Known to fail||4.9.1

--- Comment #2 from Ville Voutilainen ville.voutilainen at gmail dot com ---
Already fixed in 5, does not work on 4.9.1, works in 4.8 and 4.9.0.


[Bug c++/62274] [C++11] Variadic templates expansion into non-variadic class template

2014-12-13 Thread ville.voutilainen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62274

Ville Voutilainen ville.voutilainen at gmail dot com changed:

   What|Removed |Added

 CC||ville.voutilainen at gmail dot 
com

--- Comment #2 from Ville Voutilainen ville.voutilainen at gmail dot com ---
Clang doesn't accept the code either. The technique looks reasonable, the
validity of this should probably be queried from CWG.


[Bug c++/62241] C++14 generalized lambda capture doesn't work with uniform initialization syntax.

2014-12-13 Thread ville.voutilainen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62241

Ville Voutilainen ville.voutilainen at gmail dot com changed:

   What|Removed |Added

   Keywords||rejects-valid
 Status|UNCONFIRMED |NEW
   Last reconfirmed||2014-12-14
 CC||ville.voutilainen at gmail dot 
com
  Known to work||5.0
 Ever confirmed|0   |1
  Known to fail||4.8.2, 4.9.1

--- Comment #6 from Ville Voutilainen ville.voutilainen at gmail dot com ---
Current trunk accepts the code. 4.9.1 doesn't, but it should.


[Bug c++/60262] explicit destructor call via Derived to destructor of Base accepted without using a qualified-id

2014-12-13 Thread ville.voutilainen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60262

Ville Voutilainen ville.voutilainen at gmail dot com changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
   Last reconfirmed||2014-12-14
 CC||ville.voutilainen at gmail dot 
com
 Ever confirmed|0   |1
  Known to fail||4.9.1, 5.0


[Bug c++/62207] ICE: tree check: expected tree that contains 'decl minimal' structure, have 'overload' in tsubst_copy, at cp/pt.c

2014-12-13 Thread ville.voutilainen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62207

Ville Voutilainen ville.voutilainen at gmail dot com changed:

   What|Removed |Added

 CC||ville.voutilainen at gmail dot 
com

--- Comment #1 from Ville Voutilainen ville.voutilainen at gmail dot com ---
Current trunk doesn't ICE.


[Bug c++/62163] Dependent function call in constant expression produces error in template definition context

2014-12-13 Thread ville.voutilainen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62163

Ville Voutilainen ville.voutilainen at gmail dot com changed:

   What|Removed |Added

   Keywords||rejects-valid
 Status|UNCONFIRMED |NEW
   Last reconfirmed||2014-12-14
 CC||ville.voutilainen at gmail dot 
com
 Ever confirmed|0   |1
  Known to fail||4.8.2, 4.9.1, 5.0

--- Comment #1 from Ville Voutilainen ville.voutilainen at gmail dot com ---
Clang accepts the code.


[Bug c++/62110] Attempting to use template conversion operator in a contextual conversion

2014-12-13 Thread ville.voutilainen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62110

Ville Voutilainen ville.voutilainen at gmail dot com changed:

   What|Removed |Added

   Keywords||rejects-valid
 Status|UNCONFIRMED |NEW
   Last reconfirmed||2014-12-14
 CC||ville.voutilainen at gmail dot 
com
 Ever confirmed|0   |1
  Known to fail||4.8.2, 4.9.1, 5.0


[Bug c++/62134] [C++11] ICE with template alias

2014-12-13 Thread ville.voutilainen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62134

Ville Voutilainen ville.voutilainen at gmail dot com changed:

   What|Removed |Added

   Keywords||ice-on-valid-code
 Status|UNCONFIRMED |NEW
   Last reconfirmed||2014-12-14
 CC||ville.voutilainen at gmail dot 
com
 Ever confirmed|0   |1
  Known to fail||4.8.2, 4.9.1, 5.0

--- Comment #1 from Ville Voutilainen ville.voutilainen at gmail dot com ---
Clang accepts the code.


[Bug c++/62134] [C++11] ICE with template alias

2014-12-13 Thread ville.voutilainen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62134

--- Comment #2 from Ville Voutilainen ville.voutilainen at gmail dot com ---
A reduced testcase would be nice.


[Bug c++/60511] [C++1y][N3652] Missing extended constexpr function support

2014-12-13 Thread ville.voutilainen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60511

Ville Voutilainen ville.voutilainen at gmail dot com changed:

   What|Removed |Added

 CC||jason at redhat dot com,
   ||ville.voutilainen at gmail dot 
com
  Known to work||5.0

--- Comment #1 from Ville Voutilainen ville.voutilainen at gmail dot com ---
The current trunk accepts the testcase (and implements C++14 relaxed
constexpr). Shouldn't this be closed?


[Bug c++/61953] [C++11] The template parameter pack of a function template should be the last template parameter

2014-12-13 Thread ville.voutilainen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61953

Ville Voutilainen ville.voutilainen at gmail dot com changed:

   What|Removed |Added

   Keywords||accepts-invalid
 CC||ville.voutilainen at gmail dot 
com
  Known to fail||4.8.2, 4.9.1, 5.0

--- Comment #1 from Ville Voutilainen ville.voutilainen at gmail dot com ---
Clang also silently accepts the code.


[Bug c++/61953] [C++11] The template parameter pack of a function template should be the last template parameter

2014-12-13 Thread ville.voutilainen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61953

Ville Voutilainen ville.voutilainen at gmail dot com changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
   Last reconfirmed||2014-12-14
 Ever confirmed|0   |1


[Bug c++/61941] Mis-parsing of warn_unused_result function with ref-qualifiers

2014-12-13 Thread ville.voutilainen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61941

Ville Voutilainen ville.voutilainen at gmail dot com changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
   Last reconfirmed||2014-12-14
 CC||ville.voutilainen at gmail dot 
com
 Ever confirmed|0   |1
  Known to fail||4.8.2, 4.9.1, 5.0

--- Comment #1 from Ville Voutilainen ville.voutilainen at gmail dot com ---
Clang accepts the code.


[Bug c++/61937] Misleading errors due to constructor template deducing argument as void

2014-12-13 Thread ville.voutilainen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61937

Ville Voutilainen ville.voutilainen at gmail dot com changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
   Last reconfirmed||2014-12-14
 CC||ville.voutilainen at gmail dot 
com
 Ever confirmed|0   |1


[Bug c++/61806] [C++11] Expression sfinae w/o access gives hard error in partial template specializations

2014-12-13 Thread ville.voutilainen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61806

Ville Voutilainen ville.voutilainen at gmail dot com changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
   Last reconfirmed||2014-12-14
 CC||ville.voutilainen at gmail dot 
com
 Ever confirmed|0   |1
  Known to fail|4.10.0  |5.0

--- Comment #1 from Ville Voutilainen ville.voutilainen at gmail dot com ---
Clang accepts the code.


[Bug c++/59790] Inner template class specialization has no direct access to outer template class typedefs

2014-12-13 Thread ville.voutilainen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59790

Ville Voutilainen ville.voutilainen at gmail dot com changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
   Last reconfirmed||2014-12-14
 CC||ville.voutilainen at gmail dot 
com
 Ever confirmed|0   |1
  Known to fail||4.8.2, 4.9.1, 5.0


[Bug c++/57743] Code accepted by other recent compilers, but not by g++ - possibly failure to activate ADL

2014-12-13 Thread ville.voutilainen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57743

Ville Voutilainen ville.voutilainen at gmail dot com changed:

   What|Removed |Added

   Keywords||rejects-valid
 Status|UNCONFIRMED |NEW
   Last reconfirmed||2014-12-14
 CC||ville.voutilainen at gmail dot 
com
 Ever confirmed|0   |1
  Known to fail||4.8.2, 4.9.1, 5.0


[Bug c++/60105] [C++11] ICE on enable_if explicit cast operator

2014-12-13 Thread ville.voutilainen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60105

Ville Voutilainen ville.voutilainen at gmail dot com changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
   Last reconfirmed||2014-12-14
 CC||ville.voutilainen at gmail dot 
com
  Known to work||5.0
 Ever confirmed|0   |1
  Known to fail||4.8.2, 4.9.1


[Bug go/61244] gccgo: ICE in write_specific_type_functions [GoSmith]

2014-12-13 Thread ian at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61244

--- Comment #4 from ian at gcc dot gnu.org ian at gcc dot gnu.org ---
Author: ian
Date: Sun Dec 14 00:55:01 2014
New Revision: 218715

URL: https://gcc.gnu.org/viewcvs?rev=218715root=gccview=rev
Log:
PR go/61244
compiler: Traverse type descriptor expressions.

Modified:
trunk/gcc/go/gofrontend/expressions.cc


[Bug c++/61726] Ambiguous overload resolution with inherited op()s

2014-12-13 Thread ville.voutilainen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61726

Ville Voutilainen ville.voutilainen at gmail dot com changed:

   What|Removed |Added

   Keywords||rejects-valid
 Status|UNCONFIRMED |NEW
   Last reconfirmed||2014-12-14
 CC||ville.voutilainen at gmail dot 
com
 Ever confirmed|0   |1
  Known to fail||4.8.2, 4.9.1, 5.0

--- Comment #1 from Ville Voutilainen ville.voutilainen at gmail dot com ---
Clang accepts the code.


[Bug c++/61683] decltype-specifier not accepted as mem-initializer-id

2014-12-13 Thread ville.voutilainen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61683

Ville Voutilainen ville.voutilainen at gmail dot com changed:

   What|Removed |Added

   Keywords||rejects-valid
 Status|UNCONFIRMED |NEW
   Last reconfirmed||2014-12-14
 CC||ville.voutilainen at gmail dot 
com
 Ever confirmed|0   |1
  Known to fail||4.8.2, 4.9.1, 5.0


[Bug c++/61663] [DR 976] Deduction for const T conversion functions

2014-12-13 Thread ville.voutilainen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61663

Ville Voutilainen ville.voutilainen at gmail dot com changed:

   What|Removed |Added

   Keywords||rejects-valid
 Status|UNCONFIRMED |NEW
   Last reconfirmed||2014-12-14
 CC||ville.voutilainen at gmail dot 
com
 Ever confirmed|0   |1
  Known to fail||4.8.2, 4.9.1, 5.0

--- Comment #1 from Ville Voutilainen ville.voutilainen at gmail dot com ---
Clang also rejects the code.


[Bug c++/59480] Missing error diagnostic: friend declaration specifying a default argument must be a definition

2014-12-13 Thread ville.voutilainen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59480

Ville Voutilainen ville.voutilainen at gmail dot com changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
   Last reconfirmed||2014-12-14
 CC||ville.voutilainen at gmail dot 
com
 Ever confirmed|0   |1
  Known to fail||4.8.2, 4.9.1, 5.0


[Bug c++/61670] ICE on invalid in tree_nop_conversion

2014-12-13 Thread ville.voutilainen at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61670

Ville Voutilainen ville.voutilainen at gmail dot com changed:

   What|Removed |Added

 CC||jason at redhat dot com,
   ||ville.voutilainen at gmail dot 
com
  Known to work||4.8.2, 4.9.1, 5.0

--- Comment #1 from Ville Voutilainen ville.voutilainen at gmail dot com ---
Current trunk does not ICE. Please close.


[Bug middle-end/58624] gcc internal compiler error: Segmentaion fault in insert_to_assembler_name_hash

2014-12-13 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58624

--- Comment #14 from Jason Merrill jason at gcc dot gnu.org ---
(In reply to Jakub Jelinek from comment #13)
 Jason, do you think that change (just the plugin.exp one) is ok for 4.8.4,

Yes, that should be fine.