[Bug target/51957] [4.7 Regression] ppc64 .debug_loc toc reference

2012-01-23 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51957 Jakub Jelinek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|

[Bug target/51957] [4.7 Regression] ppc64 .debug_loc toc reference

2012-01-23 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51957 --- Comment #5 from Jakub Jelinek 2012-01-24 07:24:44 UTC --- Author: jakub Date: Tue Jan 24 07:24:34 2012 New Revision: 183468 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=183468 Log: PR target/51957 * target.def (const_not_ok_

[Bug target/51957] [4.7 Regression] ppc64 .debug_loc toc reference

2012-01-23 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51957 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug target/51957] [4.7 Regression] ppc64 .debug_loc toc reference

2012-01-23 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51957 --- Comment #3 from Jakub Jelinek 2012-01-23 10:51:39 UTC --- To reject just .toc related SYMBOL_REFs, guess we'd need to set #define SYMBOL_FLAG_TOC_SECTION (1 << SYMBOL_FLAG_MACH_DEP_SHIFT) or so flag on the symbol refs when creating them and t

[Bug target/51957] [4.7 Regression] ppc64 .debug_loc toc reference

2012-01-23 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51957 --- Comment #2 from Jakub Jelinek 2012-01-23 10:48:05 UTC --- The problem is that during var-tracking adjust_insn doesn't avoid_constant_pool_reference because we have: (debug_insn 116 33 34 5 (var_location:DI D#3 (reg:DI 2 2)) -1 (nil)) ...

[Bug target/51957] [4.7 Regression] ppc64 .debug_loc toc reference

2012-01-22 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51957 --- Comment #1 from Jakub Jelinek 2012-01-23 07:25:19 UTC --- Compile with -m64 -g -O2 -fprofile-generate (*.gcda file missing), look for DW_OP_deref in .debug_loc section.

[Bug target/51957] [4.7 Regression] ppc64 .debug_loc toc reference

2012-01-22 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51957 Jakub Jelinek changed: What|Removed |Added Known to work||4.6.3 Target Milestone|---