Go to file
Dehao Chen 4c311d95cf Backport r173196 and r190269 to google-4_8:
Add instruction level discriminator support.

r173196  Cary Coutant  <ccoutant@google.com>

        * basic-block.h (struct basic_block_def): Remove discriminator field.
        * cfghooks.c (split_block): Remove discriminator field.
        * cfglayout.c (insn_discriminator): New function.
        * final.c (discriminator): Remove.
        (override_discriminator): New file-scope variable.
        (final_start_function): Remove tracking of discriminator by basic
        block.
        (final_scan_insn): Track discriminator by instruction.
        (notice_source_line): Check for discriminator override. Get
        discriminator from instruction.
        * gimple-pretty-print.c (dump_gimple_stmt): Print discriminator.
        (dump_bb_header): Don't print discriminator.
        * input.c: Include vecprim.h.
        (discriminator_location_locations): New variable.
        (discriminator_location_discriminators): New variable.
        (min_discriminator_location): New variable.
        (expand_location): Use map_discriminator_location.
        (location_with_discriminator): New function.
        (has_discriminator): New function.
        (map_discriminator_location): New function.
        (get_discriminator_from_locus): New function.
        * input.h (location_with_discriminator): New function.
        (has_discriminator): New function.
        (map_discriminator_location): New function.
        (get_discriminator_from_locus): New function.
        * print-rtl.c (print_rtx): Print discriminator.
        * rtl.h (insn_discriminator): New function.
        * tree-cfg.c: Include input.h.
        (assign_discriminator): Assign discriminators to instructions rather
        than to the basic block.
        * tree-pretty-print.c (dump_location): Print discriminator.

r190269  Cary Coutant  <ccoutant@google.com>

This patch is for the google/main and google/gcc-4_7 branches.

New code in GCC 4.7 is calling linemap_lookup with a location_t that
may still represent a location-with-discriminator.  Before using a
location_t value to lookup the line number, it needs to be mapped to
a real location_t value.

From-SVN: r199154
2013-05-21 16:54:45 +00:00
boehm-gc backport: Bugs fixed (http://gcc.gnu.org/bugzilla) 2013-03-25 10:23:54 -04:00
config Mark ChangeLog 2013-03-22 10:01:36 +00:00
contrib powerpc64-unknown-linux-gnu.xfail: Fix. 2013-04-22 14:58:21 +00:00
fixincludes Mark ChangeLog 2013-03-22 10:01:49 +00:00
function_reordering_plugin Create function reordering plugin directory and port necessary function_reordering_plugin related files from google/gcc-4_7 to create a dummy plugin. This is just a place holder and the full porting is not complete. 2013-03-18 00:31:32 +00:00
gcc Backport r173196 and r190269 to google-4_8: 2013-05-21 16:54:45 +00:00
gnattools Mark ChangeLog 2013-03-22 10:03:52 +00:00
include backport: Bugs fixed (http://gcc.gnu.org/bugzilla) 2013-04-08 10:56:15 -04:00
INSTALL README: Also refer to the online installation instructions. 2012-08-25 20:48:20 +00:00
intl Mark ChangeLog 2013-03-22 10:01:40 +00:00
libada Mark ChangeLog 2013-03-22 10:01:30 +00:00
libatomic Mark ChangeLog 2013-03-22 10:02:55 +00:00
libbacktrace alloc.c: #include <sys/types.h>. 2013-03-25 18:13:52 +00:00
libcpp re PR target/56771 (Integer Overflow? Building arm-rtems libgcc2) 2013-04-03 15:13:33 +00:00
libdecnumber Mark ChangeLog 2013-03-22 10:03:36 +00:00
libffi backport: Bugs fixed (http://gcc.gnu.org/bugzilla) 2013-03-25 10:23:54 -04:00
libgcc backport: libgcov.c: Add references to gcov_reset and gcov_dump from L_gcov section. 2013-05-20 13:33:56 +00:00
libgfortran backport: Bugs fixed (http://gcc.gnu.org/bugzilla) 2013-04-30 07:43:29 -04:00
libgo runtime, testing/quick: libffi doesn't handle complex on Alpha. 2013-03-01 19:26:43 +00:00
libgomp backport: Bugs fixed (http://gcc.gnu.org/bugzilla) 2013-03-25 10:23:54 -04:00
libiberty Demangle C++11 ref-qualifier. 2013-04-03 13:25:03 -04:00
libitm Mark ChangeLog 2013-03-22 10:03:56 +00:00
libjava backport: Bugs fixed (http://gcc.gnu.org/bugzilla) 2013-03-25 10:23:54 -04:00
libmudflap backport: Bugs fixed (http://gcc.gnu.org/bugzilla) 2013-03-25 10:23:54 -04:00
libobjc backport: Bugs fixed (http://gcc.gnu.org/bugzilla) 2013-03-25 10:23:54 -04:00
libquadmath backport: Bugs fixed (http://gcc.gnu.org/bugzilla) 2013-03-25 10:23:54 -04:00
libsanitizer re PR other/43620 ([4.3 Release Blocker] Uploading to gnu.org will fail due to automake security issue) 2013-03-22 15:19:12 +01:00
libssp backport: Bugs fixed (http://gcc.gnu.org/bugzilla) 2013-03-25 10:23:54 -04:00
libstdc++-v3 backport: Bugs fixed (http://gcc.gnu.org/bugzilla) 2013-05-12 10:44:25 -04:00
lto-plugin backport: Bugs fixed (http://gcc.gnu.org/bugzilla) 2013-03-25 10:23:54 -04:00
maintainer-scripts Mark ChangeLog 2013-03-22 10:02:31 +00:00
zlib backport: Bugs fixed (http://gcc.gnu.org/bugzilla) 2013-03-25 10:23:54 -04:00
.gitignore * .gitignore: Import from gdb repository. 2013-01-10 10:48:46 -05:00
ABOUT-NLS
ChangeLog Makefile.def (target_modules): Don't install libffi. 2013-03-30 11:25:03 +00:00
ChangeLog.tree-ssa
compile
config-ml.in MAINTAINERS (crx port, [...]): Remove. 2011-03-22 19:58:18 +00:00
config.guess config.sub: Merge from config repo. 2013-01-08 22:46:38 +00:00
config.rpath
config.sub * config.sub: Update from config repo. 2013-01-11 13:02:58 +00:00
configure Create function reordering plugin directory and port necessary function_reordering_plugin related files from google/gcc-4_7 to create a dummy plugin. This is just a place holder and the full porting is not complete. 2013-03-18 00:31:32 +00:00
configure.ac Create function reordering plugin directory and port necessary function_reordering_plugin related files from google/gcc-4_7 to create a dummy plugin. This is just a place holder and the full porting is not complete. 2013-03-18 00:31:32 +00:00
COPYING
COPYING3
COPYING3.LIB
COPYING.LIB
COPYING.RUNTIME
depcomp
install-sh
libtool-ldflags
libtool.m4 re PR bootstrap/38607 (AIX error messages about TOC during build) 2012-09-14 19:23:41 -04:00
lt~obsolete.m4
ltgcc.m4
ltmain.sh Add new libtool options -Xcompiler-shared and -Xcompiler-static. 2012-09-06 03:57:04 +00:00
ltoptions.m4
ltsugar.m4
ltversion.m4
MAINTAINERS MAINTAINERS (Write After Approval): Add myself. 2013-02-21 18:24:18 +00:00
Makefile.def Fix a race condition when building libstdc++ and libmudflap. 2013-04-05 17:39:43 +00:00
Makefile.in Fix a race condition when building libstdc++ and libmudflap. 2013-04-05 17:39:43 +00:00
Makefile.tpl Port r190203, r190232 from branches/gcc-4_7. 2013-02-25 12:38:54 +00:00
missing
mkdep
mkinstalldirs
move-if-change
README * README: Document use of ranges of years in copyright notices. 2012-07-16 15:01:34 +01:00
symlink-tree
ylwrap

This directory contains the GNU Compiler Collection (GCC).

The GNU Compiler Collection is free software.  See the files whose
names start with COPYING for copying permission.  The manuals, and
some of the runtime libraries, are under different terms; see the
individual source files for details.

The directory INSTALL contains copies of the installation information
as HTML and plain text.  The source of this information is
gcc/doc/install.texi.  The installation information includes details
of what is included in the GCC sources and what files GCC installs.

See the file gcc/doc/gcc.texi (together with other files that it
includes) for usage and porting information.  An online readable
version of the manual is in the files gcc/doc/gcc.info*.

See http://gcc.gnu.org/bugs/ for how to report bugs usefully.

Copyright years on GCC source files may be listed using range
notation, e.g., 1987-2012, indicating that every year in the range,
inclusive, is a copyrightable year that could otherwise be listed
individually.