Commit 7e704eb4 by David Edelsohn Committed by David Edelsohn

dwarf2out.c (switch_to_eh_frame_section): Add ATTRIBUTE_UNUSED to "back" parameter.

        * dwarf2out.c (switch_to_eh_frame_section): Add ATTRIBUTE_UNUSED to
        "back" parameter. Declare label in #if block.

From-SVN: r227911
parent dcd7a7df
2015-09-18 David Edelsohn <dje.gcc@gmail.com>
* dwarf2out.c (switch_to_eh_frame_section): Add ATTRIBUTE_UNUSED to
"back" parameter. Declare label in #if block.
2015-09-18 Uros Bizjak <ubizjak@gmail.com> 2015-09-18 Uros Bizjak <ubizjak@gmail.com>
PR middle-end/67619 PR middle-end/67619
...@@ -434,10 +434,8 @@ stripattributes (const char *s) ...@@ -434,10 +434,8 @@ stripattributes (const char *s)
for collect2 the first time around. */ for collect2 the first time around. */
static void static void
switch_to_eh_frame_section (bool back) switch_to_eh_frame_section (bool back ATTRIBUTE_UNUSED)
{ {
tree label;
if (eh_frame_section == 0) if (eh_frame_section == 0)
{ {
int flags; int flags;
...@@ -481,7 +479,7 @@ switch_to_eh_frame_section (bool back) ...@@ -481,7 +479,7 @@ switch_to_eh_frame_section (bool back)
collect2. */ collect2. */
if (!back) if (!back)
{ {
label = get_file_function_name ("F"); tree label = get_file_function_name ("F");
ASM_OUTPUT_ALIGN (asm_out_file, floor_log2 (PTR_SIZE)); ASM_OUTPUT_ALIGN (asm_out_file, floor_log2 (PTR_SIZE));
targetm.asm_out.globalize_label (asm_out_file, targetm.asm_out.globalize_label (asm_out_file,
IDENTIFIER_POINTER (label)); IDENTIFIER_POINTER (label));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment