[Bug other/101711] Error when gcc cross compile libvtv

2021-09-01 Thread ctice at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101711

--- Comment #10 from ctice at gcc dot gnu.org ---
I have been trying off-and-on  for the last 3 weeks to build a ming64 GCC
cross-compiler, on my x86_64 linux ELF system, and I have not been able to do
it.  This is without enabling libvtv.  The instructions referenced on
https://sourceforge.net/p/mingw-w64/wiki2/Cross%20Win32%20and%20Win64%20compiler/
are at least 8 years out of date, and I have not been able to make them work.

Until I can get a set of instructions that works, I cannot reproduce the
problem, and without reproducing it I cannot debug/fix it.  I am sorry about
this, but I really have tried.

[Bug other/101711] Error when gcc cross compile libvtv

2021-08-05 Thread ctice at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101711

--- Comment #7 from ctice at gcc dot gnu.org ---
Also, I downloaded the sources for mcfgthread from the repo supplied in
comment5, but I can't seem to get that to build -- the GCC on my machine does
not recognize "-municode" as a valid flag.  Is there something else I need in
order to be able to build the library?

[Bug other/101711] Error when gcc cross compile libvtv

2021-08-05 Thread ctice at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101711

--- Comment #6 from ctice at gcc dot gnu.org ---
I applied the patch supplied in comment 5.  I added --with-sysroot=/usr/local
to my configure command (still not using --enable-threads=mcf or
--enable-vtable-verify).  Now it configures, but the make command fails while
building gcc, complaining that:

The directory that should contain system headers does not exist:
  /usr/local/mingw/include

Which is completely true.  I'm working on an elf/linux machine (x86_64) and I
have no mingw headers.  Where can I get the appropriate headers (and anything
else I will need) in order to make this cross compile work?

[Bug other/101711] Error when gcc cross compile libvtv

2021-08-04 Thread ctice at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101711

ctice at gcc dot gnu.org changed:

   What|Removed |Added

 CC||ctice at gcc dot gnu.org

--- Comment #4 from ctice at gcc dot gnu.org ---
Is there something special I need to download, set up, or build in order to do
mingw32 cross-compiles?

I'm getting configure/build failures even when I omit enabling vtable verify; I
also don't know where/how to get the mcf thread libraries?

[Instructions for both of these are necessary if I am to debug the libvtv
issue].

Just to see if this was related to libvtv or not, I tried:

$ ../configure --disable-multilib --disable-nls --enable-languag
es=c,c++,lto --enable-version-specific-runtime-libs
--enable-fully-dynamic-strin
g --enable-large-address-aware --enable-mingw-wildcard
--target=x86_64-w64-mingw
32 --with-local-prefix=/usr/local/x86_64-w64-mingw32
$ make

(Notice that I omitted the --enable-threads=mcf and the --enable-vtable-verify
flags).

I got:

...
make[2]: Leaving directory
'/usr/local/google3/cmtice/gcc-fsf.clean.novtv.obj/libcc1'
Checking multilib configuration for libgcc...
Configuring in x86_64-w64-mingw32/libgcc
configure: loading cache ./config.cache
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-w64-mingw32
checking for --enable-version-specific-runtime-libs... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for gawk... gawk
checking for x86_64-w64-mingw32-ar... x86_64-w64-mingw32-ar
checking for x86_64-w64-mingw32-lipo... x86_64-w64-mingw32-lipo
checking for x86_64-w64-mingw32-nm...
/usr/local/google3/cmtice/gcc-fsf.clean.novtv.obj/./gcc/nm
checking for x86_64-w64-mingw32-ranlib... x86_64-w64-mingw32-ranlib
checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip
checking whether ln -s works... yes
checking for x86_64-w64-mingw32-gcc...
/usr/local/google3/cmtice/gcc-fsf.clean.novtv.obj/./gcc/xgcc
-B/usr/local/google3/cmtice/gcc-fsf.clean.novtv.obj/./gcc/
-L/usr/local/x86_64-w64-mingw32/lib -L/usr/local/mingw/lib -isystem
/usr/local/x86_64-w64-mingw32/include -isystem /usr/local/mingw/include
-B/usr/local/x86_64-w64-mingw32/bin/ -B/usr/local/x86_64-w64-mingw32/lib/
-isystem /usr/local/x86_64-w64-mingw32/include -isystem
/usr/local/x86_64-w64-mingw32/sys-include   
checking for suffix of object files... configure: error: in
`/usr/local/google3/cmtice/gcc-fsf.clean.novtv.obj/x86_64-w64-mingw32/libgcc':
configure: error: cannot compute suffix of object files: cannot compile
See `config.log' for more details
make[1]: *** [Makefile:13771: configure-target-libgcc] Error 1
make[1]: Leaving directory '/usr/local/google3/cmtice/gcc-fsf.clean.novtv.obj'
make: *** [Makefile:968: all] Error 2


Please update this bug with further instructions. Thank you.

[Bug libstdc++/99172] Build failure with slibtool and vtv

2021-03-10 Thread ctice at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99172

--- Comment #11 from ctice at gcc dot gnu.org ---
Created attachment 50360
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50360=edit
Proposed patch to fix issue

This patch fixes the issue, without breaking VTV, and is currently out for
review.

[Bug libstdc++/99172] Build failure with slibtool and vtv

2021-02-24 Thread ctice at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99172

--- Comment #9 from ctice at gcc dot gnu.org ---
I will work on fixing that.

[Bug libstdc++/99172] Build failure with slibtool and vtv

2021-02-24 Thread ctice at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99172

ctice at gcc dot gnu.org changed:

   What|Removed |Added

 CC||ctice at gcc dot gnu.org

--- Comment #7 from ctice at gcc dot gnu.org ---
I thought I was maintaining it too! :-)

Is there something here that you want/need me to take care of?

[Bug other/91396] Link error when I use -fvtable-verify=std and -static

2019-11-13 Thread ctice at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91396

--- Comment #7 from ctice at gcc dot gnu.org ---
To the best of my knowledge this is fixed; do you have evidence otherwise?

[Bug testsuite/91670] [10 regression] g++.dg/ubsan/pr59415.C fails starting with rr275388

2019-09-09 Thread ctice at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91670

ctice at gcc dot gnu.org changed:

   What|Removed |Added

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

--- Comment #3 from ctice at gcc dot gnu.org ---
Patch fixes this problem.

[Bug testsuite/91670] [10 regression] g++.dg/ubsan/pr59415.C fails starting with rr275388

2019-09-06 Thread ctice at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91670

--- Comment #2 from ctice at gcc dot gnu.org ---
Author: ctice
Date: Fri Sep  6 14:54:48 2019
New Revision: 275460

URL: https://gcc.gnu.org/viewcvs?rev=275460=gcc=rev
Log:
Fix testcase to not use LTO with -fvtable-verify.

2019-09-05  Caroline Tice  

PR testsuite/91670
* g++.dg/ubsan/pr59415.C: Disable LTO, since test uses
-fvtable-verify, and the two options are no longer allowed
together.


Modified:
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/g++.dg/ubsan/pr59415.C

[Bug testsuite/91670] [10 regression] g++.dg/ubsan/pr59415.C fails starting with rr275388

2019-09-05 Thread ctice at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91670

ctice at gcc dot gnu.org changed:

   What|Removed |Added

   Assignee|unassigned at gcc dot gnu.org  |ctice at gcc dot gnu.org

--- Comment #1 from ctice at gcc dot gnu.org ---
Yes, sorry, I missed that.  I will try to fix asap.

[Bug other/91396] Link error when I use -fvtable-verify=std and -static

2019-08-13 Thread ctice at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91396

--- Comment #5 from ctice at gcc dot gnu.org ---
Author: ctice
Date: Tue Aug 13 16:11:20 2019
New Revision: 274386

URL: https://gcc.gnu.org/viewcvs?rev=274386=gcc=rev
Log:
Fix PR other/91396 static linke error with -fvtable-verify

Fix a bug where linking with -fvtable-verify  and
-static causes the linker to complain about multiple definitions of
things in the vtv_end*.o files (once from the .o file and once from
libvtv.a).

2019-08-12  Caroline Tice  

PR other/91396
* config/gnu-user.h (GNU_USER_TARGET_ENDFILE_SPEC): Only add the
vtv_end.o or vtv_end_preinit.o files if !static.



Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/gnu-user.h

[Bug other/91396] Link error when I use -fvtable-verify=std and -static

2019-08-09 Thread ctice at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91396

ctice at gcc dot gnu.org changed:

   What|Removed |Added

 CC||ctice at gcc dot gnu.org

--- Comment #4 from ctice at gcc dot gnu.org ---
I would prefer that we make it condition on !static, rather than removing it. 
I will work on a patch for that.

[Bug middle-end/89423] -fvtable-verify does not work properly with -flto

2019-02-20 Thread ctice at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89423

ctice at gcc dot gnu.org changed:

   What|Removed |Added

 Status|UNCONFIRMED |ASSIGNED
   Last reconfirmed||2019-02-20
   Assignee|unassigned at gcc dot gnu.org  |ctice at gcc dot gnu.org
 Ever confirmed|0   |1

[Bug middle-end/89423] New: -fvtable-verify does not work properly with -flto

2019-02-20 Thread ctice at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89423

Bug ID: 89423
   Summary: -fvtable-verify does not work properly with -flto
   Product: gcc
   Version: unknown
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: middle-end
  Assignee: unassigned at gcc dot gnu.org
  Reporter: ctice at gcc dot gnu.org
  Target Milestone: ---

When compiled with '-flto' the extra internal functions that VTV generates,and
which are necessary for it to work correctly, do not get propagated into the
final binary.  You can see this compiling the bb_tests.cc test case in the
libvtv testsuite, and grepping for 'GLOBAL' in the final output:

$ /usr/local/google3/cmtice/gcc-fsf.root/usr/local/bin/g++ -o bb_tests
bb_tests.cc -O1 -fvtable-verify=std  // Compile without flto
$ nm bb_tests | grep GLOBAL
00601000 d _GLOBAL_OFFSET_TABLE_
00400930 t _GLOBAL__sub_I.00099__Z14get_cond_value

$ /usr/local/google3/cmtice/gcc-fsf.root/usr/local/bin/g++ -o
bb_tests_flto bb_tests.cc -O1 -flto -fvtable-verify=std   // Compile
with flto
$ nm bb_tests_flto | grep GLOBAL
00601000 d _GLOBAL_OFFSET_TABLE_

[Bug c++/89392] [7/8/9 Regression] ICE in bitmap_bit_p, at bitmap.c:978

2019-02-19 Thread ctice at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89392

--- Comment #5 from ctice at gcc dot gnu.org ---
I have been unable to reproduce this error, using the latest GCC and building
with VTV enabled.  What architecture are you using?  How are you configuring
your GCC build?

[Bug c++/89392] [7/8/9 Regression] ICE in bitmap_bit_p, at bitmap.c:978

2019-02-19 Thread ctice at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89392

ctice at gcc dot gnu.org changed:

   What|Removed |Added

 CC||ctice at gcc dot gnu.org

--- Comment #4 from ctice at gcc dot gnu.org ---
Just FYI I'm in the process of reviewing this and making sure it make sense for
VTV.

In the meantime, I am puzzled by your statement that there is no testsuite
coverage for VTV:  VTV does indeed have a small testsuite.  It is in the libvtv
directory, because it makes no sense (and the tests all fail) if you try to run
it when VTV is not enabled.  But if you shift to the libvtv build tree and try
make check you should see the VTV tests run.

[Bug tree-optimization/46639] [5/6 Regression] Missing optimization due to function splitting and redundant conditionals

2017-02-08 Thread ctice at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46639

--- Comment #20 from ctice at gcc dot gnu.org ---
Author: ctice
Date: Wed Feb  8 19:55:28 2017
New Revision: 245284

URL: https://gcc.gnu.org/viewcvs?rev=245284=gcc=rev
Log:
2017-02-08  Caroline Tice <cmt...@google.com>

Fix PR 46639
in gcc:
* passes.def: Add pass_early_vrp; move pass_profile to before new pass.
* tree-pass.h: Add extern decl for make_pass_early_vrp.
* tree-vrp.c: New file global variable, is_early_vrp (boolean).
(extract_range_basic):  Add test for is_early_vrp before updating
built-in constants -- don't update during early_vrp pass.
(check_array_ref): Retrn immediately if is_early_vrp is true.
(execute_vrp): Add boolean parameter to indicate early pass or not;
set is_early_pass to value of parameter.
(pass_data_early_vrp): New pass_data struct.
(pass_vrp::execute): Call execute_vrp with false -- not early pass.
(class pass_early_vrp): New gimple_opt_pass class.
(make_pass_early_vrp): New function.

in testsuite:

* testsuite/gcc.dg/tree-prof/lipo/val-prof-5_0.c: xfail test.  It is
no longer a correct test with the new pass.
* testsuite/gcc.dg/tree-prof/val-prof-5.c: Ditto.
* testsuite/gcc.dg/tree-ssa/20030709-2.c: Change test to reflect new
(correct) code due to patch changes.
* testsuite/gcc.dg/tree-ssa/20040305-1.c: Ditto.
* testsuite/gcc.dg/tree-ssa/pr20702.c: Ditto.
* testsuite/gcc.dg/tree-ssa/pr21086.c: Ditto.
* testsuite/gcc.dg/tree-ssa/vrp02.c: Ditto.
* testsuite/gcc.dg/tree-ssa/vrp07.c: Ditto.
* testsuite/gcc.dg/tree-ssa/vrp08.c: Ditto.
* testsuite/gcc.dg/tree-ssa/vrp55.c: Ditto.
* testsuite/gcc.dg/vect/slp-perm-7.c: Ditto.
* testsuite/gcc.dg/fold-compare-2.c: Update to scan correct pass.
* testsuite/gcc.dg/tree-ssa/pr20318.c: Ditto.
* testsuite/gcc.dg/tree-ssa/pr20657.c: Ditto.
* testsuite/gcc.dg/tree-ssa/pr21001.c: Ditto.
* testsuite/gcc.dg/tree-ssa/pr21090.c: Ditto.
* testsuite/gcc.dg/tree-ssa/pr21294.c: Ditto.
* testsuite/gcc.dg/tree-ssa/pr21458.c: Ditto.
* testsuite/gcc.dg/tree-ssa/pr21559.c: Ditto.
* testsuite/gcc.dg/tree-ssa/pr21563.c: Ditto.
* testsuite/gcc.dg/tree-ssa/pr22117.c: Ditto.
* testsuite/gcc.dg/tree-ssa/pr23744.c: Ditto.
* testsuite/gcc.dg/tree-ssa/pr25382.c: Ditto.
* testsuite/gcc.dg/tree-ssa/pr37508.c: Ditto.
* testsuite/gcc.dg/tree-ssa/pr49039.c: Ditto.
* testsuite/gcc.dg/tree-ssa/pr58480.c: Ditto.
* testsuite/gcc.dg/tree-ssa/pr59597.c: Ditto.
* testsuite/gcc.dg/tree-ssa/ssa-dom-thread-2.c: Ditto.
* testsuite/gcc.dg/tree-ssa/ssa-vrp-thread-1.c: Ditto.
* testsuite/gcc.dg/tree-ssa/vrp01.c: Ditto.
* testsuite/gcc.dg/tree-ssa/vrp03.c: Ditto.
* testsuite/gcc.dg/tree-ssa/vrp04.c: Ditto.
* testsuite/gcc.dg/tree-ssa/vrp06.c: Ditto.
* testsuite/gcc.dg/tree-ssa/vrp09.c: Ditto.
* testsuite/gcc.dg/tree-ssa/vrp16.c: Ditto.
* testsuite/gcc.dg/tree-ssa/vrp17.c: Ditto.
* testsuite/gcc.dg/tree-ssa/vrp18.c: Ditto.
* testsuite/gcc.dg/tree-ssa/vrp19.c: Ditto.
* testsuite/gcc.dg/tree-ssa/vrp20.c: Ditto.
* testsuite/gcc.dg/tree-ssa/vrp23.c: Ditto.
* testsuite/gcc.dg/tree-ssa/vrp24.c: Ditto.
* testsuite/gcc.dg/tree-ssa/vrp25.c: Ditto.
* testsuite/gcc.dg/tree-ssa/vrp33.c: Ditto.
* testsuite/gcc.dg/tree-ssa/vrp34.c: Ditto.
* testsuite/gcc.dg/tree-ssa/vrp46.c: Ditto.
* testsuite/gcc.dg/tree-ssa/vrp56.c: Ditto.
* testsuite/gcc.dg/tree-ssa/vrp58.c: Ditto.
* testsuite/gcc.dg/tree-ssa/vrp67.c: Ditto.
* testsuite/gcc.dg/tree-ssa/vrp87.c: Ditto.


Modified:
branches/google/gcc-4_9-mobile/gcc/passes.def
branches/google/gcc-4_9-mobile/gcc/testsuite/gcc.dg/fold-compare-2.c
   
branches/google/gcc-4_9-mobile/gcc/testsuite/gcc.dg/tree-prof/lipo/val-prof-5_0.c
branches/google/gcc-4_9-mobile/gcc/testsuite/gcc.dg/tree-prof/val-prof-5.c
branches/google/gcc-4_9-mobile/gcc/testsuite/gcc.dg/tree-ssa/20030709-2.c
branches/google/gcc-4_9-mobile/gcc/testsuite/gcc.dg/tree-ssa/20040305-1.c
branches/google/gcc-4_9-mobile/gcc/testsuite/gcc.dg/tree-ssa/pr20318.c
branches/google/gcc-4_9-mobile/gcc/testsuite/gcc.dg/tree-ssa/pr20657.c
branches/google/gcc-4_9-mobile/gcc/testsuite/gcc.dg/tree-ssa/pr20702.c
branches/google/gcc-4_9-mobile/gcc/testsuite/gcc.dg/tree-ssa/pr21001.c
branches/google/gcc-4_9-mobile/gcc/testsuite/gcc.dg/tree-ssa/pr21086.c
branches/google/gcc-4_9-mobile/gcc/testsuite/gcc.dg/tree-ssa/pr21090.c
branches/google/gcc-4_9-mobile/gcc/testsuite/gcc.dg/tree-ssa/pr21294.c
branches/google/gcc-4_9-mobile/gcc/testsuite/gcc.dg/tree-ssa/pr21458.c
branches/google/gcc-4_9-mobi

[Bug libstdc++/70360] --enable-vtable-verify

2016-04-14 Thread ctice at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70360

ctice at gcc dot gnu.org changed:

   What|Removed |Added

 CC||ctice at gcc dot gnu.org
   Assignee|unassigned at gcc dot gnu.org  |ctice at gcc dot gnu.org

--- Comment #5 from ctice at gcc dot gnu.org ---
On initial investigation it seems to be a problem that some things are being
built with -fpie but the linker, when making libraries, wants them to be
compiled -fPIC.  I'll post more later as I figure it out.

[Bug tree-optimization/48052] loop not vectorized if index is "unsigned int"

2016-04-08 Thread ctice at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48052

--- Comment #18 from ctice at gcc dot gnu.org ---
Author: ctice
Date: Fri Apr  8 17:09:09 2016
New Revision: 234832

URL: https://gcc.gnu.org/viewcvs?rev=234832=gcc=rev
Log:
Unify changes with Android's GCC 4.9 compiler.

Add the following changes from the Android
GCC 4.9 compiler (mostly adding fixes for aarch64):

Fix mingw build breakage
1) Add missing _GCOV_fopen if !__KERNEL__
2) Use _fullpath

Backport Cortex-A57's machine description support from trunk

Adjust generic move costs for aarch64. Backport from trunk

Enable C++ exceptions and RTTI by default.

Modify LINK_SPEC to pass --fix-cortex-a53-843419 as default

Rename libstdc++.so to libgnustl_shared.so when enabling bionic libs.

Drop mips64r2 from Android compiler's multilib

Merge "Drop mips64r2 from Android compiler's multilib"

Adjust several costs for AArch64:
  Refactor aarch64_address_costs; add cost tables for Cortex-A7;
  better estimate cost of building a constant; wrap aarch64_rtx_costs
  to dump verbose output; factor out common MULT cases; det default
  costs and handle vector modes; cost memory accesses using address
  costs; better cost logical operations; improve costs for div/mod and
  sign/zero extend operations; cost comparisons, flag setting
  operators and IF_THEN_ELSE; cost more Floating point RTX; cost
  TRUNCATE, SET, SYMBOL_REF, HIGH and LO_SUM; dump a message if we are
  unable to cost an insn; fix typos in cost data structure.


Add several improvements for AArch64 (Backported from GCC 5):
  (spill code - swap order in shr patterns; spill code - swap order in
  shl pattern; fix aarch64_rtx_costs of PLUS/MINUS; cost operand 0 in
  FP compare-with-0.0 case; properly cost FABD pattern; properly
  handle mvn-register and add EON+shift pattern and cost
  appropriately).

Disable inlining of memcpy for x86 with 'rep movs'.
Default to TLS guard for x86 stack-protector.
Change gcc BASE-VER from 4.9.x-google to 4.9.x

Cherry pick the following fixes from trunk: PR bootstrap/66638, 67954
(svn rev 230894, PR tree-optimization/65447,
PR tree-optimization/52563, tree-optimization/62173,
PR tree-optimization/48052, PR 64878, PR65048, PR65177, PR65735.

Port revision 219584 from linaro/gcc-4_9-branch

Fix for arm64 bad code for copysignl.


Added:
branches/google/gcc-4_9-mobile/gcc/sancov.c
branches/google/gcc-4_9-mobile/gcc/testsuite/gcc.dg/sancov/
branches/google/gcc-4_9-mobile/gcc/testsuite/gcc.dg/sancov/asan.c
branches/google/gcc-4_9-mobile/gcc/testsuite/gcc.dg/sancov/basic0.c
branches/google/gcc-4_9-mobile/gcc/testsuite/gcc.dg/sancov/basic1.c
branches/google/gcc-4_9-mobile/gcc/testsuite/gcc.dg/sancov/basic2.c
Modified:
branches/google/gcc-4_9-mobile/ChangeLog
branches/google/gcc-4_9-mobile/config/futex.m4
branches/google/gcc-4_9-mobile/configure
branches/google/gcc-4_9-mobile/configure.ac
branches/google/gcc-4_9-mobile/gcc/BASE-VER
branches/google/gcc-4_9-mobile/gcc/ChangeLog
branches/google/gcc-4_9-mobile/gcc/Makefile.in
branches/google/gcc-4_9-mobile/gcc/builtins.def
branches/google/gcc-4_9-mobile/gcc/cfghooks.c
branches/google/gcc-4_9-mobile/gcc/cfgloop.c
branches/google/gcc-4_9-mobile/gcc/cfgloop.h
branches/google/gcc-4_9-mobile/gcc/common.opt
branches/google/gcc-4_9-mobile/gcc/config/aarch64/aarch64-cores.def
branches/google/gcc-4_9-mobile/gcc/config/aarch64/aarch64-elf-raw.h
branches/google/gcc-4_9-mobile/gcc/config/aarch64/aarch64-linux.h
branches/google/gcc-4_9-mobile/gcc/config/aarch64/aarch64-protos.h
branches/google/gcc-4_9-mobile/gcc/config/aarch64/aarch64-tune.md
branches/google/gcc-4_9-mobile/gcc/config/aarch64/aarch64.c
branches/google/gcc-4_9-mobile/gcc/config/aarch64/aarch64.md
branches/google/gcc-4_9-mobile/gcc/config/aarch64/aarch64.opt
branches/google/gcc-4_9-mobile/gcc/config/i386/i386.c
branches/google/gcc-4_9-mobile/gcc/config/linux-android.h
branches/google/gcc-4_9-mobile/gcc/config/mips/t-linux-android64
branches/google/gcc-4_9-mobile/gcc/configure
branches/google/gcc-4_9-mobile/gcc/doc/invoke.texi
branches/google/gcc-4_9-mobile/gcc/except.c
branches/google/gcc-4_9-mobile/gcc/expmed.c
branches/google/gcc-4_9-mobile/gcc/gcov-io.h
branches/google/gcc-4_9-mobile/gcc/loop-init.c
branches/google/gcc-4_9-mobile/gcc/lra-constraints.c
branches/google/gcc-4_9-mobile/gcc/omp-low.c
branches/google/gcc-4_9-mobile/gcc/params.def
branches/google/gcc-4_9-mobile/gcc/passes.def
branches/google/gcc-4_9-mobile/gcc/sanitizer.def
branches/google/gcc-4_9-mobile/gcc/testsuite/ChangeLog
branches/google/gcc-4_9-mobile/gcc/testsuite/gcc.dg/tree-ssa/scev-3.c
branches/google/gcc-4_9-mobile/gcc/testsuite/gcc.dg/tree-ssa/scev-4.c
branches/google/gcc-4_9-mobile/gcc/tree-cfg.c
branches/google/gcc-4_9-mobile/gcc/tree-cfg.h
branches/google/gcc-4_9-mobile/gcc/tree-chrec.c
branches/

[Bug testsuite/52563] FAIL: gcc.dg/tree-ssa/scev-[3,4].c scan-tree-dump-times optimized "" 1

2016-04-08 Thread ctice at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52563

--- Comment #10 from ctice at gcc dot gnu.org ---
Author: ctice
Date: Fri Apr  8 17:09:09 2016
New Revision: 234832

URL: https://gcc.gnu.org/viewcvs?rev=234832=gcc=rev
Log:
Unify changes with Android's GCC 4.9 compiler.

Add the following changes from the Android
GCC 4.9 compiler (mostly adding fixes for aarch64):

Fix mingw build breakage
1) Add missing _GCOV_fopen if !__KERNEL__
2) Use _fullpath

Backport Cortex-A57's machine description support from trunk

Adjust generic move costs for aarch64. Backport from trunk

Enable C++ exceptions and RTTI by default.

Modify LINK_SPEC to pass --fix-cortex-a53-843419 as default

Rename libstdc++.so to libgnustl_shared.so when enabling bionic libs.

Drop mips64r2 from Android compiler's multilib

Merge "Drop mips64r2 from Android compiler's multilib"

Adjust several costs for AArch64:
  Refactor aarch64_address_costs; add cost tables for Cortex-A7;
  better estimate cost of building a constant; wrap aarch64_rtx_costs
  to dump verbose output; factor out common MULT cases; det default
  costs and handle vector modes; cost memory accesses using address
  costs; better cost logical operations; improve costs for div/mod and
  sign/zero extend operations; cost comparisons, flag setting
  operators and IF_THEN_ELSE; cost more Floating point RTX; cost
  TRUNCATE, SET, SYMBOL_REF, HIGH and LO_SUM; dump a message if we are
  unable to cost an insn; fix typos in cost data structure.


Add several improvements for AArch64 (Backported from GCC 5):
  (spill code - swap order in shr patterns; spill code - swap order in
  shl pattern; fix aarch64_rtx_costs of PLUS/MINUS; cost operand 0 in
  FP compare-with-0.0 case; properly cost FABD pattern; properly
  handle mvn-register and add EON+shift pattern and cost
  appropriately).

Disable inlining of memcpy for x86 with 'rep movs'.
Default to TLS guard for x86 stack-protector.
Change gcc BASE-VER from 4.9.x-google to 4.9.x

Cherry pick the following fixes from trunk: PR bootstrap/66638, 67954
(svn rev 230894, PR tree-optimization/65447,
PR tree-optimization/52563, tree-optimization/62173,
PR tree-optimization/48052, PR 64878, PR65048, PR65177, PR65735.

Port revision 219584 from linaro/gcc-4_9-branch

Fix for arm64 bad code for copysignl.


Added:
branches/google/gcc-4_9-mobile/gcc/sancov.c
branches/google/gcc-4_9-mobile/gcc/testsuite/gcc.dg/sancov/
branches/google/gcc-4_9-mobile/gcc/testsuite/gcc.dg/sancov/asan.c
branches/google/gcc-4_9-mobile/gcc/testsuite/gcc.dg/sancov/basic0.c
branches/google/gcc-4_9-mobile/gcc/testsuite/gcc.dg/sancov/basic1.c
branches/google/gcc-4_9-mobile/gcc/testsuite/gcc.dg/sancov/basic2.c
Modified:
branches/google/gcc-4_9-mobile/ChangeLog
branches/google/gcc-4_9-mobile/config/futex.m4
branches/google/gcc-4_9-mobile/configure
branches/google/gcc-4_9-mobile/configure.ac
branches/google/gcc-4_9-mobile/gcc/BASE-VER
branches/google/gcc-4_9-mobile/gcc/ChangeLog
branches/google/gcc-4_9-mobile/gcc/Makefile.in
branches/google/gcc-4_9-mobile/gcc/builtins.def
branches/google/gcc-4_9-mobile/gcc/cfghooks.c
branches/google/gcc-4_9-mobile/gcc/cfgloop.c
branches/google/gcc-4_9-mobile/gcc/cfgloop.h
branches/google/gcc-4_9-mobile/gcc/common.opt
branches/google/gcc-4_9-mobile/gcc/config/aarch64/aarch64-cores.def
branches/google/gcc-4_9-mobile/gcc/config/aarch64/aarch64-elf-raw.h
branches/google/gcc-4_9-mobile/gcc/config/aarch64/aarch64-linux.h
branches/google/gcc-4_9-mobile/gcc/config/aarch64/aarch64-protos.h
branches/google/gcc-4_9-mobile/gcc/config/aarch64/aarch64-tune.md
branches/google/gcc-4_9-mobile/gcc/config/aarch64/aarch64.c
branches/google/gcc-4_9-mobile/gcc/config/aarch64/aarch64.md
branches/google/gcc-4_9-mobile/gcc/config/aarch64/aarch64.opt
branches/google/gcc-4_9-mobile/gcc/config/i386/i386.c
branches/google/gcc-4_9-mobile/gcc/config/linux-android.h
branches/google/gcc-4_9-mobile/gcc/config/mips/t-linux-android64
branches/google/gcc-4_9-mobile/gcc/configure
branches/google/gcc-4_9-mobile/gcc/doc/invoke.texi
branches/google/gcc-4_9-mobile/gcc/except.c
branches/google/gcc-4_9-mobile/gcc/expmed.c
branches/google/gcc-4_9-mobile/gcc/gcov-io.h
branches/google/gcc-4_9-mobile/gcc/loop-init.c
branches/google/gcc-4_9-mobile/gcc/lra-constraints.c
branches/google/gcc-4_9-mobile/gcc/omp-low.c
branches/google/gcc-4_9-mobile/gcc/params.def
branches/google/gcc-4_9-mobile/gcc/passes.def
branches/google/gcc-4_9-mobile/gcc/sanitizer.def
branches/google/gcc-4_9-mobile/gcc/testsuite/ChangeLog
branches/google/gcc-4_9-mobile/gcc/testsuite/gcc.dg/tree-ssa/scev-3.c
branches/google/gcc-4_9-mobile/gcc/testsuite/gcc.dg/tree-ssa/scev-4.c
branches/google/gcc-4_9-mobile/gcc/tree-cfg.c
branches/google/gcc-4_9-mobile/gcc/tree-cfg.h
branches/google/gcc-4_9-mobile/gcc/tree-chrec.c
branches/

[Bug tree-optimization/64878] [5 Regression] Miscompilation of nntpgrab

2016-04-08 Thread ctice at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64878

--- Comment #10 from ctice at gcc dot gnu.org ---
Author: ctice
Date: Fri Apr  8 17:09:09 2016
New Revision: 234832

URL: https://gcc.gnu.org/viewcvs?rev=234832=gcc=rev
Log:
Unify changes with Android's GCC 4.9 compiler.

Add the following changes from the Android
GCC 4.9 compiler (mostly adding fixes for aarch64):

Fix mingw build breakage
1) Add missing _GCOV_fopen if !__KERNEL__
2) Use _fullpath

Backport Cortex-A57's machine description support from trunk

Adjust generic move costs for aarch64. Backport from trunk

Enable C++ exceptions and RTTI by default.

Modify LINK_SPEC to pass --fix-cortex-a53-843419 as default

Rename libstdc++.so to libgnustl_shared.so when enabling bionic libs.

Drop mips64r2 from Android compiler's multilib

Merge "Drop mips64r2 from Android compiler's multilib"

Adjust several costs for AArch64:
  Refactor aarch64_address_costs; add cost tables for Cortex-A7;
  better estimate cost of building a constant; wrap aarch64_rtx_costs
  to dump verbose output; factor out common MULT cases; det default
  costs and handle vector modes; cost memory accesses using address
  costs; better cost logical operations; improve costs for div/mod and
  sign/zero extend operations; cost comparisons, flag setting
  operators and IF_THEN_ELSE; cost more Floating point RTX; cost
  TRUNCATE, SET, SYMBOL_REF, HIGH and LO_SUM; dump a message if we are
  unable to cost an insn; fix typos in cost data structure.


Add several improvements for AArch64 (Backported from GCC 5):
  (spill code - swap order in shr patterns; spill code - swap order in
  shl pattern; fix aarch64_rtx_costs of PLUS/MINUS; cost operand 0 in
  FP compare-with-0.0 case; properly cost FABD pattern; properly
  handle mvn-register and add EON+shift pattern and cost
  appropriately).

Disable inlining of memcpy for x86 with 'rep movs'.
Default to TLS guard for x86 stack-protector.
Change gcc BASE-VER from 4.9.x-google to 4.9.x

Cherry pick the following fixes from trunk: PR bootstrap/66638, 67954
(svn rev 230894, PR tree-optimization/65447,
PR tree-optimization/52563, tree-optimization/62173,
PR tree-optimization/48052, PR 64878, PR65048, PR65177, PR65735.

Port revision 219584 from linaro/gcc-4_9-branch

Fix for arm64 bad code for copysignl.


Added:
branches/google/gcc-4_9-mobile/gcc/sancov.c
branches/google/gcc-4_9-mobile/gcc/testsuite/gcc.dg/sancov/
branches/google/gcc-4_9-mobile/gcc/testsuite/gcc.dg/sancov/asan.c
branches/google/gcc-4_9-mobile/gcc/testsuite/gcc.dg/sancov/basic0.c
branches/google/gcc-4_9-mobile/gcc/testsuite/gcc.dg/sancov/basic1.c
branches/google/gcc-4_9-mobile/gcc/testsuite/gcc.dg/sancov/basic2.c
Modified:
branches/google/gcc-4_9-mobile/ChangeLog
branches/google/gcc-4_9-mobile/config/futex.m4
branches/google/gcc-4_9-mobile/configure
branches/google/gcc-4_9-mobile/configure.ac
branches/google/gcc-4_9-mobile/gcc/BASE-VER
branches/google/gcc-4_9-mobile/gcc/ChangeLog
branches/google/gcc-4_9-mobile/gcc/Makefile.in
branches/google/gcc-4_9-mobile/gcc/builtins.def
branches/google/gcc-4_9-mobile/gcc/cfghooks.c
branches/google/gcc-4_9-mobile/gcc/cfgloop.c
branches/google/gcc-4_9-mobile/gcc/cfgloop.h
branches/google/gcc-4_9-mobile/gcc/common.opt
branches/google/gcc-4_9-mobile/gcc/config/aarch64/aarch64-cores.def
branches/google/gcc-4_9-mobile/gcc/config/aarch64/aarch64-elf-raw.h
branches/google/gcc-4_9-mobile/gcc/config/aarch64/aarch64-linux.h
branches/google/gcc-4_9-mobile/gcc/config/aarch64/aarch64-protos.h
branches/google/gcc-4_9-mobile/gcc/config/aarch64/aarch64-tune.md
branches/google/gcc-4_9-mobile/gcc/config/aarch64/aarch64.c
branches/google/gcc-4_9-mobile/gcc/config/aarch64/aarch64.md
branches/google/gcc-4_9-mobile/gcc/config/aarch64/aarch64.opt
branches/google/gcc-4_9-mobile/gcc/config/i386/i386.c
branches/google/gcc-4_9-mobile/gcc/config/linux-android.h
branches/google/gcc-4_9-mobile/gcc/config/mips/t-linux-android64
branches/google/gcc-4_9-mobile/gcc/configure
branches/google/gcc-4_9-mobile/gcc/doc/invoke.texi
branches/google/gcc-4_9-mobile/gcc/except.c
branches/google/gcc-4_9-mobile/gcc/expmed.c
branches/google/gcc-4_9-mobile/gcc/gcov-io.h
branches/google/gcc-4_9-mobile/gcc/loop-init.c
branches/google/gcc-4_9-mobile/gcc/lra-constraints.c
branches/google/gcc-4_9-mobile/gcc/omp-low.c
branches/google/gcc-4_9-mobile/gcc/params.def
branches/google/gcc-4_9-mobile/gcc/passes.def
branches/google/gcc-4_9-mobile/gcc/sanitizer.def
branches/google/gcc-4_9-mobile/gcc/testsuite/ChangeLog
branches/google/gcc-4_9-mobile/gcc/testsuite/gcc.dg/tree-ssa/scev-3.c
branches/google/gcc-4_9-mobile/gcc/testsuite/gcc.dg/tree-ssa/scev-4.c
branches/google/gcc-4_9-mobile/gcc/tree-cfg.c
branches/google/gcc-4_9-mobile/gcc/tree-cfg.h
branches/google/gcc-4_9-mobile/gcc/tree-chrec.c
branches/

[Bug bootstrap/66638] [6 Regression] profiledbootstrap failure on x86-64 with LTO

2016-04-08 Thread ctice at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66638

--- Comment #7 from ctice at gcc dot gnu.org ---
Author: ctice
Date: Fri Apr  8 17:09:09 2016
New Revision: 234832

URL: https://gcc.gnu.org/viewcvs?rev=234832=gcc=rev
Log:
Unify changes with Android's GCC 4.9 compiler.

Add the following changes from the Android
GCC 4.9 compiler (mostly adding fixes for aarch64):

Fix mingw build breakage
1) Add missing _GCOV_fopen if !__KERNEL__
2) Use _fullpath

Backport Cortex-A57's machine description support from trunk

Adjust generic move costs for aarch64. Backport from trunk

Enable C++ exceptions and RTTI by default.

Modify LINK_SPEC to pass --fix-cortex-a53-843419 as default

Rename libstdc++.so to libgnustl_shared.so when enabling bionic libs.

Drop mips64r2 from Android compiler's multilib

Merge "Drop mips64r2 from Android compiler's multilib"

Adjust several costs for AArch64:
  Refactor aarch64_address_costs; add cost tables for Cortex-A7;
  better estimate cost of building a constant; wrap aarch64_rtx_costs
  to dump verbose output; factor out common MULT cases; det default
  costs and handle vector modes; cost memory accesses using address
  costs; better cost logical operations; improve costs for div/mod and
  sign/zero extend operations; cost comparisons, flag setting
  operators and IF_THEN_ELSE; cost more Floating point RTX; cost
  TRUNCATE, SET, SYMBOL_REF, HIGH and LO_SUM; dump a message if we are
  unable to cost an insn; fix typos in cost data structure.


Add several improvements for AArch64 (Backported from GCC 5):
  (spill code - swap order in shr patterns; spill code - swap order in
  shl pattern; fix aarch64_rtx_costs of PLUS/MINUS; cost operand 0 in
  FP compare-with-0.0 case; properly cost FABD pattern; properly
  handle mvn-register and add EON+shift pattern and cost
  appropriately).

Disable inlining of memcpy for x86 with 'rep movs'.
Default to TLS guard for x86 stack-protector.
Change gcc BASE-VER from 4.9.x-google to 4.9.x

Cherry pick the following fixes from trunk: PR bootstrap/66638, 67954
(svn rev 230894, PR tree-optimization/65447,
PR tree-optimization/52563, tree-optimization/62173,
PR tree-optimization/48052, PR 64878, PR65048, PR65177, PR65735.

Port revision 219584 from linaro/gcc-4_9-branch

Fix for arm64 bad code for copysignl.


Added:
branches/google/gcc-4_9-mobile/gcc/sancov.c
branches/google/gcc-4_9-mobile/gcc/testsuite/gcc.dg/sancov/
branches/google/gcc-4_9-mobile/gcc/testsuite/gcc.dg/sancov/asan.c
branches/google/gcc-4_9-mobile/gcc/testsuite/gcc.dg/sancov/basic0.c
branches/google/gcc-4_9-mobile/gcc/testsuite/gcc.dg/sancov/basic1.c
branches/google/gcc-4_9-mobile/gcc/testsuite/gcc.dg/sancov/basic2.c
Modified:
branches/google/gcc-4_9-mobile/ChangeLog
branches/google/gcc-4_9-mobile/config/futex.m4
branches/google/gcc-4_9-mobile/configure
branches/google/gcc-4_9-mobile/configure.ac
branches/google/gcc-4_9-mobile/gcc/BASE-VER
branches/google/gcc-4_9-mobile/gcc/ChangeLog
branches/google/gcc-4_9-mobile/gcc/Makefile.in
branches/google/gcc-4_9-mobile/gcc/builtins.def
branches/google/gcc-4_9-mobile/gcc/cfghooks.c
branches/google/gcc-4_9-mobile/gcc/cfgloop.c
branches/google/gcc-4_9-mobile/gcc/cfgloop.h
branches/google/gcc-4_9-mobile/gcc/common.opt
branches/google/gcc-4_9-mobile/gcc/config/aarch64/aarch64-cores.def
branches/google/gcc-4_9-mobile/gcc/config/aarch64/aarch64-elf-raw.h
branches/google/gcc-4_9-mobile/gcc/config/aarch64/aarch64-linux.h
branches/google/gcc-4_9-mobile/gcc/config/aarch64/aarch64-protos.h
branches/google/gcc-4_9-mobile/gcc/config/aarch64/aarch64-tune.md
branches/google/gcc-4_9-mobile/gcc/config/aarch64/aarch64.c
branches/google/gcc-4_9-mobile/gcc/config/aarch64/aarch64.md
branches/google/gcc-4_9-mobile/gcc/config/aarch64/aarch64.opt
branches/google/gcc-4_9-mobile/gcc/config/i386/i386.c
branches/google/gcc-4_9-mobile/gcc/config/linux-android.h
branches/google/gcc-4_9-mobile/gcc/config/mips/t-linux-android64
branches/google/gcc-4_9-mobile/gcc/configure
branches/google/gcc-4_9-mobile/gcc/doc/invoke.texi
branches/google/gcc-4_9-mobile/gcc/except.c
branches/google/gcc-4_9-mobile/gcc/expmed.c
branches/google/gcc-4_9-mobile/gcc/gcov-io.h
branches/google/gcc-4_9-mobile/gcc/loop-init.c
branches/google/gcc-4_9-mobile/gcc/lra-constraints.c
branches/google/gcc-4_9-mobile/gcc/omp-low.c
branches/google/gcc-4_9-mobile/gcc/params.def
branches/google/gcc-4_9-mobile/gcc/passes.def
branches/google/gcc-4_9-mobile/gcc/sanitizer.def
branches/google/gcc-4_9-mobile/gcc/testsuite/ChangeLog
branches/google/gcc-4_9-mobile/gcc/testsuite/gcc.dg/tree-ssa/scev-3.c
branches/google/gcc-4_9-mobile/gcc/testsuite/gcc.dg/tree-ssa/scev-4.c
branches/google/gcc-4_9-mobile/gcc/tree-cfg.c
branches/google/gcc-4_9-mobile/gcc/tree-cfg.h
branches/google/gcc-4_9-mobile/gcc/tree-chrec.c
branches/

[Bug tree-optimization/65447] AArch64: iv-opt causes bad addressing

2016-04-08 Thread ctice at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65447

--- Comment #5 from ctice at gcc dot gnu.org ---
Author: ctice
Date: Fri Apr  8 17:09:09 2016
New Revision: 234832

URL: https://gcc.gnu.org/viewcvs?rev=234832=gcc=rev
Log:
Unify changes with Android's GCC 4.9 compiler.

Add the following changes from the Android
GCC 4.9 compiler (mostly adding fixes for aarch64):

Fix mingw build breakage
1) Add missing _GCOV_fopen if !__KERNEL__
2) Use _fullpath

Backport Cortex-A57's machine description support from trunk

Adjust generic move costs for aarch64. Backport from trunk

Enable C++ exceptions and RTTI by default.

Modify LINK_SPEC to pass --fix-cortex-a53-843419 as default

Rename libstdc++.so to libgnustl_shared.so when enabling bionic libs.

Drop mips64r2 from Android compiler's multilib

Merge "Drop mips64r2 from Android compiler's multilib"

Adjust several costs for AArch64:
  Refactor aarch64_address_costs; add cost tables for Cortex-A7;
  better estimate cost of building a constant; wrap aarch64_rtx_costs
  to dump verbose output; factor out common MULT cases; det default
  costs and handle vector modes; cost memory accesses using address
  costs; better cost logical operations; improve costs for div/mod and
  sign/zero extend operations; cost comparisons, flag setting
  operators and IF_THEN_ELSE; cost more Floating point RTX; cost
  TRUNCATE, SET, SYMBOL_REF, HIGH and LO_SUM; dump a message if we are
  unable to cost an insn; fix typos in cost data structure.


Add several improvements for AArch64 (Backported from GCC 5):
  (spill code - swap order in shr patterns; spill code - swap order in
  shl pattern; fix aarch64_rtx_costs of PLUS/MINUS; cost operand 0 in
  FP compare-with-0.0 case; properly cost FABD pattern; properly
  handle mvn-register and add EON+shift pattern and cost
  appropriately).

Disable inlining of memcpy for x86 with 'rep movs'.
Default to TLS guard for x86 stack-protector.
Change gcc BASE-VER from 4.9.x-google to 4.9.x

Cherry pick the following fixes from trunk: PR bootstrap/66638, 67954
(svn rev 230894, PR tree-optimization/65447,
PR tree-optimization/52563, tree-optimization/62173,
PR tree-optimization/48052, PR 64878, PR65048, PR65177, PR65735.

Port revision 219584 from linaro/gcc-4_9-branch

Fix for arm64 bad code for copysignl.


Added:
branches/google/gcc-4_9-mobile/gcc/sancov.c
branches/google/gcc-4_9-mobile/gcc/testsuite/gcc.dg/sancov/
branches/google/gcc-4_9-mobile/gcc/testsuite/gcc.dg/sancov/asan.c
branches/google/gcc-4_9-mobile/gcc/testsuite/gcc.dg/sancov/basic0.c
branches/google/gcc-4_9-mobile/gcc/testsuite/gcc.dg/sancov/basic1.c
branches/google/gcc-4_9-mobile/gcc/testsuite/gcc.dg/sancov/basic2.c
Modified:
branches/google/gcc-4_9-mobile/ChangeLog
branches/google/gcc-4_9-mobile/config/futex.m4
branches/google/gcc-4_9-mobile/configure
branches/google/gcc-4_9-mobile/configure.ac
branches/google/gcc-4_9-mobile/gcc/BASE-VER
branches/google/gcc-4_9-mobile/gcc/ChangeLog
branches/google/gcc-4_9-mobile/gcc/Makefile.in
branches/google/gcc-4_9-mobile/gcc/builtins.def
branches/google/gcc-4_9-mobile/gcc/cfghooks.c
branches/google/gcc-4_9-mobile/gcc/cfgloop.c
branches/google/gcc-4_9-mobile/gcc/cfgloop.h
branches/google/gcc-4_9-mobile/gcc/common.opt
branches/google/gcc-4_9-mobile/gcc/config/aarch64/aarch64-cores.def
branches/google/gcc-4_9-mobile/gcc/config/aarch64/aarch64-elf-raw.h
branches/google/gcc-4_9-mobile/gcc/config/aarch64/aarch64-linux.h
branches/google/gcc-4_9-mobile/gcc/config/aarch64/aarch64-protos.h
branches/google/gcc-4_9-mobile/gcc/config/aarch64/aarch64-tune.md
branches/google/gcc-4_9-mobile/gcc/config/aarch64/aarch64.c
branches/google/gcc-4_9-mobile/gcc/config/aarch64/aarch64.md
branches/google/gcc-4_9-mobile/gcc/config/aarch64/aarch64.opt
branches/google/gcc-4_9-mobile/gcc/config/i386/i386.c
branches/google/gcc-4_9-mobile/gcc/config/linux-android.h
branches/google/gcc-4_9-mobile/gcc/config/mips/t-linux-android64
branches/google/gcc-4_9-mobile/gcc/configure
branches/google/gcc-4_9-mobile/gcc/doc/invoke.texi
branches/google/gcc-4_9-mobile/gcc/except.c
branches/google/gcc-4_9-mobile/gcc/expmed.c
branches/google/gcc-4_9-mobile/gcc/gcov-io.h
branches/google/gcc-4_9-mobile/gcc/loop-init.c
branches/google/gcc-4_9-mobile/gcc/lra-constraints.c
branches/google/gcc-4_9-mobile/gcc/omp-low.c
branches/google/gcc-4_9-mobile/gcc/params.def
branches/google/gcc-4_9-mobile/gcc/passes.def
branches/google/gcc-4_9-mobile/gcc/sanitizer.def
branches/google/gcc-4_9-mobile/gcc/testsuite/ChangeLog
branches/google/gcc-4_9-mobile/gcc/testsuite/gcc.dg/tree-ssa/scev-3.c
branches/google/gcc-4_9-mobile/gcc/testsuite/gcc.dg/tree-ssa/scev-4.c
branches/google/gcc-4_9-mobile/gcc/tree-cfg.c
branches/google/gcc-4_9-mobile/gcc/tree-cfg.h
branches/google/gcc-4_9-mobile/gcc/tree-chrec.c
branches/

[Bug libstdc++/66017] Undefined behaviour in std::set

2015-09-24 Thread ctice at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66017

--- Comment #8 from ctice at gcc dot gnu.org ---
Author: ctice
Date: Thu Sep 24 20:53:27 2015
New Revision: 228098

URL: https://gcc.gnu.org/viewcvs?rev=228098=gcc=rev
Log:

Backport r223811 from gcc-5-branch:

PR libstdc++/66017
* include/bits/stl_tree.h (_Rb_tree_node): Use __aligned_membuf.
(_Rb_tree_iterator, _Rb_tree_const_iterator): Support construction
from _Base_ptr.
(_Rb_tree_const_iterator::_M_const_cast): Remove static_cast.
(_Rb_tree::begin, _Rb_tree::end): Remove static_cast.
* include/ext/aligned_buffer.h (__aligned_membuf): New type using
alignment of _Tp as a member subobject, not as a complete object.
* python/libstdcxx/v6/printers.py (StdRbtreeIteratorPrinter): Lookup
_Link_type manually as it might not be in the debug info.



Modified:
branches/google/gcc-4_9-mobile/libstdc++-v3/include/bits/stl_tree.h
branches/google/gcc-4_9-mobile/libstdc++-v3/include/ext/aligned_buffer.h
branches/google/gcc-4_9-mobile/libstdc++-v3/python/libstdcxx/v6/printers.py


[Bug tree-optimization/66917] [4.9/5 regression] ARM: NEON: memcpy compiles to vst1 with incorrect alignment

2015-09-24 Thread ctice at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66917

--- Comment #21 from ctice at gcc dot gnu.org ---
Author: ctice
Date: Thu Sep 24 20:56:29 2015
New Revision: 228099

URL: https://gcc.gnu.org/viewcvs?rev=228099=gcc=rev
Log:
Backport r226487 from GCC FSF mainline:

r226487 | rguenth | 2015-08-03 00:13:36 -0700 (Mon, 03 Aug 2015) | 15 lines

2015-08-03  Richard Biener  <rguent...@suse.de>

PR tree-optimization/66917
* tree-vectorizer.h (struct dataref_aux): Add base_element_aligned
field.
(DR_VECT_AUX): New macro.
(set_dr_misalignment): Adjust.
(dr_misalignment): Likewise.
* tree-vect-data-refs.c (vect_compute_data_ref_alignment):
Compute whether the base is at least element aligned.
* tree-vect-stmts.c (ensure_base_align): Adjust.
(vectorizable_store): If the base is not element aligned
preserve alignment of the original access if misalignment is unknown.
(vectorizable_load): Likewise.



Modified:
branches/google/gcc-4_9-mobile/gcc/tree-vect-data-refs.c
branches/google/gcc-4_9-mobile/gcc/tree-vect-stmts.c
branches/google/gcc-4_9-mobile/gcc/tree-vectorizer.h


[Bug bootstrap/66521] xgcc: cc1plus segfaults when compiling libstdc++-v3/src/c++11/ostream-inst.cc

2015-08-12 Thread ctice at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66521

--- Comment #14 from ctice at gcc dot gnu.org ---
Author: ctice
Date: Wed Aug 12 15:40:11 2015
New Revision: 226820

URL: https://gcc.gnu.org/viewcvs?rev=226820root=gccview=rev
Log:
Fix warnings when bootstrapping on darwin with vtable verification enabled.

libstdc++-v3/ChangeLog:

2015-08-11  Caroline Tice cmt...@google.com

PR 66521, Contributed by Eric Gallager
* acinclude.m4 (VTV_CXXLINKFLAGS): Make this variable OS-specific, and
fix the rpath flag to work properly for darwin.
* configure: Regenerated.


Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/acinclude.m4
trunk/libstdc++-v3/configure


[Bug bootstrap/66521] xgcc: cc1plus segfaults when compiling libstdc++-v3/src/c++11/ostream-inst.cc

2015-08-01 Thread ctice at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66521

--- Comment #10 from ctice at gcc dot gnu.org ---
Author: ctice
Date: Sun Aug  2 01:17:39 2015
New Revision: 226471

URL: https://gcc.gnu.org/viewcvs?rev=226471root=gccview=rev
Log:
Fix PR 66521

libvtv/ChangeLog

2015-08-01  Caroline Tice  cmt...@google.com

PR 66521
* Makefile.am: Update to match latest tree.
* Makefile.in: Regenerate.
* testsuite/lib/libvtv: Brought up to date.
* vtv_malloc.cc (VTV_DEBUG): Update function call to match renamed
function (old bug!).
* vtv_rts.cc (debug_functions, debug_init, debug_verify_vtable): Update
initializations to work correctly with VTV_DEBUG defined.

gcc/ChangeLog:

2015-08-01  Caroline Tice  cmt...@google.com

PR 66521
* vtable-verify.c (vtbl_mangled_name_types, vtbl_mangled_name_ids): New
global variables.
(vtbl_find_mangled_name):  New function.
(vtbl_register_mangled_name):  New function.
(vtbl_map_get_node):  If DECL_ASSEMBLER_NAME is anon, look up
mangled name in mangled name vectors.
(find_or_create_vtbl_map_node):  Ditto.
(var_is_used_for_virtual_call_p):  Add recursion_depth parameter;
update recursion_depth on function entry; pass it to every recursive
call; automatically exit if depth  25 (give up looking at that point).
(verify_bb_vtables):  Initialize recursion_depth and pass it to
var_is_used_for_virtual_call_p.
* vtable-verify.h (vtbl_mangbled_name_types, vtbl_mangled_name_ids):
New
global variable decls.
(vtbl_register_mangled_name): New extern function decl.

gcc/cp/ChangeLog:
2015-08-01  Caroline Tice  cmt...@google.com

PR 66521
* mangle.c : Add vtable-verify.h to include files.
(get_mangled_vtable_map_var_name):  If the DECL_ASSEMBLER_NAME
is anon get the real mangled name for the class instead, and
also store the real mangled name in a vector for use later.


Modified:
trunk/gcc/ChangeLog
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/mangle.c
trunk/gcc/vtable-verify.c
trunk/gcc/vtable-verify.h
trunk/libvtv/ChangeLog
trunk/libvtv/testsuite/Makefile.am
trunk/libvtv/testsuite/Makefile.in
trunk/libvtv/testsuite/lib/libvtv.exp
trunk/libvtv/vtv_malloc.cc
trunk/libvtv/vtv_rts.cc


[Bug bootstrap/66521] xgcc: cc1plus segfaults when compiling libstdc++-v3/src/c++11/ostream-inst.cc

2015-07-28 Thread ctice at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66521

--- Comment #4 from ctice at gcc dot gnu.org ---
Created attachment 36082
  -- https://gcc.gnu.org/bugzilla/attachment.cgi?id=36082action=edit
Tentative patch to fix this issue.

I believe the attached patch will fix this problem.  I would appreciate it if
Eric would confirm that.

ChangeLogs:

gcc/cp/ChangeLog:

* mangle.c : Add vtable-verify.h to include files.
(get_mangled_vtable_map_var_name):  If the DECL_ASSEMBLER_NAME
is anon get the real mangled name for the class instead, and
also store the real mangled name in a vector for use later.

gcc/ChangeLog:

* vtable-verify.c (vtbl_mangled_name_types, vtbl_mangled_name_ids): New
global variables.
(vtbl_find_mangled_name):  New function.
(vtbl_register_mangled_name):  New function.
(vtbl_map_get_node):  If DECL_ASSEMBLER_NAME is anon, look up
mangled name in mangled name vectors.
(find_or_create_vtbl_map_node):  Ditto.
(var_is_used_for_virtual_call_p):  Add recursion_depth parameter;
update recursion_depth on function entry; pass it to every recursive
call; automatically exit if depth  25 (give up looking at that point).
(verify_bb_vtables):  Initialize recursion_depth and pass it to
var_is_used_for_virtual_call_p.
* vtable-verify.h (vtbl_mangbled_name_types, vtbl_mangled_name_ids):
New
global variable decls.
(vtbl_register_mangled_name): New extern function decl.


libvtv/ChangeLog:

* Makefile.am:  Update to match latest tree.
* Makefile.in: Regenerate.
* testsuite/lib/libvtv: Brought up to date.
* vtv_malloc.cc (VTV_DEBUG): Update function call to match renamed
function (old bug!).
* vtv_rts.cc (debug_functions, debug_init, debug_verify_vtable): Update
initializations to work correctly with VTV_DEBUG defined.


[Bug target/63293] [AArch64] can read from deallocated stack

2015-07-21 Thread ctice at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63293

--- Comment #7 from ctice at gcc dot gnu.org ---
Author: ctice
Date: Tue Jul 21 17:32:17 2015
New Revision: 226049

URL: https://gcc.gnu.org/viewcvs?rev=226049root=gccview=rev
Log:
Backport patch from GCC FSF to fix stack problem for aarch64:

2014-11-04  Jiong Wang  jiong.w...@arm.com
2014-11-04  Wilco Dijkstra  wilco.dijks...@arm.com

  PR target/63293
  * config/aarch64/aarch64.c (aarch64_expand_epiloue): Add barriers before
  stack adjustment.


Modified:
branches/google/gcc-4_9-mobile/gcc/config/aarch64/aarch64.c


[Bug bootstrap/66521] xgcc: cc1plus segfaults when compiling libstdc++-v3/src/c++11/ostream-inst.cc

2015-07-06 Thread ctice at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66521

ctice at gcc dot gnu.org changed:

   What|Removed |Added

 CC||ctice at gcc dot gnu.org

--- Comment #3 from ctice at gcc dot gnu.org ---
I've been looking at this and I have a patch that Im currently testing.  I
hope to be ready to submit it for approval soon.


[Bug gcov-profile/65929] FAIL: gcc.dg/tree-prof/pr34999.c compilation, -fprofile-use -D_PROFILE_USE

2015-04-30 Thread ctice at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65929

--- Comment #4 from ctice at gcc dot gnu.org ---
Author: ctice
Date: Thu Apr 30 17:49:02 2015
New Revision: 222643

URL: https://gcc.gnu.org/viewcvs?rev=222643root=gccview=rev
Log:
Define  use special macros to record the name  size of cold
partitions.  (Fix PR 65929).

gcc/ChangeLog

PR 65929
* config/elfos.h (ASM_DECLARE_COLD_FUNCTION_NAME): New macro definition.
(ASM_DECLARE_COLD_FUNCTION_SIZE): New macro definition.
* doc/tm.texi.in (ASM_DECLARE_COLD_FUNCTION_NAME): Document new macro.
(ASM_DECLARE_COLD_FUNCTION_SIZE): Document new macro.
* final.c (final_scan_insn):  Use ASM_DECLARE_COLD_FUNCTION_NAME
instead of ASM_DECLARE_FUNCTION_NAME for cold partition name.
* varasm.c (assemble_end_function):  Use ASM_DECLARE_COLD_FUNCTION_SIZE
instead of ASM_DECLARE_FUNCTION_SIZE for cold partition size.

gcc/testsuite/ChangeLog:

PR  65929
* gcc.dg/tree-prof/cold_partition_label.c:  Only check for cold
partition size on certain targets.


Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/elfos.h
trunk/gcc/doc/tm.texi.in
trunk/gcc/final.c
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/gcc.dg/tree-prof/cold_partition_label.c
trunk/gcc/varasm.c


[Bug ipa/64559] [5 Regression] ICE at -Os on x86_64-linux-gnu in remove_unreachable_nodes, at ipa.c:582

2015-02-18 Thread ctice at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64559

--- Comment #7 from ctice at gcc dot gnu.org ---
Author: ctice
Date: Thu Feb 19 00:43:33 2015
New Revision: 220805

URL: https://gcc.gnu.org/viewcvs?rev=220805root=gccview=rev
Log:
Backport patch from Google 4.9 branch (r220431):

r220431 | wmi | 2015-02-04 16:27:54 -0800 (Wed, 04 Feb 2015) | 12 lines

Backport from gcc-4_9-branch.
2015-02-04  Matthias Klose  d...@ubuntu.com

PR target/64938
Backport from mainline
2015-01-15  Jan Hubicka  hubi...@ucw.cz

PR ipa/64068
PR ipa/64559
* ipa.c (symbol_table::remove_unreachable_nodes):
Do not put abstract origins into boundary.


Added:
branches/google/gcc-4_9-mobile/gcc/testsuite/g++.dg/ipa/pr64068.C
branches/google/gcc-4_9-mobile/gcc/testsuite/gcc.dg/ipa/PR64559.c
Modified:
branches/google/gcc-4_9-mobile/gcc/ipa.c


[Bug target/64938] [4.9 Regression] ICE in symtab_remove_unreachable_nodes, at ipa.c:547 on arm-linux-gnueabihf

2015-02-18 Thread ctice at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64938

--- Comment #5 from ctice at gcc dot gnu.org ---
Author: ctice
Date: Thu Feb 19 00:43:33 2015
New Revision: 220805

URL: https://gcc.gnu.org/viewcvs?rev=220805root=gccview=rev
Log:
Backport patch from Google 4.9 branch (r220431):

r220431 | wmi | 2015-02-04 16:27:54 -0800 (Wed, 04 Feb 2015) | 12 lines

Backport from gcc-4_9-branch.
2015-02-04  Matthias Klose  d...@ubuntu.com

PR target/64938
Backport from mainline
2015-01-15  Jan Hubicka  hubi...@ucw.cz

PR ipa/64068
PR ipa/64559
* ipa.c (symbol_table::remove_unreachable_nodes):
Do not put abstract origins into boundary.


Added:
branches/google/gcc-4_9-mobile/gcc/testsuite/g++.dg/ipa/pr64068.C
branches/google/gcc-4_9-mobile/gcc/testsuite/gcc.dg/ipa/PR64559.c
Modified:
branches/google/gcc-4_9-mobile/gcc/ipa.c


[Bug ipa/64068] [5 Regression] ICE: in remove_unreachable_nodes, at ipa.c:546

2015-02-18 Thread ctice at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64068

--- Comment #13 from ctice at gcc dot gnu.org ---
Author: ctice
Date: Thu Feb 19 00:43:33 2015
New Revision: 220805

URL: https://gcc.gnu.org/viewcvs?rev=220805root=gccview=rev
Log:
Backport patch from Google 4.9 branch (r220431):

r220431 | wmi | 2015-02-04 16:27:54 -0800 (Wed, 04 Feb 2015) | 12 lines

Backport from gcc-4_9-branch.
2015-02-04  Matthias Klose  d...@ubuntu.com

PR target/64938
Backport from mainline
2015-01-15  Jan Hubicka  hubi...@ucw.cz

PR ipa/64068
PR ipa/64559
* ipa.c (symbol_table::remove_unreachable_nodes):
Do not put abstract origins into boundary.


Added:
branches/google/gcc-4_9-mobile/gcc/testsuite/g++.dg/ipa/pr64068.C
branches/google/gcc-4_9-mobile/gcc/testsuite/gcc.dg/ipa/PR64559.c
Modified:
branches/google/gcc-4_9-mobile/gcc/ipa.c


[Bug tree-optimization/60914] ICE: SIGSEGV (use after free) in bitmap_obstack_alloc_stat() with -flto -fvtable-verify=preinit

2014-04-22 Thread ctice at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60914

--- Comment #2 from ctice at gcc dot gnu.org ---
Running your tests, I get a different ICE:

 gcc-fsf-root/usr/local/bin/gcc -O -flto -fvtable-verify=preinit pr59437.C
pr59437.C: In function ‘_GLOBAL__sub_I.00099_cout’:
pr59437.C:24:1: internal compiler error: Segmentation fault
 }
 ^
0xd6bfc1 crash_signal
../../gcc-fsf.clean/gcc/toplev.c:337
0x8a8ea5 bitmap_obstack_free(bitmap_head*)
../../gcc-fsf.clean/gcc/bitmap.c:408
0xdb3a83 cleanup_tree_cfg_1
../../gcc-fsf.clean/gcc/tree-cfgcleanup.c:698
0xdb3ae8 cleanup_tree_cfg_noloop
../../gcc-fsf.clean/gcc/tree-cfgcleanup.c:731
0xdb3bf5 cleanup_tree_cfg()
../../gcc-fsf.clean/gcc/tree-cfgcleanup.c:786
0xc7a8dc execute_function_todo
../../gcc-fsf.clean/gcc/passes.c:1741
0xc79cd8 do_per_function
../../gcc-fsf.clean/gcc/passes.c:1504
0xc7ab37 execute_todo
../../gcc-fsf.clean/gcc/passes.c:1817
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.


I will investigate this, but I am concerned that I cannot seem to reproduce
your problem?

[Bug middle-end/59507] ICE: in mark_reachable_handlers, at tree-eh.c:3833 with -O -fnon-call-exceptions -fvtable-verify=preinit

2014-04-22 Thread ctice at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59507

ctice at gcc dot gnu.org changed:

   What|Removed |Added

 CC||ctice at gcc dot gnu.org

--- Comment #3 from ctice at gcc dot gnu.org ---

This is caused by the verification call being inserted after an exception
handler landing pad, in the same basic block as the landing pad, when GCC
expects the landing pad statement to be the last statement in the basic block.

The fix for this will be to split all the outgoing edges and insert new basic
blocks on each, with the verification call in there instead.  I will work on
this, but it may take me a little time to get right.


[Bug other/58348] Build fails on x86_64-unknown-linux-gnu in libvtv on ENABLE_VTABLE_VERIFY not in AM_CONDITIONAL

2013-12-06 Thread ctice at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58348

ctice at gcc dot gnu.org changed:

   What|Removed |Added

 CC||ctice at gcc dot gnu.org

--- Comment #4 from ctice at gcc dot gnu.org ---
I am not able to reproduce this bug.  Some check-ins may have fixed it.  Would
you please re-try and let me know if this is still an issue?


[Bug other/58348] Build fails on x86_64-unknown-linux-gnu in libvtv on ENABLE_VTABLE_VERIFY not in AM_CONDITIONAL

2013-12-06 Thread ctice at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58348

ctice at gcc dot gnu.org changed:

   What|Removed |Added

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

--- Comment #6 from ctice at gcc dot gnu.org ---
Apparently this bug was fixed back in September (see previous comment)


[Bug bootstrap/58441] [4.9 Regression] VTV headers are installed into the general include directory

2013-09-24 Thread ctice at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58441

--- Comment #5 from ctice at gcc dot gnu.org ---
Created attachment 30888
  -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=30888action=edit
Patch to fix the problem

The Makefile was installing the headers in the wrong place.  This patch should
fix the problem.  I am currently testing this and will later submit the patch
for approval.


[Bug bootstrap/58441] [4.9 Regression] VTV headers are installed into the general include directory

2013-09-24 Thread ctice at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58441

ctice at gcc dot gnu.org changed:

   What|Removed |Added

 Status|UNCONFIRMED |ASSIGNED
   Last reconfirmed||2013-09-24
 CC||ctice at gcc dot gnu.org
   Assignee|unassigned at gcc dot gnu.org  |ctice at gcc dot gnu.org
 Ever confirmed|0   |1


[Bug bootstrap/58441] [4.9 Regression] VTV headers are installed into the general include directory

2013-09-24 Thread ctice at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58441

ctice at gcc dot gnu.org changed:

   What|Removed |Added

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

--- Comment #6 from ctice at gcc dot gnu.org ---
The fix has been tested and committed.


[Bug c++/58300] ICE: in decide_is_symbol_needed, at cgraphunit.c:233 with -fvtable-verify=preinit on invalid code

2013-09-08 Thread ctice at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58300

--- Comment #9 from ctice at gcc dot gnu.org ---
Author: ctice
Date: Sun Sep  8 21:58:07 2013
New Revision: 202371

URL: http://gcc.gnu.org/viewcvs?rev=202371root=gccview=rev
Log:

Fix PR 58300:  Re-order events with -fvtable-verify=preinit
flag, so constructor init function is  not written to assembly
file until after call to cgraph_process_new_functions.


Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/vtable-class-hierarchy.c