forked from gcc-mirror/gcc
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
m68k: handle more cases of TLS symbols with offset
PR target/46179 * config/m68k/m68k.h (FINAL_PRESCAN_INSN): Don't define. * config/m68k/m68k.c (handle_move_double): Don't call m68k_final_prescan_insn. (m68k_adjust_decorated_operand): Renamed from m68k_final_prescan_insn, remove first and third operand and simplify. (print_operand): Call it. (print_operand_address): Call it. PR target/46179 * gcc.target/m68k/tls-dimode.c: New file. From-SVN: r263432
- Loading branch information
1 parent
f10a913
commit ede9446
Showing
5 changed files
with
62 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,15 @@ | ||
2018-08-08 Andreas Schwab <[email protected]> | ||
|
||
PR target/46179 | ||
* config/m68k/m68k.h (FINAL_PRESCAN_INSN): Don't define. | ||
* config/m68k/m68k.c (handle_move_double): Don't call | ||
m68k_final_prescan_insn. | ||
(m68k_adjust_decorated_operand): Renamed from | ||
m68k_final_prescan_insn, remove first and third operand and | ||
simplify. | ||
(print_operand): Call it. | ||
(print_operand_address): Call it. | ||
|
||
2018-08-08 Nathan Sidwell <[email protected]> | ||
|
||
* diagnostic.c (diagnostic_report_current_module): Use | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,8 @@ | ||
2018-08-08 Andreas Schwab <[email protected]> | ||
|
||
PR target/46179 | ||
* gcc.target/m68k/tls-dimode.c: New file. | ||
|
||
2018-08-08 Nathan Sidwell <[email protected]> | ||
|
||
* c-c++-common/inc-from-1a.h, c-c++-common/inc-from-1b.h, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
/* { dg-do compile } */ | ||
/* { dg-skip-if "" { ! *-linux-* } } */ | ||
/* { dg-options "-w -O2" } */ | ||
|
||
__thread long long ti; | ||
|
||
void f (void) | ||
{ | ||
ti++; | ||
} | ||
|
||
void g (long long x) | ||
{ | ||
ti = x; | ||
} |